agentsclimarketplace

Triage

Skill ValescoAgency/flightplan/skills/triage

Funnel tracker issues to the `ready-for-agent` label with sharp acceptance criteria so runway will pick them up. Vendor-agnostic — works with whatever tracker the repo declares (Linear today; GitHub Issues shipped). Use when the user wants to work the inbox, prepare issues for a runway run, decide which issues an agent can take vs. which require a human, or work the Triage queue. Reach for this skill any time the user mentions triaging, classifying, or moving issues toward an autonomous run — even if they don't explicitly say "triage."From its SKILL.md

Install
npx -y skills add ValescoAgency/flightplan --skill triage

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

16.2 KB, as published. Nobody here has run it

/triage — runway funnel

The purpose of this skill is to prepare tracker issues for runway. runway scans the tracker for issues labeled ready-for-agent, hands each one to @ai-hero/sandcastle (Claude Code in Docker), runs an adversarial sub-agent review, and opens a PR. Trust comes from human PR review, not from upstream gates.

So every triage decision answers one question:

Is this issue body sharp enough that Claude Code, reading nothing but the issue, will produce a PR a human is happy to review?

If yes → ensure acceptance criteria are present and apply the ready-for-agent label. If not yet → identify what's missing and either ask the reporter (needs-info) or park it (backlog). If never → eject it cleanly: needs-human, canceled, or duplicate.

Why the queue is a label, not a status

Linear's GitHub integration auto-mutates issue status when a PR cross-references the issue (Triage/Backlog/Todo → In Progress). A status-gated queue drains every time a PR mentions the issue, even when runway hasn't picked it up. The queue gate is therefore a label (ready-for-agent) — labels are not touched by the GitHub integration. Status remains useful as a human kanban signal and is driven naturally by the integration (PR opens → In Progress, PR merges → Done).

The Agent-Brief-as-comment pattern is gone. runway reads the issue body directly — there's no separate brief artifact for it to consume. Triage's deliverable is a good issue body, in place. If the body needs work, edit the body. If acceptance criteria are missing, post a Triage Notes comment asking the reporter, but the source of truth Claude Code sees is still the body itself.

Tracker independence

This skill speaks the canonical state machine and label vocabulary defined in CONTEXT.md. All tracker operations (fetch_issue, list_comments, post_comment, apply_labels, set_status) go through the active tracker adapter, resolved at session start by reading .afk/config.yml's tracker: field (default linear if absent).

tracker: valueAdapter
linear (default)tracker-linear/SKILL.md
githubtracker-github/SKILL.md
anything elserefuse and surface — no silent fallback

Tracker-specific knowledge (team mappings, vendor-native status names, workspace bot accounts, MCP cheatsheets) lives in the adapter, never in this skill. If you find yourself needing such knowledge here, that's a sign the abstraction is leaking — fix the adapter.

AI disclaimer

Every comment created by this skill must start with this disclaimer on its own line, before any other content:

> *This was generated by AI during triage.*

The disclaimer is delivered through whatever surface the active tracker exposes for comments. The text itself is vendor-agnostic.

Reference docs

Capability checks

Before using vendor-specific features, query the adapter's capability declaration:

CapabilityUsed by triage when
team_namespaceFiltering issues to the active team's namespace
project_membershipShowing project-scoped queues
cycle_membershipShowing cycle-scoped queues
active_work_detectionRead-only-on-active-work protection (see State machine)

If a capability is absent, degrade gracefully: skip the feature, surface a one-line note to the maintainer (e.g., "this adapter doesn't support active-work detection — proceed with caution"). Don't refuse just because a vendor has fewer concepts than Linear.

State model

Canonical statuses

The skill speaks these values; the adapter maps to vendor-native names.

StatusMeaning
triageIncoming. Has not been classified or has open questions.
backlogEjected from active triage but not killed. Will revisit later.
todoHuman kanban: "this is on deck". Often co-occurs with ready-for-agent (runway will pick up) or needs-human (a human will pick up), but neither is required — humans may use todo for issues outside the runway funnel entirely.
in-progress / in-review / reviewedActive work. Off-limits to this skill — read-only.
doneClosed normally.
canceledWon't fix. Permanent ejection.
duplicateClosed because another issue covers it.

State labels (apply at most one)

LabelMeaning
ready-for-agentThe runway queue gate. Body has sharp acceptance criteria; runway will pick this up. Mutually exclusive with the other state labels.
needs-infoSpecific, named information is missing — without it the issue body isn't sharp enough for runway. Status stays triage.
needs-humanCannot become runway-eligible (production access, judgment that doesn't reduce to acceptance criteria, cross-team coordination). A human picks this up; runway skips issues carrying this label.

Category labels (apply exactly one)

  • Bug — something is broken
  • Feature — new capability
  • Improvement — enhancement to existing capability

Invariants

  • Every actively-triaged issue has exactly one category label.
  • An issue has at most one state label. Conflicts are invalid — flag and confirm before doing anything else.
  • in-progress / in-review / reviewed are read-only when the adapter declares active_work_detection: reliable. When detection is best-effort or none, warn before mutating.

State machine

The funnel direction is toward the ready-for-agent label. Each transition either advances toward it, parks the issue, or ejects it.

FromToDirectionTriggerAction
New (triage, no labels)+ category, stays triageenterSkill on first lookApply category, post recommendation comment.
triage+ needs-infoparkMaintainer (skill)Specific missing info named. Skill posts Triage Notes with what's blocking.
triage / needs-info+ ready-for-agentadvanceMaintainer (skill, after grilling)Skill ensures the issue body has sharp acceptance criteria, removes needs-info if present, applies ready-for-agent. Status policy: if status is currently triage or backlog, advance to todo as a visibility cue; if status is anything past todo (active work), leave it alone. The runway queue is keyed on the label, not the status.
triage / needs-info+ needs-humaneject (HITL)Maintainer (skill)Body is sharp but reasons exist not to use runway (production access, judgment calls). Applies needs-human. Same status policy: advance triage/backlog → todo for visibility; leave active-work statuses alone. runway skips issues carrying needs-human.
triage / needs-infobacklogparkMaintainer (skill)Acknowledged but deferred. Brief reasoning posted.
triage / needs-infocanceledejectMaintainer (skill)Polite explanation. For Feature/Improvement, write .out-of-scope/<concept>.md.
triage / needs-infoduplicateejectMaintainer (skill)Comment links the canonical issue.
needs-infoback to triage for re-evaluationadvanceSkill (detects new reporter activity)Reporter has commented since the last Triage Notes — re-evaluate.

The maintainer can override directly via "Quick state override" below; the skill should still flag unusual transitions.

Invocation

The maintainer invokes /triage and describes intent in natural language. The active tracker is resolved silently from .afk/config.yml.

Examples:

  • "What's closest to ready for runway?"
  • "Show me what needs attention"
  • "Let's look at issue 87" (or VA-87, or owner/repo#42 — depends on tracker)
  • "Mark issue 42 ready for runway" (or the old "Move issue 42 to Todo" — both work)
  • "Anything blocked on the reporter for over a week?"

If the tracker has a team-namespace concept and the namespace is ambiguous, ask once: "Which team?" Then continue.

Workflow: show what needs attention

Order the queue by distance to runway-ready, not by age. The user's time is best spent on issues nearest the funnel exit.

Query the adapter (scoped per the adapter's capabilities) and group results:

  1. Promotable — triage with category, body has clear current/desired behavior, only missing sharp acceptance criteria. (Skill should offer to draft them inline by editing the body.)
  2. needs-info with new activity — reporter has commented since the most recent Triage Notes. Could now be promotable. (Compare comment timestamps via list_comments.)
  3. Stale needs-info — needs-info for > 7 days with no reporter activity. Candidates for nudging or ejecting to canceled.
  4. Raw triage — no category yet. Still needs first classification.

For each issue: identifier (per adapter — VA-87, owner/repo#42, file path), title, age, category if any, and a one-line summary of the body. Show counts per bucket. Let the maintainer pick.

Workflow: triage a specific issue

Step 1 — gather context

  • fetch_issue(<id>) — body, labels, project, status, dates
  • list_comments(<id>) — every comment with author + timestamp
  • Parse any prior Triage Notes comments authored by this skill (they begin with the AI disclaimer) to recover prior progress
  • Read all .out-of-scope/*.md files and check for matching concepts
  • For non-trivial cases, use Agent with subagent_type=Explore to find related code, types, tests, and recent history

Step 2 — present a recommendation

Lead with the runway question:

Can Claude Code, reading only this issue body, produce a PR a human would be happy to review? What's missing?

Then state:

  • Category — Bug / Feature / Improvement, with reasoning.
  • State recommendation — one of the canonical state labels or status moves, with reasoning.
  • What the body is missing — if recommending needs-info, name the specific facts that the body needs: a clear current behavior, a clear desired behavior, testable acceptance criteria, repro steps for bugs.
  • Out-of-scope match — "This looks like .out-of-scope/<name>.md — we rejected this before because X. Same call?"
  • Codebase findings — relevant interfaces, configs, tests, recent history.

Then wait. The maintainer may agree, override, ask to flesh it out, or want to discuss.

Step 3 — bug reproduction (bugs only)

If category is Bug, attempt reproduction before any grilling session. Hand off to /diagnose for the full six-phase loop, or do a lightweight repro check inline:

  • Read the reporter's reproduction steps
  • Trace relevant code paths
  • Try to reproduce: run tests, execute commands, narrow the failure
  • Reproduced — capture the observation. This becomes the body's Current behavior and shapes the acceptance criteria.
  • Could not reproduce — say so. May be environment-specific, already fixed, or misreported.
  • Insufficient detail to attempt — strong signal for needs-info.

Step 4 — grilling session (if needed)

If the body is too vague to hand to runway, run a /grill-with-docs session targeted at the gaps:

  • A clear Current behavior paragraph
  • A clear Desired behavior paragraph
  • At least one concrete, testable acceptance criterion (Claude Code uses these as the spec)
  • Repro steps (for Bugs)

The session output gets edited back into the issue body — that's the artifact runway reads.

Step 5 — apply the outcome

Always: comment first, then labels/status. This preserves reasoning before the issue moves.

OutcomeComment to postLabelsStatus
Runway-ready(optional) "Applying ready-for-agent — runway will pick this up"+ category, + ready-for-agent, − needs-infotodo if currently triage/backlog, else untouched
Human-only (HITL)Human Brief — short paragraph explaining why human, not runway (production access, judgment, etc.)+ category, + needs-human, − needs-infotodo if currently triage/backlog, else untouched
needs-infoTriage Notes — what's established + the specific missing facts (template below)+ category, + needs-infotriage
Won't fix (Bug)Polite explanation+ Bugcanceled
Won't fix (Feature/Improvement)Polite explanation and link to the .out-of-scope/ file+ categorycanceled
DuplicateLink to canonical issue+ categoryduplicate
BacklogOne-paragraph note of why we're acknowledging but deferring+ categorybacklog

For a Feature / Improvement going to canceled, write or update .out-of-scope/<concept>.md before the comment, so the comment can include a real link.

Adapter-call sketch:

post_comment(issue: <id>, body: "<comment>")
apply_labels(issue: <id>, names: [...])
set_status(issue: <id>, name: <canonical-status>)

The adapter resolves the canonical names to vendor-specific IDs and performs the calls. Cache resolved IDs within the session.

Workflow: quick state override

When the maintainer says "mark issue 42 ready for runway" (or the shorthand "move issue 42 to Todo"), trust them. Skip grilling.

Still confirm before writing:

  • Labels to add/remove (the runway-ready transition adds ready-for-agent)
  • Status to apply (per the smart policy: only advance triage/backlog → todo)
  • Whether to post a comment, and what kind

For a runway-ready transition without prior grilling, ask once: "The issue body looks like [summary]. Sharp enough for runway, or want to flesh it out first?" If the body is genuinely thin, runway will produce a thin PR — say so and let the maintainer decide.

Needs-info template

When the body isn't sharp enough yet, name the specific facts that need to land in it. Vague "please provide more info" is useless; the questions must let the maintainer (or reporter) edit the body once they're answered.

> *This was generated by AI during triage.*

## Triage Notes

**What we've established so far:**

- point 1
- point 2

**What we need before this can be picked up by runway (@<reporter>):**

- A specific success criterion, e.g. "When X happens, the user should
  see Y" — what's the testable outcome?
- Steps to reproduce on a fresh checkout (for Bugs)
- The current vs. desired behavior, in one paragraph each

Capture everything resolved during the grilling session in "established so far" — that work must not be lost.

Resuming previous sessions

When triaging an issue with prior triage activity:

  1. list_comments(<id>) and find prior comments authored by this skill (they begin with the AI disclaimer).
  2. Parse what was already established.
  3. Check whether the reporter has answered any outstanding questions.
  4. Show the maintainer an updated picture: "Here's where we left off; here's what the reporter said since."
  5. Continue the grilling session from where it stopped — never re-ask resolved questions.

References

Keep looking

Skills are one crate of 607,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.