agentleFS
mufeedvhmufeedvh/code2prompt/AGENTS.md

code2prompt

AGENTS.md7.7k starsChanged 3 months agoMITView on GitHub

Project-specific skills live in .agents/skills/. These contributor skills use metadata.internal: true to stay out of public Skills CLI discovery. The installable user skill lives in skills/code2prompt/. A change can require several verification skills. Root cargo test does not exercise the Python bindings.

Trending

Quiet since May.about the whole repository

Dec 2025: 2 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the mufeedvh/code2prompt repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about mufeedvh/code2prompt

The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 34

Talked about on GitHub, Bluesky and Hacker News (34 times).

On GitHub · 15

10 more on GitHub

On Bluesky · 15

10 more on Bluesky
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository7 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow existing code2prompt patterns before generic best practices.

    line 9
  2. Very specific:

    Put reusable product logic in code2prompt-core.

    line 10
  3. Very specific:

    Keep CLI/TUI concerns in code2prompt.

    line 11
  4. Distinctive:

    Keep Python bindings thin: delegate behavior to the core.

    line 12
  5. Distinctive:

    Keep the website as a consumer of product behavior, not a second implementation.

    line 14
  6. Distinctive:

    Prefer small changes and existing dependencies.

    line 15
  7. Distinctive:

    Do not claim completion until the relevant verification skill passes.

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

code2prompt agent guide

Project-specific skills live in .agents/skills/. These contributor skills use metadata.internal: true to stay out of public Skills CLI discovery. The installable user skill lives in skills/code2prompt/.

Rules

  • Follow existing code2prompt patterns before generic best practices.
  • Put reusable product logic in code2prompt-core.
  • Keep CLI/TUI concerns in code2prompt.
  • Keep Python bindings thin: delegate behavior to the core.
  • Code2PromptSession coordinates configuration, selection, and loaded SessionData.
  • Keep the website as a consumer of product behavior, not a second implementation.
  • Prefer small changes and existing dependencies.
  • Preserve public behavior unless the task explicitly changes it.
  • Bug fixes should include a regression test when practical.
  • Comments should explain non-obvious intent, constraints, or tradeoffs, not narrate code.
  • Do not claim completion until the relevant verification skill passes.

Skills

  • Implementation/refactoring → code2prompt-conventions
  • crates/code2prompt-core/** → verify-core
  • crates/code2prompt/** → verify-cli
  • crates/code2prompt-python/** → verify-python
  • website/** → verify-website
  • Public behavior/docs/comments → documentation

A change can require several verification skills. Root cargo test does not exercise the Python bindings.

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.