Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/agent-init/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const COMMON = [

const FRAMEWORK_LINES: Record<Framework, string[]> = {
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.',
Expand Down
4 changes: 3 additions & 1 deletion src/commands/agent-init/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
Loading