code-hardcode-audit
✓Detect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning.
Installation
SKILL.md
| Tool | Detection Focus | Language Support | Speed |
| Ruff PLR2004 | Magic value comparisons | Python | Fast | | Semgrep | URLs, ports, paths, credentials | Multi-language | Medium | | jscpd | Duplicate code blocks | Multi-language | Slow | | gitleaks | Secrets, API keys, passwords | Any (file-based) | Fast |
| Ruff PLR2004 not found | Ruff not installed or old | uv tool install ruff or upgrade | | Semgrep timeout | Large codebase scan | Use --exclude to limit scope | | jscpd memory error | Too many files | Increase Node heap: NODEOPTIONS=--max-old-space-size=4096 | | gitleaks false positives | Test data flagged | Add patterns to .gitleaks.toml allowlist |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/terrylica/cc-skills --skill code-hardcode-audit- Source
- terrylica/cc-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-04
- Updated
- 2026-02-18
Quick answers
What is code-hardcode-audit?
Detect hardcoded values, magic numbers, and leaked secrets. TRIGGERS - hardcode audit, magic numbers, PLR2004, secret scanning. Source: terrylica/cc-skills.
How do I install code-hardcode-audit?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/terrylica/cc-skills --skill code-hardcode-audit Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/terrylica/cc-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-04