- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
performance-profiling
by xenitV1
Performance profiling principles. Measurement, analysis, and optimization techniques.
tdd-workflow
by xenitV1
Test-Driven Development workflow principles. RED-GREEN-REFACTOR cycle.
refactor-roadmap
by proflead
Create a staged refactor plan for a module. Use when a mid-level developer needs a safe refactor path.
video-transcript-downloader
by jMerta
Download videos, audio, subtitles, and clean paragraph-style transcripts from YouTube and any other yt-dlp supported site. Use when asked to “download this video”, “save this clip”, “rip audio”, “get subtitles”, “get transcript”, or to troubleshoot yt-dlp/ffmpeg and formats/playlists.
rebase-assistant
by jMerta
Guide a safe git rebase of the current branch onto a target branch, including conflict triage and resolution steps. Use when asked to rebase, update a branch, or resolve rebase conflicts.
debugging
by axiomantic
"Use when debugging bugs, test failures, or unexpected behavior. Triggers: 'why isn't this working', 'this doesn't work', 'X is broken', 'something's wrong', 'getting an error', 'exception in', 'stopped working', 'regression', 'crash', 'hang', 'flaky test', 'intermittent failure', or when user pastes a stack trace/error output. NOT for: test quality issues (use fixing-tests), adding new behavior (use implementing-features)."
readme-polish
by proflead
Improve a README for clarity and completeness. Use when a junior developer needs guidance on documenting setup and usage.
docs-generator
by Montimage
Restructure project documentation for clarity and accessibility. Use when users ask to "organize docs", "generate documentation", "improve doc structure", "restructure README", or need to reorganize scattered documentation into a coherent structure. Analyzes project type and creates appropriate documentation hierarchy.
clean-code
by ratacat
Use when writing, reviewing, or refactoring code. Apply when naming variables or functions, structuring classes, handling errors, writing tests, or when code feels complex or hard to understand. Based on Robert C. Martin's Clean Code.
java-performance
by pluginagentmarketplace
JVM performance tuning - GC optimization, profiling, memory analysis, benchmarking
simple-refactor
by proflead
Suggest small refactors that improve readability without changing behavior. Use when a junior developer asks to clean up code.
grey-haven-tdd-python
by greyhaven-ai
"Python Test-Driven Development expertise with pytest, strict red-green-refactor methodology, FastAPI testing patterns, and Pydantic model testing. Use when implementing Python features with TDD, writing pytest tests, testing FastAPI endpoints, developing with test-first approach, or when user mentions 'Python TDD', 'pytest', 'FastAPI testing', 'red-green-refactor', 'Python unit tests', 'test-driven Python', or 'Python test coverage'."
magento-index-analyst
by maxnorm
Optimizes Magento 2 indexing for search performance and database efficiency. Use when optimizing search performance, configuring Elasticsearch, designing database indexes, or improving reindexing strategies. Masters indexer optimization, Elasticsearch configuration, and database indexing.
magento-cache-analyst
by maxnorm
Optimizes Magento 2 caching strategies for enterprise performance. Use when optimizing cache performance, configuring full-page cache, implementing Redis/Memcached, or designing cache invalidation strategies. Masters FPC, application cache, and distributed caching solutions.
commits-auto
by Takazudo
Enable automatic committing mode. From now on, commit changes automatically without asking for permission during development. Use when: (1) User says 'commits auto', 'auto commit', 'commit automatically', (2) User wants hands-off development where commits happen as work progresses.
prd-writer
by breethomas
Full 5-stage PRD framework for complex features. Use for deep PRD work via /spec --deep full-prd. For quick feature specs, use /spec --feature instead.
beautiful-prose
by SHADOWPR0
A hard-edged writing style contract for timeless, forceful English prose without modern AI tics. Use when users ask for prose or rewrites that must be clean, exact, concrete, and free of AI cadence, filler, or therapeutic tone.
tdd-methodology-expert
by rawveg
Use proactively when you need to implement features or fix bugs using strict Test-Driven Development (TDD) methodology. This agent should be activated for any coding task that requires writing new functionality, refactoring existing code, or ensuring comprehensive test coverage, but should not be used for any design-related tasks. The agent excels at breaking down complex requirements into testable increments and maintaining high code quality through disciplined TDD cycles. Use this agent proactively or if the user mentions 'TDD', 'tdd' or 'Test Driven Development'.
rewrite-history
by doodledood
'Rewrite branch into clean, narrative-quality commits. Creates backup, reimplements on fresh branch, verifies byte-identical, then replaces original branch history.'
clean-slop
by doodledood
Find and remove AI-generated slop (useless comments, verbose patterns, unnecessary abstractions).
auto-optimize-prompt
by doodledood
'Iteratively auto-optimize a prompt until no issues remain. Uses prompt-reviewer in a loop, asks user for ambiguities, applies fixes via prompt-engineering skill. Runs until converged.'
bgproc
by ascorbic
Manage background processes like dev servers. Use when you need to start, stop, or check status of long-running processes.
view-refactor
by patrickserrano
Refactor SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view's layout, handle view models safely, or standardize how dependencies are initialized and passed.
testing
by sebnow
"Use when implementing automated tests. Enforces empirical testing, test pyramid, TDD practices, concurrent testing. Triggers: writing tests, test planning, implementing test cases, TDD, race conditions."