agentleFS
nilkanthdesai76nilkanthdesai76/universal-agent-skills/skills/codebase-bootstrap/SKILL.md

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.

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
  1. Distinctive:

    When entering a new or undocumented project, use this skill to quickly generate the foundational documentation hierarchy.

    line 9
  2. Very specific:

    Check Package.swift, package.json, Cargo.toml, or requirements.txt to identify the tech stack, entry point, and test runners.

    line 14
  3. Distinctive:

    Document how to run unit tests and linters.

    line 25
  4. Very specific:

    Commit these files as docs: bootstrap agent-first documentation suite.

    line 28

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codebase Bootstrap Skill

When entering a new or undocumented project, use this skill to quickly generate the foundational documentation hierarchy.

Execution Workflow

  1. Inspect Repo Manifest:
    • Check Package.swift, package.json, Cargo.toml, or requirements.txt to identify the tech stack, entry point, and test runners.
  2. Generate AGENTS.md:
    • Populate with build, test, and lint commands.
    • List non-negotiable architectural rules.
  3. Generate ARCHITECTURE.md:
    • Map top-level directories to their architectural roles.
    • Draw an ASCII or Mermaid diagram of data flow.
  4. Generate TESTING.md & CODE_STYLE.md:
    • Document how to run unit tests and linters.
  5. Commit the Documentation:
    • Commit these files as docs: bootstrap agent-first documentation suite.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.