- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
performance-profiling
by timequity
Identify performance bottlenecks systematically. Measure before optimizing.
test-driven-development
by timequity
Write failing test first, then minimal code to pass. Red-Green-Refactor cycle. Use when: implementing features, fixing bugs, refactoring code. Triggers: "implement", "add feature", "fix bug", "tdd", "test first", "write tests", "test-driven".
refactor
by thoreinstein
Analyze code and suggest refactoring opportunities with blast radius assessment, risk evaluation, and recommended order of operations
spec-refactor
by weegigs
Refactor specification workflow. Use when planning refactoring work to document current state, target state, and compatibility requirements.
test-driven-development
by liauw-media
"Use when adding features or fixing bugs. Follow RED/GREEN/REFACTOR cycle. Write failing test first, implement minimal code to pass, then refactor."
refactordjango
by agusabas
Refactor Django/Python code to improve maintainability, readability, and adherence to best practices. Transforms fat views into Clean Architecture with Use Cases and Services. Applies SOLID principles, Clean Code patterns, Python 3.12+ features like type parameter syntax and @override decorator, Django 5+ patterns like GeneratedField and async views. Fixes N+1 queries, extracts business logic from views, separates Read/Write serializers, and converts exception-based error handling to explicit return values. Use when refactoring Django code, applying Clean Architecture, or modernizing legacy Django projects.
spec
by weegigs
Prepare any work for execution planning. Routes to work-type specific workflow.
compiler-performance
by marius-townhouse
Use when build times are slow. Use when optimizing TypeScript projects. Use when configuring project references. Use when dealing with large codebases. Use when improving IDE responsiveness.
module-augmentation
by marius-townhouse
Use when extending third-party types. Use when adding properties to existing interfaces. Use when plugins extend core types. Use when declaration merging is needed. Use when augmenting global types.
test-driven-development
by trancong12102
"Guides strict Test-Driven Development (TDD) using the Red-Green-Refactor cycle. Ensures no production code is written without a prior failing test. Use this skill when implementing new features, fixing bugs, or refactoring code to ensure high test coverage and design quality. Triggers on phrases like 'TDD', 'write tests first', 'test-driven', 'red-green-refactor', 'watch it fail', 'test first', or 'behavior driven'."
test-driven-development
by HJewkes
Use when implementing any feature or bugfix, before writing implementation code
web-performance
by 1Mangesh1
Web and frontend performance optimization. Use when user asks to "optimize performance", "improve loading time", "lazy loading", "code splitting", "bundle size", "Core Web Vitals", "image optimization", "CSS/JS minification", "caching strategies", "performance profiling", or mentions web performance and user experience metrics.
code-simplify
by HJewkes
Simplify and refine code for clarity, consistency, and maintainability. Use after writing or modifying code to clean it up while preserving all functionality.
docs-maker
by alpoxdev
Create and refactor AI-readable structured documentation for any domain, optimized for fast parsing, recall, and reliable execution.
humanizer
by 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.
self-improve
by HJewkes
Use when a session produced reusable insights, when the user says "learn from this", "remember this", or "improve yourself", or after completing a complex task where patterns were discovered
data-formatter
by dgriffin831
Format data for display
unslop
by HugoRCD
Remove AI-generated "slop" from codebases by deleting redundant comments and unused code, tightening formatting, and normalizing styling patterns (e.g., Tailwind class consistency, Nuxt UI color tokens). Use when a user asks to clean up code, remove unnecessary comments, reduce unused imports/variables, or align Tailwind/Nuxt UI conventions.
finishing-a-development-branch
by 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
frontend-design-extractor
by Xsir0
"Extract reusable UI/UX design systems from frontend codebases: design tokens, global styles, components, interaction patterns, and page templates. Use when analyzing any frontend repo (React/Vue/Angular/Next/Vite/etc.) to document or migrate UI/UX for reuse across projects. Focus on UI/UX only; explicitly ignore business logic and domain workflows."
text-processor
by dgriffin831
Process and clean text content
Maintenancepm
by robdtaylor
Preventive maintenance schedules for MNMUK machine shop equipment. Covers DMG MORI, CITIZEN, MITSUBISHI EDM, Haas, and support equipment. USE WHEN user asks 'PM schedule', 'maintenance', 'service due', 'machine maintenance', 'what maintenance', or 'TPM checklist'.
Pandas Data Analysis
by pluginagentmarketplace
Master data manipulation, analysis, and visualization with Pandas, NumPy, and Matplotlib
cost-optimization
by QuestForTech-Investments
Optimize cloud costs through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.