documentation
Skill7.7k starsChanged 3 months agoMITView on GitHub
Update code2prompt documentation when public behavior or architecture changes.
58 other projects use a version of this.
Trending
Quiet since May.about the whole repository
Most recently taken up by
- paruff/uFawkesAItheir own version, first seen Oct 3, 2026
- shortcuts/dotfilestheir own version, first seen Oct 2, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- microsoft/hve-coretheir own version, first seen Sep 29, 2026
- DepressionCenter/extractiumtheir own version, first seen Sep 29, 2026
- YLfjuk/skillstheir own version, first seen Sep 28, 2026
Who's talking about mufeedvh/code2prompt
- @github-trending.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 mufeedvh / code2prompt ⭐ 2,915 (+156) 🗒 Rust A CLI tool to convert …”Bluesky · Jan 13, 2025 · 6 likes
- @rusttrending.bsky.social“mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, …”Bluesky · Jan 16, 2025 · 5 likes
- @rahulrane.bsky.social“It isn't a website but I find github.com/mufeedvh/cod... to be much better with token counting and other …”Bluesky · Dec 9, 2024 · 5 likes
- @rusttrending.bsky.social“mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, …”Bluesky · Dec 12, 2024 · 4 likes
- A Hacker News story“Show HN: Code2prompt – Generate LLM prompts from your codebase”Hacker News · Mar 11, 2024 · 4 points
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
- Aug 18, 2025Miscellaneous set of tools — UfoMiao/zcf2 reactions · 1 comment
- Jan 24, 2025Q: Would GitIngest be good for coder bots? — coderamp-labs/gitingest1 reaction · 9 comments
- Sep 19, 2024code2prompt v2.0.0 — NixOS/nixpkgs1 reaction · 6 comments
- Apr 9, 2024Include code2prompt — ad-si/cai1 reaction · 1 comment
- Dec 11, 2025code2prompt 4.2.0 — Homebrew/homebrew-core0 reactions · 1 comment
10 more on GitHub
- Dec 7, 2025code2prompt: 1.1.0 -> 4.0.2 — NixOS/nixpkgs0 reactions · 4 comments
- Nov 13, 2025code2prompt, yek: add page — tldr-pages/tldr0 reactions · 4 comments
- Nov 8, 2025Let's document: Code2Prompt (and repomap tools) — tldr-pages/tldr0 reactions
- Sep 16, 2025code2prompt 4.0.0 — Homebrew/homebrew-core0 reactions · 1 comment
- Jul 29, 2025LFX mentorship (2025/term3): Rust Coder for Claude Code — WasmEdge/WasmEdge0 reactions · 8 comments
- Jun 10, 2025Take a look at similiar projects and compare — DefinitelyNotSimon13/tokenize0 reactions
- Mar 20, 2025Server Submission: Code2prompt — cline/mcp-marketplace0 reactions
- Jan 10, 2025repo prompt — nikivdev/tools0 reactions
- Dec 26, 2024Codegate Workspaces — stacklok/codegate0 reactions · 3 comments
- Jun 8, 2024Package request: code2prompt — NixOS/nixpkgs0 reactions
On Bluesky · 15
- Jan 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 mufeedvh / code2prompt ⭐ 2,915 (+156) 🗒 Rust A CLI tool to convert your codebase into a single LLM… — @github-trending.bsky.social6 likes and reposts
- Jan 16, 2025mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social5 likes and reposts
- Dec 9, 2024It isn't a website but I find github.com/mufeedvh/cod... to be much better with token counting and other features. — @rahulrane.bsky.social5 likes and reposts
- Dec 12, 2024mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social4 likes and reposts
- Apr 14, 2025mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
10 more on Bluesky
- Mar 29, 2025mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
- Mar 4, 2025mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
- Feb 17, 2025mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
- Jan 16, 2025I recently noticed this github.com/mufeedvh/cod... #rust CLI app with #python bindings. I use LLMs for code help often but it's onerous to… — @owen7ba.bsky.social1 likes and repost
- Nov 28, 2024I took inspiration for the scanner from this python project : Code2Prompt github.com/mufeedvh/cod... I'm 100% sure you can use an LLM to… — @stephanjanssen.besays it tested it1 likes and repost
- Nov 1, 2024Love the idea of giving it some documentation. That seems like a great reason to maintain documention in the repo! I’ve been using this a… — @laneparton.com1 likes and repost · 1 reply
- Oct 1, 2024#code2prompt: #CLI tool converts codebases to #LLM prompts with source tree, templating & token counting 📊 Features: • Customizable… — @michabbb.bsky.social1 likes and repost
- Sep 23, 2024mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
- Jul 12, 2024mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
- Jul 10, 2024mufeedvh / code2prompt: A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt templating, and token… — @rusttrending.bsky.social1 likes and repost
On Hacker News · 4
- Mar 11, 2024Show HN: Code2prompt – Generate LLM prompts from your codebase4 points · 7 comments
- May 28, 2026code2prompt: Convert any folder into a single LLM prompt1 point
- Jan 16, 2025Mufeedvh/code2prompt:A CLI tool to convert your codebase in a single LLM prompt1 point · 1 comment
- Dec 17, 2024Code2prompt1 point
Used with
Projects with it also use refactoring, typescript and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pproencaSkillrefactoring
Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.
Also in 8 projects that use this
MicrosoftSkilltypescript
Use this guide when working on TypeScript changes in the FAST monorepo — authoring Web Components, writing templates and styles, working with the observable/reactive system, and testing.
Also in 5 projects that use this
VercelSkilloauth
Configure OAuth providers (Google, Apple, Microsoft, Facebook, GitHub, etc.) to work with portless local dev URLs. Use when setting up OAuth redirect URIs, fixing "redirect_uri_mismatch" or "invalid redirect" errors, configuring sign-in providers for local development, or when a provider rejects .localhost subdomains. Triggers include "OAuth not working with portless", "redirect URI mismatch", "Google/Apple/Microsoft sign-in fails locally", "configure OAuth for local dev", or any task involving OAuth callback URLs with portless domains.
Also in 3 projects that use this
MicrosoftSkillrust
Use this guide when working on Rust changes in the FAST monorepo.
Also in 3 projects that use this
JohnJBorenSkillci-cd
CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies
Also in 3 projects that use this
Microsoft AzureSkillgit-workflow
Squad branching model: dev-first workflow with insiders preview channel
Also in 10 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- anthropics/knowledge-work-plugins★ 26ksame name
- microsoft/fast★ 9.7ksame name
- github/gh-aw★ 5.3ksame name
- mcollina/skills★ 1.9ksame name
- microsoft/hve-core★ 1.5ksame name
- microsoft/wassette★ 957same name
- griddynamics/rosetta★ 352same name
- extra-org/extra★ 113same name
- natnew/Awesome-Prompt-Engineering★ 113same name
- TheBeardedBearSAS/claude-craft★ 106same name
48 more not listed
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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code2prompt-conventionsSkill
- verify-cliSkill
- verify-coreSkill
- verify-pythonSkill
- verify-websiteSkill
- code2promptSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
5
Distinctive
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
- Very specific: line 10
Update docs when a change affects public APIs, CLI flags/defaults/output, configuration, template variables, feature flags, installation, …
- Very specific: line 13
Use //! for module purpose and boundaries.
- Very specific: line 14
Use /// for useful public API semantics, errors, or examples.
- Distinctive: line 15
Use inline comments only for non-obvious intent, constraints, or tradeoffs.
- Distinctive: line 16
Keep the root README, Python README, and website examples consistent with their surface.
- Distinctive: line 17
Update localized pages when in scope.
- Distinctive: line 19
Do not add comments that merely restate the code.
- Distinctive: line 27
Run the relevant verification skill after documentation-sensitive changes.
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation
Update docs when a change affects public APIs, CLI flags/defaults/output, configuration, template variables, feature flags, installation, or user workflows.
- Use
//!for module purpose and boundaries. - Use
///for useful public API semantics, errors, or examples. - Use inline comments only for non-obvious intent, constraints, or tradeoffs.
- Keep the root README, Python README, and website examples consistent with their surface.
- Update localized pages when in scope; otherwise report which copies may be stale.
Do not add comments that merely restate the code.
For changed CLI documentation, compare against:
cargo run --quiet -- --helpRun the relevant verification skill after documentation-sensitive changes.
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.

