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.

Install it, pinned
mdr add jszmajda/lid/map-codebase@git:20260706.343dd73

Pins 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

The exact contents, by fingerprint
mdr add jszmajda/lid/map-codebase@sha256:b75cbed222e042e4

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zdgfcc5geva6smyz.svg)](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.

versioncommittedcommitsizeaudit
git:20260706.343dd73 latest2026-07-06 343dd73 14,015 BA view · diff
git:20260706.b46b9e92026-07-06 b46b9e9 13,856 BA view · diff
git:20260529.82730532026-05-29 8273053 13,714 BA view · diff
git:20260514.1eedf562026-05-14 1eedf56 11,644 BA view · diff
git:20260418.efa20062026-04-18 efa2006 11,640 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from jszmajda/lid

AGENTS.md AGENTS.md file
jszmajda/lid · AGENTS.md
git:20261011.9779c87 · audit A · 114 stars
CLAUDE.md CLAUDE.md file
jszmajda/lid · CLAUDE.md
git:20260421.e268813 · audit B · 114 stars
DESIGN.md@docs/research/experiments/b10-differential-catch-rate DESIGN.md file
jszmajda/lid · docs/research/experiments/b10-differential-catch-rate/DESIGN.md
git:20260804.1b8713a · audit A · 114 stars
CLAUDE.md@examples/urlshort CLAUDE.md file
jszmajda/lid · examples/urlshort/CLAUDE.md
git:20260529.8273053 · audit A · 114 stars
arrow-maintenance SKILL.md skill
jszmajda/lid · plugins/arrow-maintenance/skills/arrow-maintenance/SKILL.md · Navigation and audit overlay for linked-intent development. Use when working with docs/arrows/ — orienting via…
git:20261012.96153e7 · audit A · 114 stars
bidirectional-differential SKILL.md skill
jszmajda/lid · plugins/lid-experimental/skills/bidirectional-differential/SKILL.md · Audit coherence across an arrow of intent by running two parallel fresh Claude sessions — one reconstructs code from a…
git:20260529.8273053 · audit A · 114 stars
review-depth SKILL.md skill
jszmajda/lid · plugins/lid-experimental/skills/review-depth/SKILL.md · Experimental declared review depth for linked-intent development. Use when a LID project's instruction file declares a…
git:20261011.9779c87 · audit A · 114 stars
lid-coach SKILL.md skill
jszmajda/lid · plugins/linked-intent-dev/skills/lid-coach/SKILL.md · Review a project's current linked-intent-development (LID) usage against LID's own principles and produce a prioritized…
git:20261001.1d757f3 · audit A · 114 stars
linked-intent-dev SKILL.md skill
jszmajda/lid · plugins/linked-intent-dev/skills/linked-intent-dev/SKILL.md · Guide for linked-intent development (LID). Consult for ALL code changes. Walks changes through a mode-aware six-phase…
git:20261010.502bd52 · audit A · 114 stars
update-lid SKILL.md skill
jszmajda/lid · plugins/linked-intent-dev/skills/update-lid/SKILL.md · Configure or reconcile a project for linked-intent development (LID). Dispatches on project state — fresh bootstrap…
git:20261010.a1bb965 · audit A · 114 stars

Every file in jszmajda/lid

Browse by kind, by grade A, or by owner.