ai-team-library/claude/skills/new-work/SKILL.md
# Skill: New Work ## Description Single entry point for initiating any unit of work: bug fix, feature, chore, spike, or refactor. Collects the work type, goal, constraints, urgency, and affected areas, then creates a Task Spec, optionally drafts a BA artifact (user story for features, bug report for bugs), and seeds initial tasks with the appropriate dependency wave. This skill replaces the need for separate bug/feature/chore commands by routing through one consistent funnel that adapts its ou
npx skillsauth add beekeeper-lab/foundry ai-team-library/claude/skills/new-workInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Single entry point for initiating any unit of work: bug fix, feature, chore, spike, or refactor. Collects the work type, goal, constraints, urgency, and affected areas, then creates a Task Spec, optionally drafts a BA artifact (user story for features, bug report for bugs), and seeds initial tasks with the appropriate dependency wave. This skill replaces the need for separate bug/feature/chore commands by routing through one consistent funnel that adapts its output based on the work type.
/new-work slash command.| Input | Type | Required | Description |
|-------|------|----------|-------------|
| type | Enum: bug, feature, chore, spike, refactor | Yes | The kind of work being created |
| goal | Text | Yes | What this work aims to accomplish — the desired end state |
| constraints | Text | No | Time, scope, or technical constraints (e.g., "must not break existing API") |
| urgency | Enum: low, normal, high, critical | No | Priority level; defaults to normal |
| affected_areas | List of strings | No | Components, modules, or subsystems involved |
| composition_spec | File path | No | Composition spec for team context; auto-detected from ai/team/composition.yml |
| seed | Boolean | No | Whether to seed tasks immediately; defaults to true |
ai/tasks/ for existing work directories. Format: WRK-{NNN} (e.g., WRK-001).ai/tasks/{id}-{type}-{slug}/ where slug is a kebab-case summary of the goal.task.md in the work directory containing:
openai/outputs/ba/user-stories/ using the BA story template. Include acceptance criteria derived from the goal. Link the story to the task spec.ai/outputs/ba/bug-reports/ using the BA bug-report template. Include reproduction steps (if known), expected vs actual behavior, and severity.seed is true, call the Seed Tasks skill to create the first wave of tasks for the affected personas, scoped to this work item. Tasks reference the work ID.ai/tasks/seeded-tasks.md or equivalent), append the new work item with its tasks.| Output | Type | Description |
|--------|------|-------------|
| task_spec | Markdown file | ai/tasks/{id}-{type}-{slug}/task.md — the authoritative work definition |
| ba_artifact | Markdown file | User story or bug report (for feature/bug types only) |
| seeded_tasks | Markdown files | Initial tasks for affected personas (if seed=true) |
| work_summary | Text | Confirmation with work ID, type, assigned personas, and created files |
| Error | Cause | Resolution |
|-------|-------|------------|
| NoGoalProvided | Goal text is empty | Provide a clear goal statement |
| InvalidType | Work type is not one of the supported values | Use: bug, feature, chore, spike, or refactor |
| TasksDirNotWritable | Cannot write to ai/tasks/ | Check permissions or ensure the project is scaffolded |
| NoActivePersonas | Composition has no personas for the selected work type | Add appropriate personas to the composition |
| DuplicateSlug | A work directory with the same slug already exists | Use a more specific goal or different slug |
seed=true)development
# Skill: VDD (Verification-Driven Development) Gate ## Description Runs the programmatic VDD gate for a bean: parses the bean's `## Acceptance Criteria` section, dispatches each criterion's evidence type to the matching runner (test, lint, file, file-contains, or manual), aggregates the results into a pass/fail verdict, and writes a structured markdown report at `ai/outputs/tech-qa/vdd-<NNN>.md` (zero-padded NNN). This is the machine-checkable counterpart to the prose VDD policy in `ai/contex
tools
# Skill: Spawn Task ## Description Dispatches a single specialist persona to execute a single task with only that task's context. Auto-detects the runtime environment and chooses one of two execution paths: - **In tmux** (`$TMUX` set): spawn a worker in a git worktree using a child tmux window. Process-isolated, parallelizable, durable across the calling session's lifetime. Same pattern as `/spawn-bean` but at task granularity. - **Not in tmux**: invoke the `Agent` tool with `subagent_typ
development
# Skill: Orchestration Report ## Description Aggregates the per-bean **Orchestration Telemetry** blocks (BEAN-278) across recent Done beans and produces a markdown report that answers the architecture-aware-evaluation question: **is the orchestration paying for itself?** Distinct from `/telemetry-report` (which aggregates raw cost, duration, and tokens); this skill aggregates the orchestration-quality metrics layered on top — bounces, persona activations, contract violations, escape-hatch usag
development
# Skill: Health Check ## Description Runs all health checks defined in `ai/context/health-checks.md` and produces a table-format report. Can be called standalone or by other skills (e.g., `/long-run`). ## Trigger - Invoked by the `/health-check` slash command. - Called programmatically by `/long-run` at the start of each cycle. ## Inputs | Input | Type | Required | Description | |-------|------|----------|-------------| | health_checks | Markdown file | Yes | `ai/context/health-checks.md`