skills/app-spec-packager/SKILL.md
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.
npx skillsauth add regenrek/agent-skills app-spec-packagerInstall 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.
Create complete, production-ready specification packages that coding agents can use to build applications without needing timelines, storypoints, budgets, or sprint planning.
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.
REFERENCES.md.references/validation-checklist.md before final output.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.PRODUCT_SPEC.md and repeat critical ones in TASKS.md as "Do not do" constraints.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?
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.
Use these defaults unless user context contradicts them:
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.
tools
Live-test any Electron desktop app with native-devtools-mcp, Chrome DevTools Protocol, screenshots, OCR, and accessibility tools. Use when the user asks for Electron UI verification, MCP-driven app control, renderer CDP interaction, native desktop automation, screenshots, or OCR-driven checks.
testing
Find, clone, inspect, and summarize high-quality GitHub reference repositories for coding agents. Use when a user asks for GitHub reference projects, examples, prior art, inspiration, implementation patterns, or includes "$search-context" in a coding prompt.
testing
Run or install repo security leak checks with BetterLeaks and Trivy. Use when asked to scan for leaked secrets, vulnerable dependencies, misconfigurations, add secret-leak guardrails, add BetterLeaks, add forbidden-path hooks, or run secleak-check before release.
development
Run a reusable JavaScript supply-chain security baseline with pnpm-first hardening, release-age gating, lifecycle-script controls, exotic dependency checks, CI install checks, and optional incident IOC profiles.