- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
tailored-resume-generator
by founderjourney
Analyze job postings and customize resumes to highlight relevant experience, skills, and achievements. Optimizes for ATS systems and interview success.
yc-sv-development-framework
by founderjourney
Decision-making framework for software development, Y Combinator / Silicon Valley style. Based on real principles from Paul Graham, Sam Altman, Michael Seibel, Patrick Collison, and Brian Chesky. Use when: - Developing features or products - Making technical decisions (what to do, how, when) - Prioritizing work (P0, P1, P2) - Evaluating whether to refactor or patch - Deciding on technical debt - Evaluating whether to add tests, CI/CD, or automation - Any architecture or engineering decision Triggers: development, code, feature, refactor, architecture, prioritize, technical decision, what to do first, technical debt, tests, CI/CD, sprint, backlog
refactoring-expert
by samhvw8
"Systematic code refactoring following Martin Fowler's catalog. Methodologies: characterization tests, Red-Green-Refactor, incremental transformation. Capabilities: SOLID compliance, DRY cleanup, code smell detection, complexity reduction, legacy modernization, design patterns, functional programming patterns. Actions: refactor, extract, inline, rename, move, simplify code. Keywords: refactor, SOLID, DRY, code smell, complexity, extract method, inline, rename, move, clean code, technical debt, legacy code, design pattern, characterization test, Red-Green-Refactor, functional programming, higher-order function, immutability, pure function, composition, currying, side effects. Use when: improving code quality, reducing technical debt, applying SOLID principles, fixing DRY violations, removing code smells, modernizing legacy code, applying design patterns."
tdd
by inkeep
Universal test-driven development methodology and test design craft. Background knowledge for writing behavior-focused tests, mocking strategy, vertical slicing, and tracer bullet execution. Auto-loaded when writing tests during implementation, review feedback, or standalone test authoring. Triggers: writing tests, test design, mocking strategy, test quality, behavior testing, integration testing, test-first, red-green-refactor.
referral-program
by aiaiohhh
"When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy. Also use when the user mentions 'referral,' 'affiliate,' 'ambassador,' 'word of mouth,' 'viral loop,' 'refer a friend,' or 'partner program.' This skill covers program design, incentive structure, and growth optimization."
complexity-analyzer
by CuriousLearner
Measure and report code complexity metrics with actionable recommendations.
refactor-assistant
by CuriousLearner
Automated code refactoring suggestions and implementation.
java-maven-helper
by CuriousLearner
Maven build system, dependency management, and Java project configuration assistance.
web-ui-design-guide
by muheun
Apply modern, professional web UI design principles when building any web UI component. Only execute this when the current project is a web project and involves UI-related work. Use this skill for UI tasks involving buttons, forms, cards, layouts, navigation, or any visual web component. Ensures clean minimal design, neutral color palettes with single accent color, 8px grid spacing, clear typography hierarchy, and subtle visual effects. Prevents common anti-patterns like rainbow gradients, tiny text, and inconsistent spacing.
python-design-modularity
by ahgraber
Use when designing module boundaries, planning refactors, or reviewing architecture in Python codebases. Also use when facing tangled dependencies, god classes, deep inheritance hierarchies, unclear ownership, or risky structural changes.
applying-solid-principles
by BenjaminG
This skill should be used when implementing code that requires SOLID principles and clean code practices. It provides detailed guidance on Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles with comparison examples in TypeScript.
bd-clean
by MichaelVessia
Review and consolidate beads issues
applying-effective-go
by MrPointer
"Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations."
writing-en
by vadirn
Writes and edits English text for clarity and concision. Removes nominalizations, passive voice, filler, and AI patterns. Use when writing documentation, README, commit messages, UI text, reports, emails, or when asked to simplify text, cut fluff, or check for plain language.
applying-architecture-patterns
by MrPointer
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when (1) designing new backend systems from scratch, (2) refactoring monolithic applications for better maintainability, (3) establishing architecture standards for a team, (4) migrating from tightly coupled to loosely coupled architectures, (5) implementing domain-driven design principles, (6) creating testable and mockable codebases, or (7) planning microservices decomposition.
trent-cleanup-panes
by trentshaines
Clean up tmux panes. Use when user wants to close/kill all other panes, clean up tmux window, or reset pane layout.
code-simplifier
by unix2dos
"代码简化与优化专家/代码简化。Use this agent when you need to simplify, optimize, refactor, or clean up code. This agent helps reduce complexity, improve readability, and ensure code follows best practices like YAGNI, KISS, and DRY principles. Supports two modes: analysis mode (provides simplification suggestions) and execution mode (directly modifies code). Works with any programming language. Examples: <example>Context: User wants to simplify complex code. user: \"这段代码太复杂了,帮我简化一下\" assistant: \"Let me analyze and simplify this code using the code-simplifier agent\" <commentary>Use code-simplifier to reduce complexity and improve readability.</commentary></example> <example>Context: User wants a code review for optimization opportunities. user: \"Review this function for optimization\" assistant: \"I'll use code-simplifier to identify optimization opportunities and suggest improvements\" <commentary>Code-simplifier can analyze and provide optimization recommendations.</commentary></example>"
TDD Skill
by vadirn
Mock at system boundaries only: external APIs, databases, time, filesystem. Keep mocks out of your own code. See mocking.md for details.
clean-permissions
by MichaelVessia
Clean up Claude Code permissions allowlist
magento-performance-analyst
by maxnorm
Conducts comprehensive Magento 2 performance analysis and optimization. Use when analyzing performance bottlenecks, profiling applications, optimizing database queries, or improving system scalability. Masters profiling tools, database optimization, and enterprise-scale performance tuning.
magento-requirejs-specialist
by maxnorm
Develops AMD modules using RequireJS for Magento 2. Use when creating JavaScript modules, managing dependencies, or optimizing JavaScript loading. Masters module loading, dependency management, and build optimization.
cobrapy
by tondevrel
Constraints-Based Reconstruction and Analysis for Python. Used for modeling large-scale metabolic networks in microorganisms.
ase
by tondevrel
Atomic Simulation Environment - a set of tools for setting up, manipulating, running, visualizing, and analyzing atomistic simulations. Acts as a universal interface between Python and numerous quantum chemical and molecular dynamics codes. Use for building atomic structures, geometry optimization, molecular dynamics simulations, transition state searches (NEB), file format conversion (CIF, XYZ, POSCAR, PDB), electronic property calculations (DOS, band structures), and automating simulation workflows with DFT/MD codes like VASP, GPAW, Quantum ESPRESSO, LAMMPS.
magento-environment-engineer
by maxnorm
Manages Magento 2 environments including development, staging, and production. Use when setting up environments, configuring servers, managing environments, or troubleshooting environment issues. Masters environment configuration, server management, and environment optimization.