/pipecrew:scaffoldfrom pipecrew
Scaffolds new repos from a PROJECT_BRIEF or by cloning structure from an existing repo, with git init and baseline CLAUDE.md per repo.
Ships in pipecrew. 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.
None: SKILL.md is the whole skill.
Creates repo directories, initializes git, and writes a baseline CLAUDE.md per repo. Does NOT run framework init commands (create-next-app, spring init, etc.) — those are the user's choice to run inside the scaffolded dir, or the first feature's implementer will add them.
/scaffold --from-scratch --brief=<path> --parent=<dir>
/scaffold --from-example --source=<repo-path-or-url> --target=<dir>
| Flag | Effect |
|---|---|
--from-scratch | Create repos from a PROJECT_BRIEF |
--from-example | Clone structure from an existing repo |
--brief=<path> | Path to PROJECT_BRIEF.md (from-scratch mode) |
--parent=<dir> | Where to create repos (default: current working directory) |
--source=<path|url> | Reference repo (from-example mode) — local path or git URL |
--target=<dir> | Where to put the new repo (from-example mode) |
--name=<name> | Override name for the new repo (from-example) |
--no-git | Skip git init |
/scaffold --from-scratch --brief={workspace_root}/habit-tracker/brief.md --parent=~/projects/habit-tracker
/scaffold --from-example --source=~/projects/some-nextjs-app --target=~/projects/new-app --name=dashboard
create-next-app, nest new, etc.) — those introduce dependencies the user may not want. Create a minimal skeleton instead and let the first feature's implementer add framework files.git init unless --no-git is passed. Set the initial branch to main./discover flow (or the user) can enrich it later./discover.--from-scratch--brief=<path>. Extract the <!-- BEGIN PROJECT_BRIEF --> section.name — role — tech stack.{parent}/{name}/ (abort if it exists with content)CLAUDE.md (see template below).gitignore appropriate to the stackgit init -b main + initial empty commitKeep minimal. The architect/implementer adds framework files.
| Stack | Dirs created |
|---|---|
spring-boot | src/main/java/, src/main/resources/, src/test/java/, openapi/ |
nestjs | src/, test/, openapi/ |
fastapi | app/, tests/, openapi/ |
nextjs | src/app/, src/components/, public/ |
react | src/, public/ |
cdk | lib/, bin/, test/ |
node-mock | src/, specs/ |
other | src/ |
# {repo name}
{one-line project summary from brief}
## Stack
- **Type**: {tech stack}
- **Role**: {role}
## Status
Greenfield — scaffolded {date}. No code yet.
## How to work on this repo
See the workspace-level platform.md and this repo's `agent-context/` (once created) for conventions. Until the first feature ships, there are no conventions — the first implementer establishes them.
--from-example--source is a git URL, clone it to a temp dir. If it's a local path, read it in place.node_modules/, target/, dist/, .git/, build outputs.env*, *.pem, anything matching the source's .gitignore{target}/ and copy:
package.json, pom.xml, tsconfig.json, etc.) — adjust the project name field to {name} or target dir nameCLAUDE.md, agent-context/, README.md) — with a note at the top that this was derived from {source}.gitignore, .editorconfig, lint configssrc/ contents (only the empty src/ dir)tests/ dir)package-lock.json, yarn.lock) — let the user regenerategit init -b main.Report in this format so /discover can parse it:
<!-- BEGIN SCAFFOLDED_REPOS -->
| Path | Type | Role | Git initialized |
|------|------|------|-----------------|
| /abs/path/to/repo-1 | nextjs | frontend | yes |
| /abs/path/to/repo-2 | nestjs | api-service | yes |
<!-- END SCAFFOLDED_REPOS -->
--no-git)/discover can continue into Phase A with the new pathsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/assessStandalone cross-repo assessment. Checks a feature branch across all repos for cross-repo integration: wire-shape agreement, requirement enforcement symmetry, event/infra wiring. Use for verifying manually-implemented features or pre-merge validation./brainstormBrainstorm what to build (or how to build it) — one skill, two perspectives. PRODUCT perspective dispatches the product-brainstormer: `greenfield` (no onboarded workspace → a PROJECT_BRIEF, same path as /discover --greenfield) or `feature` (an onboarded workspace exists → a ranked FEATURE_BRIEF for the product-owner). TECHNICAL perspective (`--technical`) dispatches the solution-architect in MODE: brainstorm to diverge into 2–3 technical approaches with pros/cons and a recommendation. Auto-detects perspective and mode from the request; asks when it's unclear which. Standalone — dispatches the agent and presents the result./context-refreshAudit or refresh PipeCrew context docs at three scopes: a single repo (its agent-context/, CLAUDE.md, and DESIGN_SYSTEM.md if frontend), the workspace (platform.md), or everything (workspace + every repo). Audit mode reports staleness only; refresh mode updates docs to match current code./deliverPipeCrew delivers a feature end-to-end across all workspace repos. Orchestrates: requirements → architecture → spec editing → parallel implementation (backend + frontend + mock + infra) → cross-repo assessment. Usage: /deliver <feature description>. Reads workspace config from {workspace_root}/{workspace}/config.json./design-testsAuthor feature-level acceptance test cases for a workspace and maintain them as a durable regression suite under {workspace_root}/{slug}/testcases/. Wraps the pipecrew:test-designer agent's draft → user gate → persist protocol. Default: baseline mode — characterization cases for the workspace's EXISTING features (from platform.md + repo profiles/specs). With --run=<run_id>: cases for the feature a past /deliver run shipped (from its FR/EC + technical design, zero code reads). 'status' renders the suite index. Standalone — does not touch /deliver or /discover./discoverDiscover a new project for the PipeCrew. Inspects repos, interrogates the domain, generates workspace config + platform.md + CLAUDE.md files + domain-specific agents. Run once per project, then use /deliver to ship features.npx claudepluginhub pipecrew-ai/pipecrew --plugin pipecrewOther plugins' skills for the same job