skills/design-doc-reviewer/SKILL.md
One-time, read-only critique of a design doc, spec, PRD, or requirements for completeness, implementability, and user story readiness. Produces a structured review artifact with gaps, score, and next steps; does not edit or mark Revised. Use design-doc-review-loop when the user wants revisions, repeated review, or feature-delivery readiness.
npx skillsauth add eho/agent-skills design-doc-reviewerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce structured, actionable review feedback on a design document. Reviews should be specific — not generic praise or criticism — and directly tied to content in the doc.
This is intentionally separate from the design-doc writer and design-doc-review-loop skills. Use this skill for independent critique and readiness assessment. Do not rewrite the design doc during review; produce a review artifact that the design-doc writer or review-loop coordinator can later triage and apply.
docs/vision/vision.md) for product alignment context if availableIf the user didn't specify a path, check docs/design/ for recent files. Ask if ambiguous. Read the doc fully before evaluating.
Also read (if they exist):
skills/design-doc/SKILL.md or equivalent design-doc writer instructions — to align the review rubric with the current expected document structuredocs/vision/vision.md or equivalent product vision doc — to check product alignmentScore each element as: ✅ Present & Strong / ⚠️ Partial or Unclear / ❌ Missing
| # | Element | What to look for | |---|---------|-----------------| | 1 | Problem Statement | Concrete pain or gap — not "we want to add X." Should answer: what breaks today without this? | | 2 | Goals | Numbered, specific, and measurable. Can you tell when a goal is met? | | 3 | Success Metrics | How will success be measured post-implementation? Quantifiable where possible (latency, error rate, adoption). | | 4 | Non-Goals | Explicit list of what's out of scope and why. Missing = the doc hasn't thought about scope. | | 5 | Alternatives Considered | At least 2 alternative approaches with rationale for rejection. Missing = the chosen approach feels arbitrary. | | 6 | Design Principles | Named principles (not just description of approach). Serve as tie-breakers for ambiguous choices. | | 7 | Vision Alignment | If a vision doc exists: does the design explicitly connect its choices to the product vision? Does it justify any tension? Not just "this aligns" — it should name specific vision goals it advances. Omitted is fine only if no vision doc exists. | | 8 | Architecture Overview | Diagram or component list. Reader should understand the system model without reading all prose. | | 9 | API & Data Contracts | Exact interfaces, schemas, or payloads — not just descriptions. What gets stored, where, in what format. Strict enough for an implementer to code against. | | 10 | Integration Points | Which existing files, APIs, events, or hooks are modified. Specific — file names and function names. | | 11 | Sequence / Flow Walkthrough | Step-by-step for the critical path. ASCII diagram or numbered sequence for complex async flows. | | 12 | Example Output | What does the user actually see? JSON response, CLI output, UI state, or file content example. | | 13 | Configuration | Env vars, feature flags, or tunables — with defaults, types, and descriptions. | | 14 | Security, Privacy & Permissions | Authentication, authorization, secrets, PII, data retention, auditability, and permission boundaries. If none apply, the doc should say why. | | 15 | Performance & Scalability | Expected load, latency targets, data volume assumptions, caching/batching strategy, and known bottlenecks. | | 16 | Migration, Rollout & Rollback | Schema migrations, backfills, feature flags, backward compatibility, rollout sequence, and rollback plan. | | 17 | Testing Strategy | Not just "we'll write unit tests." Names specific test cases, edge cases, integration scenarios, and test files. | | 18 | Observability & Logging | Specific operations, error paths, log levels, formats, and required context fields. | | 19 | Edge Cases & Failures | What can go wrong? For each failure mode: how is it detected, and what's the mitigation? | | 20 | Risks | Known technical or product risks, with likelihood, impact, and mitigation plan for each. | | 21 | Open Questions | Does the doc itself include an explicit list of unresolved decisions or unknowns? Their presence signals intellectual honesty; their absence may mean the author hasn't surfaced real uncertainty. | | 22 | Context Required for Implementation | Does the doc list exact file paths an implementer must read before starting? Missing = the implementer has to rediscover context. | | 23 | Implementation Plan | Ordered implementation slices with story IDs, dependencies, purpose, and primary files. | | 24 | User Stories | Are there well-formed user stories with acceptance criteria? See User Story Quality below. | | 25 | Future Extensions | Ideas deferred with rationale. Shows the design is part of a roadmap, not a closed system. |
Apply the Agent-Ready Test to every user story: could an AI agent implement this story without asking for more information? If "No" or "Maybe," the story needs more detail.
None?Documentation impact: None and explain why.Use this exact structure:
File: docs/design/[filename].md
Reviewed: [today's date]
Overall Assessment: [1–2 sentences. What's the doc's current state? Is it ready to implement, needs revision, or needs substantial work?]
| Element | Status | Notes | |---------|--------|-------| | Problem Statement | ✅/⚠️/❌ | [specific observation] | | Goals | ✅/⚠️/❌ | [specific observation] | | Success Metrics | ✅/⚠️/❌ | [specific observation] | | Non-Goals | ✅/⚠️/❌ | [specific observation] | | Alternatives Considered | ✅/⚠️/❌ | [specific observation] | | Design Principles | ✅/⚠️/❌ | [specific observation] | | Vision Alignment | ✅/⚠️/❌ | [specific observation] | | Architecture Overview | ✅/⚠️/❌ | [specific observation] | | API & Data Contracts | ✅/⚠️/❌ | [specific observation] | | Integration Points | ✅/⚠️/❌ | [specific observation] | | Sequence / Flow | ✅/⚠️/❌ | [specific observation] | | Example Output | ✅/⚠️/❌ | [specific observation] | | Configuration | ✅/⚠️/❌ | [specific observation] | | Security, Privacy & Permissions | ✅/⚠️/❌ | [specific observation] | | Performance & Scalability | ✅/⚠️/❌ | [specific observation] | | Migration, Rollout & Rollback | ✅/⚠️/❌ | [specific observation] | | Testing Strategy | ✅/⚠️/❌ | [specific observation] | | Observability & Logging | ✅/⚠️/❌ | [specific observation] | | Edge Cases & Failures | ✅/⚠️/❌ | [specific observation] | | Risks | ✅/⚠️/❌ | [specific observation] | | Open Questions | ✅/⚠️/❌ | [specific observation] | | Context Required for Implementation | ✅/⚠️/❌ | [specific observation] | | Implementation Plan | ✅/⚠️/❌ | [specific observation] | | User Stories | ✅/⚠️/❌ | [specific observation] | | Future Extensions | ✅/⚠️/❌ | [specific observation] |
Score: X/25 elements present and strong
List 2–4 specific strengths. Reference actual content from the doc (quote sections, describe specific design decisions). Don't be generic.
Issues that could cause implementation problems, ambiguity, or rework. Be specific about what's missing and what the impact is.
For user-story gaps, name the affected story IDs and explain whether the problem is missing context, unclear dependencies, oversized scope, weak acceptance criteria, missing verification, or missing documentation decision.
Questions the doc hasn't answered that an implementer would need to resolve — beyond any already listed in the doc itself:
Prioritized list of what the author should do before this doc is ready to implement:
Save the review as docs/design/review-[original-filename].md (e.g., reviewing docs/design/auth-redesign.md → save to docs/design/review-auth-redesign.md). Then tell the user the file was saved and summarize the score and top 2–3 critical gaps in a short message.
documentation
Compact the current conversation into a handoff document for another agent to pick up.
tools
--- name: expo-ios-agent-device description: Drive the Kotoba Expo iOS simulator effectively with agent-device. Use when verifying iOS UI behavior, testing Expo dev-client flows, seeding simulator app state, diagnosing accessibility selectors, or automating simulator QA for this repo. --- # Expo iOS Agent Device Use this skill when automating Kotoba on the iOS simulator with `agent-device`. ## Preflight Run these before planning commands: ```sh agent-device --version agent-device help workf
development
Create or update a DESIGN.md design system specification for websites, apps, prototypes, or product designs. Use when the user asks to generate a DESIGN.md, design system spec, UI specification, frontend design source of truth, Stitch/Google Design.md-style document, or agent-ready design tokens and component guidelines from images, descriptions, screenshots, mockups, brand notes, or raw product requirements.
documentation
Run the review-revision loop for an existing design doc: call design-doc-reviewer, address Critical Gaps and Minor Issues, repeat until clean, then mark the doc Revised for feature-delivery. Use when asked to review and revise, repeat until no gaps remain, prepare a design doc for feature delivery, or start a reviewer subagent and address feedback. Use design-doc-reviewer for one-time read-only critique.