Bun runtime and tooling
SkillDev toolsChange eXeLearning Bun runtime code, package scripts, lockfile handling, build targets or backend test execution.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Bun runtime and tooling skill
What this skill tells your AI
The instructions your AI receives, as published by exelearning/exelearning in .agents/skills/bun-runtime/SKILL.md and read by ahel’s review.
Read package.json, bun.lock, bunfig.toml, Dockerfile, the touched Make target and CI Bun version.
Use the installed version and Bun documentation for API details.
- This is an existing Bun/Elysia/Kysely application, not a Node-to-Bun migration. Keep the database, Redis, password and UUID abstractions unless changing that contract is the task.
bun.lockis the text lockfile here. Preserve it during verification;bun install --frozen-lockfilechecks reproducibility. Usemake depsfor the full project setup, not an invented install sequence.- Backend tests import
bun:test; browser/iDevice tests use Vitest + happy-dom. Run a focused spec explicitly;bun testat the root is not a substitute for the configured test groups. - Follow existing injectable dependencies and reset them after tests. Do not introduce
mock.module()or new global state to make a test pass; include a suite-level run when diagnosing pollution. - Keep runtime-specific code out of
src/shared/browser bundles. Backend builds target Bun and leavekysely,kysely/*and jsdom external; preserve subpath resolution in standalone/CLI builds. - Configuration comes from
.env(template.env.dist;make check-envcreates it):APP_PORT,DB_DRIVER/DB_PATH,FILES_DIR,APP_SECRET,BASE_PATH,APP_AUTH_METHODSand others described in environment. Add new variables to.env.distand that doc. - Bun's environment loading can pick up local
.envvalues. Use the test harness's isolated database, FILES_DIR and BASE_PATH settings; do not overwrite the developer's configuration. - Close processes, workers, databases and file handles before deleting temporary files, including Windows.
Verify changed scripts with their real target, focused backend tests and verify-change final gates.
For runtime/version changes, exercise both server and standalone/CLI entry points. An unrecognized API
must be checked in current docs rather than replaced with a similarly named guessed Bun global.
Signals
- GitHub stars
- 143
- Forks
- 33
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
bun-runtime-exelearning- Source
- github.com/exelearning/exelearning
github.com/exelearning/exelearning
Related picks
Skill · wshobson
The pick for Noderun-node-tests
Skill · hiroro-work
The pick for Nodesetup-ts-deep-modules
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptteach
Skill · mattpocock
More in Dev toolsponytail
Skill · dietrichgebert
More in Dev tools