Agent Skills: Bead Implementation Workflow

Execute on a Beads issue with proper discovery workflow and mandatory session close protocol. Use when starting work on a bead, during implementation when discovering new work that should be externalized, or when completing a session to ensure all work is properly committed.

UncategorizedID: moogah/claude_skills/bead-implementation

Install this agent skill to your local

pnpm dlx add-skill https://github.com/moogah/claude_skills/tree/HEAD/bead-implementation

Skill Files

Browse the full folder contents for bead-implementation.

Download Skill

Loading file tree…

bead-implementation/SKILL.md

Skill Metadata

Name
bead-implementation
Description
"Execute on a Beads issue with proper discovery workflow and mandatory session close protocol. Use when starting work on a bead, during implementation when discovering new work that should be externalized, or when completing a session to ensure all work is properly committed."

Bead Implementation Workflow

Execute on beads with narrow focus, proper discovery, and mandatory session close.

Core Principle

One bead per session. Complete only ONE bead per session, then commit immediately. Work is done on a local branch/worktree - do not push or sync with remote.

Finding and Claiming Work

# Find available work
bd ready                              # All ready work
bd ready --label migration            # Ready work with specific label

# Review issue details
bd show beads-xxx

# Claim work
bd update beads-xxx --status=in_progress

During Implementation: Create Follow-Up Beads

Stay narrowly focused. Externalize any unexpected work by creating new beads.

Use the bead-creator skill for guidance on creating follow-up beads for:

  • Bugs discovered during implementation
  • Unclear requirements needing clarification
  • Related work identified
  • Dependencies and blocking relationships

Key practices:

  • Use --deps "discovered-from:beads-xxx" to link follow-up beads to their origin
  • Add appropriate labels: follow-up, question, blocker, bugfix
  • discovered-from is non-blocking - tracks relationships without affecting execution

Completing Work

# Mark work complete with review label
bd label add beads-xxx needs-review
bd close beads-xxx

Finding Review Work

# Query beads needing review
bd list --label needs-review --status=closed

# After review, remove the label
bd label remove beads-xxx needs-review

Session Close Protocol (Mandatory)

CRITICAL: Work is NOT complete until changes are committed locally.

Five Steps

1. File Issues for Remaining Work

  • Document follow-up tasks as new beads
  • Close completed issues: bd close <id1> <id2> ...
  • Update in-progress issues with current status

2. Run Quality Gates (if code was modified)

bash scripts/type-check.sh    # TypeScript validation
npm test                       # Run tests (if applicable)

3. Commit Changes

git status                    # Check what changed
git add <files>               # Stage code changes
git commit -m "..."           # Commit with descriptive message

4. Verify Completion

  • Confirm all changes are committed
  • Check git status shows clean working tree
  • Verify commit succeeded without errors

5. Hand Off Context

  • Provide summary of what was completed
  • Note any issues filed for next session
  • Highlight any blockers or dependencies

Critical Rules

  • Never stop before committing - Leaves work incomplete
  • Work on local branch/worktree - Do not push or sync with remote
  • Commit immediately - Execute when work is complete
  • Local commit completion is non-negotiable