Install
$ agentstack add skill-agent-rig-rig-rig-sprint ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Sprint Orchestrator
A sprint is a batch of independent work items that each land on the trunk on their own. Use this when the work decomposes into pieces that don't interleave (no shared runtime contract across siblings, no half-migrated state if you ship one without the others). If children do interleave, use an epic / integration-branch flow instead — same decomposition step, plus a shared branch the children stack on.
Configuration
Reads .rig/config.json (missing keys → defaults):
| Key | Default | Used for | |---|---|---| | tracker.provider | none | linear \| github \| none. Selects the ticket backend, or ad-hoc mode. | | tracker.team | — | Linear team / GitHub org for list/create. | | tracker.project | — | Linear project for list/create. | | tracker.ticketPrefix | — | Recognize ticket IDs in $ARGUMENTS. | | tracker.githubIntegration | false | If true, GitHub drives PR/merge transitions; each /rig-task sets only the start-of-work In Progress. | | tracker.shapeLabels.sprint | sprint | GitHub-only label applied to each item at creation so a board/dispatcher can pick up sprint items. Omit shapeLabels to skip. | | vcs.baseRef | origin/main | Base each ticket's branch is cut from. | | vcs.branchConvention | {user}/{ticket}-{slug} | New-branch template. | | vcs.defaultBranch | main | Trunk each PR targets. | | vcs.protectedBranchMergeQueue | false | If true, merge via gh pr merge --auto and never pass --rebase/--squash. | | runtime.installCommand / packageManager | npm | Install command inside a worktree. | | test.command | npm test | Test step in each per-ticket implementation. | | sourceScope[0] | src | Default codebase area to explore during decomposition. |
Tracker modes:
linear— tickets are Linear issues; use themcp__claude_ai_Linear__*tools.github— tickets are GitHub issues; usegh issue.none— ad-hoc mode. There are no ticket IDs. Treat each item in
$ARGUMENTS (or each bullet the user gives) as a task description. Skip all create/list/move-ticket steps; the sprint operates directly on the task list, and each task's implementation opens a PR whose title is the task description. plan still decomposes into a numbered task list — it just prints it instead of creating tickets.
Arguments
The user invoked this with: $ARGUMENTS
What to do
If the user said plan (decompose a feature)
Create independent work items that can each be picked up and landed on the trunk directly — no parent epic, no integration branch.
- Read context.
- Any product/spec docs the project keeps (ask if unsure — don't
assume a fixed path).
- Explore the codebase to understand what already exists. Default the
exploration scope to sourceScope[0] (fallback src).
- Search before creating to avoid duplicates:
- Linear:
mcp__claude_ai_Linear__list_issueswithproject=
tracker.project, a query of the feature's key nouns, limit: 50 — search, don't pull the whole board; page via the returned cursor only if a likely match looks cut off.
- GitHub:
gh issue list --search "" --state all. - Ad-hoc (
none): grep the codebase / recent branches for prior art.
- **Sanity-check it's actually sprint-shaped (independent), not
epic-shaped (interleaved).** If at least one child's runtime contract genuinely depends on another being partially complete (the middle state would break the trunk), stop and tell the user to use an epic / integration-branch flow instead.
- Break the feature into 3–8 discrete items, ordered by dependency.
No parent ticket.
- Materialize the items:
- Linear:
mcp__claude_ai_Linear__save_issueper item —team=
tracker.team, project = tracker.project, short action-oriented title ("Add X", "Wire up Y", "Implement Z"), state: "Backlog", priority 2/3/4, a markdown description (Overview, Acceptance Criteria, dependency references). Set blockedBy for every real dependency — not optional; the phaser relies on it to group correctly.
- GitHub:
gh issue createper item with the same title/body, adding
the sprint shape label — --label "" where ` = tracker.shapeLabels.sprint (default sprint) — so a Project board / dispatcher can pick up sprint items directly (skip the label if tracker.shapeLabels is absent; ensure it exists first with gh label create "" --force`). Encode dependencies as "Blocked by #N" in the body (GitHub has no native blockedBy).
- Ad-hoc (
none): don't create anything — just produce the
numbered task list with an explicit "depends on #k" note per item.
- Show the user a summary table of what was created (or the task
list, in ad-hoc mode):
| ID / # | Title | Priority | Depends On | |--------|-------|----------|------------|
- Hand off. End with: *"Run
/rig-sprint ...(or paste the
task list back) to batch-execute these in phased dependency order."* Don't move tickets to Todo or auto-run — the user picks the entry point.
If the user said plan (no description) — or passed no arguments at all
Preview-mode for the existing sprint queue. Neither launches work; they show what's ready to run and wait for the user to pick items or kick off the sprint.
- Fetch ready work:
- Linear:
mcp__claude_ai_Linear__list_issueswithproject=
tracker.project, state "Todo", limit: 100 (page via cursor if truncated). Also check "In Progress" for in-flight work.
- GitHub:
gh issue list --state open(optionally filtered by a
"ready" label the repo uses).
- Ad-hoc (
none): there is no queue — say so and ask the user to
supply the task list.
- Show the user: which items are ready, a suggested phase grouping based
on dependencies (blockedBy/blocks relations, or "Blocked by #N" text), and estimated scope per phase.
- Ask the user to confirm before launching.
If the user specified ticket identifiers (or a task list)
- Resolve the items.
- Detect ticket IDs by
tracker.ticketPrefix. For Linear, fetch each
with mcp__claude_ai_Linear__get_issue; for GitHub, gh issue view . In ad-hoc mode, each argument/bullet is a task description — no fetch.
- Determine phases:
- Group items with no inter-dependencies into the same phase.
- Items that depend on other specified items go in a later phase.
- Use
blockedBy/blocksrelations, "Blocked by #N" text, or the
description clues (ad-hoc: the "depends on #k" notes) to order them.
- Show the proposed phases to the user for confirmation.
- Mark items in-flight (tracker only):
- Guard —
tracker.githubIntegration: if true, skip the bulk move
here — each /rig-task sets its own item to "In Progress" at start (Step 1), and GitHub advances In Review / Done from PR events.
- Otherwise, move every item in the sprint to Todo (Linear:
save_issue with state: "Todo").
- Ad-hoc mode: nothing to move.
- Execute each phase. Within a phase, items are independent and can
run in parallel; whichever PR lands second rebases on the trunk. For each item in the phase, run /rig-task (passing the ticket ID, or the task description in ad-hoc mode) and act on its returned outcome — only a clean review is merge-green; anything else stops for a human. Move to the next phase only after every item in the prior phase has its PR merged.
- Between phases and at the end, run
/rig-tidyto audit the merged
commits for dead code, duplicates, and stale comments before building on top of them.
Implementing each item
Each item is implemented by the /rig-task skill — a self-contained spec → worktree → TDD → pre-PR review → open PR → review-bot loop orchestrator. Sprint does not reimplement that loop; it just sequences the items and calls /rig-task per item (Step 5 above), reading the config knobs (tracker.*, vcs.*, test.*, review.*) the same way.
/rig-task never auto-merges and returns an outcome string; sprint uses it to gate phase progression (merge only on clean, run /rig-tidy between phases). See the /rig-task skill for the full per-item cadence.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: agent-rig
- Source: agent-rig/rig
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.