- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
refactor
by ab300819
Systematic refactoring skill with test coverage requirements. Supports scope analysis, test-first refactoring, and integration with DevDocs workflow. Use when users need to refactor code, improve code quality, or restructure existing implementations. Triggers on keywords like "refactor", "重构", "优化代码", "代码改造", "tech debt", "技术债".
refactor-guide
by jamelna-apps
When the user mentions "refactor", "clean up", "technical debt", "restructure", "reorganize", "improve code quality", or wants to improve existing code without changing behavior.
boy-scout-skill
by Darna-Digital
Review and improve an existing task analysis plan by applying boy-scout principles (leave code better than you found it). Use when the user wants to improve an implementation plan, review an analysis for quality, suggest security/performance/UX improvements to a planned change, or refine an existing task-analysis-skill output.
git-branch-cleanup
by Tmeister
Safely clean merged and stale git branches with explicit confirmations.
tdd
by mguinada
"Guide Test-Driven Development workflow (Red-Green-Refactor) for new features, bug fixes, and refactoring. Identifies test improvement opportunities and applies pytest best practices. Use when writing tests, implementing features, or following TDD methodology. PROACTIVE ACTIVATION: Auto-invoke when implementing features or fixing bugs in projects with test infrastructure (pytest files, tests/ directory). DETECTION: Check for tests/ directory, pytest.ini, pyproject.toml with pytest config, or test files. USE CASES: Writing production code, fixing bugs, adding features, legacy code characterization."
clean-code
by pachoroa
"Applies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to ensure high quality, readability, and maintainability. Covers naming, functions, comments, error handling, and class design."
yc-startup-landing-page
by imsurajj
Generate high-converting startup landing page copy inspired by top YC companies. Use when the user asks to write, improve, or critique a startup landing page, hero section, tagline, value proposition, CTA, or any above-the-fold copy.
nh
by zhongjis
Switches NixOS/Home Manager configurations, cleans old generations, and performs system maintenance. Use when running os/home switch, pruning the Nix store, or managing system generations.
test-driven-development
by carvalab
TDD workflow guide. Use PROACTIVELY when writing new features or fixing bugs. Enforces Red-Green-Refactor cycle and prevents testing anti-patterns.
eval-accuracy
by whitespectre
Score assistant responses for accuracy on a strict 1-5 scale, then return strict JSON only with score, rationale, and improvement suggestions. Use when the user asks to evaluate accuracy, grade accuracy, or critique factual correctness.
improve-skill
by magnusnoeddegaard
Improve an existing skill based on conversation context and user feedback. Use when: (1) User says "/improve-skill <skill-name>" or "improve the skill" after using a skill (2) User wants to refine a skill based on corrections made during conversation (3) User provides specific feedback about what a skill should do differently (4) User wants to make a skill more tailored to their preferences or workflow This skill analyzes the conversation history to identify course corrections, misunderstandings, and user preferences, then updates the target skill's SKILL.md and resources accordingly.
mula-refine
by carvalab
Unified prompt engineering and requirements planning. Use when exploring ideas, improving prompts, creating PRDs, generating task breakdowns, or iterating on existing plans. Includes Jira integration for creating subtasks from plans.
mobile-lead-soul
by Envy-7z
Mobile tech-lead operating mode for Android and Flutter delivery. Use when making architecture decisions, reviewing team PRs, guiding junior engineers, gating merges/releases, or balancing speed vs stability with token-efficient communication.
stage-execute
by cxyliuy
Execute an approved engineering plan exactly as specified. Implement an MVP and tests without expanding scope or changing constraints.
data-engineering-storage-remote-access-integrations-delta-lake
by legout
"Delta Lake integration with cloud storage (S3, GCS, Azure). Covers storage_options, PyArrow filesystem, time travel, and partitioned writes."
avalonia-viewmodels-zafiro
by automindtechnologie-jpg
Optimal ViewModel and Wizard creation patterns for Avalonia using Zafiro and ReactiveUI.
karpathy-guidelines
by donghyuck
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
bs-onboarding
by MaxGiu67
"Onboarding su repo esistente: mappa codebase, audit dipendenze, docs. Usa questa skill quando l'utente vuole fare onboarding su un repo, mappare il codice, o dice bs onboarding, mappa repo, onboarding, analizza codebase, codice ereditato."
minimal-diff-implementer
by Hideturno
Implement the smallest safe change and avoid bloat; use for most coding tasks to prevent overengineering, unrelated edits, or destructive refactors.
cbeams-git-commit-messages
by charlesroper
Write clear, consistent Git commit messages following Chris Beams' seven rules. Use when the user asks for a commit message, asks to improve one, or shares a diff and wants commit wording.
eval-relevance
by whitespectre
Score assistant responses for relevance on a strict 1-5 scale, then return strict JSON only with score, rationale, and improvement suggestions. Use when the user asks to evaluate relevance, grade relevance, or critique topical alignment.
plg
by timmywheels
Build products that sell themselves. Use when designing onboarding, pricing,
commit
by coderfee
Git 提交工作流
maintaining-npm-packages
by lenneTech
Analyzes and optimizes npm package dependencies. Handles outdated packages, npm audit findings, security vulnerabilities, dependency updates, unused dependency removal, and devDependencies recategorization. Recommends the lt-dev:npm-package-maintainer agent via /maintain commands. Activates for "update packages", "npm audit", "check dependencies", "security fix", or package.json optimization. NOT for @lenne.tech/nest-server version updates (use nest-server-updating).