- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
clean-code-principles
by hakenshi
Comprehensive guide to Clean Code, SOLID principles, Design Patterns (GoF), GRASP, DDD, Clean Architecture, Code Smells, Refactoring techniques, and best practices from classic software engineering books. Use when writing, reviewing, or refactoring code; designing architectures; performing code reviews; or learning software engineering principles.
token-saver
by RubenAQuispe
"Token optimization dashboard with two sections - (1) Workspace file compression for ALL .md files in context, (2) AI model audit that detects current models and suggests cheaper alternatives. Shows \"possible savings\" until optimizations are applied. Triggers on \"optimize tokens\", \"reduce AI costs\", \"model audit\", \"save money on AI\"."
docs-simplify
by huguangju
Simplify technical/product documentation without changing meaning, keeping structure and key terms intact
slop-remover
by victor-teles
Remove AI-generated code slop and clean up code style
test-driven-development
by straub
Enforce Test-Driven Development (TDD) workflow for all code changes. Apply PROACTIVELY by default using Red-Green-Refactor cycles for features, bug fixes, and refactoring.
quick-refactor
by xuesongjun
重构助手 - 优化代码、降低复杂度、提高可维护性
test-driven-development
by ederheisler
Use when implementing any feature or bugfix, before writing implementation code
Creative Juices
by yudame
Provides creative thinking prompts using concrete metaphors, dramatic scenarios, and strategic frameworks. Use when the user needs inspiration, is stuck on a problem, or wants to validate ideas from first principles.
refactor
by aleister1102
Use when refactoring existing code to improve readability, maintainability, and structure (rename/extract/inline, reduce complexity, remove duplication, improve type safety) while preserving external behavior and public APIs.
git
by Alicoder001
Conventional Commits standard for consistent commit messages. Use when committing code, reviewing commit history, or setting up git workflows. Includes commit types, scopes, and breaking change format.
karpathy-guidelines
by js9s1
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
agent-orchestration-multi-agent-optimize
by ncdevshiv
"Optimize multi-agent systems with coordinated profiling, workload distribution, and cost-aware orchestration. Use when improving agent performance, throughput, or reliability."
code-fix
by ryoshimm
code-review の指摘に基づき、コードのリファクタリング・共通化・改善を実施する。
clean-code-principles
by AJ-comp
Enforce clean code principles when writing or reviewing code. Use when writing new functions, refactoring existing code, or reviewing code for readability and maintainability. Covers guard clauses, modularization, naming conventions, and more.
refine_plan
by HowardKao-1130
Refine the research plan until readiness criteria are met.
git-worktree-feature-flow
by alessandrobologna
Create a feature branch in a Git worktree, work independently, then merge back and clean up safely.
test-driven-development
by hrdtbs
Guidelines and procedures for Test-Driven Development (TDD). Use this when writing new features, fixing bugs, or refactoring code.
tdd
by pmco23
Apply when asked to enforce TDD, practice test-driven development, write test first, or follow Red-Green-Refactor. Enforces the Iron Law — no production code without a failing test first. Covers the full Red-Green-Refactor cycle, when TDD applies, and valid exceptions.
aeo-escalation
by ivzc07
Human-AI interface for when to interrupt and involve humans. Presents clear options and records decisions.
jb-bgproc
by bjesuiter
Manage and inspect background processes for agents using the bgproc CLI. Use when asked to start, stop, list, clean, check status, or view logs for bgproc-managed processes, or when a task needs a JSON-outputting process manager.
refactor-pass
by carsten-j
Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build to verify behavior.
validate-starter-scripts
by karchtho
validation audit quality check startup initialization integrity
stage-plan
by cxyliuy
Convert vague or high-level requests into a concrete engineering plan with goals, constraints, steps, success criteria, and validation. Stop and wait for human confirmation.
refactor-archeology
by ShotaIuchi
Code history and rationale investigation for refactoring. Apply when researching git blame, commit history, code comments, hidden constraints, and historical design decisions.