silent-degradation-audit
Production-ready skill for detecting silent degradation across codebases. Uses multi-wave audit system with 6 specialized category agents, multi-agent…
от rysweet★ 77 звёзд на GitHub
Установить silent-degradation-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Silent Degradation Audit Skill
Overview
Production-ready skill for detecting silent degradation across codebases. Uses multi-wave audit system with 6 specialized category agents, multi-agent validation panel, and convergence detection. Battle-tested on CyberGym codebase (~250 bugs found).
When to Use This Skill
Use this skill when:
- Code has reliability issues but unclear where
- Systems fail silently without operator visibility
- Error handling exists but effectiveness unknown
- Need comprehensive audit across multiple failure modes
- Preparing for production deployment
- Post-mortem analysis after silent failures
Don't use for:
- Code style or formatting issues (use linters)
- Performance optimization (use profilers)
- Security vulnerabilities (use security scanners)
- Simple one-off code reviews (use /analyze)
Key Features
Multi-Wave Progressive Audit
- Wave 1: Broad scan, finds obvious issues (40-50% of total)
- Wave 2-3: Deeper analysis, finds hidden issues (30-40%)
- Wave 4-6: Edge cases and subtleties (10-20%)
- Convergence: Stops when < 10 new findings or < 5% of Wave 1
6 Category Agents
- Dependency Failures (Category A): "What happens when X is down?"
- Config Errors (Category B): "What happens when config is wrong?"
- Background Work (Category C): "What happens when background work fails?"
- Test Effectiveness (Category D): "Do tests actually detect failures?"
- Operator Visibility (Category E): "Is the error visible to operators?"
- Functional Stubs (Category F): "Does this code actually do what its name says?"
Multi-Agent Validation Panel
- 3 agents review findings: Security, Architect, Builder
- 2/3 consensus required to validate finding
- Prevents false positives and unnecessary changes
- Tracks strong vs weak consensus
Language-Agnostic
Supports 9 languages with language-specific patterns:
- Python, JavaScript, TypeScript
- Rust, Go, Java, C#
- Ruby, PHP
Integration Modes
Standalone Invocation
Direct skill invocation for focused audit:
/silent-degradation-audit path/to/codebase
Sub-Loop in Quality Audit Workflow
Integrated as Phase 2 of quality-audit-workflow:
quality-audit-workflow calls silent-degradation-audit
→ Returns findings to quality workflow
→ Quality workflow applies fixes
→ Continues to next phase
Usage
Basic Usage
# Audit entire codebase
/silent-degradation-audit .
# Audit specific directory
/silent-degradation-audit ./src
# With custom exclusions
/silent-degradation-audit . --exclusions .my-exclusions.json
Configuration
Create .silent-degradation-config.json in codebase root:
{
"convergence": {
"absolute_threshold": 10,
"relative_threshold": 0.05
},
"max_waves": 6,
"exclusions": {
"patterns": ["*.test.js", "test_*.py", "**/__tests__/**"]
},
"categories": {
"enabled": [
"dependency-failures",
"config-errors",
"background-work",
"test-effectiveness",
"operator-visibility",
"functional-stubs"
]
}
}
Exclusion Lists
Global Exclusions
Edit ~/.amplihack/.claude/skills/silent-degradation-audit/exclusions-global.json:
[
{
"pattern": "*.test.*",
"reason": "Test files excluded from production audits",
"category": "*"
},
{
"pattern": "**/vendor/**",
"reason": "Third-party code",
"category": "*"
}
]
Repository-Specific Exclusions
Create .silent-degradation-exclusions.json in repository root:
[
{
"pattern": "src/legacy/*.py",
"reason": "Legacy code being replaced",
"category": "*",
"wave": 1
},
{
"pattern": "api/endpoints.py:42",
"reason": "Empty dict is valid API response",
"category": "functional-stubs",
"type": "exact"
}
]
Output
Report Format
Generates .silent-degradation-report.md:
# Silent Degradation Audit Report
## Summary
- **Total Waves**: 4
- **Total Findings**: 137
- **Converged**: Yes
- **Convergence Ratio**: 4.2%
## Convergence Progress
Wave 1: ██████████████████████████████████████████████████ 120
Wave 2: ███████████████████████████ 65 (54.2% of Wave 1)
Wave 3: ████████ 18 (15.0% of Wave 1)
Wave 4: ██ 5 (4.2% of Wave 1)
Status: ✓ CONVERGED
Reason: Relative threshold met: 4.2% < 5.0%
## Findings by Category
### dependency-failures (42 findings)
- High: 15
- Medium: 20
- Low: 7
[... continues for all 6 categories ...]
Findings Format
Generates .silent-degradation-findings.json:
[
{
"id": "dep-001",
"category": "dependency-failures",
"severity": "high",
"file": "src/payments.py",
"line": 89,
"description": "Payment API failure silently falls back to mock",
"impact": "Production system using mock payments, no real charges",
"visibility": "None - no logs or metrics",
"recommendation": "Add explicit failure logging and metric, or
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- HOW_TO.md
- README.md
- category_agents/background-work.md
- category_agents/config-errors.md
- category_agents/dependency-failures.md
- category_agents/functional-stubs.md
- category_agents/operator-visibility.md
- category_agents/test-effectiveness.md
- exclusions-global.json
- recipe/audit-workflow.yaml
- tools/__init__.py
- tools/convergence_tracker.py
- tools/exclusion_manager.py
- tools/language_detector.py
- validation_panel/panel-spec.md
- validation_panel/voting-rules.md
FAQ
Что делает скилл silent-degradation-audit?
Production-ready skill for detecting silent degradation across codebases. Uses multi-wave audit system with 6 specialized category agents, multi-agent validation panel, and convergence detection.
Как установить скилл silent-degradation-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл silent-degradation-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…