- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
symfony:tdd-with-pest
by MakFly
Drive Symfony delivery with deterministic tests and strong regression protection. Use for tdd with pest tasks.
symfony:test-doubles-mocking
by MakFly
Drive Symfony delivery with deterministic tests and strong regression protection. Use for test doubles mocking tasks.
symfony:tdd-with-phpunit
by MakFly
Drive Symfony delivery with deterministic tests and strong regression protection. Use for tdd with phpunit tasks.
market-mechanics-betting
by lyndonkl
Use to convert probabilities into decisions (bet/pass/hedge) and optimize scoring. Invoke when need to calculate edge, size bets optimally (Kelly Criterion), extremize aggregated forecasts, or improve Brier scores. Use when user mentions betting strategy, Kelly, edge calculation, Brier score, extremizing, or translating belief into action.
prompt-enhancer
by sammcj
Knowledge for transforming poor or overly simple user prompts with expert-level framing. Triggers include: user explicitly asking to improve/refine/rewrite their prompt or user requesting help framing a request for another AI system.
refactor-for-determinism
by kasperjunge
Design or refactor skills by separating deterministic and non-deterministic steps. Use when creating or improving skills, especially to move repeatable workflows into scripts/ and update SKILL.md to call them.
TDD Cycle - Comprehensive Test-Driven Development
by anton-abyzov
Execute full TDD red-green-refactor cycle with validation gates. Use when saying "TDD cycle", "test-driven development", or "full TDD workflow".
harsh
by htlin222
complete a comprehensive and brutally honest critical review of your manuscript. The review identifies major methodological flaws and areas where the work falls short of publication standards for a high-impact clinical journal.
sc-improve
by htlin222
Apply systematic improvements to code quality, performance, and maintainability. Use when refactoring code, cleaning up technical debt, or optimizing performance.
asking-questions
by oaustegard
Guidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes.
code-refactoring
by baz-scm
The practice of restructuring and simplifying code continuously – reducing complexity, improving design, and keeping codebases clean.
team-collaboration
by baz-scm
Working effectively with others in coding projects – including code reviews, clear communication, and contributing to shared or open-source codebases.
code-readability
by baz-scm
Writing clean, understandable, and self-documenting code that is easy to review and maintain over time.
refactor
by AsiaOstrich
"[UDS] Guide refactoring decisions and strategy selection"
tdd
by AsiaOstrich
"[UDS] Guide through Test-Driven Development workflow"
customer-service-expert
by GitHamza0206
Expert guidance for improving customer service assistants. Use when optimizing UX, response time, tone, wording, conversation flow, or evaluating customer service quality.
review-clean-code
by Heyvhuang
'Analyze code quality based on "Clean Code" principles. Identify naming, function size, duplication, over-engineering, and magic number issues with severity ratings and refactoring suggestions. Use when the user requests code quality checks, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like code review, code quality, refactoring check.'
review-clean-code
by Heyvhuang
'Analyze code quality based on "Clean Code" principles. Identify naming, function size, duplication, over-engineering, and magic number issues with severity ratings and refactoring suggestions. Use when the user requests code quality checks, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like code review, code quality, refactoring check.'
skill-improver
by Heyvhuang
"Improve skills and workflows by analyzing run artifacts and execution logs (events.jsonl/state.json) under runs/ (or OpenSpec changes/). Use when you want to iterate on skills based on real runs: find failure modes, bottlenecks, unclear prompts, missing I/O contracts, and propose concrete edits."
ask-questions-if-underspecified
by thienanblog
Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
sc-refactor-review
by kylesnowschwartz
This skill SHOULD be used when the user asks to "review code", "find dead code", "check for duplication", "simplify the codebase", "find refactoring opportunities", "do code cleanup", "check naming consistency", "analyze test organization", "run codebase health check", "review my PR", "refactor this code", "extract method", "rename variable", "consolidate duplicates", "adversarial review", "red team review", "find ways to break this", "multi-model review", or "get multiple AI opinions on this code". Routes to specialized analysis agents, refactoring workflow, or multi-model adversarial review based on the type of request.
architecture-patterns
by HermeticOrmus
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.
tdd-cycle
by ThibautBaissac
Guides Test-Driven Development workflow with Red-Green-Refactor cycle. Use when the user wants to implement a feature using TDD, write tests first, follow test-driven practices, or mentions red-green-refactor.
kanban
by flpbalada
Visualize and optimize workflow with Kanban boards. Use when managing team