App Spec Packager
Create complete, production-ready specification packages that coding agents can use to build applications without needing timelines, storypoints, budgets, or sprint planning.
Default output
Create a Markdown package folder and, when artifact/file output is available, also create a zip. Use this default structure unless the user asks otherwise:
[app-slug]-spec/
README.md
PRODUCT_SPEC.md
UX_FLOWS.md
DESIGN_SYSTEM_SPEC.md
TECH_ARCHITECTURE.md
ADRS.md
AI_SPEC.md # only if AI/automation/model behavior is relevant
SAFETY_PRIVACY_SECURITY.md
API_AND_DATA_MODEL.md
CLIENT_IMPLEMENTATION_SPEC.md
BACKEND_IMPLEMENTATION_SPEC.md # only if backend/API/server work is relevant
SUBSCRIPTION_BILLING_SPEC.md # only if monetization/payments are relevant
ANALYTICS_OBSERVABILITY_SPEC.md
QA_ACCEPTANCE_TESTS.md
RELEASE_READINESS.md
TASKS.md
REFERENCES.md # include only when research or external facts were used
Use scripts/create_spec_package.py to scaffold the package when helpful, then fill every file with application-specific content.
Core workflow
- Capture the app intent, platform, target users, core workflows, data sensitivity, AI needs, monetization, integrations, and launch constraints.
- Ask only blocking questions. If the user has already given enough context, proceed and mark assumptions explicitly.
- Research current facts when the spec depends on recent platform rules, SDK versions, app store rules, laws, payments, AI providers, security requirements, or framework best practices. Prefer official sources. Put citations and source notes in
REFERENCES.md.
- Choose the relevant document set. Omit docs that are truly irrelevant, but keep privacy/security, QA, and tasks for production builds.
- Write requirements as precise, testable statements with stable IDs.
- Convert the spec into executable tasks for coding agents. Every task needs acceptance criteria and tests.
- Validate the package against
references/validation-checklist.md before final output.
Reference loading
Read these files as needed:
references/document-blueprints.md: full section templates for each generated document.
references/platform-modules.md: platform-specific concerns for iOS, Android, web, backend, AI, payments, B2B, and regulated products.
references/safety-privacy.md: mandatory when the app has accounts, AI, payments, minors, health, mental health, financial/legal advice, location, biometrics, UGC, sensitive data, or safety risk.
references/task-taxonomy.md: mandatory before writing TASKS.md.
references/validation-checklist.md: mandatory before finalizing.
Writing rules
- Do not include storypoints, budget, timelines, Gantt charts, sprint plans, or staffing plans unless explicitly requested.
- Do not produce vague epics. Produce concrete build tasks.
- Do not over-ask. Use assumptions when safe and reversible.
- Do not bury non-goals. Put them near the top of
PRODUCT_SPEC.md and repeat critical ones in TASKS.md as "Do not do" constraints.
- Do not use placeholders for known information. Use placeholders only for genuinely unknown values and list them in an "Open decisions" section.
- Do not make legal, medical, financial, or app-review certainty claims. Specify compliance requirements and mark them for legal or platform review.
- Do not recommend storing sensitive content by default. Minimize data, separate local/server/provider data, and define retention.
- Do not call third-party AI providers directly from client apps unless the app is a prototype and the user explicitly accepts that risk.
- Do not create community, UGC, payments, AI memory, location tracking, biometric capture, or health data flows without explicit safety/privacy requirements.
Requirements style
Use stable IDs:
REQ-PROD-001
REQ-UX-001
REQ-ARCH-001
REQ-AI-001
REQ-SEC-001
REQ-API-001
REQ-IOS-001
REQ-WEB-001
REQ-BE-001
REQ-QA-001
Every major requirement should answer:
What must happen?
When does it happen?
Who or what triggers it?
Where is state stored?
What are the edge cases?
How is it tested?
What must never happen?
Task style
Use the task template from references/task-taxonomy.md. A good task includes:
Task ID
Title
Goal
Context
Requirements
Files or areas likely involved
Acceptance criteria
Tests
Dependencies
Do not do
Make tasks implementable by coding agents with minimal back-and-forth. Prefer small, verifiable tasks over broad epics.
Production default assumptions
Use these defaults unless user context contradicts them:
- Prefer native client stacks when platform quality depends on deep platform integration.
- Prefer typed languages, explicit API contracts, migrations, and automated tests.
- Prefer backend mediation for AI, billing, rate limits, and sensitive integrations.
- Prefer local-first or data-minimized designs for sensitive applications.
- Prefer provider abstraction for AI and payments where lock-in is avoidable.
- Prefer no sensitive analytics. Track product events without content or sensitive categories.
- Include accessibility, localization readiness, error states, offline states, observability, deletion/export, and release readiness.
Final response
Return links to the generated folder or zip. Briefly state what was created and call out any assumptions or items that require legal/platform/security review.
1---2name: app-spec-packager3description: Use this skill when the user wants to turn an application, product, startup idea, SaaS, mobile app, web app, API, AI product, or internal tool into a production-ready Markdown specification package for coding agents. Creates PRD/product spec, UX flows, design system brief, technical architecture, ADRs, AI/safety/privacy specs, API/data model, client/backend implementation specs, QA acceptance tests, release readiness, and executable task checklists. Do not use for simple one-off coding tasks unless the user asks for a complete spec, PRD, ADR, project plan for coding agents, or build package.4---5
6# App Spec Packager
7
8Create complete, production-ready specification packages that coding agents can use to build applications without needing timelines, storypoints, budgets, or sprint planning.
9
10## Default output
11
12Create a Markdown package folder and, when artifact/file output is available, also create a zip. Use this default structure unless the user asks otherwise:
13
14```text
15[app-slug]-spec/
16 README.md
17 PRODUCT_SPEC.md
18 UX_FLOWS.md
19 DESIGN_SYSTEM_SPEC.md
20 TECH_ARCHITECTURE.md
21 ADRS.md
22 AI_SPEC.md # only if AI/automation/model behavior is relevant
23 SAFETY_PRIVACY_SECURITY.md
24 API_AND_DATA_MODEL.md
25 CLIENT_IMPLEMENTATION_SPEC.md
26 BACKEND_IMPLEMENTATION_SPEC.md # only if backend/API/server work is relevant
27 SUBSCRIPTION_BILLING_SPEC.md # only if monetization/payments are relevant
28 ANALYTICS_OBSERVABILITY_SPEC.md
29 QA_ACCEPTANCE_TESTS.md
30 RELEASE_READINESS.md
31 TASKS.md
32 REFERENCES.md # include only when research or external facts were used
33```
34
35Use `scripts/create_spec_package.py` to scaffold the package when helpful, then fill every file with application-specific content.
36
37## Core workflow
38
391. Capture the app intent, platform, target users, core workflows, data sensitivity, AI needs, monetization, integrations, and launch constraints.
402. Ask only blocking questions. If the user has already given enough context, proceed and mark assumptions explicitly.
413. Research current facts when the spec depends on recent platform rules, SDK versions, app store rules, laws, payments, AI providers, security requirements, or framework best practices. Prefer official sources. Put citations and source notes in `REFERENCES.md`.
424. Choose the relevant document set. Omit docs that are truly irrelevant, but keep privacy/security, QA, and tasks for production builds.
435. Write requirements as precise, testable statements with stable IDs.
446. Convert the spec into executable tasks for coding agents. Every task needs acceptance criteria and tests.
457. Validate the package against `references/validation-checklist.md` before final output.
46
47## Reference loading
48
49Read these files as needed:
50
51- `references/document-blueprints.md`: full section templates for each generated document.
52- `references/platform-modules.md`: platform-specific concerns for iOS, Android, web, backend, AI, payments, B2B, and regulated products.
53- `references/safety-privacy.md`: mandatory when the app has accounts, AI, payments, minors, health, mental health, financial/legal advice, location, biometrics, UGC, sensitive data, or safety risk.
54- `references/task-taxonomy.md`: mandatory before writing `TASKS.md`.
55- `references/validation-checklist.md`: mandatory before finalizing.
56
57## Writing rules
58
59- Do not include storypoints, budget, timelines, Gantt charts, sprint plans, or staffing plans unless explicitly requested.
60- Do not produce vague epics. Produce concrete build tasks.
61- Do not over-ask. Use assumptions when safe and reversible.
62- Do not bury non-goals. Put them near the top of `PRODUCT_SPEC.md` and repeat critical ones in `TASKS.md` as "Do not do" constraints.
63- Do not use placeholders for known information. Use placeholders only for genuinely unknown values and list them in an "Open decisions" section.
64- Do not make legal, medical, financial, or app-review certainty claims. Specify compliance requirements and mark them for legal or platform review.
65- Do not recommend storing sensitive content by default. Minimize data, separate local/server/provider data, and define retention.
66- Do not call third-party AI providers directly from client apps unless the app is a prototype and the user explicitly accepts that risk.
67- Do not create community, UGC, payments, AI memory, location tracking, biometric capture, or health data flows without explicit safety/privacy requirements.
68
69## Requirements style
70
71Use stable IDs:
72
73```text
74REQ-PROD-001
75REQ-UX-001
76REQ-ARCH-001
77REQ-AI-001
78REQ-SEC-001
79REQ-API-001
80REQ-IOS-001
81REQ-WEB-001
82REQ-BE-001
83REQ-QA-001
84```
85
86Every major requirement should answer:
87
88```text
89What must happen?
90When does it happen?
91Who or what triggers it?
92Where is state stored?
93What are the edge cases?
94How is it tested?
95What must never happen?
96```
97
98## Task style
99
100Use the task template from `references/task-taxonomy.md`. A good task includes:
101
102```text
103Task ID
104Title
105Goal
106Context
107Requirements
108Files or areas likely involved
109Acceptance criteria
110Tests
111Dependencies
112Do not do
113```
114
115Make tasks implementable by coding agents with minimal back-and-forth. Prefer small, verifiable tasks over broad epics.
116
117## Production default assumptions
118
119Use these defaults unless user context contradicts them:
120
121- Prefer native client stacks when platform quality depends on deep platform integration.
122- Prefer typed languages, explicit API contracts, migrations, and automated tests.
123- Prefer backend mediation for AI, billing, rate limits, and sensitive integrations.
124- Prefer local-first or data-minimized designs for sensitive applications.
125- Prefer provider abstraction for AI and payments where lock-in is avoidable.
126- Prefer no sensitive analytics. Track product events without content or sensitive categories.
127- Include accessibility, localization readiness, error states, offline states, observability, deletion/export, and release readiness.
128
129## Final response
130
131Return links to the generated folder or zip. Briefly state what was created and call out any assumptions or items that require legal/platform/security review.