بنقرة واحدة
autospec-plan
Generate YAML implementation plan from feature specification.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate YAML implementation plan from feature specification.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate 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.
Identify underspecified areas in YAML spec and encode clarifications back into the spec.
Generate or update project constitution in YAML format.
| name | autospec-plan |
| description | Generate YAML implementation plan from feature specification. |
This Agent Skill is generated from autospec.plan. When the user invokes "$autospec-plan" or "/autospec.plan", load and follow these instructions directly. Treat the text after the skill or command name as "$ARGUMENTS". Do not route back through "autospec plan"; this skill is the prompt for the stage.
Project specs directory: ./specs
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
The following paths have been pre-computed and are available for use:
{{.FeatureDir}}{{.FeatureSpec}}{{.AutospecVersion}}{{.CreatedDate}}Load context:
{{.FeatureSpec}}.autospec/constitution.yaml or AGENTS.md, falling back to agent-specific file like CLAUDE.md)Execute plan workflow:
Phase 0: Outline & Research
a. Identify technical unknowns from the spec:
b. Resolve unknowns through exploration:
c. Document research findings for inclusion in plan
Phase 1: Design & Architecture
a. Define technical context based on spec and research:
b. Design project structure:
c. Identify data model entities from spec requirements
d. Design API contracts if applicable
Generate plan.yaml: Create the YAML plan file with this structure:
plan:
branch: "<current git branch>"
created: "<today's date YYYY-MM-DD>"
spec_path: "<relative path to spec file>"
summary: |
<1-2 paragraph summary of the implementation approach.
Explain key technical decisions and how they address the spec requirements.>
technical_context:
language: "<primary language>"
framework: "<framework if applicable, or 'None'>"
primary_dependencies:
- name: "<dependency name>"
version: "<version constraint>"
purpose: "<why needed>"
storage: "<storage technology or 'None'>"
testing:
framework: "<test framework>"
approach: "<unit/integration/e2e strategy>"
target_platform: "<platform(s)>"
project_type: "<cli|web|mobile|library|service>"
performance_goals: "<specific targets from spec>"
constraints:
- "<constraint from spec or technical>"
scale_scope: "<expected scale/scope>"
constitution_check:
constitution_path: "<path to constitution file or 'Not found'>"
gates:
- name: "<principle name from constitution>"
status: "PASS" # or "FAIL" or "N/A"
notes: "<how this plan addresses the principle>"
research_findings:
decisions:
- topic: "<what was researched>"
decision: "<what was chosen>"
rationale: "<why chosen>"
alternatives_considered:
- "<alternative 1>"
- "<alternative 2>"
data_model:
entities:
- name: "<entity name>"
description: "<what it represents>"
fields:
- name: "<field name>"
type: "<data type>"
description: "<purpose>"
constraints: "<validation rules>"
relationships:
- target: "<related entity>"
type: "<one-to-many|many-to-many|etc>"
description: "<relationship meaning>"
api_contracts:
endpoints:
- method: "<HTTP method>"
path: "<endpoint path>"
description: "<what it does>"
request:
content_type: "<content type>"
body_schema: "<inline schema or reference>"
response:
success_code: 200
body_schema: "<inline schema or reference>"
errors:
- code: 400
description: "<when this occurs>"
project_structure:
documentation:
- path: "<relative path>"
description: "<purpose of this file>"
source_code:
- path: "<relative path or pattern>"
description: "<what this contains>"
tests:
- path: "<relative path or pattern>"
description: "<what tests live here>"
implementation_phases:
- phase: 1
name: "<phase name>"
goal: "<what this phase accomplishes>"
deliverables:
- "<deliverable 1>"
- "<deliverable 2>"
- phase: 2
name: "<phase name>"
goal: "<what this phase accomplishes>"
dependencies:
- "Phase 1"
deliverables:
- "<deliverable>"
open_questions:
- question: "<unresolved question>"
context: "<why it matters>"
proposed_resolution: "<suggested approach>"
_meta:
version: "1.0.0"
generator: "autospec"
generator_version: "{{.AutospecVersion}}"
created: "{{.CreatedDate}}"
artifact_type: "plan"
Write the plan to {{.FeatureDir}}/plan.yaml
Validate the artifact:
autospec artifact {{.FeatureDir}}/plan.yaml
Report: Output:
$autospec-tasksautospec artifact {{.FeatureDir}}/plan.yaml to verify schema compliance)| or > block scalar style