πŸ”
QualityTypeScript

Trace MCP Pre-Commit

by nikolai-vysotskyi

Trace MCP Pre-Commit is a Quality skill for Claude Code, published by nikolai-vysotskyi in trace-mcp.

170 stars20 forkson nikolai-vysotskyi/trace-mcpAdded 2026/09/08+67% in starsRepository updated 2026/09/08
ai-agentsclaudeclaude-aiclaude-codeclaude-code-pluginclaude-code-skillclaude-desktopclaude-skillscode-graphcode-intelligencecodexcodex-skilldependency-graphdeveloper-toolsknowledge-graphmcpmcp-serverragstatic-analysistoken-savings
Install in seconds
Install Trace MCP Pre-Commit
Copy Trace MCP Pre-Commit into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/nikolai-vysotskyi/trace-mcp/tree/master/skills/trace-mcp-pre-commit ~/.claude/skills/trace-mcp-pre-commit

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/nikolai-vysotskyi/trace-mcp.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/trace-mcp-pre-commit/SKILL.md in nikolai-vysotskyi/trace-mcp
Installs to
~/.claude/skills/trace-mcp-pre-commit
Collection
One of 4 skills cataloged from this repository
Category
Quality β€” 1897 skills

What Trace MCP Pre-Commit does

Trace MCP Pre-Commit runs security, quality-gate, and antipattern checks before a commit or pull request. Use it after changes are made and before handoff in a trace-mcp indexed project.

Trace MCP Pre-Commit is cataloged under Quality on DirSkills. Trace MCP Pre-Commit comes from a repository tagged ai-agents, claude, claude-ai, claude-code and claude-code-plugin.

Documentation

README

trace-mcp β€” Pre-Commit & Pre-PR Checks

Before creating a commit or opening a pull request, run the trace-mcp validation suite. Fix any critical or high findings before committing.

When to Use

  • The user asks to commit, stage, or push changes
  • The user asks to open a PR
  • The agent has finished implementing a feature or fix and is about to hand off

Checklist

1. Security scan

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).

2. Quality gates on the changed scope

check_quality_gates({ scope: "changed" })

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Trace MCP Pre-Commit

  • What else does nikolai-vysotskyi publish alongside Trace MCP Pre-Commit?

    Trace MCP Pre-Commit is one of 4 skills that DirSkills catalogs from nikolai-vysotskyi/trace-mcp, the repository it ships in. Its siblings there include Trace MCP, Trace MCP Codemod and Trace Mcp Refactoring. Each one is a separate skill with its own page in this directory, installs the same way Trace MCP Pre-Commit does, and is maintained by nikolai-vysotskyi in that same repository. The rest of the collection is listed on the nikolai-vysotskyi/trace-mcp page.

  • How does Trace MCP Pre-Commit compare to other Quality skills?

    Trace MCP Pre-Commit ranks #1761 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Trace MCP Pre-Commit against them. Open each page to compare what they document and how they install.