Refactorització
Reestructuració i optimització del codi
humanizer
HJewkes
Use when writing or editing text intended for other humans — READMEs, emails, Slack messages, commit messages, documentation, PR descriptions. Cleans AI-generated text patterns and applies context-appropriate tone.
finishing-a-development-branch
HJewkes
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
simplify-code
magnusthovsland
"Parallel 3-agent cleanup of recent code changes."
testing-strategy
block
Guidelines for writing effective tests in this project
matt-pocock
ajoslin
Routes software work through Matt Pocock planning and execution philosophy. Use when the user mentions Matt Pocock, PRD-first planning, PRD-to-issues decomposition, vertical slices, Ralph loop, behavior-first TDD, interface options, or refactor planning.
tdd
fellipeutaka
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
docs-maker
alpoxdev
Create and refactor AI-readable structured documentation for any domain, optimized for fast parsing, recall, and reliable execution.
refactor-assistant
AIDotNet
智能代码重构,提供设计模式建议、代码异味检测和保持行为不变的安全转换策略。
image-enhancer
evolving-machines-lab
Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.
beautiful-prose
EricGrill
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-workflow
peopleforrester
Test-driven development workflow for implementing new features and fixing bugs. Use when the user mentions TDD, "write tests first", "red-green-refactor", or when implementing features that need comprehensive test coverage.
prd-writer
alunadev
Expert PRD (Product Requirements Document) writer for the AI era. Use when users want to create PRDs, spec documents, product specifications, feature specs, or technical requirements documents. Also use when users ask to review/improve existing PRDs, want PRD templates, need guidance on product documentation, or mention writing product specs. Handles both traditional and AI-specific product features with emphasis on decision-making over documentation.
refactoring-guide
peopleforrester
Safe refactoring patterns and techniques. Use when the user wants to improve code structure, reduce duplication, or make code more maintainable without changing behavior. Emphasizes incremental changes with test coverage.
improve-architecture
bakabala27-svg
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick. Use this to refactor or restructure existing code.
customer-journey-map
alunadev
"Maps the end-to-end customer experience from awareness to advocacy — touchpoints, emotions, friction points, and improvement opportunities per stage. Use when identifying drop-off points, improving onboarding, or understanding the full user lifecycle. Triggers on: customer journey, user journey, journey map, touchpoints, onboarding experience, funnel analysis, churn points, aha moment, drop-off, user lifecycle."
gemini-watermark-remove
kevintsai1202
移除 Google Gemini(Nano Banana)生成圖片中的浮水印,使用逆向 Alpha 混合演算法精確還原被覆蓋的像素
classname-refactor
forge-town
自动检查并转换 React/Vue 文件中 className 的模板字符串为 cn 函数调用;支持递归扫描文件夹、详细报告所有 className 位置
building-apple-platform-products
kylehughes
Builds, tests, and archives Swift packages and Xcode projects for Apple platforms. Use when running xcodebuild, swift build, or swift test commands, discovering schemes and targets, or selecting simulator destinations for iOS, macOS, tvOS, watchOS, or visionOS.
clean-code
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.
architecture-patterns
ovachiever
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.
orchestrate-subagents
shhac
Activate orchestrator mode for complex multi-task work using subagents. Use when you need to coordinate multiple independent Task subagents to accomplish work while keeping the main context window clean.
clean-code-reviewer
hylarucoder
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 review, quality check, refactoring advice, Clean Code analysis, code smell detection, or mentions terms like 代码体检, 代码质量, 重构检查.
role-algorithms:graph-algorithms
rnavarych
Implements graph algorithms — BFS/DFS traversal, shortest paths (Dijkstra, Bellman-Ford, Floyd-Warshall, A*, Johnson's), minimum spanning trees (Kruskal, Prim), topological sort, strongly connected components (Tarjan, Kosaraju), maximum flow (Ford-Fulkerson, Dinic), and bipartite matching (Hopcroft-Karp, Hungarian). Use when solving traversal, shortest path, network flow, connectivity, or scheduling problems.
promptify
tolibear
Optimize prompts for clarity and effectiveness. Use when user says "improve this prompt", "optimize my prompt", "make this clearer", or provides vague/unstructured prompts. Intelligently routes to sub-agents for codebase research, clarifying questions, or web search as needed.