modules/programs/agents/shared/skills/init-bun-test/SKILL.md
Set up bun test in a project (with Effect support if applicable)
npx skillsauth add MichaelVessia/nixos-config init-bun-testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Set up bun test for this project.
Detect if Effect project:
effect dependencyCreate bunfig.toml:
Standard project:
[test]
root = "./src"
testMatch = ["**/*.test.ts"]
Effect project:
[test]
root = "./src"
testMatch = ["**/*.test.ts"]
Install test dependencies:
Standard project:
bun add -D @types/bun
Effect project:
bun add -D @types/bun @codeforbreakfast/bun-test-effect
Add scripts to package.json:
"test": "bun test",
"test:watch": "bun test --watch"
Create example test file (if no tests exist):
Standard (src/example.test.ts):
import { describe, expect, it } from 'bun:test'
describe('example', () => {
it('works', () => {
expect(1 + 1).toBe(2)
})
})
Effect (src/example.test.ts):
import { describe, expect, it } from '@codeforbreakfast/bun-test-effect'
import { Effect } from 'effect'
describe('example', () => {
it('works', () => {
expect(1 + 1).toBe(2)
})
it.effect('works with Effect', () =>
Effect.gen(function* () {
const result = yield* Effect.succeed(42)
expect(result).toBe(42)
})
)
})
Run tests to verify setup:
bun test
Ask before creating example test file if tests already exist.
development
Restate the last message in plain human language, with no jargon.
testing
Fan out a batch of work items into one PR each via isolated worktree agents, review every PR before it opens, then babysit all PRs through green CI and review feedback. Use when the user wants to fan out PRs, dispatch parallel PR agents over a list of items, or run a batch of independent changes as separate PRs.
development
Dispatch user-visible coding or research agents through Herdr with Codex-Desktop-like thread ergonomics. Use when the user asks to use Herdr to spawn, dispatch, fan out, inspect, follow up with, or monitor agent workspaces/threads.
development
Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to nicobailon/visual-explainer.