map-codebase SKILL.md skillA
map-codebase from jszmajda/lid is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jszmajda/lid/map-codebase@git:20260706.343dd73Pins git:20260706.343dd73 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jszmajda/lid
- Path
plugins/arrow-maintenance/skills/map-codebase/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260706.343dd73, committed Jul 6, 2026
- First version recorded
- Apr 18, 2026
- Size
- 14,015 bytes
- Repository stars
- 114
- License
- MIT
Bootstrap LID in an existing (brownfield) codebase. Deep-reads every file in the declared scope, offers lens-based clustering options, generates skeleton LLDs/HLD/EARS bottom-up, then creates arrow docs and prompts the user to flesh out the skeletons. Token-intensive by design. Use when asked to map a codebase, bootstrap arrows, reverse-engineer the design, or start LID on an existing project.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Map Codebase (Brownfield Arrow Bootstrap) This skill maps an existing codebase into the arrow of intent. It works bottom-up: read all the code in scope first, then propose lens-based clusterings for the user to choose among, then generate skeleton docs that describe what actually exists. See [brownfield-bootstrap.md](references/brownfield-bootstrap.md) for detailed guidance per phase. ## Five Critical Rules These govern every phase. Apply consistently. 1. **Read actual code, don't guess.** Every claim in generated artifacts traces to file/line evidence. Speculation is flagged explicitly rather than presented as fact. 2. **Each STOP is mandatory.** The workflow has multiple stop points. None are optional. Rushing past a stop is how brownfield mapping produces bad LLDs that poison subsequent work. 3. **LLDs describe current reality, not aspirational design.** Output is what the code *is*, not what a greenfield version *would be*. Inferred design decisions carry `[inferred]` markers; known technical debt and behavioral quirks go in Open Questions. …
Read the whole file at its exact version.
How to install
mdr add jszmajda/lid/map-codebase@sha256:b75cbed222e042e4The line at the top of this page pins the label git:20260706.343dd73, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zdgfcc5geva6smyz)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 18, 2026 and Jul 6, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260706.343dd73 latest | 2026-07-06 | 343dd73 | 14,015 B | A | view · diff |
| git:20260706.b46b9e9 | 2026-07-06 | b46b9e9 | 13,856 B | A | view · diff |
| git:20260529.8273053 | 2026-05-29 | 8273053 | 13,714 B | A | view · diff |
| git:20260514.1eedf56 | 2026-05-14 | 1eedf56 | 11,644 B | A | view · diff |
| git:20260418.efa2006 | 2026-04-18 | efa2006 | 11,640 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14015 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jszmajda/lid · 114 stars · license MIT · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zdgfcc5geva6smyz GET https://markdownregistry.com/api/v1/resolve?ref=jszmajda/lid/map-codebase GET https://markdownregistry.com/api/v1/blob/b75cbed222e042e49361e135863728ff9acacf8d630cda5e6132e88d71af171e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.