scaffolding
Skill2 starsChanged 8 months agoMITView on GitHub
Generate project scaffolds and boilerplate.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Resgrid/Coretheir own version, first seen Oct 8, 2026
- dotnet/efcoretheir own version, first seen Oct 8, 2026
- korallis/skills-collectiontheir own version, first seen Aug 28, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- dotnet/efcore★ 15ksame name
- Resgrid/Core★ 238same name
- korallis/skills-collection★ 14same name
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 repository18 other files it gives its agents.
- auditingSkill
- bootstrappingSkill
- debuggingSkill
- executingSkill
- finalizingSkill
- guardingSkill
- handling-reviewSkill
- ideatingSkill
- isolatingSkill
- orchestratingSkill
- parallelizingSkill
- planningSkill
- precisionSkill
- requesting-reviewSkill
- runbookSkill
- skill-craftingSkill
- tddSkill
- verifyingSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 10
Core principle: Never generate from generic templates.
- Distinctive: line 31
Before generating anything, analyze the codebase:
- Distinctive: line 71
Test files with project test setup patterns
- Distinctive: line 84
If verification fails, fix issues before delivering.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scaffolding
Generate new code structures that match existing codebase conventions. Detect patterns first, then produce consistent output.
Core principle: Never generate from generic templates. Always derive from what already exists in the project.
When to Use
- Creating a new module, service, component, or package in an existing codebase
- Setting up a new project that should follow team conventions
- Adding boilerplate that must match surrounding code style
Not for: one-off scripts, exploratory prototypes, or codebases without established patterns.
Process
1. Detect — Scan existing code for conventions (structure, naming, imports, patterns)
2. Match — Identify which convention set applies to the new code
3. Generate — Produce scaffold matching detected conventions
4. Verify — Run lint, typecheck, and any project-specific validation1. Detect Conventions
Before generating anything, analyze the codebase:
# Directory structure patterns
ls -la src/modules/ # or components/, services/, packages/
# File naming conventions
# kebab-case? PascalCase? index.ts barrels?
# Import patterns
# Absolute vs relative? Path aliases? Barrel exports?
# Test co-location
# __tests__/? *.test.ts beside source? test/ directory?Look for:
- Naming: file names, directory names, export names
- Structure: file organization within a module, barrel exports, index files
- Patterns: dependency injection, factory functions, class vs functional
- Config: per-module config files, environment handling
- Tests: location, naming, setup patterns, fixtures
2. Match Conventions
Find the closest existing example to what you are creating. Use it as the template — not a generic scaffold.
# Find the most recently created module as reference
ls -lt src/modules/ | head -5
# Read its structure
ls -R src/modules/existing-module/3. Generate
Produce files matching the detected patterns. Include:
- Directory structure matching siblings
- Boilerplate files with correct naming and imports
- Test files with project test setup patterns
- Config/index files if the convention requires them
- Placeholder implementations that typecheck
4. Verify
# Must pass before considering scaffold complete
npm run lint # or project equivalent
npm run typecheck # or tsc --noEmit
npm test -- --bail # quick check that new tests runIf verification fails, fix issues before delivering. A scaffold that does not pass CI is worse than no scaffold.
Quick Reference
| Convention | Where to detect | What to match |
| File naming | Sibling modules | Case style, suffixes (.service, .controller) |
| Exports | Barrel/index files | Named vs default, re-export patterns |
| Dependencies | package.json, imports | DI patterns, constructor args |
| Tests | Existing test files | Framework, setup, mocking approach |
| Docs | Existing modules | JSDoc, README, inline comments |
Common Scaffolds
See references/common-scaffolds.md for templates covering frequent patterns:
- REST API endpoint module
- React/UI component with tests
- CLI command module
- Database model/migration
- Background job/worker
These are starting points — always adapt to the detected codebase conventions.
Integration
- arsyn:planning — plans may specify modules to scaffold
- arsyn:executing — scaffold tasks within plan execution
- arsyn:tdd — scaffold test files first, then implementation
- arsyn:precision — verify scaffold output matches conventions exactly
Gotchas
- Generic templates over project conventions — Never use a generic "React component" template if the project has established patterns. Always detect first.
- Skipping verification — A scaffold that fails lint or typecheck creates work, not savings. Verify before delivering.
- Over-scaffolding — Generate the minimum viable structure. Extra files that will sit empty are noise.
- Stale reference modules — The most recent module may use newer patterns than older ones. Check multiple examples if conventions evolved.
- Missing barrel exports — If the project uses index.ts barrel files, forgetting to add the new module breaks imports elsewhere.
- Hardcoded paths — Use path aliases or relative imports matching the project convention. Never hardcode absolute filesystem paths.
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.

