Skip to content

Commit 03385ed

Browse files
committed
docs: use npx ai-devkit@latest across guides and templates
1 parent 79e1989 commit 03385ed

17 files changed

Lines changed: 35 additions & 35 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
5757

5858
**How to search**:
5959
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
60-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
60+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
6161
- Example: Search for "authentication patterns" when implementing auth features
6262

6363
### When to Store Memory
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
6868

6969
**How to store**:
7070
- Use `memory.storeKnowledge` MCP tool
71-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
71+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
7272
- Include clear title, detailed content, relevant tags, and appropriate scope
7373
- Make knowledge specific and actionable, not generic advice
7474

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
5757

5858
**How to search**:
5959
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
60-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
60+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
6161
- Example: Search for "authentication patterns" when implementing auth features
6262

6363
### When to Store Memory
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
6868

6969
**How to store**:
7070
- Use `memory.storeKnowledge` MCP tool
71-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
71+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
7272
- Include clear title, detailed content, relevant tags, and appropriate scope
7373
- Make knowledge specific and actionable, not generic advice
7474

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AI DevKit helps AI coding agents work more effectively with your codebase. It pr
1111
## Quick Start
1212

1313
```bash
14-
npx ai-devkit init
14+
npx ai-devkit@latest init
1515
```
1616

1717
This launches an interactive setup wizard that configures your project for AI-assisted development in under a minute.

commands/remember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ When I say "remember this" or want to save a reusable rule, help me store it in
66

77
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
88
2. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
9-
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit memory store` instead.
9+
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
1010
4. **Confirm** — Summarize what was saved and offer to store more knowledge if needed.

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The command-line interface for **AI DevKit** — set up and manage AI-assisted d
1616

1717
```bash
1818
# Run directly (no install needed)
19-
npx ai-devkit init
19+
npx ai-devkit@latest init
2020

2121
# Or install globally
2222
npm install -g ai-devkit

packages/cli/src/__tests__/services/lint/rules/base-docs.rule.lint.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ describe('base docs rule', () => {
2727

2828
expect(checks).toHaveLength(5);
2929
expect(checks.every(check => check.level === 'miss')).toBe(true);
30-
expect(checks[0].fix).toBe('Run: npx ai-devkit init');
30+
expect(checks[0].fix).toBe('Run: npx ai-devkit@latest init');
3131
});
3232
});

packages/cli/src/services/lint/rules/base-docs.rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export function runBaseDocsRules(cwd: string, deps: LintDependencies): LintCheck
99
idPrefix: 'base',
1010
category: 'base-docs',
1111
filePathForPhase: (phase: string) => `${DOCS_DIR}/${phase}/README.md`,
12-
missingFix: 'Run: npx ai-devkit init',
12+
missingFix: 'Run: npx ai-devkit@latest init',
1313
deps
1414
});
1515
}

packages/cli/templates/commands/remember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ When I say "remember this" or want to save a reusable rule, help me store it in
66

77
1. **Capture Knowledge** — If not already provided, ask for: a short explicit title (5-12 words), detailed content (markdown, examples encouraged), optional tags (keywords like "api", "testing"), and optional scope (`global`, `project:<name>`, `repo:<name>`). If vague, ask follow-ups to make it specific and actionable.
88
2. **Validate Quality** — Ensure it is specific and reusable (not generic advice). Avoid storing secrets or sensitive data.
9-
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit memory store` instead.
9+
3. **Store** — Call `memory.storeKnowledge` with title, content, tags, scope. If MCP tools are unavailable, use `npx ai-devkit@latest memory store` instead.
1010
4. **Confirm** — Summarize what was saved and offer to store more knowledge if needed.

packages/cli/templates/env/base.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
5757

5858
**How to search**:
5959
- Use `memory.searchKnowledge` MCP tool with relevant keywords, tags, and scope
60-
- If MCP tools are unavailable, use `npx ai-devkit memory search` CLI command (see memory skill for details)
60+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory search` CLI command (see memory skill for details)
6161
- Example: Search for "authentication patterns" when implementing auth features
6262

6363
### When to Store Memory
@@ -68,7 +68,7 @@ The AI assistant should proactively use knowledge memory throughout all interact
6868

6969
**How to store**:
7070
- Use `memory.storeKnowledge` MCP tool
71-
- If MCP tools are unavailable, use `npx ai-devkit memory store` CLI command (see memory skill for details)
71+
- If MCP tools are unavailable, use `npx ai-devkit@latest memory store` CLI command (see memory skill for details)
7272
- Include clear title, detailed content, relevant tags, and appropriate scope
7373
- Make knowledge specific and actionable, not generic advice
7474

skills/dev-lifecycle/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Sequential phases producing docs in `docs/ai/`. Flow: 1→2→3→4→(5 after e
99

1010
## Prerequisite
1111

12-
Before starting any phase, run `scripts/check-docs.sh` to verify the base `docs/ai/` structure exists. If it fails, run `npx ai-devkit init` first. Do not proceed until all checks pass.
12+
Before starting any phase, run `scripts/check-docs.sh` to verify the base `docs/ai/` structure exists. If it fails, run `npx ai-devkit@latest init` first. Do not proceed until all checks pass.
1313

1414
For a **new feature start** (Phase 1 or `/new-requirement`), apply the shared worktree setup in [references/worktree-setup.md](references/worktree-setup.md) before phase work. This setup is worktree-first by default and includes explicit no-worktree fallback, context verification, and dependency bootstrap.
1515

@@ -50,10 +50,10 @@ Phases: `requirements/`, `design/`, `planning/`, `implementation/`, `testing/`.
5050

5151
## Memory Integration
5252

53-
Use `npx ai-devkit memory` CLI in any phase that involves clarification questions (typically Phases 1-3):
53+
Use `npx ai-devkit@latest memory` CLI in any phase that involves clarification questions (typically Phases 1-3):
5454

55-
1. **Before asking questions**: `npx ai-devkit memory search --query "<topic>"`. Apply matches; only ask about uncovered gaps.
56-
2. **After clarification**: `npx ai-devkit memory store --title "<title>" --content "<knowledge>" --tags "<tags>"`.
55+
1. **Before asking questions**: `npx ai-devkit@latest memory search --query "<topic>"`. Apply matches; only ask about uncovered gaps.
56+
2. **After clarification**: `npx ai-devkit@latest memory store --title "<title>" --content "<knowledge>" --tags "<tags>"`.
5757

5858
## Rules
5959

0 commit comments

Comments
 (0)