claudecodex

optimus-decision-plugin

决策支持型工具:把书籍蒸馏出的方法论转化为工程实践中的选型决策依据(数据结构/算法策略/复杂度分析)

1 on GitHubby optimusv1.0.1MITupdated 16 days agoDecision
/

Plugin optimus-decision-plugin from marketplace optimus-plugins-official in Glepooek/optimus-plugins-official. Commands read from the repo's manifest — 16 days ago.

What it installs

Skills (8)

  • backtracking-algorithm-template

    用户面对一个搜索/约束满足类问题(求所有可行方案、排列组合、路径规划配置),纠结"该怎么设计回溯框架"或"该不该用回溯"时触发——如全排列、子集和、N皇后类问题的状态/选择/剪枝设计,或判断回溯是否是该组合优化问题的最佳解法;用户会说"这个问题怎么用回溯解""怎么设计剪枝逻辑""回溯效率太低怎么优化""backtracking template for this problem""how to design pruning logic"等。不适用于:已经确定要用回溯只是想要具体代码实现的请求、问题目标是求单一最优解而非穷举所有方案(这类应优先考虑动态规划)。

  • complexity-analysis

    用户需要评估或对比方案效率、在多个实现之间做工程选型依据时触发——如"这个方案的时间复杂度是多少""该按平均情况还是最差情况来评估""为什么空间复杂度分析只看最差情况""这两个方案哪个更适合有延迟要求的场景"。不适用于:单纯要求"用大 O 表示法写出某段代码的复杂度"这类纯粹的静态分析作业式提问(应直接给出推导过程,不套用本 skill 的场景决策流程)、已经算好复杂度只是想确认计算是否正确的场景。

  • data-structure-selection

    用户在工程实践中纠结"这个场景该用什么数据结构/容器"时触发——如数组/链表/栈/队列/哈希表/树/堆/图之间的选型决策;用户会说"用数组还是链表""要不要用哈希表""这个场景选什么数据结构合适""array or linked list""should I use a hash map"等。不适用于:面试刷题式的"标准答案"提问、已明确指定必须使用某结构的场景、具体语言标准库内部实现细节对比(如 Java HashMap vs Python dict 差异)。

  • divide-and-conquer-problem-check

    用户面对一个可能拆解为子问题的问题,纠结"能不能用分治策略解"或"该用分治还是动态规划"时触发——如判断子问题是否真正独立、设计合并步骤的开销、区分分治与递归/DP的界限;用户会说"这个问题能用分治解吗""子问题需要合并吗""分治和动态规划该怎么区分""can I use divide and conquer here""is this problem suitable for D&C"等。不适用于:已经明确要用分治只是想要具体代码实现的请求、纯粹询问某个分治算法(归并排序等)本身的实现原理而非适用性判断。

  • dynamic-programming-problem-solving

    用户面对一个可分解为子问题的优化/计数问题,纠结"能不能用动态规划解、该怎么设计状态转移方程"时触发——如背包类问题、路径规划、编辑距离、状态定义是否遗漏历史依赖;用户会说"这个问题能用动态规划解吗""怎么定义dp状态""为什么我的DP转移方程结果不对""dynamic programming for this problem""how to define dp state"等。不适用于:面试刷题式的"这道题标准解法是什么"提问、已确定要用DP只是想要具体某语言的代码实现、问题目标是穷举所有方案而非求最优解(这类应转向回溯)。

  • greedy-algorithm-applicability

    用户面对一个优化问题,纠结"贪心算法在这里能不能保证最优解"或需要验证贪心策略正确性时触发——如零钱兑换类问题、区间收缩类问题、想用直觉性的"局部最优"策略但不确定是否可靠;用户会说"贪心在这个场景靠谱吗""这个策略能保证最优解吗""贪心为什么给出了错误答案""is greedy optimal here""does greedy work for this problem"等。不适用于:已经证明或已知贪心必然适用的标准教科书问题(如最小生成树的Kruskal/Prim)、纯粹要求贪心算法代码实现而非正确性判断的请求。

  • search-algorithm-selection

    用户在工程实践中纠结"在已确定的存储结构上该用什么算法查找数据"时触发——如是否该维护有序索引来支持二分查找、小数据量是否值得排序后二分、哈希查找和树查找该怎么选;用户会说"该用二分查找还是线性查找""要不要为了查找快维护有序索引""哈希查找和树查找选哪个""binary search or linear search""hash lookup vs tree lookup"等。不适用于:面试刷题式的"实现一个二分查找"代码请求、已明确指定必须使用某查找算法的场景、存储结构本身尚未确定(该场景应先用数据结构选型决策)。

  • sorting-algorithm-selection

    用户在工程实践中纠结"这批数据该用什么排序算法/策略"时触发——如多级排序、大数据量排序、内存受限场景排序、排序结果被意外打乱的问题排查;用户会说"这个场景该用哪种排序""要不要用内置排序还是自己实现""多级排序结果乱了""sort algorithm for this case""quicksort vs merge sort"等。不适用于:面试刷题式的"手写快速排序"代码实现请求、已明确指定必须使用某排序算法的场景、纯粹询问某排序算法的实现步骤而非选型决策。

View source on GitHub

More from Glepooek/optimus-plugins-official

All 14 plugins →

把书、长视频、播客等高价值内容蒸馏成可执行 Agent Skills(外部引入:kangarooking/cangjie-skill,MIT License)

21 skills

1

音视频处理:分析、转码压缩、裁剪缩放、音轨提取与音频转换、视频截图、在线下载与播放预览

11 skills

1

DevOps:Jenkins 构建、项目分析、周报转写、skill 链接同步、.NET 取证输出解读与根因定位。内置 Hooks:SessionStart(技巧智能轮播)、Notification(Windows权限通知)

6 skills · 1 agent · hooks

1

测试 QA:用例设计与报告、JMeter 与 UI 自动化、设计稿一致性校验、飞书项目同步

7 skills

1

WPF 前端开发:MasterGo 设计稿转页面与组件库、SVG 转 XAML、XAML 代码审查。内置 PreToolUse Hook:git commit 前门禁校验 .xaml 改动是否已审查

5 skills · hooks

1

文档处理:Word/Excel/PPT/PDF 生成,网页与本地文件转 Markdown

6 skills

1

Similar plugins

Interactive learning mode that requests meaningful code contributions at decision points (mimics the unshipped Learning output style)

hooks

anthropics/claude-code 155,476

ruflo-adr

claudecodex

ADR lifecycle management — create, index, supersede, and link Architecture Decision Records to code

5 skills · 1 command · 1 agent

ruvnet/ruflo 81,589

Interactive learning mode that requests meaningful code contributions at decision points (mimics the unshipped Learning output style)

hooks

anthropics/claude-plugins-official 47,076

protect-mcp

claudecodex

Cedar policy enforcement + Ed25519 signed receipts for every Claude Code tool call. First cryptographic governance plugin — decisions are policy-gated before they run and every decision produces a tamper-evident receipt verifiable offline.

1 skill · 2 commands · 2 agents · hooks

wshobson/agents 42,461

Streamline engineering workflows — standups, code review, architecture decisions, incident response, and technical documentation. Works with your existing tools or standalone.

10 skills · 10 MCP servers

anthropics/knowledge-work-plugins 35,601

32 engineering skills: architecture, frontend, backend, fullstack, QA, DevOps, security, AI/ML, data engineering, Playwright (9 sub-skills), self-improving agent, Stripe integration, TDD guide, tech stack evaluator, Google Workspace CLI, a11y audit (WCAG 2.2), Azure cloud architect, GCP cloud architect, security pen testing, Snowflake development, adversarial-reviewer, ai-security, cloud-security, incident-response, red-team, threat-detection. v2.8.1 audits senior-fullstack / senior-frontend / senior-backend against karpathy-coder + Matt Pocock — each ships a 7-question forcing-question library, 4 customization profiles (JSON), deterministic decision engine, composition map into POWERFUL specialists, plus cs-fullstack-engineer / cs-frontend-engineer / cs-backend-engineer orchestrator agents (context: fork) + /cs-fullstack-review, /cs-frontend-review, /cs-backend-review, /cs-engineer-grill slash commands.

35 skills · hooks

alirezarezvani/claude-skills 29,725

Maintain optimus-decision-plugin?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins14 plugins