Refactoring

Code restructuring and optimization

Showing 337-360 of 909 skills
booch

testing

by booch

Testing philosophy and practices. This skill should be used when writing tests, designing test strategies, or reviewing test code. Use proactively when discussing TDD, red-green-refactor, test doubles, mocks, stubs, fakes, RSpec, Jest, pytest, unit tests, integration tests, test coverage, or test-first development. (user)

Database 18 6mo ago
doodledood

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.'

Performance 16 5mo ago
ertugrul-dmr

clean-general

by ertugrul-dmr

Use when writing, fixing, editing, or reviewing Python code quality. Enforces Clean Code's core principles—DRY, single responsibility, clear intent, no magic numbers, proper abstractions.

Legal 139 5mo ago
ertugrul-dmr

clean-functions

by ertugrul-dmr

Use when writing, fixing, editing, or refactoring Python functions. Enforces Clean Code principles—maximum 3 arguments, single responsibility, no flag parameters.

Analytics 139 5mo ago
ertugrul-dmr

python-clean-code

by ertugrul-dmr

Use when writing, fixing, editing, reviewing, or refactoring any Python code. Enforces Robert Martin's complete Clean Code catalog—naming, functions, comments, DRY, and boundary conditions.

Git & VCS 139 5mo ago
ertugrul-dmr

clean-tests

by ertugrul-dmr

Use when writing, fixing, editing, or refactoring Python tests. Enforces Clean Code principles—fast tests, boundary coverage, one assert per test.

Debugging 139 5mo ago
shiqkuangsan

personal:mole

by shiqkuangsan

"Mac 深度清理优化命令顾问。根据需求输出可复制的 mo 命令,辅助磁盘分析和配置管理。触发词:mole、mo、清理Mac、磁盘空间、系统优化、卸载App"

Code Review 17 5mo ago
shiqkuangsan

tooyoung:shitcode

by shiqkuangsan

"Write intentionally bad code for teaching or entertainment. Use when asked to 'add some spice', 'make it worse', 'write shitcode', or for demonstrating anti-patterns."

Processing 17 5mo ago
steelan9199

skill-optimizer-yashu

by steelan9199

分析并优化其他 Skill 的文档质量问题,包括 frontmatter 格式、渐进式披露结构、文件引用完整性、AI 友好性等检查。何时使用:当用户说"优化这个 skill"、"检查 skill 质量"、"review skill"、"skill 有问题"、"帮我看看这个 skill"、"诊断 skill"时。

Code Review 7 4mo ago
neurofoo

aar

by neurofoo

After-Action Review—structured debrief asking what was expected, what happened, why the difference, and what next. Use after projects, launches, presentations, or any significant event.

Code Review 106 6mo ago
JochenYang

tdd-workflow

by JochenYang

Standardized Test-Driven Development (TDD) cycle (RED-GREEN-REFACTOR-VERIFY). Use this skill to ensure code quality, high coverage, and regression prevention.

Code Gen 21 5mo ago
JochenYang

skills-audit

by JochenYang

List all installed skills with line counts and analyze for improvement opportunities. Use when user wants to review, optimize, or clean up their skill collection.

Code Review 21 5mo ago
ArabelaTso

code-smell-detector

by ArabelaTso

Identify and report code smells indicating poor design or maintainability issues in Python code, including duplicate code, magic numbers, hardcoded values, God classes, feature envy, inappropriate intimacy, data clumps, primitive obsession, and long parameter lists. Use when conducting code quality audits, preparing for refactoring, improving codebase maintainability, or performing design reviews. Produces markdown reports with severity ratings, locations, descriptions, and specific refactoring recommendations with before/after examples. Triggers when users ask to find code smells, identify design issues, suggest refactorings, improve code quality, or detect maintainability problems.

Processing 139 5mo ago
ratacat

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.

Processing 48 7mo ago
julianromli

test-driven-development

by julianromli

Use when implementing any feature or bugfix, before writing implementation code

Debugging 143 6mo ago
Ven0m0

moai-lang-rust

by Ven0m0

Rust specialist for async services, safe systems programming, and production tooling with Tokio, Axum, SQLx, and clippy-driven quality checks. Use when building or refactoring Rust code.

Linting 5 5mo ago
ArabelaTso

abstract-domain-explorer

by ArabelaTso

Applies abstract interpretation using different abstract domains (intervals, octagons, polyhedra, sign, congruence) to statically analyze program variables and infer invariants, value ranges, and relationships. Use when analyzing program properties, inferring loop invariants, detecting potential errors, or understanding variable relationships through static analysis.

Analytics 139 5mo ago
ssiumha

bdd-practices

by ssiumha

Writes behavior specifications in Gherkin format. Use when defining features from user perspective or creating acceptance tests.

Auth 9 6mo ago
ssiumha

tdd-practices

by ssiumha

Applies TDD workflow to development. Use when writing tests before code, implementing features test-first, fixing bugs via failing test, or refactoring with test coverage. Detects AI anti-patterns.

Auth 9 5mo ago
jkitchin

tdd

by jkitchin

Test-Driven Development facilitation using the red-green-refactor cycle. Guides users through writing tests first, implementing minimal code to pass, and refactoring for quality. Use when users want to practice TDD, need help writing tests before code, are developing new features test-first, or want guidance on test structure and implementation. Triggers include 'use TDD,' 'test-driven development,' 'write tests first,' 'red-green-refactor,' or requests to develop functionality with tests.

Refactoring 31 8mo ago
jkitchin

python-multiobjective-optimization

by jkitchin

Expert guidance for multiobjective optimization in Python - Pareto optimality, evolutionary algorithms (NSGA-II, NSGA-III, MOEA/D), scalarization methods, Pareto front analysis, and implementation with pymoo, platypus, and DEAP

Code Gen 31 7mo ago
jkitchin

python-optimization

by jkitchin

Expert guidance for mathematical optimization in Python - systematic problem classification, library selection (scipy, pyomo, cvxpy, GEKKO), solver configuration, and implementation patterns for LP, QP, NLP, MIP, convex, and global optimization problems

ML Ops 31 7mo ago
jMerta

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.

CLI Tools 131 6mo ago
jMerta

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.

File Ops 131 7mo ago