- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
personal:mole
by shiqkuangsan
"Mac 深度清理优化命令顾问。根据需求输出可复制的 mo 命令,辅助磁盘分析和配置管理。触发词:mole、mo、清理Mac、磁盘空间、系统优化、卸载App"
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."
tdd
by jh941213
테스트 주도 개발 - 테스트 먼저 작성 후 구현. "TDD", "테스트 먼저", "테스트 주도" 키워드에 활성화.
clean-code
by jackjin1997
"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."
git-clean-history
by goncalossilva
"Reimplement the current Git branch on a fresh branch off main with a clean, narrative-quality commit history."
TDD Enforcement
by DmitrL-dev
Строгое соблюдение Test-Driven Development с Iron Law
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.
postmortem
by neurofoo
Blameless post-mortem incident analysis with timeline, root cause, and action items. Use after outages, security incidents, project failures, or any event you want to prevent recurring.
swot
by neurofoo
SWOT strategic analysis examining Strengths, Weaknesses, Opportunities, and Threats. Use for strategic planning, competitive analysis, career decisions, or evaluating opportunities.
reflect
by JochenYang
Review current conversation, analyze tasks, errors, and user feedback, extract learning opportunities for skill improvement
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.
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.
testing
by ScientiaCapital
"TDD patterns, test writing strategies, coverage guidance, mocking patterns. Use when: write tests, TDD, test coverage, unit test, integration test, E2E test, mocking, test organization, pytest, vitest, jest."
code-simplifier
by ArjenSchwarz
Review and simplify code to reduce complexity and improve maintainability
initialize-ef-core-dbcontext
by jim60105
Initialize EF Core DbContext for an ASP.NET Core project using EF Core Power Tools CLI. Use when the user wants to scaffold a database context, generate entity models from an existing database, or set up Entity Framework Core with connection strings and dependency injection.
accelint-react-best-practices
by gohypergiant
React performance optimization and best practices. Use when writing React components, hooks, or JSX; refactoring React code; optimizing re-renders, memoization, or state management; reviewing React code for performance issues; fixing hydration mismatches; or implementing transitions, lazy initialization, or effect dependencies. Covers React 19+ features including useEffectEvent, Activity component, and ref props.
code-simplifier
by fanqingxuan
"Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when the user needs to: (1) Simplify complex code, (2) Improve code readability, (3) Refactor for maintainability, (4) Apply coding standards, (5) Review and optimize code structure. Triggers on phrases like \"简化代码\", \"优化代码\", \"重构代码\", \"提升可读性\", \"代码审查\", \"simplify code\", \"refactor code\", \"improve code clarity\", \"code review\", \"clean up code\"."
video-full-process
by jykim
Unified workflow combining video-clean and video-add-chapters with transcript reuse and chapter remapping
swift-wasm-porting
by swiftwasm
Check Swift on Wasm compatibility, identify incompatible frameworks, port and refactor code for WebAssembly
tdd-workflow
by organvm-iv-taxis
Test-driven development workflow with comprehensive coverage requirements including unit, integration, and E2E tests
local-issue
by DoiiarX
"本地文件系统 issue 管理。Use when the user wants to create, update, or close a local issue, report a bug, add a feature request, or track a task in the local file-based issue system. Triggers on: local issue, 本地issue, 创建issue, 新建issue, bug report, feature request, 关闭issue, 创建任务."
using-fastlane-in-flutter-and-ci
by rodydavis
Automate Flutter app builds and deployments to both the App Store and Google Play using Fastlane with this step-by-step guide.
flutter-terminal-cheat-sheet
by rodydavis
This post provides a handy collection of Flutter commands and scripts for web development, package creation, troubleshooting, testing, and more, streamlining your Flutter workflow.