/trace-mcp:trace-mcp-pre-commitfrom trace-mcp
Runs trace-mcp security scans, quality gates, antipattern detection, and symbol-level diffs before commits or PRs. Activates when the agent is about to commit or open a PR in a trace-mcp-indexed project.
Ships in trace-mcp. 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.
Before creating a commit or opening a pull request, run the trace-mcp validation suite. Fix any critical or high findings before committing.
scan_security({ rules: ["all"] })
OWASP Top-10 vulnerability scan across the changed scope. If the change touches untrusted data flows, add:
taint_analysis({})
Trace untrusted sources to sensitive sinks (SQL, shell, file system, HTTP).
check_quality_gates({ scope: "changed" })
Validates complexity, coverage, duplication, and any project-configured gates on only the files you changed.
detect_antipatterns({})
Flags N+1 queries, eager loading, inefficient iteration, and language-specific performance footguns.
compare_branches({ branch: "current" })
Produces a symbol-level diff (functions added/removed/modified, signatures changed, exports changed). Use this as the basis for an accurate PR description instead of a raw line diff.
predict_bugs({})
get_risk_hotspots({})
Flags files where the combination of high complexity and high churn makes regressions likely. If your change touches a hotspot, add extra tests.
If the commit is part of a larger series, consider:
get_changed_symbols({ since: "<base-ref>" })
to generate an accurate changelog entry grounded in the symbol graph rather than commit messages.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/trace-mcpUse trace-mcp tools for code navigation, impact analysis, and framework-aware queries instead of Read/Grep/Glob/Bash. Activate whenever the agent needs to explore, understand, or modify a codebase that has trace-mcp indexed./trace-mcp-codemodUse trace-mcp apply_codemod for any bulk mechanical change instead of repeated Edit calls. Activate whenever the same edit pattern would be applied 2+ times, across one file or many./trace-mcp-refactoringSafe refactoring workflow using trace-mcp — assess risk, find candidates, check impact, and rename symbols across all files without missing import sites or cross-file references.Generated from the plugin's indexed repository (nikolai-vysotskyi/trace-mcp) — no native marketplace selected
npx claudepluginhub p/nikolai-vysotskyi-trace-mcpOther plugins' skills for the same job