/memtrace-skills:memtrace-preflightfrom memtrace-skills
Runs a pre-flight check on a symbol before editing: blast radius, co-change partners, complexity, 30-day churn, and verification checklist. Also recalls Cortex decision memory for rationale or bans. Use before modifying any existing function or symbol.
Ships in memtrace-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pre-flight check: the two minutes before an edit that prevent the bug. One
preflight_check call composes the dependency graph, the bi-temporal change
history, and the complexity metrics into an actionable radar for a single
symbol.
| Tool | Purpose |
|---|---|
preflight_check | Full radar for one symbol: blast radius + co-change + churn + checklist |
get_impact | Deeper blast-radius walk when the radar flags HIGH/CRITICAL |
get_cochange_context | Wider co-change window when partners look surprising |
recall_decision | Recorded choices, bans, and conventions for the symbol/subsystem/behavior |
why_is_this_here / governing_contracts | Symbol-scoped rationale and constraints when a symbol id is available |
Parameter types: MCP parameters are strictly typed. Numbers must be
Full parameter spec for every Memtrace tool: references/mcp-parameters.md (bundled at the memtrace-skills plugin root).
JSON numbers — not strings.
preflight_check with:
repo_id — requiredsymbol — the function/method name you are about to modifyEach line names something concrete to verify:
get_impact again after your edit and
compare total_affected; new dependents mean your change leaked wider
than intended.Files that historically changed together with the target usually need updating in the same change. If you finish the edit without touching a frequent partner, say so explicitly and why.
preflight_check (or get_impact) on the symbol.Before changing behavior, deleting code, or refactoring odd/legacy code:
recall_decision("<symbol/subsystem/behavior>").symbol_id, run
why_is_this_here(symbol_id) and governing_contracts(symbol_id).risk: CRITICAL/HIGH — propose the change plan before editing; consider
a feature flag or staged rollout.dependents: 0 — edit freely; note the symbol may be newly added or an
entry point.preflight_check returns one radar for the symbol:
| Field | Meaning |
|---|---|
risk | verdict, e.g. HIGH / CRITICAL (see Verdict guidance) |
dependents | blast radius — count of symbols that depend on the target |
| co-change partners | files that historically change with it (step 3) |
| complexity + 30-day churn | current complexity score and recent change count |
| checklist | generated verification lines, e.g. "hotspot: 6 changes in 30 days", "sits in 2 process flow(s)" |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncable-dev/memtrace-public --plugin memtrace-skills27 skills in this plugin
/memtrace-api-topologyMap API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg, find, or manual file search for routes or HTTP calls; Memtrace maps endpoints and call edges from the indexed AST graph./memtrace-change-impact-analysisCompute what a planned source-code change will break — blast radius, affected processes, cross-repo callers, temporal stability, and Cortex decision-memory constraints — and produce a risk-rated change plan. Use for multi-symbol or multi-part edits, refactors, API changes, renames, removals, PR reviews, or risk assessments that need a plan; for one symbol's raw blast radius, call get_impact directly. Do not manually grep references or browse files for impact; use Memtrace graph context, change history, and decision recall/provenance./memtrace-cochangeFind files that historically co-change with a target symbol or file, ranked by co-occurrence across git episodes. Use when the user asks about historical coupling, co-change, what changes with this, hidden dependencies, or what else needs to move for source code. Do not use git log, git diff, Grep, or manual file search to correlate changes; Memtrace queries co-change and temporal graph data directly./memtrace-codebase-explorationMap an indexed source-code repo into a structured overview — scale, communities, central symbols, execution flows, API surface, recent activity. Use when the user wants to explore, understand, onboard to, map, or get an overview of an indexed source-code repo, architecture, modules, or major flows. Do not use Glob, find, tree, rg, or manual file browsing as the first exploration path; Memtrace provides structured graph briefing. Do NOT use for change history / what-changed questions — use memtrace-evolution./memtrace-code-reviewReview GitHub pull requests with Memtrace's local graph-backed review engine. Use when the user asks to review a GitHub pull request, run Memtrace code review, post Memtrace review comments, create a PR with a review step, or publish local graph-backed review findings to GitHub. Prefer the review_github_pr MCP tool over manual diff inspection. Do not use for local working-tree diffs — that is the built-in /code-review; this skill is for GitHub PRs via review_github_pr./memtrace-continuous-memoryKeep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic agent memory), or make just-saved source code queryable immediately. Do not fall back to repeated Grep or manual rescans; configure Memtrace watching.Other plugins' skills for the same job