spec-to-repo
What it does
This skill reads a plain-language app description and creates a working code project from it. It is for people who have an idea or requirements and want a real starting codebase.
When to use it
- βWhen you describe an app in plain language and want a working project created.
- βWhen you have a requirements document and need a codebase to start from.
- βWhen you want a starter repository scaffolded in a stack such as FastAPI, Rails or Next.js.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/product-team/skills/spec-to-repo/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBuild me a runnable FastAPI app for tracking book loans, with a database and a basic API.β
5 new skills a week. 1 minute to read.
How it works
It reads the spec, extracts the app name, features, stack and data needs, infers a stack when none is given and generates a project with the code it needs.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Spec to Repo
Turn a natural-language project specification into a complete, runnable starter repository. Not a template filler β a spec interpreter that generates real, working code for any stack.
When to Use
- User provides a text description of an app and wants code
- User has a PRD, requirements doc, or feature list and needs a codebase
- User says "build me an app that...", "scaffold this", "bootstrap a project"
- User wants a working starter repo, not just a file tree
Not this skill when the user wants a SaaS app with Stripe + Auth specifically β use product-team/saas-scaffolder instead.
Core Workflow
Phase 1 β Parse & Interpret
Read the spec. Extract these fields silently:
| Field | Source | Required |
|---|---|---|
| App name | Explicit or infer from description | yes |
| Description | First sentence of spec | yes |
| Features | Bullet points or sentences describing behavior | yes |
| Tech stack | Explicit ("use FastAPI") or infer from context | yes |
| Auth | "login", "users", "accounts", "roles" | if mentioned |
| Database | "store", "save", "persist", "records", "schema" | if mentioned |
| API surface | "endpoint", "API", "REST", "GraphQL" | if mentioned |
| Deploy target | "Vercel", "Docker", "AWS", "Railway" | if mentioned |
Stack inference rules (when user doesn't specify):
| Signal | Inferred stack |
|---|---|
| "web app", "dashboard", "SaaS" | Next.js + TypeScript |
| "API", "backend", "microservice" | FastAPI (Python) or Express (Node) |
| "mobile app" | Flutter or React Native |
| "CLI tool" | Go or Python |
| "data pipeline" | Python |
| "high performance", "systems" | Rust or Go |
After parsing, present a structured interpretation back to the user:
## Spec Interpretation
**App:** [name]
**Stack:** [framework + language]
**Features:**
1. [feature]
2. [feature]
**Database:** [yes/no β engine]
**Auth:** [yes/no β method]
**Deploy:** [target]
Does this match your intent? Any corrections before I generate?
Flag ambiguities. Ask at most 3 clarifying questions. If the user says "just build it", proceed with best-guess defaults.
Phase 2 β Architecture
Design the project before writing any files:
- Select template β Match to a stack template from
references/stack-templates.md - Define file tree β List every file that will be created
- Map features to files β Each feature gets at minimum one file/component
- Design database schema β If applicable, define tables/collections with fields and types
- Identify dependencies β List every package with version constraints
- Plan API routes β If applicable, list every endpoint with method, path, request/response shape
Present the file tree to the user before generating:
project-name/
βββ README.md
βββ .env.example
βββ .gitignore
βββ .github/workflows/ci.yml
βββ package.json / requirements.txt / go.mod
βββ src/
β βββ ...
βββ tests/
β βββ ...
βββ ...
Phase 3 β Generate
Write every file. Rules:
- Real code, not stubs. Every function has a real implementation. No
// TODO: implementorpassplaceholders. - Syntactically valid. Every file must parse without errors in its language.
- Imports match dependencies. Every import must correspond to a package in the manifest (package.json, requirements.txt, go.mod, etc.).
- Types included. TypeScript projects use types. Python projects use type hints. Go projects use typed structs.
- Environment variables. Generate
.env.examplewith every required variable, commented with purpose. - README.md. Include: project description, prerequisites, setup steps (clone, install, configure env, run), and available scripts/commands.
- CI config. Generate
.github/workflows/ci.ymlwith: install, lint (if linter in deps), test, build. - .gitignore. Stack-appropriate ignores (node_modules, pycache, .env, build artifacts).
File generation order:
- Manifest (package.json / requirements.txt / go.mod)
- Config files (.env.example, .gitignore, CI)
- Database schema / migrations
- Core business logic
- API routes / endpoints
- UI components (if applicable)
- Tests
- README.md
Phase 4 β Validate
After generation, run through this checklist:
- Every imported package exists in the manifest
- Every file referenced by an import exists in the tree
-
.env.examplelists every env var used in code -
.gitignorecovers build artifacts and secre
FAQ
What stacks does it support?
It works across many stacks, such as Next.js, FastAPI, Rails, Go, Rust and Flutter.
What if I do not name a stack?
The skill infers a suitable stack from the context of your description.
Is it for a SaaS app with billing?
For a SaaS app with auth and Stripe specifically, a separate SaaS scaffolder skill is the better choice.
Details
Original description by the author
Use when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I have requirements and need a codebase', or provides a natural-language project specification and expects a complete, runnable repository. Stack-agnostic: Next.js, FastAPI, Rails, Go, Rust, Flutter, and more.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9701
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.