k2-dev - Multiagent Development Orchestration
Enterprise-grade multiagent orchestration plugin for Claude Code that manages end-to-end software development workflows with specialized AI agents.
Overview
k2-dev simulates a complete development team with specialized agents and skills:
Agents:
- Technical Lead: Orchestrates workflows, manages worktrees
- Engineer: Implements features following plans
- PR Writer: Creates well-structured pull requests
- Reviewer: Performs code reviews and quality validation
Skills (main conversation context):
- Planning: Analyzes requirements, creates actionable plans
- Test Planning: Creates test plans and validates implementations
Features
- 🎯 Task-Driven Development: Integrated with beads task management
- 🌲 Git Worktree Workflow: Isolated workspaces for each task
- ✅ Quality Gates: Enforces standards from AGENTS.md
- 🔄 Structured Workflows: Planning → Implementation → PR Creation → Review → Merge
- 📋 Automated Reporting: Track progress and generate status reports
- 🧪 Test Planning: Automated test strategy and coverage planning
Prerequisites
- beads - Task management system
- beads_viewer - Interactive task viewer for beads (
bv command)
- GitHub CLI - Command-line tool for GitHub operations (
gh command)
- Git with worktree support
- Project configuration files (optional but recommended):
AGENTS.md - Agent behavior guidelines
constitution.md - Project principles and constraints
Installation
Install via Claude Marketplace:
claude plugin install k2-dev@ivankristianto/k2-dev
Commands
/k2:start
Start implementation workflow for one or more tickets.
Usage:
/k2:start beads-123 [--skip-worktree]
/k2:start beads-123,beads-234,beads-345 [--skip-worktree]
/k2:start [--skip-worktree] # No ticket - launches beads_viewer (bv) for interactive selection
Options:
--skip-worktree: Create branch in main repository instead of creating an isolated worktree
Interactive Mode:
When called without a ticket ID, /k2:start will launch the bv (beads_viewer) command for interactive task selection. This provides a visual interface to browse and select tasks from your beads project.
Workflow:
- Technical Lead validates tickets exist
- Creates git worktree (branch:
feature/beads-{id}) or creates branch in main repo if --skip-worktree is used
- Reads task description and comments
- Hands off to Engineer for implementation
- Engineer implements with self-review
- Creates GitHub PR automatically
- Reviewer validates against quality gates
- Iterates up to 2 times if needed
- Creates follow-up tickets for remaining issues
- Technical Lead merges and cleans up
/k2:planner
Start planning workflow for new features using the Planning skill.
Usage:
/k2:planner
Workflow:
- Planning skill analyzes requirement with full codebase access
- Asks clarifying questions directly in main conversation
- Creates initial plan
- Invokes Technical Lead agent for architectural review
- Planning skill incorporates feedback and refines plan
- Converts to beads tasks with dependencies
Benefits:
- Faster execution (no agent spawning overhead)
- Easier debugging (everything in main conversation context)
- Direct user interaction (questions asked directly)
/k2:report
Generate status report for a ticket.
Usage:
/k2:report beads-123
Output: Structured markdown report with:
- Task summary
- Current status
- Assignee
- Comments and history
- Related tickets
/k2:test
Create test plan for a ticket using the Test Planning skill.
Usage:
/k2:test beads-123
Workflow:
- Test Planning skill analyzes implementation
- Creates comprehensive test plan
- Defines test cases and coverage strategy
- Adds test plan to beads comments
- Coordinates with Engineer for implementation
/k2:doctor
Check system prerequisites and project configuration.
Usage:
/k2:doctor
What it checks:
- System Prerequisites: Verifies
bd (beads), bv (beads_viewer), gh (GitHub CLI), and git with worktree support are installed
- Project Configuration: Checks for
AGENTS.md and constitution.md files
- Beads Setup: Validates
.beads/ directory and beads operational status
- Beads Task Statistics: Analyzes task health (open/closed/tombstone counts) and suggests maintenance with
bd compact if needed
Output: Diagnostic report showing which requirements are met, missing, or need attention, plus actionable recommendations for beads maintenance.
Agents
Technical Lead