From all-skills
Orchestrates epic-to-PR workflows via 4-phase execution and 6-tier agent hierarchy for multi-agent teams, task decomposition, and TDD implementation.
npx claudepluginhub vinnie357/claude-skills --plugin alliumThis skill uses the workspace's default tool permissions.
Defines the standard workflow for agents working epics, issues, and tasks through a 4-phase execution model with a 6-tier prompt hierarchy.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Defines the standard workflow for agents working epics, issues, and tasks through a 4-phase execution model with a 6-tier prompt hierarchy.
Every agent, regardless of tier, follows these four phases:
| Phase | Name | Purpose |
|---|---|---|
| 1 | Pre-flight | Load skills, check tracker, verify branch, understand assignment |
| 2 | Working | Execute assigned work items, report progress, escalate blockers |
| 3 | Validation | Run strictest CI suite, iterate with fix agent until clean |
| 4 | Submit | Create PR, wait for CI, report to upstream, clean up after merge |
| Tier | Role | Scope | Default Model | Reference |
|---|---|---|---|---|
| 0 | Epic Author | Write machine-executable epics | human | references/epic-authoring.md |
| 1 | Team Leader | Decompose epic into issues, spawn agents | sonnet | references/team-leader.md |
| 2 | Sub-team Leader | Decompose issue into tasks, manage workers | sonnet | references/sub-team-leader.md |
| 3 | Agent Worker | Execute a single task with TDD | haiku | references/agent-worker.md |
| 4 | Validator | Run CI, report all failures, never fix | haiku | references/validator.md |
| 5 | Fix Agent | Receive failures, fix code, re-run tests | haiku | references/fix-agent.md |
Default assignment starts at haiku. On repeated failure (2 attempts on same work item):
haiku -> sonnet -> opus
Maximum 2 promotions per agent. If opus fails, escalate to the upstream tier (sub-lead to lead, lead to user).
Every agent at every tier loads these before any work:
/core:anti-fabrication
/core:git
/core:tdd
/core:twelve-factor
/core:security
/core:mise
/core:nushell
Domain-specific skills load based on issue/task labels.
bees ready, bees close) for issue managementmise run ci must pass before any PR or mergefeature/<epic-slug>)Every agent worker (Tier 3) follows these steps:
mise run ci) — fix until 0 failuresgh pr checks --watch) — fix and push until passingAgents never merge — they report the PR URL to the team leader.
Team leaders structure agent prompts with these sections:
## Load skills
/core:anti-fabrication
/core:git
/core:tdd
/core:security
/core:mise
/core:nushell
<domain-specific skills based on task>
## Working directory
cd /path/to/repo
## Bees issue
<issue-id>: <title>
## Context
<what exists, what's needed, why>
## What to implement
<specific files, existing functions to reuse, code patterns>
## Rules
<project-specific constraints>
## Execution order
<the 9 steps above>
Key: always reference existing code and functions to reuse. "Implement X" is vague — "add import/2 action to WorkflowController, reuse serialize_workflow/1 from line 28" is machine-executable.
Choose the initial model by task complexity:
| Task Type | Model | Examples |
|---|---|---|
| Multi-file implementation, design decisions | sonnet | New API endpoint, adapter refactor |
| Simple ops, monitoring, status checks | haiku | Deploy monitor, log reader, port check |
| Research, codebase exploration | Explore subagent | Pattern discovery, ADR review |
| Architecture design | Plan subagent | API design, system integration |
Default to haiku. Use sonnet when the task requires judgment across multiple files or architectural decisions. The escalation path (haiku → sonnet → opus) applies when an agent fails twice on the same work.
Agents must NEVER read, print, or report actual secret values (API keys, tokens, passwords). Only confirm secrets exist and are non-empty:
# WRONG — exposes the secret
op item get "KEY" --vault Vault --fields credential --reveal
# RIGHT — confirms it's set without exposing
test -n "$(op item get KEY --vault Vault --fields credential 2>/dev/null)" && echo "set" || echo "empty"
jq, not python3 -c "import json...".nu), not bash — cross-platform, structured dataLoad the reference matching your assigned role:
Team Leader -> Read references/team-leader.md
Sub-team Leader -> Read references/sub-team-leader.md
Agent Worker -> Read references/agent-worker.md
Validator -> Read references/validator.md
Fix Agent -> Read references/fix-agent.md
Epic Author -> Read references/epic-authoring.md
Epics may include a spec: field pointing to a .allium behavioral spec file (e.g., spec: docs/specs/<epic-slug>.allium). When present:
/allium:distill on refactor epics lacking a spec./allium:propagate to seed failing test skeletons before implementation./allium:weed after CI passes to flag spec/code divergence.Epics WITHOUT a spec: field behave exactly as today — all spec-driven steps are no-ops. Requires the upstream allium plugin: /plugin install allium@juxt. See /allium:allium for full integration details.
references/team-leader.md -- Epic decomposition, team formation, orchestrationreferences/sub-team-leader.md -- Issue decomposition, worker management, model escalationreferences/agent-worker.md -- Task execution with TDD, skill loading, reportingreferences/validator.md -- Strictest CI per language, structured failure reportingreferences/fix-agent.md -- CI failure remediation, test fixing, escalationreferences/epic-authoring.md -- User guide for writing machine-executable epics