diff --git a/src/commands/agent-init/block.ts b/src/commands/agent-init/block.ts index f86ea8c..8981b74 100644 --- a/src/commands/agent-init/block.ts +++ b/src/commands/agent-init/block.ts @@ -12,7 +12,7 @@ const COMMON = [ const FRAMEWORK_LINES: Record = { void: [ - 'This is a Void app. To check pages and page actions, use the hono-void skill. If it is missing, install it: `npx skills add honojs/skills`.', + 'This is a Void app. To check pages and page actions, use the hono-void skill. If it is missing, install it: `npx skills add honojs/skills --skill hono-void -y`.', ], 'cloudflare-workers': [ '`c.env` has the local bindings (KV, D1, R2, vars). Add `--runtime workerd` to run in the real Workers runtime.', diff --git a/src/commands/agent-init/index.test.ts b/src/commands/agent-init/index.test.ts index 1e6f593..d80c0e9 100644 --- a/src/commands/agent-init/index.test.ts +++ b/src/commands/agent-init/index.test.ts @@ -52,7 +52,9 @@ describe('agentInitCommand', () => { ['add', '-D', '@hono/cli@^1.0.0'], process.cwd() ) - expect(readFileSync('AGENTS.md', 'utf-8')).toContain('npx skills add honojs/skills') + expect(readFileSync('AGENTS.md', 'utf-8')).toContain( + 'npx skills add honojs/skills --skill hono-void -y' + ) }) it('should detect a Cloudflare Workers app', async () => {