skills/design-doc/SKILL.md
(Designer) Draft a feature Design Doc from the latest ingest package; save canonical output to docs/design-docs/<feature_id>/design-doc.md plus run artifacts.
npx skillsauth add dvduongth/skills design-docInstall 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.
Generate a feature-scoped Design Doc from an ingest package using templates/design-doc-template.md.
Use this after /design_ingest has produced:
ingest-summary.mdsource-manifest.mdThis skill is Decision-making only. Your job is to read the ingest package and make design decisions — NOT to validate them. Do NOT self-validate. Do NOT run a quality checklist against your own output. design_validate will catch issues independently.
Output language: Vietnamese but keep session, keywords in English
NNN-sluglatesttemplates/design-doc-template.mddocs/runs/<feature_id>/<ingest_run>/ingest-summary.mddocs/runs/<feature_id>/<ingest_run>/source-manifest.mddocs/runs/<feature_id>/<ingest_run>/requirement-brief.md (generated by design-ingest --brief)templates/template-map.md — read the YAML block to determine applicable templates and referencesWhen writing mechanics, rules, or any behavioral description from source documents, use this format:
WHAT (always required) + HOW, WHEN, WHY, WHO (required if present in source — never drop)
| Field | Question answered | Example | |---|---|---| | WHAT | What does this mechanic/rule do? | "[Entity A] is sent to [destination]" | | HOW | How exactly does it work? Algorithm, direction, method | "nearest = closest in [direction] measured from [reference point]" | | WHEN | Precise timing or trigger condition | "immediately after [triggering action] completes" | | WHY | Design intent or rationale | "[design intent — e.g., punishment / reward / catch-up mechanism]" | | WHO | Which entity the rule applies to | "only [affected entity] — [other entity] is unaffected" |
design-ingestdesign-validateRule: If the source describes HOW/WHEN/WHY/WHO → it must appear in the design-doc. Never compress to outcome-only.
python tools/scaffold_run.py <feature_id> doc
Creates the run folder + input.md. Note the printed path.is_game_feature:
requirement-brief.md "Affected systems" for: Economy, Progression, Matchmaking, Socialingest-summary.md for game mechanics vocabulary: "turn", "round", "player action", "win condition", "score", "level", "session", "mechanic", "rule", "board". Do NOT use specific game product names as detection signals.is_game_feature = true: also create docs/design-docs/<feature_id>/manifest.md using the Design Package Status template from templates/template-map.mdWhen a section describes a flow, process, or set of relationships with ≥4 steps or states, invoke skill mermaid-diagram to create diagram.
Where to save:
docs/assets/design/<feature_id>_<what_it_shows>.mdWhere to place the link in the doc: Place the diagram link inline, directly below the section/paragraph it illustrates.
Do NOT create a standalone ## Diagrams section. Each diagram belongs next to the content it describes. Examples:
Format:
> **[Diagram title]** — [filename.md](relative/path/to/filename.md)
> One sentence describing what it shows.
If ingest has an AC-seeds or "Signals for design_doc":
If nothing exists yet:
design_promote)Canonical Design Doc:
Write: docs/design-docs/<feature_id>/design-doc.md
Run artifacts (append-only):
Create: docs/runs/<feature_id>/<YYYYMMDD_HHMM>_step1_design/
Write:
input.md — feature_id, ingest run used, template pathnotes.md — key decisions made, open questions deferred, next stepnotes.md content requirementstemplates/design-doc-template.mdis_game_feature detected: true/false (and basis for detection)is_game_feature = true:
docs/design-docs/<feature_id>/layout-detail.md using templates/layout-detail-template.md — link it from §6 Visual Design."manifest.md Status for design-doc.md to draft."is_game_feature: "/design_validate <feature_id> — also complete layout-detail.md before validate for full coverage."/design_validate <feature_id>development
Hiểu sâu bất kỳ codebase nào đã được GitNexus index — architecture, execution flows, symbol relationships, blast radius. Dùng khi hỏi về codebase architecture, symbol context, impact analysis, hoặc index status.
tools
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
documentation
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
tools
Gemini CLI for one-shot Q&A, summaries, and generation.