[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73C1XHB93MWXAJW1WJ8Z2PB":3,"skill-same:01M73C1XHB93MWXAJW1WJ8Z2PB":89},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":20,"frontMatter":21,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":12,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M73C1XHB93MWXAJW1WJ8Z2PB","spec-driven-development",null,"ngdletrung\u002FJKAI-Zenith","ngdletrung","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F88302940?v=4","01M73BJVV5QJ87R3MC4BXJMWDN","01M73BJVWAAM03TM18QHKRDAMH",0,"MIT","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nid: SPEC_DRIVEN_DEVELOPMENT\nname_vn: \"Phát triển Hướng Đặc tả\"\nversion: 1.0.0\ndomain: RESEARCH\nintent_pairs:\n  - [\"CREATE\", \"SPEC\"]\n  - [\"ANALYZE\", \"REQUIREMENT\"]\naliases_vn: [\"phát triển hướng đặc tả\", \"spec driven\", \"viết đặc tả\", \"tạo PRD\"]\nschema:\n  parameters:\n    type: object\n    properties:\n      feature: { type: string, description: \"Mô tả tính năng hoặc yêu cầu đầu vào\" }\n    required: [\"feature\"]\nassigned_agent: agent_planner.md\npriority: HIGH\n---\n\n# Spec-Driven Development\n\nWrite a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.\n\n## When to Use\n\n- Starting a new project or feature\n- Requirements are ambiguous or incomplete\n- The change touches multiple files or modules\n- You're about to make an architectural decision\n- The task would take more than 30 minutes to implement\n\n**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.\n\n## The Gated Workflow\n\nSpec-driven development has four phases. Do not advance to the next phase until the current one is validated.\n\n```\nSPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT\n   │          │        │          │\n   ▼          ▼        ▼          ▼\n  Human      Human    Human      Human\n  reviews    reviews  reviews    reviews\n```\n\n### Phase 1: Specify\n\nStart with a high-level vision. Ask the human clarifying questions until requirements are concrete.\n\n**Surface assumptions immediately.** Before writing any spec content, list what you're assuming:\n\n```\nASSUMPTIONS I'M MAKING:\n1. This is a web application (not native mobile)\n2. Authentication uses session-based cookies (not JWT)\n3. The database is PostgreSQL (based on existing Prisma schema)\n4. We're targeting modern browsers only (no IE11)\n→ Correct me now or I'll proceed with these.\n```\n\nDon't silently fill in ambiguous requirements. The spec's entire purpose is to surface misunderstandings *before* code gets written — assumptions are the most dangerous form of misunderstanding.\n\n**Write a spec document covering these six core areas:**\n\n1. **Objective** — What are we building and why? Who is the user? What does success look like?\n2. **Commands** — Full executable commands with flags, not just tool names.\n3. **Project Structure** — Where source code lives, where tests go, where docs belong.\n4. **Code Style** — One real code snippet showing your style.\n5. **Testing Strategy** — What framework, where tests live, coverage expectations.\n6. **Boundaries** — Always do, Ask first, Never do.\n\n### Phase 2: Plan\n\nWith the validated spec, generate a technical implementation plan:\n1. Identify the major components and their dependencies\n2. Determine the implementation order\n3. Note risks and mitigation strategies\n4. Identify what can be built in parallel vs. what must be sequential\n5. Define verification checkpoints between phases\n\n### Phase 3: Tasks\n\nBreak the plan into discrete, implementable tasks:\n- Each task should be completable in a single focused session\n- Each task has explicit acceptance criteria\n- Each task includes a verification step (test, build, manual check)\n- Tasks are ordered by dependency\n- No task should require changing more than ~5 files\n\n### Phase 4: Implement\n\nExecute tasks one at a time following `skills\u002Fincremental-implementation\u002FSKILL.md` and `skills\u002Ftest-driven-development\u002FSKILL.md`.\n\n## Anti-Rationalization (Chống Ngụy Biện)\n\n| Rationalization | Reality |\n|---|---|\n| \"This is simple, I don't need a spec\" | Simple tasks don't need *long* specs, but they still need acceptance criteria. A two-line spec is fine. |\n| \"I'll write the spec after I code it\" | That's documentation, not specification. The spec's value is in forcing clarity *before* code. |\n| \"The spec will slow us down\" | A 15-minute spec prevents hours of rework. Waterfall in 15 minutes beats debugging in 15 hours. |\n| \"Requirements will change anyway\" | That's why the spec is a living document. An outdated spec is still better than no spec. |\n| \"The user knows what they want\" | Even clear requests have implicit assumptions. The spec surfaces those assumptions. |\n\n## Red Flags\n\n- Starting to write code without any written requirements\n- Asking \"should I just start building?\" before clarifying what \"done\" means\n- Implementing features not mentioned in any spec or task list\n- Making architectural decisions without documenting them\n- Skipping the spec because \"it's obvious what to build\"\n\n## Exit Criteria & Verification\n\nBefore proceeding to implementation, confirm:\n\n- [ ] The spec covers all six core areas\n- [ ] The human has reviewed and approved the spec\n- [ ] Success criteria are specific and testable\n- [ ] Boundaries (Always\u002FAsk First\u002FNever) are defined\n- [ ] The spec is saved to a file in the repository\n\n---\n## Sovereign Laws\n- Skill nay duoc dong hoa tu agent-skills (MIT License - Addy Osmani).\n- Moi hanh vi cua JKAI khi kich hoat skill #4010 phai tuan thu giao thuc tren.\n- Khong dua ra ket qua cuoi cung neu chua hoan thanh checklist cuoi muc Verification.\n\n*Deck #4010 | Property of Master LeeTrung | JKAI Zenith*\n","# Spec-Driven Development\n\nWrite a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.\n\n## When to Use\n\n- Starting a new project or feature\n- Requirements are ambiguous or incomplete\n- The change touches multiple files or modules\n- You're about to make an architectural decision\n- The task would take more than 30 minutes to implement\n\n**When NOT to use:** Single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained.\n\n## The Gated Workflow\n\nSpec-driven development has four phases. Do not advance to the next phase until the current one is validated.\n\n```\nSPECIFY ──→ PLAN ──→ TASKS ──→ IMPLEMENT\n   │          │        │          │\n   ▼          ▼        ▼          ▼\n  Human      Human    Human      Human\n  reviews    reviews  reviews    reviews\n```\n\n### Phase 1: Specify\n\nStart with a high-level vision. Ask the human clarifying questions until requirements are concrete.\n\n**Surface assumptions immediately.** Before writing any spec content, list what you're assuming:\n\n```\nASSUMPTIONS I'M MAKING:\n1. This is a web application (not native mobile)\n2. Authentication uses session-based cookies (not JWT)\n3. The database is PostgreSQL (based on existing Prisma schema)\n4. We're targeting modern browsers only (no IE11)\n→ Correct me now or I'll proceed with these.\n```\n\nDon't silently fill in ambiguous requirements. The spec's entire purpose is to surface misunderstandings *before* code gets written — assumptions are the most dangerous form of misunderstanding.\n\n**Write a spec document covering these six core areas:**\n\n1. **Objective** — What are we building and why? Who is the user? What does success look like?\n2. **Commands** — Full executable commands with flags, not just tool names.\n3. **Project Structure** — Where source code lives, where tests go, where docs belong.\n4. **Code Style** — One real code snippet showing your style.\n5. **Testing Strategy** — What framework, where tests live, coverage expectations.\n6. **Boundaries** — Always do, Ask first, Never do.\n\n### Phase 2: Plan\n\nWith the validated spec, generate a technical implementation plan:\n1. Identify the major components and their dependencies\n2. Determine the implementation order\n3. Note risks and mitigation strategies\n4. Identify what can be built in parallel vs. what must be sequential\n5. Define verification checkpoints between phases\n\n### Phase 3: Tasks\n\nBreak the plan into discrete, implementable tasks:\n- Each task should be completable in a single focused session\n- Each task has explicit acceptance criteria\n- Each task includes a verification step (test, build, manual check)\n- Tasks are ordered by dependency\n- No task should require changing more than ~5 files\n\n### Phase 4: Implement\n\nExecute tasks one at a time following `skills\u002Fincremental-implementation\u002FSKILL.md` and `skills\u002Ftest-driven-development\u002FSKILL.md`.\n\n## Anti-Rationalization (Chống Ngụy Biện)\n\n| Rationalization | Reality |\n|---|---|\n| \"This is simple, I don't need a spec\" | Simple tasks don't need *long* specs, but they still need acceptance criteria. A two-line spec is fine. |\n| \"I'll write the spec after I code it\" | That's documentation, not specification. The spec's value is in forcing clarity *before* code. |\n| \"The spec will slow us down\" | A 15-minute spec prevents hours of rework. Waterfall in 15 minutes beats debugging in 15 hours. |\n| \"Requirements will change anyway\" | That's why the spec is a living document. An outdated spec is still better than no spec. |\n| \"The user knows what they want\" | Even clear requests have implicit assumptions. The spec surfaces those assumptions. |\n\n## Red Flags\n\n- Starting to write code without any written requirements\n- Asking \"should I just start building?\" before clarifying what \"done\" means\n- Implementing features not mentioned in any spec or task list\n- Making architectural decisions without documenting them\n- Skipping the spec because \"it's obvious what to build\"\n\n## Exit Criteria & Verification\n\nBefore proceeding to implementation, confirm:\n\n- [ ] The spec covers all six core areas\n- [ ] The human has reviewed and approved the spec\n- [ ] Success criteria are specific and testable\n- [ ] Boundaries (Always\u002FAsk First\u002FNever) are defined\n- [ ] The spec is saved to a file in the repository\n\n---\n## Sovereign Laws\n- Skill nay duoc dong hoa tu agent-skills (MIT License - Addy Osmani).\n- Moi hanh vi cua JKAI khi kich hoat skill #4010 phai tuan thu giao thuc tren.\n- Khong dua ra ket qua cuoi cung neu chua hoan thanh checklist cuoi muc Verification.\n\n*Deck #4010 | Property of Master LeeTrung | JKAI Zenith*\n",{"id":22,"domain":23,"schema":24,"name_vn":33,"version":34,"priority":35,"aliases_vn":36,"intent_pairs":41,"assigned_agent":48},"SPEC_DRIVEN_DEVELOPMENT","RESEARCH",{"parameters":25},{"type":26,"required":27,"properties":29},"object",[28],"feature",{"feature":30},{"type":31,"description":32},"string","Mô tả tính năng hoặc yêu cầu đầu vào","Phát triển Hướng Đặc tả","1.0.0","HIGH",[37,38,39,40],"phát triển hướng đặc tả","spec driven","viết đặc tả","tạo PRD",[42,45],[43,44],"CREATE","SPEC",[46,47],"ANALYZE","REQUIREMENT","agent_planner.md","main","571327a911ec45873180fd5628525b6d4504ed79","intelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith","https:\u002F\u002Fgithub.com\u002Fngdletrung","2026-11-08 11:23:33",{"source":7,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add ngdletrung\u002FJKAI-Zenith --skill spec-driven-development",{"tool":61,"command":62},"bunx","bunx skills add ngdletrung\u002FJKAI-Zenith --skill spec-driven-development",{"tool":64,"command":65},"pnpm","pnpm dlx skills add ngdletrung\u002FJKAI-Zenith --skill spec-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002FSKILL.md",true,[69,75,81,85],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"__init__.py","SCRIPT","脚本",27,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002F__init__.py",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"dossier.md","REFERENCE","参考文档",8187,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002Fdossier.md",{"path":82,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":83,"sourceHtmlUrl":84},"logic.py",455,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002Flogic.py",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"manifest.json",954,"https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FRESEARCH\u002Fspec-driven-development\u002Fmanifest.json",[90,97,103,110,116,122],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":17},"01M73C2NC1W5P3A0V3GQAJ0SJB","standard_plugin","Hướng dẫn kích hoạt và vận hành cho kỹ năng standard_plugin.","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002Ftemplates\u002Fstandard_plugin\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":17},"01M73C2KAN3Q7D5XEBKB3KZW1B","_STANDARD","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002F_STANDARD\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":17},"01M73C2HV7KDJQTA6ACCR10HZB","test_dynamic_audit","Thao tác kiểm toán động","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FTEST\u002Ftest_dynamic_audit\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":17},"01M73C2FRG0JHZ6W155V1KCHRP","security-audit","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":17},"01M73C2EMWYHFTAR9RSZ41TBGP","security-and-hardening","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fsecurity-and-hardening\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":17},"01M73C2CV0BQ59NAEWXKBQ370Z","performance-optimization","https:\u002F\u002Fgithub.com\u002Fngdletrung\u002FJKAI-Zenith\u002Fblob\u002Fmain\u002Fintelligence\u002Fskills\u002FSECURITY\u002Fperformance-optimization\u002FSKILL.md",[],[]]