Skill · Coding & Git
Simplify
Review changed code for reuse opportunities, quality issues, and efficiency improvements, then fix any issues found. Use after writing or modifying code to ensure it's clean, DRY, and follows project conventions.
Core
Markdown only · quarantined draft
Local 14B+
MIT
simplifycoding
How to use
Pure Markdown procedure — zero executable code bundled. Inspect the full source below, then drop it into your Prometheus skills directory (or promote it from SkillDraftStore once oara hub install ships).
Install
# Copy-in path on your Prometheus host: mkdir -p ~/.prometheus/skills/simplify # Save the raw SKILL.md below as ~/.prometheus/skills/simplify/SKILL.md # Upcoming CLI command: oara hub install skills/simplify
Honest disclosures
- Pure Markdown instructions — zero executable code bundled.
- Lands quarantined in SkillDraftStore until explicitly promoted by the operator.
Inspect raw source (skills/simplify/SKILL.md)
--- name: simplify description: Review changed code for reuse opportunities, quality issues, and efficiency improvements, then fix any issues found. Use after writing or modifying code to ensure it's clean, DRY, and follows project conventions. license: MIT tier: tool_search --- <!-- Provenance: https://github.com/OAraLabs/Prometheus | src/reference_data/subsystems/skills.json (simplify.ts reference) | MIT | Pinned: 673eb39a29f19ae03587265bb4aa7e4491fd77d3 --> # Simplify Review recently changed code for quality, then fix issues. ## Triggers - "simplify this code" - "clean up what I just wrote" - "review for quality" - "make this DRY" ## When to Use - After completing a feature implementation - When code feels overly complex or repetitive - Before committing, as a self-review step - When asked to improve code quality ## Steps 1. **Identify changed files**: Use `git diff` to find recently modified files 2. **Review for issues**: - **Reuse**: Are there duplicated patterns that could be extracted? - **Complexity**: Can any logic be simplified without losing clarity? - **Naming**: Are variables and functions named clearly? - **Dead code**: Is there unused code that should be removed? - **Consistency**: Does the code follow existing project patterns? 3. **Fix issues found**: Apply improvements directly - Prefer small, targeted fixes over sweeping refactors - Don't change code that works fine just for style - Don't add abstractions for single-use patterns 4. **Verify**: Ensure changes don't break functionality ## Principles - Less code is usually better code - Don't add complexity to remove complexity - If the fix is bigger than the problem, skip it - Three similar lines are better than a premature abstraction ## Output - List of issues found (with file:line references) - Fixes applied - Any issues deferred (too risky or out of scope)