spec-to-repo
Fungsinya
Skill ini membaca deskripsi aplikasi dalam bahasa biasa dan membuat proyek kode yang berfungsi darinya. Skill ini untuk orang yang punya ide atau kebutuhan dan menginginkan basis kode awal yang nyata.
Kapan dipakai
- βSaat Anda menjelaskan aplikasi dengan bahasa biasa dan ingin proyek yang berfungsi dibuat.
- βSaat Anda punya dokumen kebutuhan dan memerlukan basis kode untuk memulai.
- βSaat Anda ingin repositori awal dibuat dalam tumpukan seperti FastAPI, Rails, atau Next.js.
Link skill
https://github.com/alirezarezvani/claude-skills/blob/main/product-team/skills/spec-to-repo/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan saya aplikasi FastAPI yang bisa dijalankan untuk melacak peminjaman buku, dengan basis data dan API dasar.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membaca spesifikasi, mengambil nama aplikasi, fitur, tumpukan, dan kebutuhan data, menyimpulkan tumpukan jika tidak disebutkan, dan membuat proyek dengan kode yang dibutuhkan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Tumpukan apa saja yang didukung?
Skill bekerja di banyak tumpukan, seperti Next.js, FastAPI, Rails, Go, Rust, dan Flutter.
Bagaimana jika saya tidak menyebutkan tumpukan?
Skill menyimpulkan tumpukan yang sesuai dari konteks deskripsi Anda.
Apakah ini untuk aplikasi SaaS dengan penagihan?
Untuk aplikasi SaaS dengan autentikasi dan Stripe secara khusus, skill SaaS scaffolder yang terpisah adalah pilihan yang lebih baik.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 29k
- Peringkat
- #9701
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-launcher-orchestrator
29kMembantu agent Anda merencanakan, membangun, menguji, dan menjadwalkan agent Claude terkelola di akun Anda sendiri, langkah demi langkah.
grade-iterate
29kMembantu agent Anda menilai hasil kerja agent AI terkelola berdasarkan rubrik dan memperbaikinya dalam jumlah putaran tetap, agar tidak berputar tanpa henti.
interview
29kMembantu agent Anda mewawancarai Anda tentang ide agent AI dan mengubah jawaban Anda menjadi rencana pembangunan sederhana sebelum apa pun diluncurkan.
run-without-you
29kMembantu agent Anda disiapkan agar berjalan tanpa Anda sesuai jadwal atau saat sebuah peristiwa terjadi, dengan waktu cron diperiksa sebelum peluncuran.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.