// Use this skill to propose changes via the Spec PR process. It uses the Gemini CLI to generate high-quality draft specifications and to analyze PR feedback, accelerating the spec-driven development workflow. Triggers include "create spec" or "propose change".
| name | spec-authoring |
| description | Use this skill to propose changes via the Spec PR process. It uses the Gemini CLI to generate high-quality draft specifications and to analyze PR feedback, accelerating the spec-driven development workflow. Triggers include "create spec" or "propose change". |
To manage the creation and refinement of feature specifications using a powerful, AI-assisted workflow. This skill leverages the Gemini CLI to accelerate the spec-driven development process by:
This approach allows developers and product managers to move from idea to an approved, implementation-ready specification with greater speed and clarity.
Use this skill in the following situations:
docs/specs/ and docs/changes/ directories exist).gh CLI tool installed and authenticated.gemini CLI tool installed and authenticated.Specs as Code: All specification changes follow the same rigor as code changes—proposed via branches, reviewed via PRs, and merged upon approval. This skill supercharges that philosophy with AI.
propose CommandGenerate a comprehensive, multi-file draft proposal for a new feature from a single command.
Choose a clear, descriptive name for your feature, such as "User Authentication System" or "Real-time Notifications".
Execute the script to generate the draft proposal:
bash scripts/spec-authoring.sh propose "Feature Name"
The script will:
docs/changes/feature-name/.proposal.md, spec-delta.md, and tasks.md.
proposal.md: A high-level overview with problem statement, proposed solution, and success criteria.spec-delta.md: A detailed technical specification with requirements and design decisions.tasks.md: A preliminary breakdown of implementation tasks.The script provides you with a complete, context-aware first draft of your entire proposal. Your next step is to review and refine these documents to ensure they align with your vision before opening a Spec PR.
update CommandIntelligently process feedback from a Spec PR by using AI to analyze review comments and generate a summarized action plan.
Determine which Spec PR you need to update.
Execute the script with the PR number:
bash scripts/spec-authoring.sh update PR_NUMBER
This command will:
The script will output a clear, actionable plan that synthesizes all the reviewer feedback. Use this analysis to efficiently update your proposal files, address the comments, and push your changes for re-review.
Symptom: The script fails during the propose or update commands with an error related to the gemini command.
Solution:
gemini CLI is installed and in your system's PATH.gemini auth).Symptom: The propose command reports that the directory already exists.
Solution: Choose a different name for your proposal or work with the existing one.
Symptom: The update command cannot find the local files for the PR.
Solution: Ensure you have the correct PR branch checked out and that the local directory in docs/changes/ matches the branch name.
propose command to start, and the update command to iterate based on team feedback, creating a rapid and efficient spec development cycle.