skills/scrum/SKILL.md
Scrum framework for AI agent self-management. Brings Scrum practices into any project to drive development and continuous improvement. Ceremonies chain automatically. Tool-agnostic: works with any issue tracker, VCS, or just local markdown files. Triggers: "scrum", "sprint", "retrospective", "backlog", "レトロ", "計画", "振り返り"
npx skillsauth add gyumaruya/scrum_agents scrumInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scrum is the MEANS, not the GOAL. The goal is delivering value to users.
Arguments: $ARGUMENTS
Before routing arguments, check for version mismatch:
docs/scrum/ exists (not first-time setup):
metadata.version from this SKILL.md (currently: 1.3.2)docs/scrum/.scrum-version (if exists).scrum-version is missing: display "スキル v{new} が利用可能です(現在 v{old})。/scrum update で更新してください。" (If .scrum-version is missing, treat as unknown.)docs/scrum/ does not exist: proceed to setup (no version check needed)| Argument | Action |
|----------|--------|
| install | Install this skill globally (symlink to ~/.claude/skills/) |
| uninstall | Remove global symlink + optionally clean project Scrum files |
| (empty, first time) | Setup: introduce Scrum to this project |
| (empty, already set up) | Show status + suggest next action |
| plan | Sprint Planning → references/ceremonies/sprint-planning.md |
| daily | Daily Scrum → references/ceremonies/daily-scrum.md |
| review | Sprint Review → references/ceremonies/sprint-review.md |
| retro | Retrospective → references/ceremonies/sprint-retrospective.md |
| refine | Backlog Refinement → references/ceremonies/backlog-refinement.md |
| update | Update project Scrum files to match latest skill version |
| status | Show current sprint status |
Detect first time: Check if docs/scrum/ directory exists in project root.
/scrum installInstall this skill globally so /scrum works in any project:
~/.claude/skills/scrum already exists, report "Already installed" and show the current link targetln -s {SKILL_DIR} ~/.claude/skills/scrumExample:
ln -s /path/to/scrum_agents/skills/scrum ~/.claude/skills/scrum
If the link target differs from the current skill directory, ask whether to update it.
/scrum uninstallRemove the global skill symlink and optionally clean project files:
rm ~/.claude/skills/scrumdocs/scrum/ directory.claude/agents/scrum-*.md.claude/rules/scrum-*.mdThis skill defines Scrum process, NOT specific tools.
Scrum requires certain capabilities (backlog management, work tracking, increment review). HOW those capabilities are fulfilled depends on the project's environment.
| Scrum Capability | What is Needed | Examples |
|-----------------|----------------|----------|
| Product Backlog | A place to list and prioritize work items | Issue tracker, docs/scrum/backlog.md |
| Sprint Backlog | A way to mark items as "in this sprint" | Labels/tags, sprint board, docs/scrum/sprints/current.md |
| Sprint Work | A way to develop and track changes | Branches + PRs/MRs, local commits |
| Increment Review | A way to present work to stakeholder | PR/MR review, demo, deploy preview |
| Feedback | A way for stakeholder to respond asynchronously | Comments on PR/MR/Issue, docs/scrum/ notes |
| Sprint Archive | A persistent record of each sprint | docs/scrum/sprints/YYYY-MM-DD_sprint-NNN/ (always) |
During setup, detect what's available:
gh, glab, bb)docs/scrum/ for local Scrum records (sprint archives, logs, DoD). This is the source of truth for the Scrum process itself.docs/scrum/backlog.md and docs/scrum/sprints/current.md as the full workflow. Everything works.During setup, if no external tool is detected, suggest (not require):
"バックログ管理や非同期フィードバックのために、プロジェクト管理ツールの導入を検討できます。 例: GitHub Issues, GitLab Issues, Jira, Redmine など。 対応するスキルや MCP があれば導入をお勧めします。 なくても、マークダウンファイルで全て運用できます。"
AI agents lose context between sessions. This section ensures Scrum state survives session boundaries.
On every session start (or /scrum invocation after setup), agents MUST:
docs/scrum/sprints/current.md -- current sprint state, goal, item statusescurrent.md for quick contextdocs/scrum/backlog.md -- remaining work and prioritiesdocs/scrum/definition-of-done.md -- quality criteriaThis gives the agent enough context to continue where the previous session left off.
The Developer MUST update the Sprint Summary section in current.md whenever:
Sprint Summary format:
### Sprint Summary (for session continuity)
**What**: {1-2 sentence summary}
**Progress**: {X/Y items done}
**Key decisions**: {recent important decisions, max 3}
**Next action**: {what should happen next if session resumes}
The ## Scrum section in CLAUDE.md (written by /scrum setup or /scrum update) ensures that even without explicit /scrum invocation, new sessions are aware of:
This section is loaded automatically on every session start.
Ceremonies chain automatically. The user does NOT invoke each one. Agents MUST NOT stop between ceremonies to ask for permission or confirmation.
User expresses desire
→ PO: create backlog item automatically
→ Sprint Planning: auto-start if no active sprint
→ Dev: implement (branch + changes)
→ Increment ready → Sprint Review (present to stakeholder)
→ Stakeholder feedback → Retrospective auto-runs
→ SM improves org → Next sprint auto-starts (if backlog has items)
The user only needs to:
These patterns caused sessions to stall. They are explicitly forbidden:
| Anti-Pattern | Why It's Wrong | Do This Instead | |---|---|---| | "続けますか?" between ceremonies | Breaks automatic flow | Proceed to next ceremony immediately | | "バックログを更新してよいですか?" | Backlog is self-managed | Update it and report what changed | | "次に何をしますか?" after completing work | Agent is self-managing | Check backlog, start next sprint, or self-generate work | | "マージしてよいですか?" | Blocks delivery | Execute the merge (or use the project's delivery flow) | | Waiting for user response before Retro | Review→Retro is automatic | Present increment, then start Retro immediately | | "期待通りですか?" and then stopping | Feedback is async | Ask, but proceed to Retro without waiting | | Declaring intent without executing | "やる" is not doing. Saying "I'll verify" is not verifying. | Execute the action in the same turn. No separate "announcement" step. | | Skipping delivery verification | Checking file diffs is not testing. grep is not running the skill. | Merge → update installed files → reload → run the skill → confirm it works. | | Working without an active Sprint | All work happens inside a Sprint. No exceptions for "urgent" fixes. | Start Sprint Planning first, then work. Even a 1-item sprint is a sprint. |
Rule: If you catch yourself about to ask permission to continue Scrum flow, STOP and just do it. Rule: If you catch yourself announcing what you'll do next, STOP and do it in this turn instead. Rule: If there is no active Sprint and you are about to write code or make changes, STOP and start Sprint Planning first.
Local Scrum records (always created, regardless of tools):
docs/scrum/
.scrum-version # Installed skill version (e.g., "1.0.0")
definition-of-done.md # DoD (evolves through retros)
sprints/
current.md # Current sprint state
YYYY-MM-DD_sprint-NNN/ # Sprint archive
plan.md # Sprint Goal + items
log.md # Progress log
review.md # Review record
retrospective.md # Retro record
logs/
failures.md # Failure log
decisions.md # Design decisions
adaptations.md # Real-time adaptations
role-interactions.md # Cross-role handoff log
If external issue tracker is available, docs/scrum/backlog.md is optional.
The external tracker IS the backlog. Local records track the Scrum process itself.
/scrum)When docs/scrum/ does NOT exist:
pyproject.toml, package.json, Cargo.toml, etc.)docs/Read reference files from references/ and adapt them to the project:
Scrum records (docs/scrum/):
definition-of-done.md ← adapt the {Adapt to project} placeholder in the Testing section based on Step 1 detection results:
pyproject.toml + pytest): "pytest passes", and if ruff detected: "ruff check passes"package.json + jest/vitest): "npm test passes", and if eslint detected: "eslint passes"Cargo.toml): "cargo test passes", and if clippy detected: "cargo clippy passes""Manual verification documented in review.md"{Adapt to project ...} block with the concrete check items. Do not leave the placeholder.sprints/current.md ← empty sprint templatelogs/failures.md ← empty with headerlogs/decisions.md ← empty with headerlogs/adaptations.md ← empty with headerlogs/role-interactions.md ← cross-role handoff log (from references/templates/role-interactions.md)If no external issue tracker: also create backlog.md from template.
Agents (.claude/agents/) -- adapt, don't just copy:
scrum-product-owner.md ← adapt artifact locations to the environmentscrum-master.mdscrum-developer.mdAgent definitions contain artifact references (backlog location, etc.). When the environment uses external tools, update these references so agents know where to find and manage artifacts.
Rules (.claude/rules/):
scrum-principles.mdscrum-values.mdscrum-role-separation.mdRecord detected tools and how Scrum concepts map to them in docs/scrum/sprints/current.md
or CLAUDE.md. Example:
## Scrum Environment
- Backlog: GitHub Issues (via `gh` CLI)
- Sprint tracking: GitHub labels
- Code review: Pull Requests
Or:
## Scrum Environment
- Backlog: docs/scrum/backlog.md
- Sprint tracking: docs/scrum/sprints/current.md
- Code review: Direct stakeholder review
Write the current skill version to docs/scrum/.scrum-version:
1.0.0
This file is a single line containing only the version number. It is used by the Version Check to detect when the skill has been updated.
Append ## Scrum (v{version}) section to CLAUDE.md. This section MUST include:
This is critical. Without this section in CLAUDE.md, new sessions won't load
Scrum rules automatically. The /scrum skill is only invoked on demand -- CLAUDE.md
is loaded on every session start.
"Scrum を導入しました。このプロジェクトで何を実現したいですか?"
PO agent → create backlog → Sprint Planning → Dev starts.
/scrum status)docs/scrum/sprints/current.md for sprint statedocs/scrum/sprints/Output format:
## {Project Name} Scrum Status
**Current Sprint**: Sprint {N} -- {Goal}
**Progress**: {completed}/{total} items done
| Item | Status | What It Delivers |
|------|--------|------------------|
| {name} | {status} | {user-facing value} |
**Backlog**: {N} items remaining
**Completed Sprints**: {N} (Sprint 1-{N} archived)
{If no active sprint: "No active sprint. Ready for next Sprint Planning."}
Focus on what the stakeholder cares about: what's being worked on, what they'll get, and what's next.
/scrum update)Update project Scrum files to match the latest skill version.
On every /scrum invocation (any argument), the Version Check (above) compares versions:
metadata.versiondocs/scrum/.scrum-version/scrum update で更新できます。"The update is NOT automatic -- the user must explicitly run /scrum update.
metadata.version with docs/scrum/.scrum-versionreferences/.claude/agents/scrum-*.md <-- references/agents/.claude/rules/scrum-*.md <-- references/rules/docs/scrum/definition-of-done.md <-- references/templates/definition-of-done.md## Scrum section in the project's CLAUDE.md.
This section MUST include: artifact locations, Flow Rules, and Anti-Patterns.
Without this, new sessions won't know about Scrum rules unless /scrum is explicitly invoked.
## Scrum section exists: replace it with the latest version## Scrum section does not exist: append it at the enddocs/scrum/.scrum-versionPrinciple: Never overwrite project-specific adaptations.
Strategy:
references/rules/ BEFORE the next version bump. Otherwise, /scrum update will delete them. The SM should check for rule-file diffs during Retrospective and upstream any valuable additions.For agent definitions and DoD, use this merge approach:
docs/scrum/.scrum-version format:
1.0.0
Single line, just the version number. Created during /scrum setup (Step 4), updated by /scrum update.
Executor: SM agent -- after Retrospective Step 4 completes.
sprint-NNN directories in docs/scrum/sprints/, add 1, zero-pad to 3 digitsdocs/scrum/sprints/YYYY-MM-DD_sprint-NNN/ (date = retrospective execution date)plan.md, log.md, review.md, retrospective.md (extracted from current.md and retrospective output)docs/scrum/sprints/current.md to: No active sprint. Backlog has items -- ready for Sprint Planning.All events logged with timestamps in docs/scrum/logs/:
| Log | Content | Format |
|-----|---------|--------|
| failures.md | Things that went wrong | ## YYYY-MM-DD HH:MM - {title} |
| decisions.md | Design/tech decisions | ## YYYY-MM-DD - {decision} with Context/Decision/Rationale |
| adaptations.md | Mid-sprint adaptations | ## YYYY-MM-DD HH:MM - {change} with Trigger/Change |
| role-interactions.md | Cross-role handoffs and reviews | ## YYYY-MM-DD HH:MM - {From} -> {To}: {Summary} |
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.