debt-sentinel

Scan code for anti-patterns, hardcoded secrets, and SQL injection vulnerabilities.

11|3|Updated Jun 30, 2025
One-click install
npx skills add https://github.com/aegntic/cldcde --skill debt-sentinel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debt-sentinel
Source: https://github.com/aegntic/cldcde/tree/main/.claude/skills/debt-sentinel
Command: npx skills add https://github.com/aegntic/cldcde --skill debt-sentinel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents the accumulation of technical debt by automatically detecting and blocking common anti-patterns and code quality issues before they are committed.

Core Features & Use Cases

  • Real-time Code Scanning: Identifies critical violations like hardcoded secrets and SQL injection in real-time.
  • Debt Scoring: Logs and tracks less critical issues like inline styles and magic numbers, assigning a debt score.
  • Customizable Rules: Allows users to define and add their own anti-patterns for detection.
  • Use Case: When a developer is about to commit code containing an API key directly in the source, Debt-Sentinel will block the commit and alert them to the security risk.

Quick Start

Use the debt sentinel skill to check the code quality of the file 'src/utils.js'.

Frequently Asked Questions about debt-sentinel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent hardcoded secrets and SQL injection vulnerabilities during code review?

You can prevent hardcoded secrets and SQL injection vulnerabilities by using automated code scanning to block critical violations before they are committed. This approach applies pattern matching during code review workflows to detect anti-patterns and alert developers to security risks immediately.

How do I calculate and track technical debt scores for code quality issues?

To calculate and track technical debt scores, the system logs less critical code quality issues like inline styles and magic numbers. It assigns a debt score to each detected anti-pattern, allowing teams to monitor technical debt accumulation over time without blocking the commit process.

Can I add custom anti-patterns to my code quality rule set?

Yes, you can add custom anti-patterns to your code quality rule set. The system provides a configurable rule set for violation detection, allowing users to define their own specific pattern matching rules alongside the default security and debt tracking checks.

How do I enforce architectural patterns and prevent technical debt automatically?

To enforce architectural patterns and prevent technical debt automatically, integrate pattern matching scripts into your code editing and review workflows. This setup automatically blocks critical violations and logs debt scores for less severe issues during the development process.

Do I need Python to run automated vulnerability scanning and pattern enforcement?

Yes, you need Python to run automated vulnerability scanning and pattern enforcement. The system requires Python scripts to perform the pattern matching and execute the configurable rule set used for detecting anti-patterns, hardcoded secrets, and SQL injection vulnerabilities.