code-comprehension

Installation
SKILL.md

code-comprehension (v1)

A cheap, standing, read-only generated comprehension front-door. Turns an arbitrary code repo into a generated, non-drifting PROJECT.md + docs/components/<id>/COMPONENT.md — built from a bounded synthetic component partition + structural code edges + per-component LLM intent — so the front-door stops being hand-maintained prose that drifts.

Status: PRODUCTION (D-A v1 ship). Design document: /path/to/project/docs/plans/2026-06-08-generated-front-door-design.md (read §12 → §13 → §11 → §1–§10). Classification: skill_text (Contract Map N/A). This skill is the consumer of synthetic contract-maps; it does not introduce a gated product surface.

What this skill is for

The forge→bob contract-driven pipeline (intent-extract, wiring-extract-static) only starts on a repo that already carries a signed progress/contract-map.yaml. Most real code repos (legacy apps, the user's other projects) have no durable full contract-map. This skill is the bounded standalone path that:

  1. Synthesizes its own component partition (partition.py) — directory-primary + entry-point seeding + a hard cap, with bidirectional auto-resolution of over- and under-partition (no user pause). The synthetic map is UNSIGNED and written to .comprehension/ — never under progress/ (collision hazard with a real signed map + poisoning a later gates.py G1).
  2. Runs both extractors in a new --standalone mode where a bob claim is structurally impossible (no --claim-uuid, the heartbeat thread is never constructed, transition-request emission is unreachable). The run writes nothing under .ledger/ → CB4-safe by absence.
  3. Renders deterministic, zero-LLM docs (render_docs.py) — byte-identical on re-run given a fixed intent-map.

What this skill is NOT

Installs
2
GitHub Stars
6
First Seen
Sep 28, 2026