Document the spicedb-dev AI agent plugin - #588
Merged
Merged
Conversation
…pages The Essential/Strongly Recommended/Recommended sidebar entries used bare-hash hrefs, which only worked as in-page scroll anchors on the Best Practices page itself. From any other page they appended the hash to the current URL instead of navigating to Best Practices. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgEnJ8XrVePnhSU3scp4jE
…edb-dev plugin Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgEnJ8XrVePnhSU3scp4jE
…toolchain step Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgEnJ8XrVePnhSU3scp4jE
…em-dash overuse, agent-fallback guidance, cross-page consistency) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgEnJ8XrVePnhSU3scp4jE
…rify CLI syntax Refer to "an existing authorization solution (OpenFGA, Okta FGA, etc.)" generically instead of naming specific products as the definitive list; Auth0 FGA doesn't exist as a distinct product and is dropped. Removes the implement-spicedb routing explanation, since the plugin already handles that routing for the user. The Claude Code and Codex CLI install commands were independently verified against each project's own source (marketplace name in authzed-marketplace's marketplace.json; codex-rs's plugin_cmd.rs and marketplace_cmd.rs) and left unchanged, since they were already correct. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SgEnJ8XrVePnhSU3scp4jE
4 tasks
Contributor
|
Preview deployment status for this pull request.
|
samkim
marked this pull request as ready for review
September 17, 2026 20:52
| Tags: **application** | ||
|
|
||
| If you're using an AI coding agent, install the [`spicedb-dev` plugin](/spicedb/getting-started/build-with-an-agent) from the [AuthZed marketplace](https://github.com/authzed/authzed-marketplace) and keep it in the loop for your regular SpiceDB exploration and development. | ||
| It helps you design permission models, generate and validate schemas, add relationship writes and permission checks to your application code, audit coverage as your app grows, and generate tests from your schema, catching common mistakes like checks with no corresponding writes before they reach production. |
Member
There was a problem hiding this comment.
add that is also helps with migration from OpenFGA or OSO
| - **Implement authorization in code**: relationship writes (`WriteRelationships`, `DeleteRelationships`) and permission checks (`CheckPermission`, `BulkCheckPermission`, `LookupResources`, `LookupSubjects`) in Go, TypeScript, Python, C#, Java, Rust, and Ruby | ||
| - **Audit permission coverage** across your codebase: for every permission in your schema, see whether a check exists in code, and catch unfiltered list endpoints, which is useful for debugging and hardening an authorization setup you didn't build with the plugin, too | ||
| - **Generate tests**: positive, negative, and hierarchical-inheritance test fixtures and integration tests, generated from your schema | ||
| - **Migrate from an existing authorization solution** (OpenFGA, Okta FGA, etc.): convert the model, the relationship data, the application code, and the tests, then verify the migration with a differential test harness before cutover |
Addresses PR review feedback to call out OSO alongside OpenFGA and Okta FGA as an authorization system the spicedb-dev plugin can help migrate from. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
spicedb-devClaude Code / Codex CLI / AGENTS.md plugin from the toolchain-install step in First StepsTest plan
pnpm buildsucceeds with no errors or broken-link warningsoxfmt --checkpasses🤖 Generated with Claude Code