Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By sancovp
The doc-mirror claude system: a 1:1 documentation mirror of any codebase, maintained by an invariant doc-mirror STATE MACHINE (per-module doc(m), 6 context/ index files, fork-on-change, no random documents). Bundles doc-mirror-boot (entry + core-loop prime + router), the doc-mirror-{init,seework,change,prompts} state-skills, doc-mirror-install (the host-setup WIZARD), ship-a-plugin (the build+distribute dev-flow), doc-mirror (THE LAW), and make-ai-operating-system (the architect for new systems of this class); the brainhook work-loop + session-start + transition-guard + readonly-guard hooks (plugin-native via CLAUDE_PLUGIN_ROOT); the journal/projects/vision/plan/tracker/commit/cursor + docmirror-search CLI tools; and the doc-mirror law + behavior rules.
npx claudepluginhub sancovp/doc-mirror --plugin doc-mirrorBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
WHAT: a thinking maneuver for taking a complex system you already built and unveiling its stupid-simple ESSENTIAL TRANSFORM — one sentence of pure input→output→(published artifact) — then re-realizing that transform at the LOWEST sufficient mechanism (usually just INSTRUCTIONS / a skill, sometimes a thin util), borrowing reliability from an execution substrate you do NOT own rather than your own stack. The implementation you built was incidental complexity wrapped around a simple, statable transform; name the transform and you can rebuild it minimally and reliably. WHEN: when a system feels too heavy / complex / unreliable to depend on; when a thing you built got FORGOTTEN but its FUNCTION keeps recurring as a live CONCEPT elsewhere; when you want to turn a built system into a reusable util or skill; when you're about to depend on a fragile in-house stack for something simple; or when the user says distill / collapse / simplify / 'what does this actually do' / 'make it just instructions' / 'make it a util/skill/plugin' (any of).
WHAT: the entry point for a doc-mirror working session — primes you with the CORE LOOP (the resident attention chain that shapes every turn), explains the doc-mirror STATE MACHINE (a cursor + state-skills + a transition hook), and routes you to the state your cursor names. BOOTS THE SESSION (the first thing every start/compact) — it does NOT mirror a codebase (that is doc-mirror-init). WHEN: at the START of any doc-mirror session, after a compact/restart, when the transition hook tells you to 'use the doc-mirror-boot skill', or when the user mentions doc-mirror, documenting/understanding/mirroring a codebase, or asks how the system/compiler/state-machine works (any of).
WHAT: the CHANGE state of the doc-mirror machine — a specific module changed or has code/doc to write: read the full module boundary, make ONE correct change (dispatch an agent in USING-mode, or author directly when building the system WITH Isaac), re-derive its doc(m), doc-mirror-commit with an ORIGIN, run closure, graduate the realized idea vision(m) → doc(m). WHEN: Use immediately when the situation is — a named module changed, or there is code/doc to write for one specific module: after seework picked a code gap, or after a prompt produced an artifact to verify+commit (any of).
WHAT: the INIT state of the doc-mirror machine (INITIALIZES a codebase's mirror; NOT the session entry — that is doc-mirror-boot) — first-time mirroring of a codebase that has none (enumerate modules → write doc(m)=IMPL + vision(m)=VISION → synthesize the 6 context files → derive layers → closure test). WHEN: Use immediately when the situation is — the active codebase has NO doc-mirror yet (no docs/mirror/ AND no context/progress-tracker.md): a fresh repo to mirror. Reached from seework (you found an unmirrored repo) or from doc-mirror-boot/SELECT when the active repo isn't mirrored (any of).
WHAT: the install/setup WIZARD for the doc-mirror plugin — it places doc-mirror's command-line tools (journal, vision, cursor, commit, search) on your PATH and records where the plugin lives, performing the host setup itself and telling you exactly what to run if the environment blocks it; non-destructive. WHEN: right after installing or enabling the doc-mirror plugin (first-time setup), or when a doc-mirror command is 'command not found', or when 'docmirror search' cannot find its prompt store (any of).
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Harness-native ECC plugin for engineering teams - 64 agents, 262 skills, 84 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
Autopoiesis Plugin - Self-maintaining promise loops for honest AI work
SDNA (Sanctuary DNA) - Gnostic agent workflow DSL with skills for chain development
CodeNose - Configurable code smell detection for LLMs. Sniffs out duplicate logic, architecture violations, missing logging, and other blind spots.
Instantiate a TWI Jobworld — AI-powered company with agents that run themselves. Enable this plugin and a CEO agent spawns, ready to bootstrap your company.
PromptWorld — the meta-compiler *World: a WrightMaster Engineer-CEO that has every skill plus a native subagent per component type (skill / mcp / harness / operating_system / prompt / team / workflow), and 7 PromptGym specialist AIOS agents, that compile / compose / publish prompt systems through the nomicon. Bundles the install-promptworld deploy WIZARD (the agent builds the docker image, boots the container running the Engineer-CEO + PromptGym + the assistant-ui chat / Monaco file explorer / embedded terminal, copies the Claude creds in, and hands the user one URL), compile-a-world (the meta-compiler skill — the nomicon folds on itself), and ingest-into-nomicon-app.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimExecutes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Share bugs, ideas, or general feedback.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review