@@ -10,7 +10,7 @@ description: Clarify the problem space, gather requirements, and define success
1010
1111** What problem are we solving?**
1212
13- - ` npx ai-devkit init ` currently requires interactive step-by-step prompts, which slows down repeatable setup and automation.
13+ - ` npx ai-devkit@latest init ` currently requires interactive step-by-step prompts, which slows down repeatable setup and automation.
1414- Teams and power users cannot define a reusable bootstrap configuration that includes environments, phases, and skills in one command.
1515- Skill installation during init is not fully declarative from a single template file.
1616- Who is affected:
@@ -23,12 +23,12 @@ description: Clarify the problem space, gather requirements, and define success
2323** What do we want to achieve?**
2424
2525- Primary goals
26- - Add support for ` npx ai-devkit init --template <file> ` (example: ` npx ai-devkit init --template test.yaml ` ).
26+ - Add support for ` npx ai-devkit@latest init --template <file> ` (example: ` npx ai-devkit@latest init --template test.yaml ` ).
2727 - Allow template-driven initialization for:
2828 - ` environments `
2929 - ` skills ` (` registry ` , ` skill ` )
3030 - ` phases `
31- - Automatically install requested skills via ` npx ai-devkit skill add ` during init.
31+ - Automatically install requested skills via ` npx ai-devkit@latest skill add ` during init.
3232 - Reduce or eliminate interactive prompts when a valid template provides required values.
3333- Secondary goals
3434 - Keep backward compatibility for current interactive ` init ` flow.
@@ -43,7 +43,7 @@ description: Clarify the problem space, gather requirements, and define success
4343
4444** How will users interact with the solution?**
4545
46- - As a developer, I want to run ` npx ai-devkit init --template test.yaml ` so that I can initialize without answering prompts one by one.
46+ - As a developer, I want to run ` npx ai-devkit@latest init --template test.yaml ` so that I can initialize without answering prompts one by one.
4747- As a team lead, I want to commit a template file so that every teammate gets the same environments, skills, and phases.
4848- As a CI maintainer, I want deterministic initialization from template so that pipeline setup is reproducible.
4949- Key workflows and scenarios
@@ -70,7 +70,7 @@ description: Clarify the problem space, gather requirements, and define success
7070 - Template format supports both YAML (` .yml ` /` .yaml ` ) and JSON (` .json ` ) in v1.
7171 - Template path accepts both relative and absolute file paths.
7272 - Init parses template and applies ` environments ` , ` skills ` , and ` phases ` .
73- - For each template skill entry, init triggers the same install path as ` npx ai-devkit skill add ` .
73+ - For each template skill entry, init triggers the same install path as ` npx ai-devkit@latest skill add ` .
7474 - Multiple entries with the same registry and different skill names are all processed.
7575 - Skill installation continues after individual failures and reports all failed items in the final summary.
7676 - If one or more skills fail, command exits with status code ` 0 ` and warning output.
0 commit comments