Refactoring

Code restructuring and optimization

Showing 625-648 of 909 skills
vnord

code-principles

by vnord

General coding principles—explicit over implicit, separation of concerns, purity, composability

Refactoring 1 5mo ago
tankpkg

@tank/clean-code

by tankpkg

Reusable, modular, performant, readable code — guided by KISS, SOLID, and pragmatic design. Covers code smell detection, refactoring recipes, function design, KISS/YAGNI decision frameworks, modularity (coupling, cohesion, boundaries), performance-aware patterns, and readability through cognitive load management. Synthesizes Martin (Clean Code), Ousterhout (A Philosophy of Software Design), Fowler (Refactoring), Metz (Practical OOD), Hickey (Simple Made Easy), Beck (Implementation Patterns), grugbrain.dev. Trigger phrases: "clean code", "refactor", "code smell", "code review", "code quality", "KISS", "keep it simple", "SOLID", "single responsibility", "DRY", "YAGNI", "over-engineered", "too complex", "simplify", "modularity", "coupling", "cohesion", "dependency", "reusable", "modular", "performance", "readability", "cognitive load", "naming", "function design", "extract method", "technical debt", "maintainability", "is this too abstract", "should I abstract", "N+1", "data structure"

Performance 1 4mo ago
corygabrielsen

loop-codex-review

by corygabrielsen

Automated code review loop with progressive reasoning levels. Runs n parallel Codex reviews (configurable via -n), Claude addresses issues, climbs from low→xhigh reasoning until fixed point (all n clean). Human approval at each iteration.

Code Review 1 5mo ago
dmonteroh

refactor-clean

by dmonteroh

"Provides an incremental, test-first refactoring workflow for reducing complexity or duplication while keeping behavior stable, best used during technical-debt cleanup or design improvement."

Automation 1 5mo ago
tankpkg

@tank/tdd-workflow

by tankpkg

"Test-Driven Development: RED-GREEN-REFACTOR cycle, three laws of TDD, test-first patterns, and practical workflows. Covers test doubles, testing pyramids, property-based testing, and mutation testing. Triggers: TDD, test-driven development, red green refactor, test first, unit test, failing test, test double, mock, stub, spy, test pyramid, property-based testing, mutation testing, test coverage, testing strategy, write tests."

Refactoring 1 4mo ago
dmonteroh

git-workflow

by dmonteroh

"Master Git workflows for teams: clean PRs, rebasing/merging, conflict resolution, cherry-picks, safe force-push, bisect, worktrees, and recovery via reflog. Includes playbooks + safe scripts for diagnosing and fixing common Git problems."

Code Review 1 5mo ago
corygabrielsen

debrief

by corygabrielsen

Reconstruct context and present next steps when a user returns to a conversation after a break. Synthesizes status into scannable summaries with actionable options.

API Dev 1 5mo ago
atalovesyou

architecture-patterns

by atalovesyou

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.

Email 4 6mo ago
EngineerWithAI

architecture-patterns

by EngineerWithAI

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.

Email 4 9mo ago
EngineerWithAI

cost-optimization

by EngineerWithAI

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.

Cloud 4 9mo ago
pluginagentmarketplace

adversarial-training

by pluginagentmarketplace

Defensive techniques using adversarial examples to improve model robustness and security

ML Ops 3 6mo ago
monkey1sai

claude-agent-code-simplifier-code-simplifier

by monkey1sai

Converted from Claude plugin agent "code-simplifier" (code-simplifier).

Agents 2 5mo ago
gravito-framework

performance-tuner

by gravito-framework

Specialized in speed and resource optimization for Gravito. Trigger this for query profiling, caching strategies, or frontend performance audits.

Database 2 6mo ago
Mr0bean

coverage-gated-refactor

by Mr0bean

"Drive full-project modular refactors with a strict pipeline: prioritize splitting oversized files, enumerate candidates for user scope selection, raise per-module test coverage to at least 90 percent with verified runnable tests, refactor frontend and backend in slices with immediate regression checks, update related documentation, and finish only when all selected modules plus historical tests pass."

Agents 2 5mo ago
lambda610

prompt-optimizer

by lambda610

"AI 提示词优化工具 (AI Prompt Optimization Tool). Supports: (1) User prompt optimization (basic/planning/professional), (2) System prompt optimization (general/analytical/format), (3) Iteration, (4) Text-to-image/image-to-image optimization, (5) Prompt evaluation, (6) Variable extraction and generation. Use for: optimizing vague prompts, building system prompts, improving existing prompts, generating image prompts, evaluating prompt quality, extracting/generating variables. Not for: Non-prompt-related tasks."

Docker 2 5mo ago
knowlet

arch-guard

by knowlet

進行代碼重構或新增模組時觸發。確保程式碼符合 Clean Architecture + DDD + CQRS 的層次關係,防止架構腐化。

Database 2 7mo ago
cuozg

git-squash

by cuozg

Squash commits for a PR — analyze, group, plan, get approval, execute — use for 'squash commits', 'squash for PR', 'clean up commits', 'combine commits'

Code Review 2 4mo ago
antonioc-cl

technical-architecture-council

by antonioc-cl

Expert software architecture council with 6 advisors (Fowler, Beck, Uncle Bob, Newman, Hightower, Kim) for code design, architecture patterns, infrastructure, and development practices.

CI/CD 2 5mo ago
gravito-framework

clean-architect

by gravito-framework

Senior expertise in Gravito Clean Architecture. Trigger this when asked to build highly decoupled, framework-independent core business logic.

API Dev 2 6mo ago
cuozg

git-commit

by cuozg

Commit staged or unstaged changes with a clean imperative message — use for 'commit', 'git commit', 'commit changes', 'save changes'

Debugging 2 4mo ago
Coowoolf

Hierarchy of Engagement

by Coowoolf

A three-level framework to gauge growth quality. Level 1: Core Action completion. Level 2: Retention via accruing benefits and mounting loss. Level 3: Self-perpetuating loops. Don't optimize for MAU—optimize for engaged users.

Code Gen 2 6mo ago
jorgealves

python-performance-profiler

by jorgealves

Identify CPU and memory bottlenecks in Python code using cProfile or memory_profiler. Use to optimize mission-critical Python services.

Performance 2 5mo ago
carmandale

design-iterator

by carmandale

Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.

Agents 2 5mo ago
jforksy

coach

by jforksy

Stoic Coach & Mentor - perspective, resilience, and wisdom for the challenges of building and leading

Code Gen 2 5mo ago