create-nextjs-specification
Installation
SKILL.md
Create Specification
Your goal is to create a new specification file for ${input:SpecPurpose}.
The specification file must define the requirements, constraints, and interfaces for the solution components in a manner that is clear, unambiguous, and structured for effective use by Generative AIs. Follow established documentation standards and ensure the content is machine-readable and self-contained.
Best Practices for AI-Ready Specifications
- Use precise, explicit, and unambiguous language.
- Clearly distinguish between requirements, constraints, and recommendations.
- Use structured formatting (headings, lists, tables) for easy parsing.
- Avoid idioms, metaphors, or context-dependent references.
- Define all acronyms and domain-specific terms.
- Include examples and edge cases where applicable.
- Ensure the document is self-contained and does not rely on external context.
This project uses Next.js with the app/ directory as the root for all pages.
The specification file must be saved as spec.md inside the corresponding page folder under app/. The user will provide a route path (e.g., dashboard/settings), and the spec file should be created at app/{route-path}/spec.md.