agentleFS
pantheon-orgpantheon-org/tekhne/skills/development/bun-development/AGENTS.md

tekhne / bun-development

AGENTS.md10 starsChanged 39 days agoMITView on GitHub

Complete Bun.js ecosystem guidance covering runtime APIs, file I/O, package management, testing, SQLite, and security. Runtime & Core APIs (runtime-): - references/runtime-globals.md - Bun.file, Bun.serve, Bun.write, Bun.env - references/runtime-http-server.md - Bun.serve HTTP and WebSocket APIs - references/runtime-shell.md - Bun.$ shell command execution - references/runtime-password.md - Bun.password hashing APIs File I/O Operations (file-): - references/file-io-patterns.md - Bun.file, Bun.write, streaming - references/file-glob.md - Bun.Glob for file scanning - references/file-vs-node.md - When to use Bun vs node:fs Testing Framework (testing-): - references/testing-bun-test.md -…

  • Reads credentials

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read SKILL.md to understand when to use Bun-specific features

    line 18
  2. Very specific:

    Prefer Bun-native APIs over Node.js equivalents for performance

    line 21

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

bun-development

Overview

Complete Bun.js ecosystem guidance covering runtime APIs, file I/O, package management, testing, SQLite, and security.

Structure

bun-development/
  SKILL.md       # Main navigation hub
  AGENTS.md      # This file - complete reference guide
  references/    # Detailed reference files by category

Usage

  1. Read SKILL.md to understand when to use Bun-specific features
  2. Navigate to categories based on your task
  3. Load reference files on-demand
  4. Prefer Bun-native APIs over Node.js equivalents for performance

Reference Categories

PriorityCategoryImpactPrefix
1Runtime & Core APIsCRITICALruntime-
2File I/O OperationsCRITICALfile-
3Testing FrameworkHIGHtesting-
4SQLite IntegrationHIGHsqlite-
5Package ManagementMEDIUMpackage-
6Security PracticesMEDIUMsecurity-

Available References

Runtime & Core APIs (runtime-):

  • references/runtime-globals.md - Bun.file, Bun.serve, Bun.write, Bun.env
  • references/runtime-http-server.md - Bun.serve HTTP and WebSocket APIs
  • references/runtime-shell.md - Bun.$ shell command execution
  • references/runtime-password.md - Bun.password hashing APIs

File I/O Operations (file-):

  • references/file-io-patterns.md - Bun.file, Bun.write, streaming
  • references/file-glob.md - Bun.Glob for file scanning
  • references/file-vs-node.md - When to use Bun vs node:fs

Testing Framework (testing-):

  • references/testing-bun-test.md - Test runner, describe, test, expect
  • references/testing-matchers.md - Built-in matchers and assertions
  • references/testing-mocking.md - Mock functions and modules
  • references/testing-snapshots.md - Snapshot testing

SQLite Integration (sqlite-):

  • references/sqlite-basics.md - bun:sqlite Database class
  • references/sqlite-prepared-statements.md - Performance with prepared statements
  • references/sqlite-transactions.md - ACID transactions
  • references/sqlite-migrations.md - Schema migrations

Package Management (package-):

  • references/package-installation.md - bun install, add, remove
  • references/package-workspaces.md - Monorepo workspace configuration
  • references/package-lockfile.md - bun.lockb binary lockfile

Security Practices (security-):

  • references/security-shell-escaping.md - Preventing command injection
  • references/security-sql-injection.md - SQL injection prevention
  • references/security-serve.md - Securing Bun.serve endpoints

Consolidates 6 original skills: bun-file-io, bun-package-manager, bun-runtime, bun-sqlite, bun-testing, security-bun

22 reference files across 6 categories

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.