NetFabric/intelligentium / plugins/codebase-memory/.apm/skills/codebase-memory-test-impact
codebase-memory-test-impact
UnverifiedUse codebase-memory-mcp to estimate which tests a code change can affect. USE FOR: graph-based test selection; test-impact analysis from a diff; deciding whether CBM evidence supports a targeted test run. DO NOT USE FOR: replacing test execution or claiming full coverage from a partial graph.
codebase-memory-mcp Test Impact
Use detect_changes to estimate which tests a code change can affect and why. This is a selection aid, not a substitute for test execution.
Workflow
-
Verify
codebase-memory-mcp --versionand confirm the project index is ready and current withcodebase-memory-mcp cli index_status --project <name>. Follow the codebase-memory skill if installation or indexing is needed. -
Check the installed command's exact arguments:
codebase-memory-mcp cli detect_changes --help -
Run
detect_changesfor the intended diff and inspect its affected symbols, test scope, evidence, and limitations. Use the installed tool's flags for the selected release; do not assume test-selection support based only on language parsing. -
Run selected tests only when CBM provides supported, sufficient evidence for this repository's test conventions.
-
Run the full relevant suite if the index is stale or incomplete, evidence is doubtful, no tests are identified unexpectedly, or the result explicitly calls for all tests. Do not silently narrow the selection.
-
Report CBM's selection separately from tests actually executed and their results.
CBM v0.12.0 introduced graph-based test impact. When evidence is incomplete or doubtful, the documented behavior is to broaden selection or recommend running all tests rather than silently omit potentially affected tests. Verify the installed release's exact behavior with codebase-memory-mcp cli detect_changes --help and the returned evidence.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |