/claude-impl-tools:governance-setupfrom claude-impl-tools
Sets up Agent Teams governance (team-lead + architecture/QA/design leads) for large projects, or a Mini-PRD for small ones. Use at project kickoff or when a team structure is needed.
Ships in claude-impl-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
v1.4.0: Mini-PRD support (Progressive Disclosure +
/auditcompatible), removed/project-bootstrapdependency, added local project team initialization (standalone) path after governance completion
Purpose: Before implementation begins on a large project, the governance team establishes standards and quality baselines.
Standalone Goal (important): This project provides implementation-assist skills + an Agent Team (Project Team) and is designed to operate fully standalone without external dependencies.
Core Principle: This skill does not write implementation code. It produces only governance documents and standards.
Prerequisites: Having a TASKS.md is ideal. If absent, either (1) after governance completes, run TASKS scaffolding in the local project team initialization (standalone) step, or (optionally) generate TASKS with an external tool/skill.
v1.2.1: Cleaned up frontmatter
trigger, strengthened/auditintegration, detailed Phase execution templates (standalone path reinforced in v1.3.0)
management/quality-gates.md and ADR-*.md must include "where and how it is enforced" (e.g., a single verification entry command, CI job, test suite, artifact path).scripts/verify_all.sh or make verify, and map each quality gate item as a sub-step under that command.# The TASKS file may be at root (TASKS.md) or at docs/planning/06-tasks.md depending on the project.
ls docs/planning/06-tasks.md 2>/dev/null || ls TASKS.md 2>/dev/null
ls management/project-plan.md management/decisions/ADR-*.md 2>/dev/null
ls management/mini-prd.md 2>/dev/null
If TASKS.md is absent:
docs/planning/06-tasks.md) exists → guide /tasks-migrate first (consolidate into TASKS.md)/tasks-init as the next step after completionIf TASKS.md exists: check the task count.
/team-orchestrate for parallel executionMini-PRD vs Full Governance selection:
references/mini-prd/)Fast start: For small projects that do not need a full governance team
File: management/mini-prd.md
# Template reference
references/mini-prd/mini-prd-template.md
# Progressive Disclosure question set
references/mini-prd/progressive-disclosure.md
# /audit compatibility mapping
references/mini-prd/audit-mapping.md
| Phase | Timing | Questions |
|---|---|---|
| Phase 1 | Initial | purpose, features, tech-stack |
| Phase 2 | After skeleton complete | business-logic, data-model, api-contract |
| Phase 3 | During muscles phase | error-handling, edge-cases, performance |
A Mini-PRD passes /audit's planning-conformance check:
# Mini-PRD alone is sufficient to pass
management/mini-prd.md # Phase 1+2 required
# When /audit runs
/audit
→ ✅ Mini-PRD detected
→ ✅ Planning conformance verified
→ ✅ Architecture verified
→ ✅ DDD verified (data-model)
| Step | Agent | Artifact | Detailed Guide |
|---|---|---|---|
| 1 | PM | management/project-plan.md | references/phase-1-pm.md |
| 2 | Architect | management/decisions/ADR-*.md | references/phase-2-architect.md |
| 3 | Designer | design/system/*.md | references/phase-3-designer.md |
| 4 | QA Manager | management/quality-gates.md | references/phase-4-qa.md |
| 5 | DBA | database/standards.md | references/phase-5-dba.md |
references/phase-N-*.md fileTask({
subagent_type: "orchestrator", // follow the guidance in the phase file
description: "PM: Draft project plan",
prompt: "Follow instructions in `references/phase-1-pm.md` and write `management/project-plan.md`. Ask the user for any required input."
})
Note: The
subagent_typeper phase takes its value from what is defined inreferences/phase-N-*.md.
management/
├── project-plan.md ← PM
├── quality-gates.md ← QA Manager
└── decisions/
├── ADR-001-tech-stack.md
├── ADR-002-api-versioning.md
├── ADR-003-error-handling.md
└── ADR-004-naming-convention.md
design/system/
├── tokens.md, components.md, layout.md, accessibility.md
database/
└── standards.md ← DBA
This section must be executed after the skill completes.
After governance completes, present next-step options via AskUserQuestion:
{
"questions": [{
"question": "Governance setup complete! Choose your next step:",
"header": "Next Steps",
"options": [
{"label": "Local project team initialization (recommended)", "description": "(standalone) project-team install + .claude/project-team.yaml creation + domain agents + TASKS scaffolding"},
{"label": "Initial governance quality audit", "description": "/audit — comprehensive check of configured standards and quality gates"},
{"label": "Deficit analysis first", "description": "/eros — validate hidden assumptions and gaps (v1.10.0)"},
{"label": "Start implementing directly", "description": "/agile auto — Claude writes code directly (small projects only)"}
],
"multiSelect": false
}]
}
Conditional guidance (auto-inserted):
- If TASKS.md was absent → prepend "TASKS.md is missing. Run
/tasks-initfirst in the next step." to the top of the options.- If TASKS.md has 30 or more tasks → prepend "You have 30+ tasks.
/team-orchestrateis recommended for parallel execution." to the top of the options.
| Selection | Action |
|---|---|
| "Local project team initialization" | Execute Standalone Init section below |
| "Initial governance quality audit" | Skill({ skill: "quality-auditor" }) |
| "Deficit analysis first" | Skill({ skill: "eros" }) |
| "Start implementing directly" | Skill({ skill: "agile" }) |
When the user selects "Local project team initialization", run the following in the current project directory (never globally):
# Install workers + hooks + Agent Teams env to the current project's .claude/
# The --local flag ensures project-scoped installation
bash "${CLAUDE_PLUGIN_ROOT}/project-team/install.sh" --local --mode=team --force --quiet
This installs to <project-root>/.claude/:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 env flag in settings.json~/.claude/agents/ (global, since they are shared templates)CRITICAL: Always use --local. Never use --global from within a project — governance artifacts (hooks, workers) must be project-scoped so different projects can have different configurations.
| Artifact | Hook | Behavior |
|---|---|---|
| ADR-*.md | standards-validator | Warns on ADR violations |
| quality-gates.md | quality-gate | Blocks on quality shortfalls |
| design/system/*.md | design-validator | Detects design violations |
| database/standards.md | standards-validator | Checks DB naming conventions |
Q: I don't have a TASKS.md
→ Run /tasks-init first (generates scaffolding)
Q: I want to re-run a specific phase only
→ Read the corresponding references/phase-N-*.md then invoke the Task
Q: Agent invocation failed
→ Check ls .claude/agents/ in your project root (run project-team/install.sh --local --mode=team if missing)
Q: Planning documents are too long
→ Run /compress optimize docs/planning/*.md (extracts key content with the H2O pattern)
Last Updated: 2026-03-03 (v1.4.1 - Context Optimize integration)
references/adr-template.md (opens in a new tab)references/database-standards-template.md (opens in a new tab)references/design-system-template.md (opens in a new tab)references/mini-prd/audit-mapping.md (opens in a new tab)references/mini-prd/mini-prd-template.md (opens in a new tab)references/mini-prd/progressive-disclosure.md (opens in a new tab)references/phase-1-pm.md (opens in a new tab)references/phase-2-architect.md (opens in a new tab)references/phase-3-designer.md (opens in a new tab)references/phase-4-qa.md (opens in a new tab)references/phase-5-dba.md (opens in a new tab)references/project-plan-template.md (opens in a new tab)references/quality-gates-template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
project-governance, team-setup, project-kickoff, agent-teams, mini-prd
npx claudepluginhub insightflo/claude-impl-tools --plugin claude-impl-tools28 skills in this plugin
/agileAgile Sprint Master for regular user check-ins and sprint management. Use this for /agile, /sprint, starting a sprint, checkpoint requests, or any time you are running structured iterative development. Triggers on "start sprint", "checkpoint", "sprint status", "run task", or whenever you need to manage layered build progress across Skeleton → Muscles → Skin./architectureQuery and visualize the full project architecture. Use this during project onboarding, before code reviews, before adding new domains, or whenever you need to understand the tech stack. Responds to questions like "show me the overall structure", "list all APIs", "what's the tech stack", or "explain the domain structure". Triggers on /architecture./Other plugins' skills for the same job