aggregate-logs
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Audit codebase for AI-generated code quality issues (vibe coding, Tab bloat, slop)
> /plugin marketplace add athola/claude-night-marketHow it fires
How this command gets triggered: by you, by Claude, or both.
/ai-hygiene-auditContext preview
What this command does when you run it.
Audit codebase for AI-generated code quality issues (vibe coding, Tab bloat, slop)
name: ai-hygiene-audit description: Audit codebase for AI-generated code quality issues (vibe coding, Tab bloat, slop) usage: /ai-hygiene-audit [--focus git|duplication|tests|docs] [--report FILE] [--threshold SCORE]
Detect AI-specific code quality issues that traditional bloat detection misses.
Use this command when you need to:
AI coding creates different problems than human coding:
# Full AI hygiene audit /ai-hygiene-audit # Focus on specific area /ai-hygiene-audit --focus git # Git history patterns /ai-hygiene-audit --focus duplication # Tab-completion bloat /ai-hygiene-audit --focus tests # Happy-path-only detection /ai-hygiene-audit --focus docs # Documentation slop /ai-hygiene-audit --focus code-debt # Code-level AI debt signals # Generate report file /ai-hygiene-audit --report ai-hygiene-report.md # Set pass/fail threshold (0-100) /ai-hygiene-audit --threshold 70
| Option | Description | Default | |--------|-------------|---------| | `--focus <area>` | Limit to: `git`, `duplication`, `tests`, `docs`, `deps`, `code-debt` | all | | `--report <file>` | Save detailed report to file | stdout | | `--threshold <score>` | Fail if hygiene score below threshold | none | | `--json` | Output structured JSON for CI integration | false |
Detection uses built-in `detect_duplicates.py` script (no external dependencies):
python3 plugins/conserve/scripts/detect_duplicates.py . --min-lines 5 python3 plugins/conserve/scripts/detect_duplicates.py . --format json --threshold 15
See the ai-hygiene-auditor agent for thresholds and false-positive exclusions.
=== AI Hygiene Audit === Score: 62/100 (MODERATE CONCERN) FINDINGS: [HIGH] Tab-Completion Bloat src/handlers/*.py: 4 near-identical classes Recommendation: Extract to shared base class Impact: ~2,400 duplicate tokens [HIGH] Happy Path Tests tests/test_api.py: 0 error assertions in 847 lines Recommendation: Add pytest.raises tests [MEDIUM] Refactoring Deficit 2.3% of commits mention refactoring (target: >10%) Recommendation: Add refactoring to sprint goals [LOW] Documentation Slop docs/api.md: 23 hedge phrases per 1000 words Recommendation: Rewrite with concrete specifics NEXT STEPS: 1. /unbloat --focus duplication 2. Add error tests before new features 3. Review massive commits for understanding gaps
# GitHub Actions example
- name: AI Hygiene Check
run: |
claude "/ai-hygiene-audit --threshold 60 --json" > hygiene.json
if [ $(jq '.score' hygiene.json) -lt 60 ]; then
echo "AI hygiene score below threshold"
exit 1
fi| Command | Focus | Use Case | |---------|-------|----------| | `/bloat-scan` | Dead/unused code | Find DELETE candidates | | `/ai-hygiene-audit` | AI-specific issues | Find REFACTOR candidates | | `/unbloat` | Remediation | Fix findings from both |
**Workflow:**
/bloat-scan --level 2 # Traditional bloat /ai-hygiene-audit # AI-specific issues /unbloat # Address both
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure.