Execute a single beads issue with full lifecycle. Triggers: "implement", "work on task", "fix bug", "start feature", "pick up next issue".
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/boshu2/agentops/blob/main/skills/implement/SKILL.md -a claude-code --skill implementInstallation paths:
.claude/skills/implement/# Implement Skill
> **Quick Ref:** Execute single issue end-to-end. Output: code changes + commit + closed issue.
**YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.**
Execute a single issue from start to finish.
**Requires:** bd CLI (beads) for issue tracking. Falls back to plain descriptions if unavailable.
## Execution Steps
Given `/implement <issue-id-or-description>`:
### Step 0: Check Issue State (Resume Logic)
Before starting implementation, check if resuming:
1. **Check if issue is in_progress:**
```bash
bd show <issue-id> --json 2>/dev/null | jq -r '.status'
```
2. **If status = in_progress AND assigned to you:**
- Look for checkpoint in issue notes: `bd show <id> --json | jq -r '.notes'`
- Resume from last checkpoint step
- Announce: "Resuming issue from Step N"
3. **If status = in_progress AND assigned to another agent:**
- Report: "Issue claimed by <agent> - use `bd update <id> --assignee self --force` to override"
- Do NOT proceed without explicit override
4. **Store checkpoints after each major step:**
```bash
bd update <issue-id> --append-notes "CHECKPOINT: Step N completed at $(date -Iseconds)" 2>/dev/null
```
### Step 1: Get Issue Details
**If beads issue ID provided** (e.g., `gt-123`):
```bash
bd show <issue-id> 2>/dev/null
```
**If plain description provided:** Use that as the task description.
**If no argument:** Check for ready work:
```bash
bd ready 2>/dev/null | head -3
```
### Step 2: Claim the Issue
```bash
bd update <issue-id> --status in_progress 2>/dev/null
```
### Step 3: Gather Context
**USE THE TASK TOOL** to explore relevant code:
```
Tool: Task
Parameters:
subagent_type: "Explore"
description: "Gather context for: <issue title>"
prompt: |
Find code relevant to: <issue description>
1. Search for related files (Glob)
2. Search for relevant keywords (Grep)
3. Read key files to understand current implementation
4. Identify where changes need to be made
Return: