scaffold
Skill4 starsChanged 4 months agoMITView on GitHub
Scaffold sub-project directories from an approved design/plan — git init and run the stack bootstraps. Use when turning a plan into real project structure.
- Installs packages
29 other projects use a version of this.
Adopted by
Most recently taken up by
- batirko/research-and-learntheir own version, first seen Oct 5, 2026
- danmaps/gis-agent-skillstheir own version, first seen Oct 2, 2026
- microsoft/GitHub-Copilot-for-Azuretheir own version, first seen Oct 1, 2026
- coroboros/agent-skillstheir own version, first seen Sep 26, 2026
- microsoft/azure-skillstheir own version, first seen Sep 23, 2026
- wangqiqi/cursor-aitheir own version, first seen Sep 23, 2026
Used with
Projects with it also use git, refactor and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nicolasestremSkillgit
Git operations with intelligent commit messages and branch management
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 6 projects that use this
nicepkgSkillteam
根据任务快速组建临时 AI Agent 团队协作。自动从 .claude/agents/ 中选择最合适的成员组队。
Also in 3 projects that use this
Microsoft AzureSkilldesign
Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.
Also in 6 projects that use this
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 3 projects that use this
AnthropicSkilldebug
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
Also in 5 projects that use this
Other versions29 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 29
- microsoft/skills★ 3.1ksame name
- microsoft/azure-skills★ 1.5ksame name
- SethGammon/Citadel★ 922same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- microsoft/GitHub-Copilot-for-Azure★ 253same name
- genkovich/sdd★ 170same name
- Rune-kit/rune★ 88same name
- simota/agent-skills★ 87same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- danmaps/gis-agent-skills★ 29same name
19 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- actionableSkill
- astro-bootstrapSkill
- astro-patternsSkill
- autopilotSkill
- axon-code-intelSkill
- brainstormingSkill
- commit-conventionsSkill
- cross-repo-contextSkill
- django-bootstrapSkill
- django-patternsSkill
- executeSkill
- flutter-bootstrapSkill
- flutter-patternsSkill
- full-featureSkill
- intelSkill
- nextjs-bootstrapSkill
- nextjs-fullstack-bootstrapSkill
- nextjs-fullstack-patternsSkill
- nextjs-mui-bootstrapSkill
- nextjs-patternsSkill
- nextjs-shadcn-bootstrapSkill
- orchestratorSkill
- phase-breakdownSkill
- plan-and-scopeSkill
- prdSkill
- reactSkill
- recallSkill
- reflectSkill
- relaySkill
- rememberSkill
- scratchSkill
- tailwindSkill
- ux-specSkill
- ux-to-promptsSkill
- verify-astroSkill
- verify-djangoSkill
- verify-flutterSkill
- verify-nextjs-fullstackSkill
- verify-nextjs-muiSkill
- verify-nextjs-shadcnSkill
- verify-nextjsSkill
- verifySkill
- visual-feedbackSkill
- work-disciplineSkill
- worktreesSkill
- wrapSkill
- write-as-friendSkill
- write-as-humanSkill
- writing-clearlySkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 11 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
After brainstorming is complete and you have a design doc.
- Distinctive: line 24
Read CLAUDE.md for the selected stacks and the design doc for what's being built.
- Distinctive: line 56
Before creating anything, collect all bootstrap inputs from the user so teammate agents can run non-interactively.
- Distinctive: line 82
Use the design doc and project name to propose sensible defaults for most of these.
- Distinctive: line 123
When there are multiple sub-projects, bootstrap them in parallel using a team.
- Distinctive: line 126
All configuration was gathered in step 3 — agents receive pre-filled values and should not prompt the user for any bootstrap inputs.
- Distinctive: line 144
Wait for all agents to complete
- Distinctive: line 151
Use the pre-filled configuration values from step 3
- Distinctive: line 152
After bootstrap completes, make an initial commit:
- Distinctive: line 173
After bootstrapping, check if Axon is installed and index the project for structural code intelligence.
- Distinctive: line 197
Do not block scaffolding on Axon — it's a recommendation, not a requirement.
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scaffold: Design to Projects
When to Use
After brainstorming is complete and you have a design doc. Scaffold creates the project structure so the planner has real directories, installed packages, and boilerplate to reference when building the implementation plan.
Prerequisites
- A brainstorm/design doc exists (
docs/plans/*.md) - Stack context is already in CLAUDE.md (set up by
polaris new)
Process
1. Identify Sub-Projects from the Design
Read CLAUDE.md for the selected stacks and the design doc for what's being built. Map each sub-project to a bootstrap command:
| Sub-project type | Stack flag | Bootstrap command |
| Django/DRF API | --stack django | /django-bootstrap |
| Next.js frontend | --stack nextjs | /nextjs-bootstrap |
| Flutter app | --stack flutter | (manual setup) |
2. Confirm with the User
Present the scaffold plan before creating anything:
Scaffold Plan:
Root: ~/prj/my-app/
Stacks (from CLAUDE.md):
- Backend: Django → server/
- Frontend: Next.js → web/
Will create:
- Subdirectories within the current project
- git init each sub-project
- Run bootstrap commands
Parallel bootstrap: Yes (2 sub-projects, no shared code)Let the user adjust names, add/remove stacks, or change directories before proceeding.
3. Gather Bootstrap Configuration
Before creating anything, collect all bootstrap inputs from the user so teammate agents can run non-interactively. Bootstrap commands ask interactive questions — if multiple agents prompt simultaneously, it's unusable.
For each sub-project, ask the user for the required values upfront:
Django bootstrap values:
- Blueprint:
minimal(Django + DRF + Postgres + Docker — no auth, no Redis),standard(+ Redis, custom User/JWT auth, Sentry — most production apps), orfull(+ Celery/Beat, S3/R2, email, discord, Heroku) - Service/directory name (e.g.,
my_service) - Docker Compose project name (kebab-case, e.g.,
my-service) - Database name (snake_case, e.g.,
my_service) - Host port (default:
8000) - Cache key prefix (e.g.,
myserv) - Heroku app name (only if blueprint is
fulland deploying, otherwise skip)
Next.js bootstrap values:
- App name (e.g.,
my-app) - Docker Compose project name (kebab-case, e.g.,
my-app-web) - Host port (default:
3000) - Backend API port (default:
8000— match the Django port above) - Production domain (e.g.,
myapp.com) - App display title (e.g.,
My App) - Architecture mode: frontend-centric, SSR-centric, or combination
Note: When the Django blueprint is
minimal(no auth), recommend the Next.js app without auth pages (no login, register, or protected route patterns). Auth can be added later if the Django project upgrades tostandard.
Use the design doc and project name to propose sensible defaults for most of these. Present them as a table the user can confirm or override:
Bootstrap Configuration:
Django (server/):
Blueprint: standard (most production apps with auth)
Service name: my_service (from project name)
Compose project: my-service
Database: my_service
Host port: 8000
Cache prefix: myserv
Heroku app: (skip — full blueprint only)
Next.js (web/):
App name: my-app
Compose project: my-app-web
Host port: 3000
API port: 8000 (matches Django above)
Domain: myapp.com
Display title: My App
Architecture: SSR-centric (recommended for new projects)
Look right? [Y/n]4. Create and Initialize
For each sub-project:
mkdir -p {root}/{suffix}
cd {root}/{suffix}
git initNaming convention: {suffix} = role (api, web, mobile, admin) as a subdirectory of the root.
5. Run Bootstrap Commands
When there are multiple sub-projects, bootstrap them in parallel using a team. Sub-projects have no shared code at this stage, so there are no conflicts.
All configuration was gathered in step 3 — agents receive pre-filled values and should not prompt the user for any bootstrap inputs.
Parallel bootstrap (2+ sub-projects):
Spawn one named agent per sub-project using the Agent tool (called Task in older Claude Code versions). Give each a
name:so you can address it with SendMessage:For each sub-project, spawn a general-purpose agent with the pre-filled config:
You are bootstrapping the {label} sub-project at {root}/{suffix}/. Read the bootstrap skill at .claude/skills/{bootstrap_command}/SKILL.md and follow it. Use these pre-filled configuration values (do NOT prompt the user for these):
blueprint={blueprint} {list all remaining key=value pairs from step 3 for this sub-project}
After bootstrap completes, run: git add . && git commit -m "chore: initial {label} scaffold" Report back what was created.
- Wait for all agents to complete
- Send each agent a final message once all bootstraps are done
Single sub-project (no team needed):
- Change into the sub-project directory
- Invoke the bootstrap command (
/django-bootstrapor/nextjs-bootstrap) - Use the pre-filled configuration values from step 3
- After bootstrap completes, make an initial commit:
git add . && git commit -m "chore: initial project scaffold"
6. Generate VS Code Workspace (Optional)
{
"folders": [
{ "path": ".", "name": "Planning" },
{ "path": "api", "name": "API" },
{ "path": "web", "name": "Web" }
]
}Save as {root}/{root-name}.code-workspace.
7. Index with Axon (if available)
After bootstrapping, check if Axon is installed and index the project for structural code intelligence.
# Check if axon is available
if command -v axon &>/dev/null; then
# Index each sub-project
axon analyze {root}/{suffix}
# Repeat for each sub-project
fiIf Axon is not installed, warn the user:
Note: Axon (code intelligence) is not installed.
Axon provides structural analysis (call graphs, impact analysis, dead code detection)
that significantly improves planning and verification quality.
Install with: pip install axoniq (or: uv add axoniq)
Then run: axon analyze .
See the axon-code-intel skill for details on how agents use it.Do not block scaffolding on Axon — it's a recommendation, not a requirement.
8. Report Summary
Scaffold complete:
~/prj/my-app/ (project root)
~/prj/my-app/server/ (Django backend) -- ready
~/prj/my-app/web/ (Next.js frontend) -- ready
~/prj/my-app/my-app.code-workspaceThen suggest the next step:
Project is scaffolded. Next:
1. Start a NEW Claude session in this directory
2. Tell it: "Turn the design into a phased implementation plan"
- The planner can now reference real project files and structure
3. Review the plan, then execute phase by phaseKey Principles
- Confirm before creating -- always show the plan and get user approval first
- Monorepo with subdirectories -- stacks live as subdirectories in a single repo
- Scaffold before planning -- real project structure makes plans more concrete
- Parallel when possible -- bootstrap sub-projects concurrently with named agents
- Bootstrap commands do the heavy lifting -- this skill orchestrates; the bootstrap commands handle details
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

