Replies: 2 comments
-
|
IMHO, curated documentation would have the most impact if it supported llmstxt.org. To do that properly, we’ll likely need to rework the current docs at https://bun.uptrace.dev/ |
Beta Was this translation helpful? Give feedback.
-
|
The One thing worth adding to the SKILL.md scope: common ORM-generated query anti-patterns. Every ORM (Bun included) has patterns where the generated SQL looks correct but performs badly — N+1 through relations, unnecessary subqueries from chained scopes, missing index hints on polymorphic joins. Documenting these as "if you see X, refactor to Y" would give both human devs and AI assistants concrete checkpoints. On the For anyone working on the natural language → SQL side of this: tools like ai2sql.io generate syntactically correct queries from plain English, but ORM-level conventions (Bun's Happy to review drafts of the SKILL.md if contributors start putting one together. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Requesting to start a community effort to add an agent-friendly “skills” package for Bun ORM, similar to how Supabase publishes
AGENTS.md,SKILL.md, and areferences/corpus for high-quality, repeatable best practices. SupaBase SkillsWhy?
Example implementation
Folder structure
AGENTS.md— repo/codebase guidance (how to use Bun)SKILL.md— task focused skills with examples + acceptance checksreferences/— curated docs, examples, benchmark notes, pitfalls, linksWhat to include
AGENTS.md / Claude.md (how to work in this codebase)
SKILL.md (repeatable skills - or best practices)
EXPLAIN, query shaping)references/
MCP server ideas (optional)
A small read-only or local-only MCP to help agents:
search_docs(Bun + SQL conventions)inspect_schema(tables, indexes, constraints)explain_query(runEXPLAIN (ANALYZE, BUFFERS)locally)list_models(discover Bun models + tags)migration_helper(generate/check migration skeletons)Contributors
I need help from contributors who are comfortable with SQL/Bun and I can help draft:
AGENTS.mdoutlineSKILL.mdIf you’re in, let me know with which piece you want to take (AGENTS / SKILL / MCP) and any best practices you’ve learned the hard way
Beta Was this translation helpful? Give feedback.
All reactions