Skip to content

docs: add agent skills for using and authoring middleware - #25

Merged
mandarini merged 1 commit into
mainfrom
docs/skills-llm-enable
Aug 11, 2026
Merged

docs: add agent skills for using and authoring middleware#25
mandarini merged 1 commit into
mainfrom
docs/skills-llm-enable

Conversation

@mandarini

Copy link
Copy Markdown
Collaborator

Two thin skills under skills/, following the @supabase/server precedent. They route to the existing docs rather than restating them, so there is no second copy to drift and nothing to update on a release:

  • supabase-middleware: trigger conditions, package disambiguation against @supabase/ssr and @supabase/server, the flat pipeline model, and a question -> doc routing table.
  • create-supabase-middleware: a routing shim over docs/authoring-guide.md, carrying only the shape gate and the built-in vs standalone decision.

Ship docs/, skills/ and the colocated src READMEs in the npm tarball and on JSR so those routing targets resolve from node_modules, not just in-repo. Shipping docs/ also fixes the guide link not resolving on JSR, noted in #19.

Symlink both into .claude/skills/ so agents working in this repo discover them; root skills/ stays canonical for packaging.

@mandarini
mandarini requested review from a team as code owners August 11, 2026 11:42
@mandarini mandarini self-assigned this Aug 11, 2026
@pkg-pr-new

pkg-pr-new Bot commented Aug 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@supabase/middleware@25

commit: 0dae66e

Two thin skills under skills/, following the @supabase/server precedent.
They route to the existing docs rather than restating them, so there is no
second copy to drift and nothing to update on a release:

- supabase-middleware: trigger conditions, package disambiguation against
  @supabase/ssr and @supabase/server, the flat pipeline model, and a
  question -> doc routing table.
- create-supabase-middleware: a routing shim over docs/authoring-guide.md,
  carrying only the shape gate and the built-in vs standalone decision.

Ship docs/, skills/ and the colocated src READMEs in the npm tarball and on
JSR so those routing targets resolve from node_modules, not just in-repo.
Shipping docs/ also fixes the guide link not resolving on JSR, noted in #19.

Symlink both into .claude/skills/ so agents working in this repo discover
them; root skills/ stays canonical for packaging.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@mandarini
mandarini force-pushed the docs/skills-llm-enable branch from 5bf20a4 to 0dae66e Compare August 11, 2026 11:47
@mandarini
mandarini merged commit 0138604 into main Aug 11, 2026
5 checks passed
@mandarini
mandarini deleted the docs/skills-llm-enable branch August 11, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants