ivankristianto/k2-dev
ivankristianto/k2-dev · 2 stars · 1 plugin
Marketplace Multiagent orchestration plugin for enterprise code development with specialized agents, beads integration, and quality gates enforcement
Install
/plugin marketplace add ivankristianto/k2-devRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@k2-dev-marketplace.
- 1k2-devMultiagent orchestration plugin for enterprise code development with specialized agents, beads integration, and quality gates enforcement
/plugin install k2-dev@k2-dev-marketplace
Files
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 (
bvcommand) - GitHub CLI - Command-line tool for GitHub operations (
ghcommand) - Git with worktree support
- Project configuration files (optional but recommended):
AGENTS.md- Agent behavior guidelinesconstitution.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-worktreeis 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), andgitwith worktree support are installed - Project Configuration: Checks for
AGENTS.mdandconstitution.mdfiles - Beads Setup: Validates
.beads/directory and beads operational status - Beads Task Statistics: Analyzes task health (open/closed/tombstone counts) and suggests maintenance with
bd compactif needed
Output: Diagnostic report showing which requirements are met, missing, or need attention, plus actionable recommendations for beads maintenance.
Agents
Technical Lead
- Role: Workflow orchestrator and system architect
- Responsibilities:
- Validate ticket status
- Create and manage git worktrees
- Coordinate agent handoffs (hub model)
- Make architectural decisions
- Merge PRs and cleanup
- Tools: All tools, full codebase access
Engineer
- Role: Implementation specialist
- Responsibilities:
- Execute implementation following plans
- Perform self-review against quality gates
- Push changes to feature branch
- Respond to review feedback
- Create follow-up tickets
- Tools: Read, Write, Edit, Bash, Grep, Glob
PR Writer
- Role: Pull request creator
- Responsibilities:
- Analyze changes and commit history
- Generate comprehensive PR descriptions
- Create GitHub PRs using gh CLI
- Follow project PR templates and standards
- Tools: Read, Bash, Grep, Glob (no code modification)
Reviewer
- Role: Code quality validator
- Responsibilities:
- Review code changes for quality and security
- Validate against AGENTS.md standards
- Provide feedback on GitHub PRs
- No code changes (review only)
- Tools: Read, Grep, Glob, Bash (read-only operations)
Skills
The plugin provides specialized skills that execute in the main conversation context:
Active Workflow Skills:
- Planning (
/k2:planner): Requirements analysis, task creation, beads task management - Test Planning (
/k2:test): Test strategy, test case definition, coverage planning (replaces legacy Tester agent)
Knowledge Domain Skills:
- beads-integration: Working with beads task management
- git-worktree-workflow: Managing git worktrees for isolation
- quality-gates: Reading and enforcing project standards
- pr-creation: Creating well-structured pull requests (used by PR Writer)
- test-planning: Test strategy and planning reference documentation
- code-review-standards: Code review best practices
Configuration
Optional Settings
Create .claude/k2-dev.local.md to customize behavior:
--- defaultBranch: main prTemplateCustomization: true qualityGateThresholds: codeComplexity: medium testCoverage: 80 --- # K2-Dev Configuration Custom configuration for this project...
Project Configuration Files
AGENTS.md (Project Root)
Define agent behavior, quality gates, and file validation patterns:
# Agent Guidelines ## Quality Gates - All TypeScript files must pass type checking - Test coverage minimum: 80% - No console.log in production code ## File Validation Patterns Validate these file types before changes: - src/\*_/_.ts - src/\*_/_.tsx - lib/\*_/_.js ## Code Review Standards ...
AGENTS.md (Project Root)
Project standards and patterns, including quality gates, coding standards, and agent guidelines.
constitution.md (Project Root)
Project principles and constraints all agents must follow.
Workflow Details
Implementation Workflow
User: /k2:start beads-123
↓
Technical Lead:
- Validates tickets exist and are open
- Creates worktree (feature/beads-123) or branch (--skip-worktree)
- Reads task descriptions and context
↓
Engineer:
- Implements changes following plan
- Self-reviews against quality gates
- Pushes changes to feature branch
↓
PR Writer:
- Analyzes changes and commit history
- Generates description from templates/context
- Creates GitHub Pull Request
↓
Reviewer:
- Reviews code changes
- Validates against AGENTS.md
- Provides feedback on GitHub PR
↓
[Iteration: max 2 times]
↓
Technical Lead:
- Merges approved PR
- Closes beads tasks & syncs
- Removes worktree/branch
- Provides final report
Why PR Creation Uses Internal Subagent:
- Separates PR creation logic from implementation and review
- Ensures consistent PR formatting and template usage
- Reduces context overhead for subsequent agents
Planning Workflow
User: /k2:planner "Add user authentication"
↓
Planning Skill (main conversation context):
- Analyzes requirement
- Explores codebase
- Asks clarifying questions directly
- Creates initial plan
↓
Planning Skill invokes Technical Lead agent:
- Reviews plan
- Provides architectural feedback
↓
Planning Skill:
- Refines plan
- Iterates with Tech Lead
- Converts to beads tasks
- Sets up dependencies
- Adds detailed descriptions
Hooks
PreToolUse Hook
Validates file changes against quality gates before Write/Edit operations.
- Checks file patterns defined in AGENTS.md
- Enforces project standards from AGENTS.md
- Blocks non-compliant changes
Stop Hook
Runs cleanup on session end:
- Always executes
bd sync - Ensures task state is synchronized
- Logs session summary
Best Practices
- Always define quality gates in AGENTS.md for your project
- Keep beads tasks updated with clear descriptions and plans
- Use hierarchical tasks for complex features
- Set dependencies between tasks to maintain order
- Review AGENTS.md regularly and keep it current
- Follow PR templates for consistency
- Create follow-up tickets rather than extending reviews beyond 2 iterations
Troubleshooting
Ticket Validation Fails
- Ensure ticket exists:
bd show beads-123 - Check ticket is open:
bd list --filter=id:beads-123 - Verify beads is synced:
bd sync
Worktree Creation Fails
- Check git worktree list:
git worktree list - Remove stale worktrees:
git worktree prune - Ensure branch name doesn't conflict
Quality Gate Validation Issues
- Review AGENTS.md file patterns
- Check if files match validation patterns
- Verify standards in AGENTS.md are achievable
Agent Coordination Issues
- All coordination happens through Technical Lead (hub model)
- Check Technical Lead has access to required tools
- Verify agent descriptions are clear
Development
Adding New Agents
Add new agent .md files to agents/ directory following the template.
Adding New Skills
Create skill directories under skills/ with SKILL.md files.
Customizing Workflows
Modify agent system prompts and coordination logic in agent files.
License
MIT
Support
For issues and questions, please refer to your project's support channels.
{
"name": "k2-dev-marketplace",
"description": "Local marketplace for k2-dev plugin development",
"owner": {
"name": "Ivan K2"
},
"plugins": [
{
"name": "k2-dev",
"source": "./",
"description": "Multiagent orchestration plugin for enterprise code development with specialized agents, beads integration, and quality gates enforcement",
"version": "0.13.4"
}
]
}Facts
- Kind
- Marketplace
- Repo
- ivankristianto/k2-dev
- Group
- Uncategorized
- Stars
- 2
- Marketplace name
- k2-dev-marketplace
- Owner
- Ivan K2
- Created
- 2026-01-08
- Last push
- 2026-01-15
- Plugins
- 1
Next on this shelf
- 1575jamsajones/claude-squadjamsajones/claude-squad2
- 1576jclfocused/claude-agentsjclfocused/claude-agents2
- 1577joel611/claude-pluginsjoel611/claude-plugins2
- 1578kangminhyuk1111/agentskangminhyuk1111/agents2
- 1579kastheco/claude-pluginskastheco/claude-plugins2
- 1580kerdofficial/claude-debug-modekerdofficial/claude-debug-mode2