Commit Graph

107 Commits

Author SHA1 Message Date
Pedro Rodrigues
d19a939ae9 chore: refresh branch for PR 2026-02-09 20:20:41 +00:00
Pedro Rodrigues
6bbc7d3fd2 refactor: flatten vectors references to root references directory
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:28:53 +00:00
Pedro Rodrigues
bedaf7fdd3 fix: correct P0/P1 fact-check issues in vectors references
- hybrid search: improve examples with proper table schema, HNSW index,
  parameter docs, and operator guidance
- perf tuning: fix compute sizing (Nano 0.5GB, add Micro tier, correct
  Large to ~225K)
- rag patterns: add missing match_document_chunks SQL function definition

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:28:12 +00:00
Pedro Rodrigues
6c1b7af187 fix: correct hybrid_search function to match official Supabase docs
- Use <#> (inner product) operator instead of <=> (cosine distance)
- Use extensions.vector(512) instead of vector(1536)
- Remove `stable` and `security invoker` qualifiers
- Add full_text_weight, semantic_weight, rrf_k parameters
- Use least(match_count, 30) cap for over-fetching
- Remove default value from match_count (required param)
- Use parameterized rrf_k and weights in RRF scoring formula

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:28:12 +00:00
Pedro Rodrigues
f4d228d448 feat: vector agent references 2026-02-09 19:28:12 +00:00
Pedro Rodrigues
397502ea42 refactor: add _sections.md and flatten reference structure
Add root _sections.md with db and realtime sections. All reference
files use flat structure in references/ directory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:21:02 +00:00
Pedro Rodrigues
f50551039b fix: add npx prefix to supabase CLI commands in db migration references
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 19:00:59 +00:00
Pedro Rodrigues
26b8ecb6e6 fix: update API key types to table format with 4 key types
Replace bullet list with proper table showing publishable/secret keys
alongside legacy anon/service_role keys, matching current Supabase docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:55:06 +00:00
Pedro Rodrigues
cbfce7ac2a fix: correct pg_cron schema, API key types, and migration up docs
- pg_cron requires pg_catalog schema, not extensions (critical fix)
- Add publishable/secret key types to Identifying Keys section
- Fix Dashboard path to Settings > API Keys
- Fix migration up comment: applies all pending, not single

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:55:06 +00:00
Pedro Rodrigues
afb57a74fc refactor: move database references to db subdirectory
Move all database reference files to references/db/ to organize
by product area and take advantage of the new subdirectory support
in the build system.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 18:55:06 +00:00
Pedro Rodrigues
7b36415767 feat: supabase db references 2026-02-09 18:55:06 +00:00
Greg Richardson
0cad768375 Merge pull request #21 from supabase/feature/realtime-agent-reference
feat: realtime agent reference
2026-02-06 15:19:41 -07:00
Greg Richardson
1aca995a3d Merge branch 'feature/supabase-skill' into feature/realtime-agent-reference 2026-02-06 15:16:18 -07:00
Pedro Rodrigues
7a37c51fee fix: revert build.ts to flat structure version
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:20:50 +00:00
Pedro Rodrigues
c677664561 chore: remove .claude directory from tracking
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:18:24 +00:00
Pedro Rodrigues
b6359f72f8 chore: remove getting-started-locally references from SKILL.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:16:39 +00:00
Pedro Rodrigues
4ebc6fc771 refactor: flatten realtime references to flat structure
- Merge feature/supabase-skill
- Move realtime/* files to realtime-* prefix in references/
- Remove .claude from git tracking
- Update SKILL.md with flat paths
- Rebuild AGENTS.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:09:05 +00:00
Pedro Rodrigues
05cc2b1a1a chore: remove getting-started-locally guide and .claude/skills from gitignore
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:57:39 +00:00
Pedro Rodrigues
fff97dce2e chore: ignore .claude directory
Remove .claude from git tracking and add to .gitignore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:55:11 +00:00
Pedro Rodrigues
2f78f8f169 feat: add getting-started-locally guide with npx CLI workflow
- Add references/getting-started-locally.md for local development
- Update SKILL.md with Local Development reference
- Add CLI usage note recommending npx for version consistency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
76c64bd362 chore: rebuild AGENTS.md 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
67fd2aca02 chore: remove CLAUDE.md symlink from supabase skill
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
cd8b923b59 research agent keeps track of the source URLs 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
8248dcbcd9 fix: include subdirectory in reference paths in AGENTS.md
The build system now correctly preserves subdirectory paths when
generating the Available References section. For example, files in
references/db/ are now listed as references/db/file.md instead of
just references/file.md.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
14ee65a982 sub agents 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
cca41f7354 feat: supabase db references (#17)
* feat: supabase db references

* refactor: move database references to db subdirectory

Move all database reference files to references/db/ to organize
by product area and take advantage of the new subdirectory support
in the build system.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
61e98ded97 chore: update AGENTS.md after build
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
7fbd046baf review skills.md and template through skill-creator skill 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
d359dc0e97 add readme 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
846e6aa8c4 second refactor 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
645cbe55d6 update agents.md 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
488ac5267a new structure 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
eb5bd9cddd templates for skills 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
51360c89dc fix format 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
82564e4096 starting point for each product 2026-01-30 13:40:52 +00:00
Pedro Rodrigues
1718f83632 Revert "fix: remove CLAUDE.md symlink generation from build"
This reverts commit c07c234601.
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
0b8e84ef1f test: add sanity test for skills installation
Add a sanity test that verifies the skills CLI installation works:
- Runs `npx skills add . -a claude-code -y` using current directory
- Checks command doesn't fail (exit code 0)
- Verifies .claude/skills directory is created
- Dynamically discovers skills in the repo and verifies they're installed
- Checks SKILL.md exists in each installed skill

The test runs on every push to main and pull requests.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:52 +00:00
Pedro Rodrigues
bec143f6ce fix: remove CLAUDE.md symlink generation from build
The CLAUDE.md symlink causes installation errors when using
`npx skills add` as it tries to copy AGENTS.md to itself.

- Remove createClaudeSymlink function from build.ts
- Remove claudeSymlink from SkillPaths interface
- Remove CLAUDE.md references from AGENTS.md structure documentation
- Delete existing CLAUDE.md symlink from skills directory

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:40:26 +00:00
Pedro Rodrigues
22e466937a fix: require reference files at root of references/ directory (#32)
Remove support for nested subdirectories in references/.
All markdown reference files must now be placed directly in
the references/ directory (e.g., references/auth-signup.md).

- Replace getMarkdownFilesRecursive with getMarkdownFiles (flat)
- Simplify parseAllSections to only read root _sections.md
- Update getReferenceFiles to skip subdirectories
- Keep deprecated getMarkdownFilesRecursive alias for compatibility

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:39:59 +00:00
Pamela Chia
5e27342d4a fix(marketplace): correct skills path to match folder name (#31) 2026-01-29 15:35:54 +00:00
Pedro Rodrigues
313aed0a0b Update skills/supabase/references/realtime/presence-tracking.md
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2026-01-28 16:53:20 +00:00
Pedro Rodrigues
7cdce1346d Update skills/supabase/references/realtime/postgres-changes.md
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2026-01-28 16:53:13 +00:00
Pedro Rodrigues
fc7cf496b0 Update skills/supabase/references/realtime/broadcast-basics.md
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2026-01-28 16:53:07 +00:00
Pedro Rodrigues
b0fdc14bd9 Update skills/supabase/references/realtime/patterns-cleanup.md
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2026-01-28 16:53:01 +00:00
Pedro Rodrigues
8a6ac3c6b3 Update skills/supabase/references/realtime/_sections.md
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
2026-01-28 16:52:52 +00:00
Pedro Rodrigues
cfdaec4f06 chore: rebuild AGENTS.md 2026-01-28 16:51:24 +00:00
Pedro Rodrigues
bbeb79017b PR feedback 2026-01-28 16:47:44 +00:00
Pedro Rodrigues
3cfd5f9ed8 feat: realtime agent references 2026-01-28 16:47:44 +00:00
Pedro Rodrigues
f5587cb4cf chore: remove CLAUDE.md symlink from supabase skill
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:46:59 +00:00
Pedro Rodrigues
d7a419c92f research agent keeps track of the source URLs 2026-01-28 16:46:59 +00:00