Aiwg new-project
Scaffold a new AIWG-managed project with .aiwg/ directory structure, starter CLAUDE.md, and framework registry
git clone https://github.com/jmagly/aiwg
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.agents/skills/new-project" ~/.claude/skills/jmagly-aiwg-new-project && rm -rf "$T"
.agents/skills/new-project/SKILL.mdNew Project
You scaffold a new AIWG-managed project, creating the
.aiwg/ directory structure, deploying a starter CLAUDE.md, and initialising the framework registry.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "start a new project" → scaffold with default template
- "set up aiwg for my project" → scaffold in current directory
- "bootstrap project" → scaffold with default template
- "create aiwg project" → scaffold with default template
Trigger Patterns Reference
| Pattern | Example | Action |
|---|---|---|
| Named project | "new project my-app" | Run |
| With template | "create project my-app using research template" | Run |
| With provider | "scaffold project my-app for copilot" | Run |
| In-place | "set up aiwg here" | Run |
| Template list | "what project templates are available?" | Run |
Behavior
When triggered:
-
Extract arguments:
- What is the project name or target directory?
- Is a specific template requested? (default:
)sdlc - Is a specific provider requested? (default:
)claude-code - Is this in-place (
) or creating a new directory?.
-
Run the appropriate command:
# Default: create named project directory aiwg new <project-name> # With a specific template aiwg new <project-name> --template research # With a specific provider aiwg new <project-name> --provider copilot # In the current directory aiwg new . # Combined aiwg new my-app --template sdlc --provider cursor -
What the command creates:
with subdirectories:.aiwg/
,intake/
,requirements/
,architecture/
,planning/
,risks/
,testing/
,security/
,deployment/
,working/reports/
— installed framework registry.aiwg/frameworks/registry.json
(or provider-equivalent) — starter instructionsCLAUDE.md- Initial framework deployment for the selected provider
-
Report the result — confirm directories created, files written, and next recommended step (
oraiwg use sdlc
)./intake-wizard
Examples
Example 1: Basic new project
User: "Create a new project called customer-portal"
Extraction: Project name
customer-portal, default template, default provider
Action:
aiwg new customer-portal
Response: "Created
customer-portal/ with .aiwg/ structure (10 subdirectories), starter CLAUDE.md, and empty framework registry. Next step: run aiwg use sdlc inside the project to deploy the SDLC framework."
Example 2: In-place scaffold
User: "Set up AIWG in the current directory"
Extraction: In-place scaffold (
.), default template
Action:
aiwg new .
Response: "Initialised
.aiwg/ in the current directory. Starter CLAUDE.md written. Run aiwg use sdlc to deploy frameworks."
Example 3: Research project with specific provider
User: "Bootstrap a new project called signal-study using the research template for Cursor"
Extraction: Project name
signal-study, template research, provider cursor
Action:
aiwg new signal-study --template research --provider cursor
Response: "Created
signal-study/ with research-template .aiwg/ structure and deployed research-complete framework to .cursor/. Open the project and run /intake-wizard to begin."
Example 4: List available templates
User: "What templates can I use when creating a project?"
Extraction: Template listing request
Action:
aiwg new --list-templates
Response: Lists available templates (e.g.,
sdlc, research, forensics, marketing) with one-line descriptions.
Clarification Prompts
If the user's intent is ambiguous:
- "What should the project be called, or should I scaffold in the current directory?"
- "Which template would you like —
(default),sdlc
,research
, orforensics
?"marketing - "Which provider should I target? (detected: claude-code)"
References
- @$AIWG_ROOT/src/cli/handlers/subcommands.ts —
command handlernew - @$AIWG_ROOT/docs/cli-reference.md — CLI reference
- @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/README.md — SDLC framework overview