tradeoff-analysis
Use for tradeoff analysis, or when the user must pick between concrete options: "A or B?", "which library should we use?", "build vs buy", "compare these approaches". Scores options on weighted criteria, tests sensitivity and reversibility. Skip for open ideation or single-option reviews.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 3.4w
- Forks
- 4.0k
01 前言 Front Matter
- name
- tradeoff-analysis
- license
- MIT
- metadata
- { "author": "ysskrishna", "version": "2026.10.5" }
- description
- Use for tradeoff analysis, or when the user must pick between concrete options: "A or B?", "which library should we use?", "build vs buy", "compare these approaches". Scores options on weighted criteria, tests sensitivity and reversibility. Skip for open ideation or single-option reviews.
02 资源文件 1
- 参考文档references/example.md2.0 KB
03 SKILL.md 正文
Tradeoff Analysis
Choose among a small set of real options with the criteria, weights and evidence in plain view. A weighted decision matrix with a sensitivity check and a reversibility check.
When to use
- Picking a library, vendor, architecture, plan, hire, design or build-vs-buy.
- "A or B?", "compare these", "which should we pick", "is it worth it".
- A decision the user must defend to others.
Skip: generating options from scratch (explore first, then come here), reviewing one plan for flaws, or ranking a long backlog.
Before you start
- State in one block: Decision (one sentence), Deadline or cost of delay, and Pass (Options, Must-haves, Criteria, Score, Sensitivity, Reversibility, Recommendation).
- Gather first. Read docs, benchmarks, pricing, the codebase and constraints before scoring. Every score needs a one-line basis; unsupported scores are marked
[ESTIMATED]. Ask up to 3 questions only for goals and constraints tools cannot answer. - Light path. Small ask: 2-3 options, 3 criteria, one-line reasons, a one-sentence sensitivity check.
Steps
1. Options
2-5 genuinely different options, including do nothing or keep current when it is real.
2. Must-haves
Hard constraints (budget cap, compliance, deadline). An option that fails one is out; do not score it.
3. Criteria and weights
3-7 criteria that reflect the goal and do not overlap (avoid counting the same thing twice, such as "speed" and "performance"). Give weights that sum to 100 and say why the top weight is highest.
4. Score
Rate each option per criterion from 1 (poor) to 5 (strong), with a short basis.
| Criterion (weight) | Option A | Option B |
|---|---|---|
| ... (40) | 4 - basis | 3 - basis |
| Weighted total |
5. Sensitivity
Change the largest weight by about 10 points, or the least certain score by one. Does the winner change? Name the one criterion or score that flips the result.
6. Reversibility
How costly is it to undo this choice (switching cost, data lock-in, contract length, time)? Easy to reverse: decide faster and favor learning. Hard to reverse: spend more effort on evidence.
7. Recommendation
The pick, the main reason, the main cost you accept, and what would change the pick. For money or time tradeoffs, add a compact cost-benefit line: expected benefit range minus cost range, with the unit and period.
Pitfalls
- False precision: a 3.8 vs 3.6 gap is a tie. Say so and decide on sensitivity and reversibility.
- Weights chosen after seeing the scores. Set them before scoring.
- Criteria that restate the favorite option ("uses our preferred language").
- Scores from impressions with no basis. Mark them
[ESTIMATED]. - Ignoring the cost of changing course later.
Worked example: references/example.md.
Checklist
- [ ] Decision and options stated; do-nothing considered
- [ ] Must-haves screened before scoring
- [ ] Criteria are independent; weights set with a reason
- [ ] Every score has a basis or
[ESTIMATED] - [ ] Sensitivity names what flips the result
- [ ] Reversibility assessed
- [ ] Recommendation names the accepted cost and what would change it
04 同仓库更多 Skills
wealthville-pool-scoring
Score DeFi liquidity pools before providing liquidity. Returns a 0-100 pool score and an Enter/Hold/Exit/Reduce/Avoid verdict with calibrated confidence for ~68,800 Solana pools and 575 EVM pools, plus a public miss-inclusive track record. Use when asked whether a pool is worth LPing into, which pools look best right now, or how accurate the scores have actually been.
technical-debt-auditor
Scans a codebase and produces a quantified technical debt report with a prioritized remediation plan. Analyzes dead code, TODO/FIXME/HACK markers, dependency staleness, complexity hotspots, code duplication signals, test coverage gaps, unused exports, and outdated patterns. Use this skill when the user asks to audit their codebase for tech debt, wants a health check of their code quality, says things like "where should I focus refactoring", "find code smells", "audit my codebase", "what technical debt do we have", "prioritize cleanup work", or asks about code quality metrics. Also trigger when the user mentions "code rot", "legacy cleanup", "refactoring priorities", or wants to understand the overall health of a project before a major effort. Trigger even if the user doesn't say "technical debt" explicitly — any request to systematically assess code quality and identify improvement priorities belongs here.
readonly-sql-guard
Make an agent's database access provably read-only. Use when an agent runs caller-supplied SQL against a production/ERP/analytics database (a "query" MCP tool, text-to-SQL, an admin console), or when reviewing DB-access code for write/DDL/side-effect/transaction-escape risks. Checks what a statement CALLS, not just its shape.
Claude 网页 Artifact 构建
web-artifacts-builder
用于创建精细的、多组件的 claude.ai HTML artifact 的工具套件,采用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)。适用于需要状态管理、路由或 shadcn/ui 组件的复杂 artifact —— 不适用于简单的单文件 HTML/JSX artifact。
Playwright Web 应用测试
webapp-testing
使用 Playwright 与本地 Web 应用进行交互和测试的工具包。支持验证前端功能、调试 UI 行为、捕获浏览器截图以及查看浏览器日志。
回复事实核查追问
discernment-nudge
在你给出用户可能据以行动的实质性答案或草稿之后——建议或推荐、起草的工件(如目标、计划、推介、提案或电子邮件)、估计或预测、数据分析或解读、他们可能依赖的事实声明,或多步骤论证——在最终确定回复之前调用本技能,然后,如适用,附加 2-3 个简短的后续问题,每个问题都与你刚刚产出的具体内容相关,帮助用户核查关键事实、探究推理或假设,并注意到缺失的上下文。每次对话最多执行一次。当用户询问琐碎的操作方法或简单查找、想要纯教育性解释、仅要求根据提供的内容格式化/转换/组装文件、正在编写将要运行的代码、正在进行创意写作或休闲聊天,或已经要求你复核、引用或审查时跳过——技能文件解释了这些边界和确切的输出格式。