plugins/core/skills/instruction-hygiene/SKILL.md
Audit and trim Claude Code instruction setups that have grown bloated over time. Use when outputs feel worse, rules have accreted across CLAUDE.md/skills/context files, or you want a recurring setup hygiene check.
npx skillsauth add rbozydar/rbw-claude-code instruction-hygieneInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<essential_principles>
Instruction rot rarely lives only in CLAUDE.md. Check all active instruction sources you can access:
CLAUDE.mdCLAUDE.md filesFor each instruction, ask:
Rules that fail any filter are candidates for removal or rewrite.
A short, specific setup beats a long defensive one. Keep durable constraints, project facts, and non-obvious workflows. Cut vague style rules, generic quality advice, duplicated reminders, and stale one-off patches.
Do not silently rewrite instruction systems. First produce:
Then let the user review before destructive edits.
After trimming, test the leaner setup on the user's 3 most common tasks. If outputs stay the same or improve, leave the deleted rules out. If one specific behavior regresses, add back only the minimum rule that restores it.
Instruction creep comes back. When useful, generate a reusable prompt or scheduled task so the setup gets re-audited regularly. </essential_principles>
<intake> What would you like to do?Wait for the user's choice before proceeding. </intake>
<routing> | Response | Workflow | |----------|----------| | 1, "audit", "inspect", "review" | `workflows/run-setup-audit.md` | | 2, "trim", "clean", "refactor", "rewrite" | `workflows/trim-and-validate.md` | | 3, "schedule", "recurring", "weekly", "automation" | `workflows/schedule-recurring-audit.md` |After reading the workflow, follow it exactly. </routing>
<reference_index>
references/five-filters.md - The five audit filters and how to apply them consistentlytemplates/weekly-audit-prompt.md - Reusable recurring audit prompt
</reference_index><workflows_index>
workflows/run-setup-audit.md - Inspect the full setup and produce an audit reportworkflows/trim-and-validate.md - Draft a leaner setup, then validate it on common tasksworkflows/schedule-recurring-audit.md - Create a reusable or scheduled recurring hygiene audit
</workflows_index><success_criteria> Instruction hygiene work is complete when:
development
This skill should be loaded when writing, reviewing, or refactoring Python code to apply strict coding standards directly in the current context without spawning a subagent. It provides comprehensive Python development standards covering SOLID principles, asyncio patterns, type hints, testing, and production-quality code.
tools
This skill should be used when invoking the Gemini CLI for code review, plan review, or any prompt-based task. It provides correct invocation patterns emphasizing stdin piping and @ syntax over shell variable gymnastics.
development
Use this skill when writing, reviewing, or debugging Quickshell configurations (QML files for desktop shell UI on Wayland/Hyprland). Triggers on: QML files with Quickshell imports, shell.qml entry points, PanelWindow or FloatingWindow usage, Quickshell service integration (PipeWire, MPRIS, notifications, Hyprland IPC), Wayland layer-shell or session-lock code, custom bar/panel/widget/dock/OSD/lockscreen/launcher development, or any question about building a desktop shell with Quickshell on Hyprland.
development
This skill should be used when thorough, multi-perspective research with citations is needed. It performs comprehensive research using a diffusion research loop with domain specialization, supporting general web research and specialized domains (geopolitical with GDELT). Auto-detects domain from query or accepts an explicit --domain flag.