From team-building
Use when validating an implementation plan before launching a team via /team-building. Runs plan quality, project readiness, and team hygiene checks. Auto-repairs safe issues, asks for risky ones, blocks on critical failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/team-building:preflight-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Gatekeeper skill that runs **before** the `/team-building` command spins up a
Gatekeeper skill that runs before the /team-building command spins up a
team. It walks five phases (0.1 → 0.5), each delegating its detail to a
reference file. The output is both a human-readable markdown report and a
machine-readable JSON summary block that the invoking command parses to decide
whether to proceed, surface warnings, or block.
Read references on demand. Do not preload all five — each phase pulls in the file it needs at the moment it runs. This keeps your context budget spent on the actual plan and project, not on rules you may not need.
| Input | Required | Description |
|---|---|---|
plan_path | yes | Absolute path to the plan markdown |
project_root | yes | Absolute path to the project |
proposed_agents | no | Roster for the Phase 0.3 budget heuristic |
skip_checks | no | If true, lower CRITICAL → WARN |
Verify the plan file exists, parses as Markdown, contains parseable tasks, and ideally lists file paths, acceptance criteria, and dependencies.
→ Delegate detail to references/plan-quality-rules.md (severity table +
detection heuristics + failure examples).
Detect the project's tech stack(s) from sentinel files in project_root,
record canonical test/build/typecheck commands, and run baseline git checks
(in-repo, on a branch, clean tree, CLAUDE.md present).
→ Delegate detail to references/project-probes.md (probe table + git
checks + multi-stack disambiguation rules).
Confirm no leftover active team is hogging resources, flag orphan tasks, and sanity-check the context budget against the proposed agent count.
→ Delegate detail to references/team-hygiene.md (TeamList /
TaskList checks, context-budget heuristic).
For every finding from 0.1–0.3, look up its repair recipe. SAFE recipes run
inline (logged). RISKY recipes always go through AskUserQuestion. NO_RECIPE
findings are reported untouched.
→ Delegate detail to references/auto-repair-recipes.md (recipe map +
trigger conditions + pseudocode action steps).
Aggregate everything still unrepaired, classify by severity, and emit the
final status: PASS / WARN / BLOCK.
→ Delegate detail to references/severity-rubric.md (comprehensive
severity table aggregating every check + gate decision logic).
Always emit two artefacts in this order:
{
"status": "PASS|WARN|BLOCK",
"criticals": [{"check": "...", "detail": "..."}],
"warns": [{"check": "...", "detail": "..."}],
"repaired": [{"check": "...", "action": "..."}]
}
Field rules:
status is BLOCK if criticals is non-empty (and skip_checks is not
set), otherwise WARN if warns is non-empty, otherwise PASS.repaired lists every auto-repair that ran successfully (do not re-list
those entries under criticals or warns).check must match a check name from the severity rubric so
downstream tooling can map it.{"status": "PASS", "criticals": [], "warns": [], "repaired": []}
Body: Pre-flight OK — 12 checks ran. Plan parsed (8 tasks, 14 file paths, 6 acceptance criteria). Project: Java/Maven on branch feat/x, clean tree. No active team, no orphan tasks.
{
"status": "WARN",
"criticals": [],
"warns": [
{"check": "dirty_git_tree", "detail": "3 modified files in src/main/java"},
{"check": "missing_claudemd", "detail": "no CLAUDE.md in project root"}
],
"repaired": [
{"check": "missing_claudemd", "action": "wrote stub CLAUDE.md with project name + Java/Maven stack"}
]
}
Body lists each warning, the repair that ran, and asks the user one summary
question: 2 warnings (1 repaired) — proceed with team launch?
{
"status": "BLOCK",
"criticals": [
{"check": "plan_no_parseable_tasks", "detail": "no headings or numbered list found in plan.md"},
{"check": "no_tech_stack_detected", "detail": "no pom.xml/package.json/pyproject.toml/go.mod/Cargo.toml in /Users/x/proj"}
],
"warns": [],
"repaired": []
}
Body numbers each blocker, names the offending file, and tells the user exactly what to fix before re-running. No team is launched.
repaired[]. On failure, demote back into
criticals[] / warns[] with the reason in detail.skip_checks: true may.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub pablomarotta4/team-building --plugin team-building