sk-alternatives
Suggest up to 3 viable alternatives for a code or design decision. Use when the user asks for alternatives, options, or "better ways".
SKILL.mdskills/sk-alternatives/SKILL.md
GitHubAlternatives
Slug and flow folder
- If the user provided a slug, use
.agents/flows/sk-<slug>/. - If the user gave no clear context, look for a stuck flow: one where
0 - EXPLORE.mdexists and1 - ALTERNATIVES.mdis missing. If one, suggest continuing it. If several, list them and ask. If none, derive a slug from the decision and confirm. - Create the folder if needed. Initialize or update
RUNBOOK.mdwith all phasespendingand row1asin-progress. - Write the final doc to
1 - ALTERNATIVES.mdand set row1todone,skipped, ordivergedwith a reason.
This skill can run on its own; it still maintains the flow folder and runbook.
Steps
Identify — up to 3 distinct approaches. If only one is viable, document that in
1 - ALTERNATIVES.mdand still produce the file.Present — for each option: idea, snippet (if relevant), pros, cons.
Review — run the
sk-review-alternativesskill at least once. Do not self-review or skip this step. Triage each findingvalid,false_positive, orunvalidated; resolve everyvalidfinding and re-review. Continue until the latestsk-review-alternativespass has zerovalidfindings after triage.Exit rule: stop when the latest
sk-review-alternativespass isLean & valid. Ship.or has zerovalidfindings after triage (allfalse_positiveor allunvalidated).Recommend — one clear choice based on clarity and maintainability.
Write — save options, review findings, recommendation, and decision to
1 - ALTERNATIVES.md. UpdateRUNBOOK.mdrows1and1r.Wait — stop for the user's choice. Do not edit code files.
Output
1 - ALTERNATIVES.md contains:
- Goal
- Options (Idea, Snippet, Pros, Cons)
- Review findings
- Recommendation
- Decision
Alternatives review contract
The sk-review-alternatives skill returns ONLY:
### Alternatives Review Findings
option:<n>: <tag>: <problem>. <fix>
totals: N irrelevant N duplicate N weak N strawman N missing-context N unjustified | verdict: pass / needs-revision
Or, when no findings:
### Alternatives Review Findings
Lean & valid. Ship.
Tags: irrelevant, duplicate, weak, strawman, missing-context, unjustified.
Triage each finding as valid, false_positive, or unvalidated. Fix valid issues once, then re-review.
Example
Option 1: Shared helper
- Idea: Extract common logic.
- Snippet:
function processData(d: Data[]) { return d.filter(validate).map(transform); } - Pros: DRY, consistent.
- Cons: Adds indirection.
Recommendation: Option 1 — best balance.