odd
Organic Driven Development — slice features into ≤400L conventional-commit units with review gates. Use sdd-quick for registry/spec concerns.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- odd
- triggers
- organic driven development, one day delivery, odd, slice plan, daily delivery, commit slicing, review per slice
- changelog
- docs/ciclos/cycle28-20260815.md
- description
- Organic Driven Development — slice features into ≤400L conventional-commit units with review gates. Use sdd-quick for registry/spec concerns.
- token_budget
- 2850
02 资源文件 1
- 参考文档reference.md3.7 KB
03 SKILL.md 正文
Gate: SMALL vs SUBSTANTIAL
| Criteria | SMALL (direct) | SUBSTANTIAL (task plan) |
|---|---|---|
| Lines | ≤50L code; ≤150L docs-only 1-file | >50L or unknown |
| Files | 1 file | >1 file |
| Schema/auth/API | None | Any |
| External deps | None | New deps |
| Tier | 0 (known) | 1+ |
| Commits forecast | ≤2 | >2 |
All criteria must pass for SMALL. Otherwise → create odd/tasks/<feature>.md.
Slice Plan
1 slice = 1 conventional commit · ≤400L code (≤800L docs-only) per slice · tests in same commit as behavior.
Slice 1: <scope> (<est. lines>) — <outcome>
Slice 2: ...
Presets (ref: opencode-model-router)
| Preset | Phase | Agent | Fallback |
|---|---|---|---|
| P1 | Propose | analysis agent | vMK |
| P2 | Slice plan | implementation agent | quick |
| P3 | Implement | implementation agent | codex |
| P4 | Verify | quality agent | deep |
| P5 | Review | review agent | vMK |
Workflow (ODD Cycle)
- Gate — Evaluate SMALL vs SUBSTANTIAL criteria above.
- Slice — Break into ≤400L units. Each slice gets
odd/tasks/<feature>.mdentry. - Implement — One preset per phase. Commit per slice conventional.
- Verify — Per-slice tests pass + repo works after each commit.
- Review — Log review per slice in task plan Review Log.
Rollback
Each slice commits independently. Revert slice N without touching N-1 or N+1.
Anti-Rationalization
| Rationalization | Red Flag | Verification |
|---|---|---|
| "One big commit is fine" | >400L or >1 logical unit in one commit | Slice Plan: 1 commit = 1 deliverable outcome |
| "Skip review for small" | No review log entry | Workflow step 5 mandatory per slice |
| "Reuse SDD registry" | Confusing ODD slices with SDD spec tracking | ODD=slices+review, SDD=qué/cuándo registry |
Red Flags
- Slice >400L → split further
- No test in commit with behavior → STOP, add test
- Preset skip without fallback → route through opencode-model-router
Verification
- cross-ref-check.ps1 → SKILL.md OK
- Each commit:
git diff --stat≤400L
Refs
Cross-Refs: work-unit-commits | sdd-quick | commit-crafter | opencode-model-router
Reference
Template + examples + presets detail → {file:odd/reference.md}
04 同仓库更多 Skills
web-quality-audit
Comprehensive web audit: performance, a11y, SEO, responsive, animation, design tokens.
ui-engine
UI system — Grid/Flexbox/@layer/:has(), container queries, compositor-only animation, OKLCH tokens, component patterns
baseline-ui
Anti-slop UI — layout, typography, responsive, animation, tokens. Use for cleanup or polish.
skill-creator
Create new AI agent skills following Agent Skills spec -- auto-bootstrap unknown tasks, define structure, register in AGENTS.md
senior-engineer
Apply senior engineering competencies — system design, trade-off analysis, delegation, mentoring, and tech debt strategy
prompt-engineering
Design effective prompts using SPEARS framework — scope, principles, examples, assertions, refinements, with ReAct and multi-agent patterns