01-package-scaffolding/scaffold-kickoff/SKILL.md
Orchestrate the full spec-to-repo kickoff flow for greenfield or early-stage projects. Use when asked to scaffold, generate, or bootstrap a new project repository from specs, plans, or requirements. This is the single entrypoint — it sequences all sibling skills automatically. Do not use for adding features to an already-scaffolded repo (use ticket execution) or for normalizing specs alone (use spec-pack-normalizer).
npx skillsauth add chelch5/skilllibrary scaffold-kickoffInstall 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.
This is the default entrypoint for project scaffolding. When a user asks to scaffold a project, start here.
Before starting, classify the run type:
spec-pack-normalizer first if the project lacks a canonical brief, then skip to step 4 (agent team bootstrap), and continue from step 5.Follow these steps in order. Each step references a sibling skill — read it at the relative path shown.
Read ../spec-pack-normalizer/SKILL.md and follow its procedure.
Scan the workspace for project inputs:
*.md files, docs/, specs/, plans/, requirements/, notes/, design/ directoriesProduce a canonical brief at docs/spec/CANONICAL-BRIEF.md (or docs/BRIEF.md for non-OpenCode repos) with all required sections defined in the spec-pack-normalizer schema.
Gate: Canonical brief must exist with all required sections populated.
Before proceeding, present the user with a batched decision packet for any blocking ambiguities:
Do NOT guess at these. Ask the user explicitly. Do NOT proceed until blocking decisions are resolved.
Gate: All blocking decisions resolved or explicitly recorded.
Read ../repo-scaffold-factory/SKILL.md and follow its procedure.
This produces the repository file tree:
.opencode/, .copilot/, .codex/, or equivalent)For clients that support script-assisted generation (e.g., OpenCode with Scafforge), this has two phases:
Gate: Repository structure exists with README.md, AGENTS.md, and docs skeleton.
Read ../opencode-team-bootstrap/SKILL.md and follow its procedure.
Customize the agent team for this specific project:
Gate: Agent definitions exist with project-specific prompts and permissions.
Read ../ticket-pack-builder/SKILL.md and follow its procedure in bootstrap mode.
Create implementation-ready tickets from the canonical brief:
Gate: Ticket manifest exists with at least one actionable ticket.
Read ../project-skill-bootstrap/SKILL.md and follow its procedure.
Gate: Project-local skills exist with real content, no placeholders.
Read ../agent-prompt-engineering/SKILL.md and follow its procedure.
Apply when:
Skip if the agent team is already robust for the chosen models.
Read ../repo-process-doctor/SKILL.md and follow its procedure.
Run the audit against the freshly generated repo. Fix any safe-repair findings. Escalate intent-changing findings to the user.
Gate: Audit passes clean or all findings addressed.
Read ../handoff-brief/SKILL.md and follow its procedure.
Generate START-HERE.md with actual project state so the repo can be resumed by another agent or session.
Gate: START-HERE.md exists with all sections populated with real content.
The scaffold is complete when ALL of these exist:
confidence: low flag and list alternatives; proceed with most likely choice but document uncertaintyWIP: prefix; log which phase failedtesting
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.