codebase-bootstrap
Skill0 starsChanged 58 days agoMITView on GitHub
Audits an existing codebase and automatically bootstraps the 7 essential documentation files (AGENTS.md, ARCHITECTURE.md, PRD.md, TESTING.md, CODE_STYLE.md, SECURITY.md, DESIGN_SYSTEM.md) to supercharge future AI agent interactions and reduce token waste.
In this repository5 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- ci-cd-automationSkill
- code-hygiene-auditorSkill
- iphone-duo-migratorSkill
- token-optimizerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When entering a new or undocumented project, use this skill to quickly generate the foundational documentation hierarchy.
- Very specific: line 14
Check Package.swift, package.json, Cargo.toml, or requirements.txt to identify the tech stack, entry point, and test runners.
- Distinctive: line 25
Document how to run unit tests and linters.
- Very specific: line 28
Commit these files as docs: bootstrap agent-first documentation suite.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Codebase Bootstrap Skill
When entering a new or undocumented project, use this skill to quickly generate the foundational documentation hierarchy.
Execution Workflow
- Inspect Repo Manifest:
- Check
Package.swift,package.json,Cargo.toml, orrequirements.txtto identify the tech stack, entry point, and test runners.
- Check
- Generate
AGENTS.md:- Populate with build, test, and lint commands.
- List non-negotiable architectural rules.
- Generate
ARCHITECTURE.md:- Map top-level directories to their architectural roles.
- Draw an ASCII or Mermaid diagram of data flow.
- Generate
TESTING.md&CODE_STYLE.md:- Document how to run unit tests and linters.
- Commit the Documentation:
- Commit these files as
docs: bootstrap agent-first documentation suite.
- Commit these files as
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.

