重构
代码重组与优化
git
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
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.
code-fix
ryoshimm
code-review の指摘に基づき、コードのリファクタリング・共通化・改善を実施する。
clean-code-principles
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
HowardKao-1130
Refine the research plan until readiness criteria are met.
git-worktree-feature-flow
alessandrobologna
Create a feature branch in a Git worktree, work independently, then merge back and clean up safely.
test-driven-development
hrdtbs
Guidelines and procedures for Test-Driven Development (TDD). Use this when writing new features, fixing bugs, or refactoring code.
tdd
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
ivzc07
Human-AI interface for when to interrupt and involve humans. Presents clear options and records decisions.
jb-bgproc
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
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
karchtho
validation audit quality check startup initialization integrity
stage-plan
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
ShotaIuchi
Code history and rationale investigation for refactoring. Apply when researching git blame, commit history, code comments, hidden constraints, and historical design decisions.
iterate-skill
maxoreric
迭代改进 Skill 的 Skill。当评价不通过或需要优化时触发。触发词:迭代、改进、优化、iterate、improve。
speed-loop
toomingos
"Systematically optimizes a data processing flow through iterative speed loops. Use when the user wants to improve performance of a data pipeline, query, or processing endpoint. Invoke with the flow to optimize: /speed-loop path/to/file or /speed-loop describe the flow"
safe-refactor-guard
Envy-7z
Enforce ultra-safe refactoring rules to prevent architecture changes, over-engineering, or unintended side effects.
karpathy-guidelines
multica-ai
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.
context-ios
ShotaIuchi
iOS development context. Apply when working with .swift files, Xcode project, SwiftUI views, async/await, Combine, MVVM patterns.
mode-awareness
jamelna-apps
When explicitly switching modes or when mode detection shows low confidence. Provides guidance on optimal approach for each detected mode (debugging, performance, feature, refactor, exploration, infrastructure).
refactor
mguinada
"TDD-based code simplification that preserves behavior through tests. Use Red-Green-Refactor cycles to simplify code one test-verified change at a time. DISTINCT FROM: General code review or AI rewriting—this skill requires existing tests and only proceeds when tests confirm behavior is preserved. PROACTIVE: Auto-invoke when test-covered code has complexity (functions >50 lines, high cyclomatic complexity, duplication) and user wants to simplify it safely. Trigger phrases: 'clean up code', 'make code simpler', 'reduce complexity', 'refactoring help'. NOT FOR: Adding features or fixing bugs—use /tdd skill instead."
full-output-enforcement
paulbryantbaker-art
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
interactive-task
AgustinAlbonico
Aclarar y ejecutar tareas de desarrollo no-bug (agregar, cambiar, refactorizar, configurar, optimizar) con preguntas adaptativas via question (opciones + respuesta libre). Usar cuando el pedido llega incompleto o ambiguo y se necesita definir alcance rapido.
cleanup
hrdtbs
Investigate and remove unused code, files, and dependencies to keep the codebase clean and maintainable. Use this when you want to "remove unused code", "clean up dependencies", "find dead code", or "optimize project size".