用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill cdd命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cdd |
| description | Context Driven Development pipeline for release workflows |
This project calls its release workflow Context Driven Development (CDD)
All CDD commands and scripts require the $CDD_DIR environment variable.
export CDD_DIR=/path/to/workspace
This allows parallel workspaces without VCS conflicts. Each workspace is independent - different branches can use different workspace directories simultaneously.
Scripts will abort with a clear error if $CDD_DIR is not set.
Use user/agent interactive development time during the Research and Plan phases to prepare tightly focused work that pre-loads the exact required context to run autonomously during the Execute phase.
What: Build foundational understanding before design decisions.
Artifacts:
$CDD_DIR/README.md - High-level description of release features$CDD_DIR/user-stories/ - User actions and expected system responses$CDD_DIR/research/ - Facts gathered from internet, docs, codebaseWhy this phase exists: Decisions made without research are assumptions. Research surfaces constraints, prior art, and edge cases that would otherwise appear during execution (when fixing is expensive).
Key insight: Research artifacts become reference material for execution. Sub-agents can read $CDD_DIR/research/ without re-fetching from the internet. The research phase pays the lookup cost once.
What: Transform research into implementation decisions.
Artifacts:
$CDD_DIR/plan/ - Implementation decisions, architecture choices, detailed designsWhy this phase exists: Planning is the translation layer between "what we want" (research) and "what to do". It makes architectural decisions explicit.
What: Iterative verification of plan alignment.
Artifacts:
$CDD_DIR/gap.md - List of issues to investigate and resolve$CDD_DIR/verified.md - Log of issues that have been fixedVerification:
/cdd:gap # Verify README/user-stories → plan alignment, writes gap.md
fix gaps # Address issues in gap.md, update plan documents
update verified.md # Log what was fixed with references to gap.md
/cdd:gap # Repeat until clean
Checks alignment down the pyramid:
Why this phase exists: This is the last moment of full context visibility. Cross-cutting issues and inconsistencies can only be caught while the complete picture is visible.
Key insights:
gap.md contains current issues to investigateverified.md tracks what's been fixed, prevents re-checking completed itemsConvergence pattern: Each gap-finding run identifies issues and writes gap.md. After fixing, log in verified.md and re-run. When no substantive gaps remain, verification is complete.
What: Unattended execution via the Ralph harness script.
Artifacts:
$CDD_DIR/goals/*-goal.md - Goal file(s) for ralph loop execution$CDD_DIR/goals/*-progress.jsonl - Auto-generated progress log$CDD_DIR/goals/*-summary.md - Auto-generated progress summaryRalph script:
.claude/harness/ralph/run \
--goal=$CDD_DIR/goals/implementation-goal.md \
--duration=4h \
--model=sonnet \
--reasoning=low
Process: Ralph iteratively works toward the goal until DONE or time expires:
jj commitWhy Ralph: The plan phase prepared complete context. Ralph execution is mechanical - read plan, implement, test, commit. No research, no exploration, just steady progress toward the goal using the plan as a reference.
Post-execution: After Ralph completes (or during iterations), quality checks and refactoring may be needed:
ralph → /check:quality → /refactor → /check:quality
$CDD_DIR/
├── README.md # High-level release description (PRD)
├── user-stories/ # User actions and system responses
│ └── README.md # Index/overview
├── research/ # Internet facts for reference
│ └── README.md # Index/overview
├── plan/ # Implementation decisions
│ └── README.md # Index/overview
├── gap.md # Current issues to investigate and resolve
├── verified.md # Log of issues that have been fixed
├── goals/ # Ralph goal files and execution state
│ ├── *-goal.md # Goal definition(s)
│ ├── *-progress.jsonl # Progress tracking (auto-generated)
│ └── *-summary.md # Progress summary (auto-generated)
├── tmp/ # Temp files during execution
└── ... # Other files permitted, ignored by pipeline
Each directory serves a distinct abstraction level. Content should not leak between levels.
Plan documents coordinate everything shared.
The plan owns:
The plan is the contract.
DO NOT include: Implementation code, detailed algorithms, function bodies.
Artifacts form a hierarchy of authority:
$CDD_DIR/README.md (authoritative)
↓
user-stories + research (derived)
↓
plan (derived)
Rules:
Why this matters: Consistency is enforced during authoring because it cannot be enforced during execution.
After creating plan documents, write goal files in $CDD_DIR/goals/*-goal.md.
Use /load goal-authoring for detailed guidance. Key points:
Create empty $CDD_DIR/ → Research → Plan → Verify → Execute → Delete $CDD_DIR/
The workspace directory is ephemeral. It exists only for the duration of the release workflow. After successful execution, it's deleted. The work lives in the codebase; the pipeline artifacts are disposable.
| Decision | Tradeoff | Rationale |
|---|---|---|
| Full context in verify | Expensive per-run | Last chance to catch cross-cutting issues |
| Verification is human-terminated | Subjective | Models don't converge to "done" naturally |
| Research cached in files | Stale if release spans days | Avoids re-fetching during execution |