AGENT SKILL

tech-selection

Structured trade-off analysis for choosing a library, tool, framework, or component during planning. Use when a plan or design must pick between 2+ candidate technologies, or when the user asks "which X should we use". Produces a bounded decision record: candidates compared on the actual task, assumptions ranked by an importance-by-evidence grid, and a tradeoff-per-option table. For a full measured bake-off, hands over to the experiment-loop skill. NOT for reviewing an already-written plan (use /plan-review) or open-ended ideation (use the local brainstorming skill in this plugin).

License 许可
MIT
所属仓库
SamyakJhaveri/loam
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
tech-selection
description
Structured trade-off analysis for choosing a library, tool, framework, or component during planning. Use when a plan or design must pick between 2+ candidate technologies, or when the user asks "which X should we use". Produces a bounded decision record: candidates compared on the actual task, assumptions ranked by an importance-by-evidence grid, and a tradeoff-per-option table. For a full measured bake-off, hands over to the experiment-loop skill. NOT for reviewing an already-written plan (use /plan-review) or open-ended ideation (use the local brainstorming skill in this plugin).
argument-hint
<decision, e.g. "redis vs rabbitmq for job dispatch">

03 SKILL.md 正文

tech-selection

A decision helper for the component-choice moment in planning. Its job is to convert "which X?" into a small, evidence-ranked decision record the plan can cite.

For open-ended ideation, route to the local brainstorming skill. That skill owns the design process and hands an approved design to the local writing-plans skill.

Ground rules

  • Compare candidates on the task THIS project actually performs, not on generic benchmarks. Benchmarks are directional signals, never guarantees.
  • Never report a number you did not compute or fetch this session; version facts, pricing, and API behavior must come from a current source, not memory.
  • The deliverable is bounded: compare only the candidates genuinely in play, test only the assumptions that would change the answer, and end with one recommendation.

Steps

  1. Pin the requirement. One sentence: what the component must do here, with the constraint that decides the choice (scale, license, runtime, team familiarity). If the requirement is not decidable in one sentence, the decision is premature; say so.
  2. Enumerate candidates (2-4). Always include the null candidate where it exists: stdlib, an already-installed dependency, or "do nothing / write 30 lines". Reuse-before-new is repo law.
  3. Trust check each external candidate. License is clear; maintenance is alive (recent commits/releases); popularity gets little weight on its own. Match depth of scrutiny to the stakes.
  4. Rank the assumptions. List what the choice assumes (performance is adequate, API covers the use case, migration is cheap). Score each: importance-if-wrong x current evidence strength.
    • High importance + weak evidence: test before deciding.
    • High importance + strong evidence: monitor.
    • Low importance: ignore for now. For each test-first assumption, name the cheapest experiment and what "validated" looks like. If the experiment is substantial or must be measured, hand off to the experiment-loop skill when it is installed; otherwise write the experiment protocol (candidates, task, metric, judge) into the plan before anything is measured.
  5. Write the tradeoff table. One row per candidate: what it gives, what it costs, its trade-off stated plainly, and a "use when" trigger. Every option carries its downside; a table where one row has no cost is not finished.
  6. Recommend and record. One recommendation with its reversibility stated (how expensive is switching later). Write the record into the plan or the project's decision location; the user rules on it.

04 同仓库更多 Skills

SamyakJhaveri
SamyakJhaveri/loam

verify-loam

Prove a Loam change in a real rendered project: copier-render this checkout, then drive headless and interactive Claude Code sessions, stubbed Codex runs and copier updates in the render and capture hook, memory, deny-rule, update and check evidence. Use before shipping any seed, hook, settings or copier.yml change.

★ 0
SamyakJhaveri
SamyakJhaveri/loam

hypothesis-tree

Persistent hypothesis tree for multi-step, multi-session investigations. Use when a "why does X fail" question branches into sub-hypotheses that must survive across sessions, or when falsifiable claims need tracking with dated, linked evidence. Maintains one markdown file with add, update, review, and prune subcommands, each gated on verifying the cited evidence file exists and supports the claim. NOT for a single-session bug hunt, a one-command question, or general note-taking.

★ 0
SamyakJhaveri
SamyakJhaveri/loam

fable-prompting

Which Claude Fable 5.2 guide sections you can act on from a session, and which Claude Code already injects. Use before writing a Fable session prompt or brief.

★ 0
SamyakJhaveri
SamyakJhaveri/loam

catchup

Read-only session bootstrap briefing of git state, commits, handoff, tasks and red flags. Use when resuming work, starting a fresh session, or unsure of project state.

★ 0
SamyakJhaveri
SamyakJhaveri/loam

writing-for-agents

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

★ 0
SamyakJhaveri
SamyakJhaveri/loam

wizard

Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

★ 0