Add AgentSkills.io integration for AI coding assistants #4172
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Add AgentSkills.io integration so developers can give their AI coding assistants SpacetimeDB expertise.
What is AgentSkills.io?
AgentSkills.io is an open standard for distributing domain knowledge to AI coding assistants. After this PR is merged, developers can run:
The skills are installed into whichever AI coding tools they use - Claude Code, Cursor, Cline, GitHub Copilot, Windsurf, and 40+ others. The AI then has access to SpacetimeDB-specific patterns, common mistakes to avoid, and correct API usage.
Test Now
You can test this PR before it's merged:
Why This Matters
LLMs frequently hallucinate SpacetimeDB APIs that don't exist:
#[spacetimedb::table]instead of#[table]ctx.db.playerinstead ofctx.db.player()conn.reducers.foo("value")instead ofconn.reducers.foo({ param: "value" })These skills teach AI assistants the correct patterns and warn about common mistakes, reducing debugging time for developers using AI tools.
Skills Included
spacetimedb-rustspacetimedb-typescriptspacetimedb-csharpspacetimedb-clispacetimedb-conceptsEach skill includes:
Directory Structure
Usage (after merge)
Test Plan
npx skills add . --listshows 5 skillsnpx skills add . -s spacetimedb-rust --yesinstalls to 28+ agents