feature: vectors agent references#41
feature: vectors agent references#41Rodriguespn wants to merge 63 commits intofeature/supabase-skillfrom
Conversation
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>
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>
This reverts commit c07c234.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* 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>
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>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
Co-authored-by: Filipe Cabaço <filipecabaco@gmail.com>
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>
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>
This reverts commit c07c234.
- 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>
Remove .claude from git tracking and add to .gitignore. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…itignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- 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>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
feat: realtime agent reference
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>
- 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>
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>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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>
- 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>
- 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>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@gregnr commented on closed PR
|
|
@Rodriguespn commented on closed PR
|
|
@gregnr commented on closed PR
|
|
@Rodriguespn commented on closed PR
|
92fcd19 to
6bb9a7c
Compare
Summary
Adds 8 vector/AI reference files for pgvector-based search and RAG:
vectors-setup-pgvector): Extension installation, column types, and dimension choicesvectors-index-*): HNSW (recommended default) and IVFFlat with parameter tuningvectors-search-*): Semantic search with cosine similarity and hybrid search using RRF (Reciprocal Rank Fusion)vectors-embed-generation): Built-ingte-small(384 dims) and OpenAI (1536 dims) patternsvectors-rag-patterns): Retrieval-augmented generation with RLS-awaresecurity invokerfunctionsvectors-perf-tuning): Compute sizing per tier, index parameter tuning, andprobes/ef_searchoptimizationAll search functions use
security invokerto respect RLS. Includes compute sizing guidance (Free: 20K vectors, Small: 50K, Medium: 100K for 1536-dim). UpdatesSKILL.md,AGENTS.md, and_sections.md.