Code Practices Plugin

Code Practices Plugin from rahulsub/code-practices-plugin.

by @rahulsub 11 skills

Skills in this plugin

11
  1. Cleanup · rahulsub
    Systematic code cleanup after completing features. Use after refactoring or periodically to remove dead code, console statements, TODOs, and tech debt.
    1 install
  2. Simplify · rahulsub
    Remove over-engineering and unnecessary abstractions. Use after implementing features or when code feels bloated.
    1 install
  3. Tradeoffs · rahulsub
    Present multiple approaches with explicit tradeoffs before committing to one. Use when there are multiple valid solutions to a problem.
    1 install
  4. Test First · rahulsub
    Write failing tests before implementation. Enables LLM self-correction through feedback loops. Use for new features and bug fixes.
    1 install
  5. Code Review · rahulsub
    Review code like a skeptical senior engineer. Use when reviewing PRs, after generating significant code, or before merging changes.
    1 install
  6. Goal Driven · rahulsub
    Define success criteria instead of step-by-step instructions. Enables autonomous LLM iteration toward testable goals.
    1 install
  7. Visual Iteration · rahulsub
    UI feedback loop using screenshots. Provide design mock, implement, screenshot result, iterate until matching. Use for visual work.
    1 install
  8. Explore Plan Code · rahulsub
    Structured workflow for non-trivial tasks. Read files first, create detailed plan, get approval, then implement. Prevents premature coding.
    1 install
  9. Context Management · rahulsub
    Manage Claude Code sessions effectively. Use during long sessions, multi-step tasks, or when responses start degrading. Covers /clear, checklists, and subagents.
    1 install
  10. Naive Then Optimize · rahulsub
    Implement the obvious correct solution first, then optimize while preserving correctness. Use for algorithms, data transformations, and critical code paths.
    1 install
  11. Surface Assumptions · rahulsub
    Identify and validate hidden assumptions before they become bugs. Use before implementing features or when reviewing generated code.
    1 install