بنقرة واحدة
autospec-clarify
Identify underspecified areas in YAML spec and encode clarifications back into the spec.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Identify underspecified areas in YAML spec and encode clarifications back into the spec.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | autospec-clarify |
| description | Identify underspecified areas in YAML spec and encode clarifications back into the spec. |
This Agent Skill is generated from autospec.clarify. When the user invokes "$autospec-clarify" or "/autospec.clarify", load and follow these instructions directly. Treat the text after the skill or command name as "$ARGUMENTS". Do not route back through "autospec clarify"; this skill is the prompt for the stage.
Project specs directory: ./specs
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Goal: Detect and reduce ambiguity or missing decision points in the active feature specification and record the clarifications directly in the spec.yaml file.
Note: This clarification workflow should run BEFORE $autospec-plan. If the user explicitly states they are skipping clarification (e.g., exploratory spike), you may proceed, but must warn that downstream rework risk increases.
The following paths have been pre-computed and are available for use:
{{.FeatureDir}}{{.FeatureSpec}}Load and analyze the spec file at {{.FeatureSpec}}. Perform a structured ambiguity & coverage scan using this taxonomy. For each category, mark status: Clear / Partial / Missing.
Functional Scope & Behavior:
Domain & Data Model:
Interaction & UX Flow:
Non-Functional Quality Attributes:
Integration & External Dependencies:
Edge Cases & Failure Handling:
Constraints & Tradeoffs:
Terminology & Consistency:
Completion Signals:
Misc / Placeholders:
Generate candidate questions (maximum 5). Apply these constraints:
Sequential questioning loop (interactive):
Present EXACTLY ONE question at a time
For multiple-choice questions:
**Recommended:** Option [X] - <reasoning>| Option | Description |
|---|---|
| A | |
| B | |
| C | |
| Short | Provide a different short answer (<=5 words) |
You can reply with the option letter (e.g., "A"), accept the recommendation by saying "yes" or "recommended", or provide your own short answer.For short-answer style (no meaningful discrete options):
**Suggested:** <your proposed answer> - <brief reasoning>Format: Short answer (<=5 words). You can accept the suggestion by saying "yes" or "suggested", or provide your own answer.After the user answers:
Stop asking when:
Never reveal future queued questions in advance
If no valid questions exist at start, immediately report no critical ambiguities
Integration after EACH accepted answer (incremental update approach):
Maintain in-memory representation of the spec.yaml plus the raw file contents
For the first integrated answer in this session, ensure a clarifications: section exists in the YAML
Add clarification entry in this format:
clarifications:
- date: "<YYYY-MM-DD>"
question: "<the question asked>"
answer: "<the answer provided>"
applied_to: "<section(s) updated>"
Then immediately apply the clarification to the most appropriate section(s):
requirements.functionaluser_stories sectionkey_entities sectionrequirements.non_functionaledge_cases sectionIf the clarification invalidates an earlier ambiguous statement, replace that statement
Save the spec file AFTER each integration (atomic overwrite)
Preserve YAML formatting: do not reorder unrelated sections; keep structure intact
Keep each inserted clarification minimal and testable
Validate the artifact after each write:
autospec artifact {{.FeatureSpec}}
Report completion (after questioning loop ends):
$autospec-plan or run $autospec-clarify againautospec artifact {{.FeatureSpec}} to verify schema compliance)$autospec-specify firstGenerate YAML feature specification from natural language description.
Generate YAML task breakdown from implementation plan.
Analyze cross-artifact consistency and quality in YAML format.
Generate YAML checklist for feature quality validation.
Generate or update project constitution in YAML format.
Execute the implementation plan by processing tasks defined in tasks.yaml.