gsd-to-autoforge-spec
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.
Install
mkdir -p .claude/skills/gsd-to-autoforge-spec && curl -L -o skill.zip "https://mcp.directory/api/skills/download/4088" && unzip -o skill.zip -d .claude/skills/gsd-to-autoforge-spec && rm skill.zipInstalls to .claude/skills/gsd-to-autoforge-spec
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 |
You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversEasily convert markdown to PDF using Markitdown MCP server. Supports HTTP, STDIO, and SSE for fast converting markdown t
Unlock AI-ready web data with Firecrawl: scrape any website, handle dynamic content, and automate web scraping for resea
Optimize your codebase for AI with Repomix—transform, compress, and secure repos for easier analysis with modern AI tool
Serena is a free AI code generator toolkit providing robust code editing and retrieval, turning LLMs into powerful artif
Uno Platform — Documentation and prompts for building cross-platform .NET apps with a single codebase. Get guides, sampl
Claude Context offers semantic code search and indexing with vector embeddings and AST-based code splitting. Natural lan
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.