plugins/teamcraft/skills/init-project/SKILL.md
Set up Teamcraft scaffolding for a repo — project identity, work-item registry, and a minimal CLAUDE.md shell. Scaffolding only. Does NOT interview for team conventions, technology decisions, or product requirements — those are handled by dedicated capture skills. Use when the user says 'set up teamcraft', 'initialize teamcraft', 'scaffold this project for teamcraft', or is a new adopter and needs the basic structure in place.
npx skillsauth add codingthefuturewithai/claude-code-primitives teamcraft:init-projectInstall 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.
Scaffold the minimum structure Teamcraft needs to operate in this repo — nothing more. That's:
.teamcraft/project.md — project identity (name, repo).teamcraft/work/INDEX.md — empty work-item registry with the table headerCLAUDE.md with an @.teamcraft/project.md import line — a shell, not a filled-in documentAGENTS.md — a short pointer so any non-Claude AI harness (Codex, etc.) reads CLAUDE.md and .claude/rules/*.md as durable instructions; a pointer, not a copyThis skill does NOT interview the team about how they work, what technologies they use, or what they're building. Those are the responsibility of dedicated capture skills (capture-team-conventions, capture-technical-design, capture-requirements). Keeping this skill narrow prevents the scaffolding step from bloating into a multi-hour interview, and lets teams add captured knowledge in the order that makes sense for their project.
Read references/example-project-setup.md first. It shows exactly what the scaffolding output looks like.
Look for existing Teamcraft scaffolding and any CLAUDE.md or .claude/rules/ already in the repo. If any of them exist, never overwrite. Your job shifts from "create from scratch" to "fill in what's missing, leaving existing content alone."
Specifically:
.teamcraft/project.md exists: read it, don't modify it. The team's project identity is already set..teamcraft/work/INDEX.md exists: read it, don't modify it. Work items are already being tracked.CLAUDE.md exists: do NOT overwrite. If it lacks an @.teamcraft/project.md import line, propose adding one at the top — let the developer approve the addition.AGENTS.md exists: do NOT overwrite — a team may already maintain one. If it doesn't point at CLAUDE.md / .claude/rules/, propose adding those pointer lines; let the developer approve..claude/rules/ exists with content: leave it entirely alone. That's managed by the capture skills and refresh-project-rules, not by this skill.If the repo is completely unscaffolded, proceed with the full creation flow below.
.teamcraft/project.mdInterview briefly for project identity only — name, repo. Two fields. Don't expand scope. Present the proposed content to the developer; write on approval.
.teamcraft/work/INDEX.mdCreate an empty work-item registry with the standard table header. No entries yet — create-issue populates this. If the file exists, leave it alone.
CLAUDE.mdIf missing, create it with just the @.teamcraft/project.md import line. That's the scaffold. If the team later wants non-obvious constraints captured there, the capture skills handle that. Don't interview about constraints here.
If CLAUDE.md exists, propose adding the import line at the top (after any existing frontmatter) unless it's already there. Let the developer approve.
AGENTS.mdClaude Code auto-loads CLAUDE.md and .claude/rules/*.md. Other AI harnesses don't — Codex, for one, looks for AGENTS.md and never sees that always-loaded layer, so a Codex session in this repo would miss whatever catastrophe banners and guardrails live there. Create a short AGENTS.md at the repo root that points any AI agent at CLAUDE.md and .claude/rules/*.md as the durable source of truth. Keep it a pointer, not a copy — there's nothing to keep in sync, and it stays correct as those files evolve. See references/example-project-setup.md for the shape. In a Claude-Code-only repo it's harmless; say so in your closing summary ("created AGENTS.md as a pointer for non-Claude harnesses — safe to delete if you only use Claude Code"). If it already exists, don't overwrite.
Show the developer every file you intend to create or modify, in full, before writing. The developer approves. Nothing gets written without explicit approval.
Confirm what was created. Then point to the next steps — the three capture skills that populate the knowledge this project will need:
/capture-team-conventions — how the team works (branching, testing, review, merge, deploy, etc.)/capture-technical-design — architecture and technology decisions/capture-requirements — product requirements (PRD)Each is independent. The team runs them in whichever order fits their project (greenfield teams often start with requirements and tech decisions before writing code; brownfield teams often start with conventions).
Ask the developer directly: "Scaffolding done. Want to run one of the capture skills next, or stop here?" Wait for their answer. Don't auto-invoke.
tools
Capture feedback about Teamcraft itself and turn it into a well-structured GitHub issue on the plugin's repo. Vets whether the problem is really a Teamcraft skill defect (vs. misuse, the harness, or the user's own project) by root-causing against the actual skill source, then helps the developer decide whether to file and publishes via the GitHub CLI. Use when the user says 'improve teamcraft', 'a teamcraft skill did the wrong thing', 'file feedback on teamcraft', 'report a teamcraft bug', 'I have an idea to make teamcraft better', or when a Teamcraft skill clearly misbehaved and the user wants that captured upstream.
tools
Learn the Teamcraft plugin itself — how its workflow, skills, and artifacts fit together. A guided overview for a human getting started, or a system map for Claude orienting itself to how Teamcraft works before working in a Teamcraft repo. Teaching only; needs no project or environment access. Use when someone wants to understand Teamcraft (the tool, not their specific project), asks "how does Teamcraft work", "explain the workflow", "which skill do I use for X", or when Claude needs the big picture of how the skills hook together.
tools
--- name: teamcraft:work-board description: Launch (or re-launch) the user's live, multi-project work board. The dashboard is a single HTML file copied to a stable user-side location at ~/.claude/teamcraft-board.html and opened in the user's default browser. It has two views via a header toggle — a drag-and-drop Kanban Board and a live Status tab (analytics: work by status, throughput, cycle time, aging, blocked chains, recomputed on every poll). Each project is added via a header dropdown; the
development
Run pre-PR reviews (code health, security, acceptance criteria), address findings, and submit the PR for review. Ends when the PR is ready and CI has passed. Use when implementation is done and ready for review, or when the user says "I'm done coding", "validate this", "ready for review", "submit this for review", "run the pre-PR reviews", or "prepare this for review".