Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Use when building, testing, or deploying JavaScript/TypeScript applications. Reach for Bun when you need to run scripts, manage packages, bundle code, or test applications with a single unified toolkit.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Bun is an all-in-one JavaScript/TypeScript toolkit that replaces Node.js, npm, and bundlers with a single binary. It includes a fast runtime (powered by JavaScriptCore), package manager, test runner, and bundler—all optimized for speed and modern JavaScript. Key files: bunfig.toml (configuration), package.json (scripts and dependencies), bun.lock (lockfile). Primary CLI commands: bun run, bun install, bun test, bun build. See https://bun.com/docs for comprehensive documentation.
Use Bun when:
bun run file.ts)bun install)bun test)bun build)| Task | Command | Notes |
|---|---|---|
| Run TypeScript file | bun run file.ts or bun file.ts | Transpiles on-the-fly; supports JSX |
| Run package script | bun run dev | 28x faster than npm run |
| Install dependencies | bun install | 25x faster than npm; creates bun.lock |
| Add package | bun add react | Adds to package.json and installs |
| Add dev dependency | bun add -d typescript | Installs as devDependency |
| Run tests | bun test | Finds *.test.ts, *.spec.ts files |
| Watch tests | bun test --watch | Re-runs on file changes |
| Build bundle | bun build ./index.ts --outdir ./dist | Bundles for browser/server |
| Watch build | bun build ./index.ts --outdir ./dist --watch | Rebuilds on changes |
| Execute package | bunx cowsay "hello" | Like npx but faster |
| File | Purpose | Location |
|---|---|---|
bunfig.toml | Bun-specific config (runtime, test, install, build) | Project root or ~/.bunfig.toml |
package.json | Scripts, dependencies, workspaces | Project root |
bun.lock | Lockfile (text format by default) | Project root |
tsconfig.json | TypeScript config (Bun respects this) | Project root |
# Runtime behavior
[define]
"process.env.API_URL" = "'https://api.example.com'"
# Test runner
[test]
root = "./__tests__"
coverage = true
coverageThreshold = 0.9
# Package manager
[install]
optional = true
dev = true
linker = "hoisted" # or "isolated"
# Run scripts
[run]
shell = "system" # or "bun"
bun = true # alias node to bun
| Scenario | Use | Reason |
|---|---|---|
| New monorepo/workspace | isolated | Prevents phantom dependencies |
| New single-package project | hoisted | Traditional npm behavior |
| Existing pre-v1.3.2 project | hoisted | Backward compatibility |
| Strict dependency isolation needed | isolated | Each package gets own node_modules |
Use bun install --linker isolated or set in bunfig.toml.
| Task | Use | Why |
|---|---|---|
| Execute a script | bun run | Fast startup, no output files |
| Prepare for browser | bun build --target browser | Optimizes for browser APIs |
| Prepare for server | bun build --target bun or --target node | Optimizes for server APIs |
| Create executable | bun build --compile | Single binary with Bun embedded |
| Development server | bun run with Bun.serve() | Direct HTTP server in code |
| Flag | Use Case |
|---|---|
bun --watch run dev | Restart entire process on file change |
bun test --concurrent | Run async tests in parallel (faster) |
bun test --watch | Re-run tests on file change |
bun build --watch | Rebuild bundle on file change |
bun init my-app
# Choose template: Blank, React, or Library
cd my-app
bun install
# Or add specific packages
bun add react
bun add -d @types/react
# Create index.ts with your code
bun run index.ts
# Or add to package.json scripts
# Then run: bun run dev
# Create math.test.ts
# Import from "bun:test"
# Run: bun test
bun build ./index.ts --outdir ./dist --minify
# Commit bun.lock to version control
# In CI: bun ci (equivalent to bun install --frozen-lockfile)
# Deploy dist/ or compiled executable
bun --watch run dev, not bun run dev --watch. Flags after the script name are passed to the script itself.postinstall scripts by default. Add trusted packages to trustedDependencies in package.json.bun.lock by default (not binary bun.lockb). Commit this to version control.Bun global errors, install @types/bun and configure tsconfig.json with "lib": ["ESNext"].[install] auto = "disable" in bunfig.toml for CI/CD to prevent unexpected installs.[install] peer = false if needed..env, .env.local, .env.[NODE_ENV] automatically. Disable with [env] file = false.--filter with glob patterns: bun install --filter 'packages/*' or bun run --filter 'ba*' test.target: "bun". Requires matching Bun version for execution.Before submitting work with Bun:
bun install to verify dependencies resolve without errorsbun test to verify all tests passbun build to verify bundle completes without errorsbun.lock is committed to version control (for reproducible installs)bunfig.toml has correct [install] and [test] sections if customizedbun run <script> to verify package.json scripts workbun run tsc --noEmit (if tsc installed)bun --watch run dev (for development)bun ci (frozen lockfile install)For additional documentation and navigation, see: https://bun.com/docs/llms.txt
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.
日本語の概要は準備中です。原文の説明を表示しています。
Skill for building with the Astro web framework. Helps create Astro components and pages, configure SSR adapters, set up content collections, deploy static sites, and manage project structure and CLI commands. Use when the user needs to work with Astro, mentions .astro files, asks about static site generation (SSG), islands architecture, content collections, or deploying an Astro project.
日本語の概要は準備中です。原文の説明を表示しています。
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
日本語の概要は準備中です。原文の説明を表示しています。
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
日本語の概要は準備中です。原文の説明を表示しています。
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
日本語の概要は準備中です。原文の説明を表示しています。