Codemap Preflight Protocol — Development agent for Claude Code
Codebase Comprehension Pre-Flight Protocol.
How to install Codemap Preflight Protocol
Installs to ~/.claude/agents/samibs-skillfoundry-_codemap-preflight-protocol.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/samibs/skillfoundry/HEAD/agents/_codemap-preflight-protocol.md -o ~/.claude/agents/samibs-skillfoundry-_codemap-preflight-protocol.md Restart Claude Code, or start a new session, for it to be picked up.
What Codemap Preflight Protocol does
Codebase Comprehension Pre-Flight Protocol
**Run before implementing or refactoring against an existing codebase.** Sibling to `_env-preflight-protocol.md`: that one pre-flights the *environment*, this one pre-flights the *code*.
This protocol prevents the framework's #1 failure class — the **Frontend-Backend Contract Mismatch** — by giving agents a structural model of the code *before* they write. It is backed by the `sf_codemap` MCP tool (engine: `mcp-server/src/agents/codemap/`).
Alternatives in Development
- Lateral Thinker — Subconscious subagent that surfaces cross-disciplinary structural parallels from the Vestige memory graph 632 ★
- Trio — Shared working protocol for pm, designer, and engineer 324 ★
- Python Sidecar Specialist — Use for the Python sidecars on both surfaces: the verify checks (syntax, imports, statement mapping, coverage 179 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Odoo Guard
Odoo discipline enforcer. Spawned by odoo-specialist pre-flight and
Salesforce Guard
Salesforce discipline enforcer. Spawned by salesforce-specialist pre-flight
Publishing Optimization Specialist
The final quality gatekeeper and copywriter. This agent writes HTML-formatted descriptions tailored to US/IT b
Release Quality Runner
MUST BE USED in Phase 0 of the releasing-erfana skill to enforce the pre-flight checklist before any release t
Startup Agent
Pre-flight environment and toolchain inspector. Use PROACTIVELY as the first step of any /hackathon-build run,
PR Shepherd
Takes an APPROVED loop PR from reviewer-approve to MERGED — pre-flight hygiene → push-delivery verification →
Related Skills
Gsd Release Preflight
Run the release pre-flight against all four LIVE release scripts before cutting a release (OWN-02).
Codemap Skill
🧹 A code janitor for AI agents — map any codebase into functional modules, score every module 0-100 for tech
Codemap
Map a feature to where it lives in the current codebase: files, communication flow, and per-requirement locati