gsd-to-autocoder-spec
Converts GSD codebase maps into app_spec.txt files for use in the Autocoder workflow.
Install
mkdir -p .claude/skills/gsd-to-autocoder-spec && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3819" && unzip -o skill.zip -d .claude/skills/gsd-to-autocoder-spec && rm skill.zipInstalls to .claude/skills/gsd-to-autocoder-spec
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Convert GSD codebase mapping to AutoForge app_spec.txt. This skill should be used when the user has run /gsd:map-codebase and wants to use AutoForge on an existing project. Triggers: "convert to autoforge", "gsd to spec", "create app_spec from codebase", "use autoforge on existing project", after /gsd:map-codebase completion.Key capabilities
- →Convert GSD codebase mapping to AutoForge spec
- →Extract project metadata from package.json
- →Map technology stack and architecture to XML format
- →Generate testable feature lists from codebase analysis
How it works
It reads GSD-generated documentation files to synthesize project metadata, architecture, and features into a structured XML format required by AutoForge.
Inputs & outputs
When to use gsd-to-autocoder-spec
- →Migrating legacy projects
- →Setting up Autocoder configurations
- →Automating app specification creation
About this skill
GSD to AutoForge Spec Converter
Converts .planning/codebase/*.md (GSD mapping output) to .autoforge/prompts/app_spec.txt (AutoForge format).
When to Use
- After running
/gsd:map-codebaseon an existing project - When onboarding an existing codebase to AutoForge
- User wants AutoForge to continue development on existing code
Prerequisites
The project must have .planning/codebase/ with these files:
STACK.md- Technology stack (required)ARCHITECTURE.md- Code architecture (required)STRUCTURE.md- Directory layout (required)CONVENTIONS.md- Code conventions (optional)INTEGRATIONS.md- External services (optional)
Process
<step name="verify_input"> ### Step 1: Verify GSD Mapping Existsls -la .planning/codebase/
Required files: STACK.md, ARCHITECTURE.md, STRUCTURE.md
If .planning/codebase/ doesn't exist:
GSD codebase mapping not found.
Run /gsd:map-codebase first to analyze the existing codebase.
Stop workflow. </step>
<step name="read_codebase_docs"> ### Step 2: Read Codebase DocumentationRead all available GSD documents:
cat .planning/codebase/STACK.md
cat .planning/codebase/ARCHITECTURE.md
cat .planning/codebase/STRUCTURE.md
cat .planning/codebase/CONVENTIONS.md 2>/dev/null || true
cat .planning/codebase/INTEGRATIONS.md 2>/dev/null || true
Extract key information:
- From STACK.md: Languages, frameworks, dependencies, runtime, ports
- From ARCHITECTURE.md: Patterns, layers, data flow, entry points
- From STRUCTURE.md: Directory layout, key file locations, naming conventions
- From INTEGRATIONS.md: External APIs, services, databases </step>
cat package.json 2>/dev/null | head -20 || echo "No package.json"
Extract:
- Project name
- Version
- Main dependencies </step>
Create prompts/ directory:
mkdir -p .autoforge/prompts
Mapping GSD Documents to AutoForge Spec:
| GSD Source | AutoForge Target |
|---|---|
| STACK.md Languages | <technology_stack> |
| STACK.md Frameworks | <frontend>, <backend> |
| STACK.md Dependencies | <prerequisites> |
| ARCHITECTURE.md Layers | <core_features> categories |
| ARCHITECTURE.md Data Flow | <key_interactions> |
| ARCHITECTURE.md Entry Points | <implementation_steps> |
| STRUCTURE.md Layout | <ui_layout> (if frontend) |
| INTEGRATIONS.md APIs | <api_endpoints_summary> |
| INTEGRATIONS.md Services | <prerequisites> |
Feature Generation Guidelines:
- Analyze existing code structure to infer implemented features
- Each feature must be testable: "User can...", "System displays...", "API returns..."
- Group features by category matching architecture layers
- Target feature counts by complexity:
- Simple CLI/utility: ~100-150 features
- Medium web app: ~200-250 features
- Complex full-stack: ~300-400 features
Write the spec file using the XML format from references/app-spec-format.md:
cat > .autoforge/prompts/app_spec.txt << 'EOF'
<project_specification>
<project_name>{from package.json or directory}</project_name>
<overview>
{Synthesized from ARCHITECTURE.md overview}
</overview>
<technology_stack>
<frontend>
<framework>{from STACK.md}</framework>
<styling>{from STACK.md}</styling>
<port>{from STACK.md or default 3000}</port>
</frontend>
<backend>
<runtime>{from STACK.md}</runtime>
<database>{from STACK.md or INTEGRATIONS.md}</database>
<port>{from STACK.md or default 3001}</port>
</backend>
</technology_stack>
<prerequisites>
<environment_setup>
{from STACK.md Runtime + INTEGRATIONS.md requirements}
</environment_setup>
</prerequisites>
<core_features>
<!-- Group by ARCHITECTURE.md layers -->
<{layer_name}>
- {Feature derived from code analysis}
- {Feature derived from code analysis}
</{layer_name}>
</core_features>
<api_endpoints_summary>
{from INTEGRATIONS.md or inferred from STRUCTURE.md routes/}
</api_endpoints_summary>
<key_interactions>
{from ARCHITECTURE.md Data Flow}
</key_interactions>
<success_criteria>
<functionality>
- All existing features continue working
- New features integrate seamlessly
- No regression in core functionality
</functionality>
</success_criteria>
</project_specification>
EOF
</step>
<step name="verify_output">
### Step 5: Verify Generated Spec
head -100 .autoforge/prompts/app_spec.txt
echo "---"
grep -c "User can\|System\|API\|Feature" .autoforge/prompts/app_spec.txt || echo "0"
Validation checklist:
-
<project_specification>root tag present -
<project_name>matches actual project -
<technology_stack>reflects STACK.md -
<core_features>has categorized features - Features are specific and testable </step>
Output:
app_spec.txt generated from GSD codebase mapping.
Source: .planning/codebase/*.md
Output: .autoforge/prompts/app_spec.txt
Next: Start AutoForge
cd {project_dir}
python ~/projects/autoforge/start.py
Or via UI:
~/projects/autoforge/start_ui.sh
The Initializer will create features.db from this spec.
</step>
XML Format Reference
See references/app-spec-format.md for complete XML structure with all sections.
Error Handling
| Error | Resolution |
|---|---|
| No .planning/codebase/ | Run /gsd:map-codebase first |
| Missing required files | Re-run GSD mapping |
| Cannot infer features | Ask user for clarification |
When not to use it
- →Projects without existing GSD codebase mapping
- →New projects starting from scratch
Prerequisites
Limitations
- →Requires successful completion of /gsd:map-codebase
- →Cannot infer features if codebase documentation is incomplete
How it compares
It automates the creation of a complex specification file that would otherwise require manual extraction and formatting from codebase documentation.
Compared to similar skills
gsd-to-autocoder-spec side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| gsd-to-autocoder-spec (this skill) | 1 | 6mo | Review | Intermediate |
| command-development | 16 | 9mo | Review | Intermediate |
| skill-forge | 11 | 9mo | Review | Intermediate |
| codex-skill | 12 | 5mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
command-development
anthropics
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
skill-forge
WilliamSaysX
Automated skill creation workshop with intelligent source detection, smart path management, and end-to-end workflow automation. This skill should be used when users want to create a new skill or convert external resources (GitHub repositories, online documentation, or local directories) into a skill. Automatically fetches, organizes, and packages skills with proactive cleanup management.
codex-skill
feiskyer
Use when user asks to leverage codex, gpt-5, or gpt-5.1 to implement something (usually implement a plan or feature designed by Claude). Provides non-interactive automation mode for hands-off task execution without approval prompts.
agent-factory
alirezarezvani
Claude Code agent generation system that creates custom agents and sub-agents with enhanced YAML frontmatter, tool access patterns, and MCP integration support following proven production patterns
subagent-driven-development
davila7
Use when executing implementation plans with independent tasks in the current session
peekaboo
openclaw
Capture and automate macOS UI with the Peekaboo CLI.