[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XEDRW2Q0BEZJF07681786":3,"skill-same:01M79XEDRW2Q0BEZJF07681786":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":51},"01M79XEDRW2Q0BEZJF07681786","prd",null,"Generates a Product Requirements Document from a natural language app description. Asks clarifying questions, researches similar apps, defines scope, stack, architecture, and produces a structured PRD that Archon can decompose into a campaign.","mayankjain1815-commits\u002FCITADEL","mayankjain1815-commits","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234472344?v=4","01M79X9599EWEQTD62DMNTEG7X","Mayank jain","01M79X95AA0KDFTN1Z1A6DQTX1",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fprd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prd\nlicense: MIT\ndescription: >-\n  Generates a Product Requirements Document from a natural language app description.\n  Asks clarifying questions, researches similar apps, defines scope, stack, architecture,\n  and produces a structured PRD that Archon can decompose into a campaign.\nuser-invocable: true\nauto-trigger: false\ntrigger_keywords:\n  - prd\n  - requirements\n  - spec\n  - plan an app\n  - design an app\neffort: high\n---\n\n# \u002Fprd — Product Requirements Document Generator\n\n## When to Use\n\n**Don't use when:** architecture is already defined and you need implementation (use \u002Farchitect then \u002Farchon); adding a small feature to an existing app (use \u002Fmarshal directly).\n\n- User describes an app or feature to build (greenfield or feature mode)\n- Before any Archon campaign for a new project or feature\n\n## Mode Detection\n\nBefore starting, determine the mode:\n\n**Greenfield mode**: No existing source files, or user explicitly says \"new app\" \u002F \"from scratch.\"\nProduces a full PRD as described below.\n\n**Feature mode**: The project already has source files (check for `src\u002F`, `app\u002F`, `lib\u002F`,\n`package.json` with dependencies, or similar). The user describes a feature to add, not a\nwhole app (\"add auth\", \"add a dashboard\", \"add payment processing\").\n\nIn feature mode:\n- Read the existing file tree and `package.json`\u002Fequivalent before asking questions\n- The existing stack is a given — don't recommend alternatives\n- \"Architecture\" section describes integration points with existing code, not standalone shape\n- End conditions MUST include regression checks: \"existing tests still pass\", \"typecheck has no new errors\"\n- \"Out of Scope\" is relative to the feature, not the whole app\n- Technical Decisions only covers decisions the feature introduces (new dependencies, new patterns)\n\nThe PRD template below works for both modes. Feature mode just scopes it tighter.\n\n## Protocol\n\n### Step 1: UNDERSTAND\n\nDetermine mode (greenfield vs feature). Identify core functionality, target user, and success criteria (greenfield) or integration points and existing stack (feature). Ask up to 3 questions — only those that would change the architecture. Do not ask about tech stack in greenfield mode; in feature mode, the stack is already decided.\n\n### Step 2: RESEARCH (Optional)\n\nIf the concept has well-known implementations, run \u002Fresearch to identify 2-3 reference apps and common expected features. Skip for simple concepts (landing page, personal tool, CRUD).\n\n### Step 3: DEFINE\n\nProduce a structured PRD. Write to `.planning\u002Fprd-{slug}.md`:\n\n```markdown\n# PRD: {App Name or Feature Name}\n\n> Description: {One sentence}\n> Author: {user}\n> Date: {ISO date}\n> Status: draft\n> Mode: {greenfield | feature}\n\n## Problem\n{What problem does this solve? Why does the user want it?}\n\n## Users\n{Who uses this? One or two user types max.}\n\n## Core Features\n{Numbered list. Maximum 5 for v1. Each feature is one sentence.}\n1. {Feature}: {what it does}\n2. ...\n\n## Out of Scope (v1)\n{Things the user might expect but should NOT be built yet.\nBeing explicit about what's out prevents scope creep.}\n\n## Technical Decisions\n- **Frontend**: {recommendation with reasoning}\n- **Backend**: {recommendation with reasoning, or \"none\" for static apps}\n- **Database**: {recommendation with reasoning, or \"none\"}\n- **Auth**: {recommendation, or \"none\" if no user accounts}\n- **Deployment**: {recommendation}\n\n{In feature mode, only list decisions the feature introduces.\nExisting stack decisions are inherited, not re-evaluated.}\n\n## Architecture\n{High-level description. 3-5 sentences max. How the pieces connect.\nNOT a file tree. NOT implementation details. Just the shape.}\n\n{In feature mode: describe integration points with existing code.\n\"The new auth middleware hooks into the existing Express router at\nsrc\u002Froutes\u002Findex.ts. User model extends the existing Prisma schema.\"}\n\n## Integration Points (feature mode only)\n{Skip this section in greenfield mode.}\n- **Existing files modified**: {list of files the feature will touch}\n- **New files created**: {list of new files}\n- **Dependencies added**: {new packages, if any}\n- **Patterns followed**: {existing patterns in the codebase this feature should match}\n\n## End Conditions (Definition of Done)\n{Machine-verifiable conditions that mean the feature\u002Fapp is complete.}\n- [ ] {condition 1: e.g., \"Landing page renders at localhost:3000\"}\n- [ ] {condition 2: e.g., \"User can create account and log in\"}\n- [ ] {condition 3: e.g., \"Core feature X works end-to-end\"}\n\n{In feature mode, ALWAYS include these regression conditions:}\n- [ ] Existing tests pass with 0 new failures\n- [ ] Typecheck passes with 0 new errors\n\n## Open Questions\n{Anything the PRD author couldn't decide. These become questions\nfor the user before the campaign starts.}\n```\n\n### Step 4: REVIEW\n\nPresent: core features, tech stack decisions, out of scope, end conditions. Ask if it matches. On approval: PRD is ready for Archon. On changes: update and re-present changed sections only.\n\n## Contextual Gates\n\n**Disclosure:** \"Generating PRD for [description]. Creates `.planning\u002Fprd-{name}.md`.\"\n**Reversibility:** green — creates `.planning\u002Fprd-{slug}.md` only; undo by deleting the file.\n**Trust gates:**\n- Any: full PRD generation, clarifying questions, review cycle.\n\n## Quality Gates\n\n- Every Core Feature is one sentence\n- Every technical decision has a reasoning (\"because\")\n- End conditions are machine-verifiable\n- Out of Scope has at least 2 items\n- No more than 5 core features for v1\n\n## Fringe Cases\n\n**Vague description**: Ask up to 3 clarifying questions. Never produce a PRD with placeholder end conditions.\n\n**Feature mode but no existing code**: Confirm with the user — switch to greenfield if confirmed.\n\n**User says \"skip the PRD\"**: Even a minimal PRD is needed. Offer a 1-page express PRD (Tier 4 style).\n\n**If .planning\u002F does not exist**: Create it before writing. If not possible, present inline and suggest `\u002Fdo setup`.\n\n## Exit Protocol\n\n```\n---HANDOFF---\n- PRD: {app name}\n- Document: .planning\u002Fprd-{slug}.md\n- Status: {approved | needs-revision}\n- Next: Run `\u002Fdo build {app name}` or `\u002Farchon` with the PRD as direction\n- Reversibility: green — delete .planning\u002Fprd-{slug}.md to undo\n---\n```\n\n## Stack Selection Principles\n\nMake opinionated recommendations with reasoning. Defaults: Next.js + Tailwind + shadcn\u002Fui for web; Node\u002FExpress for JS backends, FastAPI for Python; SQLite for simple, PostgreSQL for multi-user; simplest auth for the stack. Always explain why.\n\nDeployment defaults: static → Vercel\u002FNetlify; full-stack with DB → Railway; API only → Railway or Fly.io; not deploying yet → local only. See `.planning\u002F_templates\u002Fdeploy\u002F` for platform details.\n","# \u002Fprd — Product Requirements Document Generator\n\n## When to Use\n\n**Don't use when:** architecture is already defined and you need implementation (use \u002Farchitect then \u002Farchon); adding a small feature to an existing app (use \u002Fmarshal directly).\n\n- User describes an app or feature to build (greenfield or feature mode)\n- Before any Archon campaign for a new project or feature\n\n## Mode Detection\n\nBefore starting, determine the mode:\n\n**Greenfield mode**: No existing source files, or user explicitly says \"new app\" \u002F \"from scratch.\"\nProduces a full PRD as described below.\n\n**Feature mode**: The project already has source files (check for `src\u002F`, `app\u002F`, `lib\u002F`,\n`package.json` with dependencies, or similar). The user describes a feature to add, not a\nwhole app (\"add auth\", \"add a dashboard\", \"add payment processing\").\n\nIn feature mode:\n- Read the existing file tree and `package.json`\u002Fequivalent before asking questions\n- The existing stack is a given — don't recommend alternatives\n- \"Architecture\" section describes integration points with existing code, not standalone shape\n- End conditions MUST include regression checks: \"existing tests still pass\", \"typecheck has no new errors\"\n- \"Out of Scope\" is relative to the feature, not the whole app\n- Technical Decisions only covers decisions the feature introduces (new dependencies, new patterns)\n\nThe PRD template below works for both modes. Feature mode just scopes it tighter.\n\n## Protocol\n\n### Step 1: UNDERSTAND\n\nDetermine mode (greenfield vs feature). Identify core functionality, target user, and success criteria (greenfield) or integration points and existing stack (feature). Ask up to 3 questions — only those that would change the architecture. Do not ask about tech stack in greenfield mode; in feature mode, the stack is already decided.\n\n### Step 2: RESEARCH (Optional)\n\nIf the concept has well-known implementations, run \u002Fresearch to identify 2-3 reference apps and common expected features. Skip for simple concepts (landing page, personal tool, CRUD).\n\n### Step 3: DEFINE\n\nProduce a structured PRD. Write to `.planning\u002Fprd-{slug}.md`:\n\n```markdown\n# PRD: {App Name or Feature Name}\n\n> Description: {One sentence}\n> Author: {user}\n> Date: {ISO date}\n> Status: draft\n> Mode: {greenfield | feature}\n\n## Problem\n{What problem does this solve? Why does the user want it?}\n\n## Users\n{Who uses this? One or two user types max.}\n\n## Core Features\n{Numbered list. Maximum 5 for v1. Each feature is one sentence.}\n1. {Feature}: {what it does}\n2. ...\n\n## Out of Scope (v1)\n{Things the user might expect but should NOT be built yet.\nBeing explicit about what's out prevents scope creep.}\n\n## Technical Decisions\n- **Frontend**: {recommendation with reasoning}\n- **Backend**: {recommendation with reasoning, or \"none\" for static apps}\n- **Database**: {recommendation with reasoning, or \"none\"}\n- **Auth**: {recommendation, or \"none\" if no user accounts}\n- **Deployment**: {recommendation}\n\n{In feature mode, only list decisions the feature introduces.\nExisting stack decisions are inherited, not re-evaluated.}\n\n## Architecture\n{High-level description. 3-5 sentences max. How the pieces connect.\nNOT a file tree. NOT implementation details. Just the shape.}\n\n{In feature mode: describe integration points with existing code.\n\"The new auth middleware hooks into the existing Express router at\nsrc\u002Froutes\u002Findex.ts. User model extends the existing Prisma schema.\"}\n\n## Integration Points (feature mode only)\n{Skip this section in greenfield mode.}\n- **Existing files modified**: {list of files the feature will touch}\n- **New files created**: {list of new files}\n- **Dependencies added**: {new packages, if any}\n- **Patterns followed**: {existing patterns in the codebase this feature should match}\n\n## End Conditions (Definition of Done)\n{Machine-verifiable conditions that mean the feature\u002Fapp is complete.}\n- [ ] {condition 1: e.g., \"Landing page renders at localhost:3000\"}\n- [ ] {condition 2: e.g., \"User can create account and log in\"}\n- [ ] {condition 3: e.g., \"Core feature X works end-to-end\"}\n\n{In feature mode, ALWAYS include these regression conditions:}\n- [ ] Existing tests pass with 0 new failures\n- [ ] Typecheck passes with 0 new errors\n\n## Open Questions\n{Anything the PRD author couldn't decide. These become questions\nfor the user before the campaign starts.}\n```\n\n### Step 4: REVIEW\n\nPresent: core features, tech stack decisions, out of scope, end conditions. Ask if it matches. On approval: PRD is ready for Archon. On changes: update and re-present changed sections only.\n\n## Contextual Gates\n\n**Disclosure:** \"Generating PRD for [description]. Creates `.planning\u002Fprd-{name}.md`.\"\n**Reversibility:** green — creates `.planning\u002Fprd-{slug}.md` only; undo by deleting the file.\n**Trust gates:**\n- Any: full PRD generation, clarifying questions, review cycle.\n\n## Quality Gates\n\n- Every Core Feature is one sentence\n- Every technical decision has a reasoning (\"because\")\n- End conditions are machine-verifiable\n- Out of Scope has at least 2 items\n- No more than 5 core features for v1\n\n## Fringe Cases\n\n**Vague description**: Ask up to 3 clarifying questions. Never produce a PRD with placeholder end conditions.\n\n**Feature mode but no existing code**: Confirm with the user — switch to greenfield if confirmed.\n\n**User says \"skip the PRD\"**: Even a minimal PRD is needed. Offer a 1-page express PRD (Tier 4 style).\n\n**If .planning\u002F does not exist**: Create it before writing. If not possible, present inline and suggest `\u002Fdo setup`.\n\n## Exit Protocol\n\n```\n---HANDOFF---\n- PRD: {app name}\n- Document: .planning\u002Fprd-{slug}.md\n- Status: {approved | needs-revision}\n- Next: Run `\u002Fdo build {app name}` or `\u002Farchon` with the PRD as direction\n- Reversibility: green — delete .planning\u002Fprd-{slug}.md to undo\n---\n```\n\n## Stack Selection Principles\n\nMake opinionated recommendations with reasoning. Defaults: Next.js + Tailwind + shadcn\u002Fui for web; Node\u002FExpress for JS backends, FastAPI for Python; SQLite for simple, PostgreSQL for multi-user; simplest auth for the stack. Always explain why.\n\nDeployment defaults: static → Vercel\u002FNetlify; full-stack with DB → Railway; API only → Railway or Fly.io; not deploying yet → local only. See `.planning\u002F_templates\u002Fdeploy\u002F` for platform details.\n",{"name":5,"effort":24,"license":15,"description":7,"auto-trigger":20,"user-invocable":25,"trigger_keywords":26},"high",true,[5,27,28,29,30],"requirements","spec","plan an app","design an app","main","49119fa06efc769f502bede04ad99746ac20f021","skills\u002Fprd",0,"https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits","2nd-yr EEE 📍 Bangalore | Python, C, Java, C# | ML, NLP & Flask backends | Building AI tools that ship 🚀 | Open to hackathons & collabs","2026-11-14 14:46:28",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":25},[41,44,47],{"tool":42,"command":43},"npx","npx skills add mayankjain1815-commits\u002FCITADEL --skill prd",{"tool":45,"command":46},"bunx","bunx skills add mayankjain1815-commits\u002FCITADEL --skill prd",{"tool":48,"command":49},"pnpm","pnpm dlx skills add mayankjain1815-commits\u002FCITADEL --skill prd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fprd\u002FSKILL.md",[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"__benchmarks__\u002Fspecific-feature.md","REFERENCE","参考文档",838,"https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fprd\u002F__benchmarks__\u002Fspecific-feature.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"__benchmarks__\u002Fvague-idea.md",829,"https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fprd\u002F__benchmarks__\u002Fvague-idea.md",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79XH1DBMXQEF9N0Q6NW7Q5P","workspace","Multi-repo campaign coordinator. Same lifecycle as fleet -- scope claims, discovery relay, wave-based execution -- but the unit of work is a repo, not a file. Coordinates campaigns across repositories with shared context.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fworkspace\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79XGWJJHSKNTH78TNVX09VK","wiki","Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to ~400K words.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fwiki\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79XGNW2YTFHVMEZGZDEDN43","watch","File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through \u002Fdo. Use for automatic reactions to file changes; do NOT use for one-off inspection or tasks needing human judgment per file.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fwatch\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79XGHZ0028HDW7SDT186D6Q","verify","Self-test the Citadel hook pipeline from within a live session. Exercises real tool calls (Write, Edit, Bash, Read) and checks that hooks fired, telemetry accumulated, and no errors occurred. Reports HOOK HEALTH: PASS or HOOK HEALTH: FAIL with a per-hook breakdown.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79XGDKHMADJXC27T0FMQAN3","unharness","Remove Citadel from a project. Exports valuable state (campaigns, postmortems, research, backlog, discoveries) to docs\u002Fcitadel\u002F as human-readable markdown, then removes all harness files and hooks. The archive is detected by \u002Fdo setup on re-install and offered for restore.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Funharness\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79XG81A3RHP2TKKBT5WYEY2","triage","GitHub issue and PR investigator. Pulls open issues\u002FPRs, classifies them, searches the codebase for root cause or reviews contributed code, proposes fixes with file:line references, and optionally implements fixes. Use for investigating GitHub issues and reviewing PRs; do NOT use for general code review unrelated to GitHub issues.","https:\u002F\u002Fgithub.com\u002Fmayankjain1815-commits\u002FCITADEL\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[]]