cold-start-generator
Skill4 starsChanged 2 months agoApache-2.0View on GitHub
Analyzes any microservice codebase and generates a complete cold-start package — CLAUDE.md, custom skills, requirements template, development process docs, and onboarding guide. Works for any architecture. Use when setting up AI-assisted development for a new project. Triggers on "cold start", "set up AI development", "generate onboarding", "bootstrap project", "make this repo AI-ready".
- Commits and pushes
In this repository43 other files it gives its agents.
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- agent-notepadSkill
- architecture-reviewerSkill
- backend-service-auditorSkill
- channel-listenerSkill
- code-reviewerSkill
- coder-file-transferSkill
- creating-skillsSkill
- critical-thinkingSkill
- dark-factory-buildSkill
- dependency-risk-auditorSkill
- df-adversary-gateSkill
- df-app-walkthroughSkill
- df-context-storeSkill
- df-data-transform-lensSkill
- df-dispatch-subagentsSkill
- df-infrastructureSkill
- df-observabilitySkill
- df-product-ownerSkill
- df-qaSkill
- df-solution-architectSkill
- df-tdd-developerSkill
- df-ui-verifySkill
- df-video-intakeSkill
- dx-maintainability-reviewerSkill
- frontend-auditorSkill
- handoffSkill
- microservices-architectSkill
- production-readiness-reviewerSkill
- repo-docsSkill
- requirements-discoverySkill
- sc-auditSkill
- sc-devSkill
- scope-initSkill
- scope-retireSkill
- security-threat-modelerSkill
- service-mapperSkill
- test-quality-gatekeeperSkill
- vercel-react-best-practicesSkill
- vinculum-loopSkill
- vinculum-mapSkill
- web-design-guidelinesSkill
- work-autonomouslySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 14 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
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 15
When someone says "make this repo work with Claude Code"
- Distinctive: line 55
Read 2-3 services' entry points
- Distinctive: line 57
Document: what's the same, what varies
- Distinctive: line 83
Create a CLAUDE.md for the repo root.
- Distinctive: line 120
Document every service with:
- Distinctive: line 129
If the project uses RabbitMQ → include message contract section with Zod
- Distinctive: line 130
If the project uses gRPC → include proto definition section
- Distinctive: line 131
If the project uses REST only → include OpenAPI schema section
- Distinctive: line 132
If the project uses shared DB → include table ownership section
- Distinctive: line 133
If the project uses per-service DB → include migration section per service
- Distinctive: line 140
Create 2 skills tailored to this project:
- Distinctive: line 149
Use this project's build commands
- Distinctive: line 150
Use this project's testing infrastructure
- Distinctive: line 214
Before delivering the package:
≈ “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
Cold Start Generator
Analyzes a codebase and generates everything needed for AI-assisted autonomous development: documentation, skills, templates, and onboarding materials.
When to Use
- Setting up a new project for AI-assisted development
- Onboarding a new developer to an existing codebase
- Making any microservice codebase "AI-development ready"
- When someone says "make this repo work with Claude Code"
Primary Goal
Produce a self-contained cold-start package that allows any developer to clone a repo, point Claude Code at the cold-start doc, and immediately be productive — including autonomous feature development.
What Gets Generated
Output Package:
├── CLAUDE.md # Repo-level AI context (architecture, commands, conventions)
├── docs/
│ ├── COLD-START.md # Entry point: "Start here"
│ ├── REQUIREMENTS-TEMPLATE.md # Machine-executable requirements format
│ ├── DEVELOPMENT-PROCESS.md # The 4-phase process
│ └── SERVICE-MAP.md # Service inventory with responsibilities
└── .claude/skills/ # Custom skills for this project
├── requirements-discovery/ # Tailored to this project's patterns
│ └── SKILL.md
└── develop-and-test/ # Tailored to this project's test infrastructure
└── SKILL.mdAnalysis Process
Step 1: Codebase Reconnaissance
Spend significant time understanding before generating anything:
- Identify the architecture pattern:
- Monolith? Microservices? Serverless? Monorepo?
- How do services communicate? (HTTP, message bus, events, gRPC)
- What's the database strategy? (shared DB, per-service DB, gateway)
- Map the service inventory:
- List every deployable unit
- Identify ports, entry points, health checks
- Map dependencies between services
- Identify the service skeleton:
- Read 2-3 services' entry points
- Extract the common initialization pattern
- Document: what's the same, what varies
- Understand the data layer:
- Database type (PostgreSQL, MongoDB, DynamoDB, etc.)
- ORM or raw queries?
- Migration strategy
- Table/collection ownership model
- Map the event/contract system (if any):
- How are events defined? (Protobuf, JSON Schema, Zod, TypeScript interfaces)
- Where do event definitions live?
- Versioning strategy (breaking changes, backwards compat)
- Catalog the testing approach:
- Testing framework (vitest, jest, pytest, go test)
- Where do tests live? (co-located, separate directory)
- Integration test infrastructure (docker-compose, test containers)
- CI/CD pipeline
- Identify the deployment pipeline:
- How does code get to production?
- Branching strategy
- Environment separation (dev/staging/prod)
Step 2: Generate CLAUDE.md
Create a CLAUDE.md for the repo root. Include:
# CLAUDE.md
## Project Overview
[1 paragraph: what this project does, who it's for]
## Architecture
[Diagram showing services, communication, data flow]
## Build & Development Commands
[Every command a developer needs, with explanations]
## Architecture Patterns
[The patterns that are MANDATORY — not suggestions, rules]
## Key Conventions
[Naming, file structure, error handling, logging]
## Important Files (DO NOT refactor)
[Critical files that must be preserved exactly]
## Environment Variables
[Required vars with descriptions]
## Testing
[How to run tests, what framework, where tests live]
## Deployment
[How code gets to production]Quality standard: A developer reading ONLY this file should understand enough to make changes without breaking things.
Step 3: Generate Service Map
Document every service with:
| Service | Port | Subscribes To | Publishes | Tables (write) | Tables (read) |
Step 4: Generate Requirements Template
Adapt the generic requirements template to this project's patterns:
- If the project uses RabbitMQ → include message contract section with Zod
- If the project uses gRPC → include proto definition section
- If the project uses REST only → include OpenAPI schema section
- If the project uses shared DB → include table ownership section
- If the project uses per-service DB → include migration section per service
- Match the project's testing approach in the acceptance criteria section
The template must map 1:1 to code artifacts for THIS project.
Step 5: Generate Custom Skills
Create 2 skills tailored to this project:
1. requirements-discovery (customized):
- Reference this project's architecture patterns in the questions
- Include this project's event catalog in Round 2
- Include this project's table catalog in Round 2
- Reference this project's conventions in Round 3
2. develop-and-test (customized):
- Use this project's build commands
- Use this project's testing infrastructure
- Reference this project's service skeleton
- Include this project's deployment pipeline
Step 6: Generate Cold-Start Doc
Create docs/COLD-START.md:
# Cold Start — [Project Name]
## For Developers Using Claude Code
### Quick Setup (5 minutes)
1. Clone this repo
2. Install dependencies: [command]
3. Set up environment: [steps]
4. Tell Claude Code: "Read CLAUDE.md and docs/COLD-START.md"
### What Claude Code Can Do For You
- `/requirements-discovery` — Define a new feature interactively
- `/develop-and-test` — Build and test from a requirements doc
- [Other custom skills]
### Architecture at a Glance
[Simplified diagram — 10 lines max]
### Key Docs to Read First
1. [Link to most important doc]
2. [Link to second most important doc]
3. [Link to third most important doc]
### Dev Environment
[How to set up dev infrastructure for testing]
### Common Tasks
| Task | Command/Skill |
|------|--------------|
| Build a new feature | `/requirements-discovery` then `/develop-and-test` |
| Add a new service | Same, with "new-service" type in requirements |
| Fix a bug | Describe the bug, Claude Code will investigate |
| Deploy to dev | `git push origin dev` |
| Deploy to prod | Merge `dev` → `main` |Step 7: Generate Development Process Doc
Adapt the 4-phase process to this project:
Phase 1: Requirements Discovery (interactive)
Phase 2: Architecture Validation (semi-autonomous)
Phase 3: Develop & Test (autonomous with checkpoints)
Phase 4: Deploy & Verify (semi-autonomous)Customize each phase with:
- This project's build commands
- This project's test infrastructure
- This project's deployment pipeline
- This project's review process
Validation
Before delivering the package:
- CLAUDE.md accurately describes the architecture (cross-check with actual code)
- Service map is complete (no missing services)
- Requirements template sections map to actual code artifacts
- Custom skills reference correct file paths and patterns
- Cold-start doc can be followed by someone with zero context
- Build commands in all docs actually work
- No references to other projects' patterns (this is self-contained)
Adaptability
This skill works for:
- Node.js/TypeScript microservices (RabbitMQ, Kafka, HTTP)
- Python microservices (FastAPI, Flask, Celery)
- Go microservices (gRPC, NATS, HTTP)
- Java/Spring microservices (Spring Cloud, Kafka)
- Serverless architectures (Lambda, Cloud Functions)
- Monoliths being extracted to microservices
The key principle is the same regardless of stack: identify the repeating skeleton, document it, and make requirements map to code artifacts.
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.

