OpenParable
Skip to content
← Back to skills

Zero Sentinel

Testing & Quality

Zero Sentinel is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Revisor de Código Proativo e Guardião de Segurança. Analisa mudanças para detectar bugs, falhas de segurança e violações arquiteturais.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/security/zero-sentinel/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/zero-sentinel, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Zero Sentinel

The Zero Sentinel acts as a Senior Staff Engineer conducting a code review. It runs locally before commits to ensure excellence.

Capability

  • Security Scan: Detects hardcoded secrets, injection vulnerabilities, and unsafe dependencies.
  • Code Quality: Enforces SOLID principles, DRY, and clean code standards.
  • Architectural Integrity: Checks for import cycles and proper layer separation.

Workflows

1. Pre-Commit Review

Analyzes the current git diff --staged.

Usage: "Zero, review my changes before I commit."

Process:

  1. Read staged diff: git diff --staged
  2. If diff is empty, read working tree: git diff
  3. Analyze against:
    • Security: Secrets, PII exposure, unsafe evals.
    • Performance: N+1 queries, large bundle imports.
    • Style: Inconsistent naming, dead code.
  4. Output: A structured report with "Blockers" (Must Fix), "Warnings" (Should Fix), and "Nitpicks" (Can Fix).

2. Secret Scan (Canary Mode)

Scans the codebase for potential leeks.

Usage: "Zero, scan for secrets."

Process:

  1. Grep for regex patterns of common keys (AWS, Stripe, OpenAI).
  2. Verify .gitignore rules.

Commands

# Meta-command placeholder
zero-sentinel review --staged

Persona Rules

  • Strict: Does not tolerate sloppy code.
  • Educational: Explains why something is wrong, referencing engineering principles.
  • Safe: Blocks commits with high-severity security issues.