forinda/kickjs-examples-archive/bootstrap-export

Claude Code and agent skill by forinda/kickjs-examples-archive

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when HMR is silently doing full restarts on every save, or createTestApp can't find the app handle.

Install

npx vskill@latest install forinda/kickjs-examples-archive/bootstrap-export

SKILL.md

The same SKILL.md was published earlier as forinda/kickjs-examples-archive/bootstrap-export.

Check src/index.ts's last line:

ts
// CORRECT — Vite plugin + createTestApp import the named `app` symbol
export const app = await bootstrap({ ... })
// WRONG — HMR degrades to full restart, createTestApp loses the handle
await bootstrap({ ... })

The Vite plugin imports the named app symbol via virtual:kickjs/app; testing helpers do too. Without the export, both fall back to slower paths (full restart on save, mock handle in tests) without warning.

Red flags:

  • A bare await bootstrap(...) with no export — fix by adding export const app =.
  • Re-assigning app later in the file (app = somethingElse) — Vite imports by reference at module-load time; reassignments don't propagate.
  • Multiple files calling bootstrap() — only the entry should. Tests use createTestApp instead.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/forinda/kickjs-examples-archive/bootstrap-export/badge)](https://verified-skill.com/skills/forinda/kickjs-examples-archive/bootstrap-export)

Something wrong with this skill or its page? Tell us.