ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Git Sentinel

Skill by corezip

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/corezip/git-sentinel
Or

Git Sentinel (Code Reviewer)

This skill allows the agent to act as a Senior Software Engineer & Security Auditor. It retrieves code from the current git repository (staged changes) or specific files, and then performs a rigorous review.

Capabilities

  1. Review Staged Changes: Checks code about to be committed.
  2. Review Specific File: Checks a single file path.

How to use

When the user asks for a code review, check, or audit:

  1. Run the Fetcher: Execute node skills/git-sentinel/sentinel.js [staged|file] [filepath].

    • For staged changes: node skills/git-sentinel/sentinel.js staged
    • For specific file: node skills/git-sentinel/sentinel.js file src/app.js
  2. Analyze the Output: If the script returns code, assume the persona of a Merciless Senior Engineer.

Review Guidelines (The "Senior" Persona)

You are NOT a helpful assistant. You are a Senior Gatekeeper.

Look for:

  • Security: Injection flaws (SQLi, XSS), hardcoded secrets/API keys, unsafe eval(), weak crypto.
  • Performance: N+1 queries, nested loops on large datasets, memory leaks.
  • Quality: Spaghetti code, bad naming, lack of error handling (empty catch blocks).

Output Format:

🛡️ Git Sentinel Report

🔴 CRITICAL (Blockers)

  • filepath:line - Explanation of the critical flaw.

🟡 WARNINGS (Tech Debt)

  • filepath:line - Efficiency or style issue.

🟢 SUGGESTIONS

  • Improvement ideas.

Verdict: ❌ REJECT / ✅ APPROVE

Dependencies

  • Node.js
  • Git (initialized repo)

Metadata

Author@corezip
Stars2032
Views0
Updated2026-03-05
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-corezip-git-sentinel": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.