smithery.ai

commit-impact-analysis

Automatically analyze git commits to predict which tests might fail and identify potential risks. Use this skill when the user pushes code, creates a PR, or asks about the impact of their changes.

First seen Mar 24, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,816 B
  • docs SUMMARY.md 226 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Commit Impact Analysis

This skill analyzes code changes to predict:

  • Which tests are likely to fail
  • Security vulnerabilities introduced
  • Performance impacts
  • Risk score for the change

When to Use

  • User runs git push or git commit
  • User asks "what might this break?"
  • User creates or updates a PR
  • User asks about test coverage for changes

How It Works

  1. Extract the git diff using the helper script
  2. Identify changed files and affected components
  3. Query the Argus API for:

- Test impact graph (file → test mapping) - Historical failure patterns - Security scan results

  1. Generate predictions and recommendations

Implementation

Use the following Argus MCP tools:

  1. arguswhatto_test - Analyzes git diff to identify which tests are affected

- Input: { "diff": "<git diff output>", "files": ["file1.py", "file2.js"] } - Returns: List of tests to run with priority and reasoning

  1. argusriskscores - Calculates risk score for the changes

- Input: { "commit": "<commit SHA or branch>" } - Returns: Risk assessment with scores and deployment recommendation

The tools return:

  • Predicted test failures with confidence scores
  • Security vulnerabilities found
  • Risk assessment (low/medium/high)
  • Recommended actions

Output Format

Present findings as a structured report:

  1. 🧪 Test Predictions (table with test name, failure probability, reason)
  2. 🔒 Security Findings (severity, location, recommendation)
  3. 📊 Risk Score with deployment recommendation
  4. 💡 Suggested Actions