design-review
Review design.md and tasks.yaml for completeness and quality. Use when reviewing a design before implementation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Review design.md and tasks.yaml for completeness and quality. Use when reviewing a design before implementation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Explore the codebase and write a discovery brief. Use when discovering scope, surveying a codebase, or starting a feature.
QA passed — merge branch to main, move ticket to Done, delete branch. Use after QA sign-off on a completed feature.
Run one fully-autonomous development iteration. Picks a ticket (from --focus or backlog via ideator), then runs the `orchestrator autopilot <slug>` workflow subcommand. This skill should be used when the user says 'autopilot', 'autonomous', 'self-improve'.
Create commits in logical groups. This skill should be used when the user says 'commit-group', 'group commits', 'organize commits', or when there are multiple unstaged changes that should be organized into atomic commits.
Complete feature — verify, signoff, archive. Runs only the complete phase of the orchestrate workflow. This skill should be used when the user says 'complete feature', 'finish feature', 'merge to main'.
Fetch curated, agent-optimized library documentation via Context Hub (chub). Use when implementing features that use external libraries, when Context7 returns noisy/incomplete docs, when you need language-specific or version-specific API docs, or when the user says "chub", "context hub", "get docs for X". Prefer this over Context7 for libraries in chub's registry — curated docs have less noise and better code examples.
| name | design-review |
| description | Review design.md and tasks.yaml for completeness and quality. Use when reviewing a design before implementation. |
| user-invocable | true |
| extends | git+git@github.com:ugudlado/prompt-packs.git@302b87dcc7c8b6a83d249194f3e47e98d3214794#reviewer |
Intent: Automated critique of design.md and tasks.yaml before implementation
begins. On pass, implementation proceeds. On fail, resets back to
design so the architect can address the findings.
design.md at $WORKTREE_ARTIFACT_DIR/$CHANGE_ID/design.mdtasks.yaml at $WORKTREE_ARTIFACT_DIR/$CHANGE_ID/tasks.yamldesign_review_result — pass or needs_workdesign-review.md written to $WORKTREE_ARTIFACT_DIR/$CHANGE_ID/design-review.mdRun:
bash skills/design-review/eval.sh <design.md> <tasks.yaml>
Non-zero exit → skip scoring, return status: failed / design_review_result: needs_work
immediately with the script's stderr as the findings.
Read design.md and tasks.yaml in full before evaluating anything.
| Dimension | What to check |
|---|---|
| completeness | Goals, Non-Goals, Approaches Considered, Selected Approach, AC section all present and non-empty |
| ac_coverage | Every AC in design.md has at least one task in tasks.yaml; every task has a why tracing to an AC |
| task_quality | Tasks are small and independently verifiable; every task has verify commands; no task touches unrelated files. Critical: if any task uses TDD-style RED tests (verify expected to fail until a later task), those tests must use @pytest.mark.xfail(strict=False) so the verify command exits 0 at commit time — flag missing xfail annotations as a critical finding |
| feasibility | Selected approach is consistent with constraints in discovery.md; no obvious missing dependencies or unresolved open questions |
| scope_control | Non-Goals are explicit; no task implements something outside the stated Goals |
Write design-review.md with scores and a brief summary. Return:
COMPLETION:
status: completed
outputs:
design_review_result: pass
review_score:
overall: <N>
dimensions: {completeness: <N>, ac_coverage: <N>, task_quality: <N>, feasibility: <N>, scope_control: <N>}
artifacts: [design-review.md]
Write design-review.md with scores, each finding, and specific guidance for the architect.
Set refresh_artifacts: true so the architect re-reads the findings on next run.
Return:
COMPLETION:
status: failed
outputs:
design_review_result: needs_work
review_score:
overall: <N>
dimensions: {completeness: <N>, ac_coverage: <N>, task_quality: <N>, feasibility: <N>, scope_control: <N>}
artifacts: [design-review.md]
state_patch:
refresh_artifacts: true
The engine routes failed via the workflow's on_failure edge — the architect step
is re-queued automatically. Do NOT call orchestrator reset-step manually.
design.md or tasks.yaml — findings only, no fixes.status: failed (not status: completed) when verdict is needs_work — the engine handles rerouting.max_retries on the workflow node). Do not implement retry counting here.design-review.md written with scores and findingsstatus: failed returned when verdict is needs_work, status: completed when pass