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