01-package-scaffolding/opencode-team-bootstrap/SKILL.md
Design and generate a project-specific agent team with specialized agents, tools, plugins, commands, and skills tailored to the project type and stack. Use after the base scaffold exists to customize generic agent templates into project-aware specialists. Do not use before a scaffold exists (run scaffold-kickoff first) or when the project is too simple for agent specialization.
npx skillsauth add chelch5/skilllibrary opencode-team-bootstrapInstall 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.
Use this skill to design the agent team for the project. This is creative work — you analyze the project and customize the agents, tools, and plugins to match.
The repo-scaffold-factory generates a BASE set of generic agent templates. These are a starting structure, not the final output. Your job is to read the canonical brief and customize these agents to be project-specific.
Read the project brief to understand:
Decide which agents this project needs. Start from the baseline and add/modify based on project type.
Baseline agents (always present):
| Agent | Role | Permissions | |-------|------|------------| | Team Leader / Orchestrator | Visible orchestrator, delegates to specialists | Read + delegate | | Planner | Turns tickets into implementation plans | Read only | | Plan Reviewer | Approves/rejects plans before implementation | Read only | | Implementer (1+) | Implements the approved plan | Read + write + execute | | Code Reviewer | Reviews for correctness and regressions | Read only | | Security Reviewer | Reviews for trust boundaries and secrets | Read only | | QA / Tester | Validates and checks closeout readiness | Read only | | Docs / Handoff | Closeout artifact synchronization | Read + write |
Project-specific agents (add based on project type):
| Project Type | Additional Agents | |-------------|------------------| | UI / Frontend | Component implementer, accessibility reviewer | | API | API implementer with schema awareness, contract validator | | MCP Server | Protocol implementer, tool definition specialist | | Database-heavy | Migration specialist, schema reviewer | | CLI / Library | API surface reviewer, documentation specialist | | Full-stack | Separate frontend + backend + infra implementers |
You may create MULTIPLE implementer-type agents for different domains. Default to one visible team leader with explicit safe parallel lanes. Only add a hierarchy when the project has strong non-overlapping domains.
Utility agents (include based on need):
Omit utility agents that aren't useful for the project.
For EVERY agent, rewrite the generic prompt to be project-specific:
What to customize:
What NOT to change:
Example customization for a React web app:
Generic: "You produce decision-complete plans for a single ticket."
Customized: "You produce decision-complete plans for a single ticket in the Example App React frontend. Plans must specify which components are affected, what state management changes are needed, and what test scenarios to cover."
Write each agent definition to the appropriate config directory. Verify:
Keep standard workflow tools (artifact write, ticket lookup, ticket update, workflow state, etc.). Consider adding project-specific tools only when genuinely needed:
Keep standard enforcement plugins (stage-gate enforcer, tool guard, invocation tracker). Customize commands (kickoff, resume) to reference project-specific agents and skills.
ask permissions — agents don't prompt the user during autonomous work<agent-config-dir>/
├── agents/ # One file per agent with project-specific prompts
├── skills/ # Project-local skills (populated by project-skill-bootstrap)
├── tools/ # Standard + project-specific tools
├── plugins/ # Standard enforcement plugins
├── commands/ # Human-facing commands (kickoff, resume)
└── config/ # Stage-gate and workflow configuration
myproj-implementer)../ticket-pack-builder/SKILL.md../agent-prompt-engineering/SKILL.md rules when hardening promptstesting
Manages context window budgets, loading strategies, and compaction techniques for AI-assisted coding sessions. Trigger on 'context window', 'what to load', 'context management', 'context overflow', 'token budget'. DO NOT USE for loading specific project docs into agent context (use project-context) or prompt wording and optimization (use prompt-crafting).
development
Implements authentication, session, token, and authorization patterns for the current stack. Trigger on 'add auth', 'JWT', 'OAuth', 'login endpoint', 'session management', 'API key auth'. DO NOT USE for OWASP hardening checklists (use security-hardening), threat modeling (use security-threat-model), or secret rotation/storage (use security-best-practices).
tools
Defines request/response shapes, versioning, validation, and compatibility rules for API-first work. Trigger on 'design API', 'OpenAPI spec', 'REST schema', 'API versioning', 'generate client SDK'. DO NOT USE for GraphQL schemas, gRPC/protobuf definitions (use stack-standards), auth endpoint logic (use auth-patterns), or external API client wrappers (use external-api-client).
development
Create a repo-local ticket system with an index, machine-readable manifest, board, and individual ticket files. Use when a repo needs task decomposition that autonomous agents can follow without re-planning the whole project each session. Do not use for executing tickets (use ticket-execution) or quick fixes that don't warrant formal tickets.