- Home
- /
- Categories
- /
- Refactoring
Refactoring
Code restructuring and optimization
Opportunity Cost Minimization
by Coowoolf
Stop optimizing for positive ROI and start focusing on minimizing opportunity cost—choosing the BEST possible use of time, not just a good one. Use during quarterly planning and roadmap prioritization.
module-augmentation
by marius-townhouse
Use when extending third-party types. Use when adding properties to existing interfaces. Use when plugins extend core types. Use when declaration merging is needed. Use when augmenting global types.
solve-before-scale
by Coowoolf
Use when building zero-to-one products, when the solution shape is undefined, or when teams are applying growth metrics too early
explore-exploit-cycles
by Coowoolf
Use when managing growth experiments, when a product area faces diminishing returns, or when deciding whether to generalize or specialize in career or product strategy
9d-framework
by violetio
9D product development framework
clean-code
by pluginagentmarketplace
Analyze and improve code quality, readability, and maintainability
organism-conversion-loop
by Coowoolf
Use when building AI-native products where user data can fine-tune performance, when static software fails to improve with usage, or when designing products that learn from interaction
Hierarchy of Engagement
by Coowoolf
A three-level framework to gauge growth quality. Level 1: Core Action completion. Level 2: Retention via accruing benefits and mounting loss. Level 3: Self-perpetuating loops. Don't optimize for MAU—optimize for engaged users.
python-performance-profiler
by jorgealves
Identify CPU and memory bottlenecks in Python code using cProfile or memory_profiler. Use to optimize mission-critical Python services.
design-iterator
by carmandale
Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.
bugfix-workflow
by penkzhou
通用 Bugfix 工作流知识库,包含 TDD 流程、输出格式规范、置信度评分标准和通用最佳实践。适用于所有技术栈(backend/frontend/e2e)。
coach
by jforksy
Stoic Coach & Mentor - perspective, resilience, and wisdom for the challenges of building and leading
inner-scorecard
by Coowoolf
Use when deciding between a high-status opportunity and a riskier path that feels more aligned, when feeling trapped despite external success, or when auditing if your decisions serve your values or others' expectations
absolute-volume-framework
by Coowoolf
Use in power-law businesses like platforms or VC, when conversion rate optimization shrinks your funnel, or when efficiency metrics block potential outlier winners
clean-code-pro
by Jung217
A production-grade Clean Code architect specification. Audits code smells, refactors for readability and maintainability, while strictly preserving behavior and respecting language idioms.
Fear and Anger Decision Filter
by Coowoolf
Fear creates exaggerated negative predictions. When gripped by fear, bet that the opposite will happen if you act against it, then take action. Use for high-stakes decisions that feel emotionally dangerous.
code-refactoring-refactor-clean
by liuchiawei
"You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance."
J-Curve Career Framework
by Coowoolf
High-growth careers are J-Curves, not stairs—you jump off a cliff (take risk), struggle for 6-9 months (bottom of J), then shoot up exponentially. Use when deciding between safe promotion vs stretch role.
frontend-design-extractor
by Xsir0
"Extract reusable UI/UX design systems from frontend codebases: design tokens, global styles, components, interaction patterns, and page templates. Use when analyzing any frontend repo (React/Vue/Angular/Next/Vite/etc.) to document or migrate UI/UX for reuse across projects. Focus on UI/UX only; explicitly ignore business logic and domain workflows."
simplify-code
by SebastiaanWouters
Simplify and refine code. Only trigger on /simplify-code.
simplify
by ian-pascoe
Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.
finish-branch
by iamladi
Post-merge cleanup workflow. Detects PR merge, switches to main, pulls latest, runs tests, and removes worktree if exists. Use after PR is merged to clean up.
prompt-optimizer
by lambda610
"AI 提示词优化工具 (AI Prompt Optimization Tool). Supports: (1) User prompt optimization (basic/planning/professional), (2) System prompt optimization (general/analytical/format), (3) Iteration, (4) Text-to-image/image-to-image optimization, (5) Prompt evaluation, (6) Variable extraction and generation. Use for: optimizing vague prompts, building system prompts, improving existing prompts, generating image prompts, evaluating prompt quality, extracting/generating variables. Not for: Non-prompt-related tasks."
interview
by SebastiaanWouters
Ask clarifying questions before implementing. Only trigger on /interview.