Back to Skills

implement

verified

Execute a single beads issue with full lifecycle. Triggers: "implement", "work on task", "fix bug", "start feature", "pick up next issue".

View on GitHub

Marketplace

agentops-marketplace

boshu2/agentops

Plugin

core-kit

development

Repository

boshu2/agentops
6stars

plugins/core-kit/skills/implement/SKILL.md

Last Verified

January 24, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/boshu2/agentops/blob/main/plugins/core-kit/skills/implement/SKILL.md -a claude-code --skill implement

Installation paths:

Claude
.claude/skills/implement/
Powered by add-skill CLI

Instructions

# Implement Skill

Execute a SINGLE beads issue from `open` to `closed`.

## Overview

Take a beads issue through: context → implement → test → close → commit.

**When to Use**: Any beads issue needs execution. Best for learning, complex bugs, unfamiliar code.

**When NOT to Use**: Creating issues (`/formulate`), research (`/research`), bulk (`/implement-wave`).

---

## Workflow

```
0. Context Discovery   -> 6-tier hierarchy
1. Select Issue        -> bd ready or specified ID
2. Start Work          -> bd update --status in_progress
3. Implement           -> Follow patterns, document progress
4. Validate            -> Lint, patterns
5. Test (MANDATORY)    -> just test
6. Close + Commit      -> bd close, git commit, bd sync
7. Next Steps          -> bd ready (STOP after ONE)
```

---

## Phase 0: Context Discovery

See `research/references/context-discovery.md` for full 6-tier hierarchy.

**Quick version**: Code-Map → Semantic Search → Scoped Grep → Source → .agents/ → External

---

## Phase 1: Select Issue

```bash
# If ID provided
bd show $ARGUMENTS

# If no ID (auto-select)
bd ready  # Pick highest priority (P0 > P1 > P2 > P3)
```

**STOP if no issues**: Inform user to run `/formulate` to create issues.

---

## Phase 2-3: Start & Implement

```bash
bd update <id> --status in_progress
```

**Progress Updates**:
```bash
bd comment <id> "Implemented X in path/to/file.py"
```

Write notes assuming future Claude has ZERO history.

---

## Phase 4-5: Validate & Test

```bash
just lint      # Linting
just test      # MANDATORY - must pass
```

**If tests FAIL**: Fix or document blocker. Do NOT commit.

---

## Phase 6: Close & Commit

```bash
bd close <id> --reason "Completed: [summary]"

git add -A
git commit -m "feat(<scope>): <description>

Closes: <id>"

bd sync && git push
```

---

## Phase 7: Next Steps

```bash
bd ready
```

**STOP after ONE issue.** Let user decide whether to continue.

---

## Anti-Patterns

| DON'T | DO INSTEAD |
|-------|------------|
| Bat

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2630 chars