Refactoring
Code restructuring and optimization
go-backend-clean-architecture
by rebyteai-template
Go backend with Gin, MongoDB, JWT auth, and Clean Architecture.
engineering-discipline
by duyet
Core engineering principles for sustainable, maintainable code. No shortcuts, no hacks. Quality gates before completion.
code-quality
by samhvw8
"Code quality improvement: review, refactoring, debugging. Phases: review feedback, systematic refactoring, root cause debugging, verification. Capabilities: SOLID/DRY compliance, code smell detection, complexity reduction, bug investigation, verification gates. Actions: review, refactor, debug, verify, validate code. Keywords: code review, refactor, debug, SOLID, DRY, code smell, bug fix, root cause, verification, technical debt, extract method, test failure, completion claim. Use when: reviewing code changes, improving code quality, fixing bugs, reducing technical debt, validating before merge/commit."
adversarial-training
by pluginagentmarketplace
Defensive techniques using adversarial examples to improve model robustness and security
tdd
by acedergren
"Test-driven development workflow — write failing tests first, implement minimum code, run full suite, commit. Use when implementing features, fixing bugs, or adding test coverage. Includes mock bootstrap phase for projects with mockReset:true."
learning-notes-organizer
by z-soulx
整理与重构已有学习笔记:重划边界、归类重组、合并冗余、精简口语化表达;优化排版与可读性;为各部分补充引导与注释;按从基础到高级建立学习路径并打通知识关联;同时尽量保留原文 Markdown/HTML 强调标记(如 ==高亮==、、Setext 标题等),输出结构清晰、可检索、便于长期维护的笔记体系。
section-refactor-with-todo-routing
by z-soulx
基于 learning-notes-organizer 的方法论,对指定文件执行"全标题索引+含义/引导注释 + 指定章节重构 + 越界内容路由到合适标题并按需新增待整理容器"的局部重构工作流;用 planning-with-files 输出抽取→规划→映射→交付,范围外章节默认不改,仅做迁移所需最小改动。
clean-code-zh
by jackjin1997
éµå¾ª Robert C. Martin çãä»£ç æ´æ´ä¹éãååï¼è¿è¡ä»£ç 审æ¥ãéæåç¼åãæ¶µçå½åã彿°ã注éåé误å¤ççæä½³å®è·µã
adaptive-reasoning
by openclaw
Automatically assess task complexity and adjust reasoning level. Triggers on every user message to evaluate whether extended thinking (reasoning mode) would improve response quality. Use this as a pre-processing step before answering complex questions.
dead-code
by parcadei
Find unused functions and dead code in the codebase
polish
by minhuw
This skill should be used when polishing academic research paper text for grammar, clarity, fluency, and natural phrasing. Specifically designed for non-native English speakers writing for top-tier computer science conferences.
decision-framework
by majesticlabs-dev
Walk through decisions using a 3-part framework (first-principles, cost/benefit, second-order effects). Use when choosing between options, evaluating trade-offs, or making high-stakes decisions.
first-principles
by majesticlabs-dev
Apply first-principles thinking to break down complex problems into fundamental truths and rebuild solutions from the ground up. Use when solving strategic decisions, breaking through blockers, or challenging assumptions. Triggers on first principles, Elon Musk methodology, fundamental truths, strip assumptions, physics of the problem, rebuild from scratch.
arch-guard
by knowlet
進行代碼重構或新增模組時觸發。確保程式碼符合 Clean Architecture + DDD + CQRS 的層次關係,防止架構腐化。
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'
git-commit
by cuozg
Commit staged or unstaged changes with a clean imperative message — use for 'commit', 'git commit', 'commit changes', 'save changes'
testing-tdd
by jasonraimondi
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
meta-optimize-skill-md
by jasonraimondi
Reviews and improves existing skills by auditing clarity, trigger quality, workflow completeness, and instruction density, then rewriting SKILL.md with minimal-drift improvements. Use when user asks to improve a skill, review SKILL.md, optimize skill prompts, tighten skill descriptions, or refactor skill documentation.
youtube-transcript
by CommandCodeAI
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
untangle
by thientranhung
A refactor path for code too tangled for improve-codebase-architecture — where there are no module boundaries to improve, everything imports everything, and a clean restructure would be one enormous unreviewable change. Use when a refactor cannot be scoped, when improve-codebase-architecture has nothing to work with, or when a change's blast radius keeps growing the more you read.
TDG Test-Driven Generation
by chanwit
Test-Driven Generation uses TDD (Test-Driven Development) techniques to generate tests and code in Red-Green-Refactor loops. Key words to detect are tdg, TDG.
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)
personal:mole
by shiqkuangsan
"Mac 深度清理优化命令顾问。根据需求输出可复制的 mo 命令,辅助磁盘分析和配置管理。触发词:mole、mo、清理Mac、磁盘空间、系统优化、卸载App"
qbcore-framework
by germanfndez
QBCore Framework for FiveM - Player management, jobs, gangs, economy, inventory. Use when creating QBCore resources or working with Player object, PlayerData, QBCore functions.