重构
代码重组与优化
test-driven-development
mikeyobrien
Unified TDD skill with three input modes — from spec, from task, or from description. Enforces test-first development using repository patterns, with proptest guidance and backpressure integration.
git-safety
tamagui
Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.
rust-refactor-helper
actionbook
"Safe Rust refactoring with LSP analysis. Triggers on: /refactor, rename symbol, move function, extract, 重构, 重命名, 提取函数, 安全重构"
Global Best Practices
HoangNguyen0403
Universal principles for clean, maintainable, and robust code across all environments.
coding-guidelines
tech-leads-club
Apply when writing, modifying, or reviewing code. Behavioral guidelines to reduce common LLM coding mistakes. Triggers on implementation tasks, code changes, refactoring, bug fixes, or feature development.
homeassistant-yaml-dry-verifier
CCOSTAN
"Verify Home Assistant YAML for DRY and efficiency issues by detecting redundant trigger/condition/action/sequence structures and repeated blocks across automations, scripts, and packages. Use when creating, reviewing, or refactoring YAML in config/packages, config/automations, config/scripts, or dashboard-related YAML where duplication risk is high."
dependency-injection-patterns
Aaronontheweb
Organize DI registrations using IServiceCollection extension methods. Group related services into composable Add* methods for clean Program.cs and reusable configuration in tests.
latex-thesis-zh
bahayonghang
中文学位论文 LaTeX 助手(博士/硕士论文)。 Use when writing, reviewing, or improving Chinese LaTeX theses (PhD/Master). Use when user mentions 编译, 格式, 去AI化, 标题, 参考文献, 模板, 一致性, or any Chinese thesis quality task. 支持多种学校模板和 GB/T 7714 国标格式。 触发词(可独立调用任意模块): - "compile", "编译", "xelatex" → 编译模块 - "structure", "结构", "映射" → 结构映射模块 - "format", "格式", "国标", "GB/T" → 国标格式检查模块 - "expression", "表达", "润色", "学术表达" → 学术表达模块 - "logic", "coherence", "逻辑", "衔接", "methodology", "方法论" → 逻辑衔接与方法论深度模块 - "long sentence", "长句", "拆解" → 长难句分析模块 - "bib", "bibliography", "参考文献" → 参考文献模块 - "template", "模板", "thuthesis", "pkuthss" → 模板检测模块 - "deai", "去AI化", "人性化", "降低AI痕迹" → 去AI化编辑模块 - "title", "标题", "标题优化", "生成标题" → 标题优化模块 - "consistency", "一致性", "术语" → 一致性检查模块
coding-standards
Expensify
Provides coding standards for React Native — performance patterns, consistency rules, and clean React architecture. Use when writing, modifying, or reviewing code.
fastq-analysis-pipeline
Starlitnightly
Guide through omicverse's alignment module for SRA downloading, FASTQ quality control, STAR alignment, gene quantification, and single-cell kallisto/bustools pipelines covering both bulk and single-cell RNA-seq workflows.
worktree-status
MoonshotAI
Audit all git worktrees in the current project. Use when the user asks about worktree status, which branches are merged, which have uncommitted changes, or which worktrees can be safely cleaned up.
jj-split-changeset
RediSearch
Split a jj (Jujutsu) changeset into smaller, focused changesets. Use when asked to break up a large changeset, split commits, reorganize changes across revisions, or create stacked PRs from a single changeset. Covers safe duplication-based workflows, file-path and hunk-level splitting without interactive commands.
build
RediSearch
Compile the project to verify changes build successfully. Use this to verify your changes build properly together with the complete project and dependencies, and make sure to use it before running end to end tests.
refactor
FradSer
This skill should be used when the user asks to refactor specific files or directories, simplify recently changed code, clean up dead code in a limited scope, or invokes /refactor with paths or semantic queries.
noir-idioms
noir-lang
Guidelines for writing idiomatic, efficient Noir programs. Use when writing or reviewing Noir code.
noir-optimize-acir
noir-lang
Workflow for measuring and optimizing the ACIR circuit size of a constrained Noir program. Use when asked to optimize a Noir program's gate count or circuit size.
nh
knoopx
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.
prompt-optimize
YYH211
Expert prompt engineering skill that transforms Claude into "Alpha-Prompt" - a master prompt engineer who collaboratively crafts high-quality prompts through flexible dialogue. Activates when user asks to "optimize prompt", "improve system instruction", "enhance AI instruction", or mentions prompt engineering tasks.
optimise-seo
mblode
Optimises SEO for Next.js App Router apps including sitemaps, meta tags, structured data, canonical URLs, Core Web Vitals, and programmatic SEO. Use when asked to improve SEO, add sitemap.xml, fix meta tags, add structured data, set canonical URLs, improve Core Web Vitals, audit SEO, or build SEO pages at scale. Performs no visual redesigns.
agent-md-refactor
pedronauck
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.
autoresearch
pedronauck
"Autonomously optimize any Claude Code skill by running it repeatedly, scoring outputs against binary evals, mutating the prompt, and keeping improvements. Based on Karpathy's autoresearch methodology. Use when: optimize this skill, improve this skill, run autoresearch on, make this skill better, self-improve skill, benchmark skill, eval my skill, run evals on. Outputs: an improved SKILL.md, a results log, and a changelog of every mutation tried."
beamer-presentation
meleantonio
Create academic presentations in Beamer with professional themes
code-optimization
bytedance
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.
Effective Go
openshift
"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."