You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The supabase-postgres-best-practices SKILL.md lists 8 rule categories with prefixes but doesn't include an index of the actual 31 rule files in references/. Agents have to guess filenames or list the directory to find rules.
Current SKILL.md "How to Use" section:
## How to Use
Read individual rule files for detailed explanations and SQL examples:
references/query-missing-indexes.md
references/schema-partial-indexes.md
references/_sections.md
This only shows 3 of 31 files, and references/_sections.md doesn't actually exist in the installed skill.
Suggestion
Add a full rule index with markdown links so agents can navigate directly to the right rule file. Example:
### 1. Query Performance — CRITICAL| Rule | Summary ||------|---------||[query-missing-indexes](references/query-missing-indexes.md)| Identify and add missing indexes ||[query-composite-indexes](references/query-composite-indexes.md)| Multi-column index design ||[query-covering-indexes](references/query-covering-indexes.md)| Include columns to avoid table lookups ||[query-partial-indexes](references/query-partial-indexes.md)| Index subsets with WHERE clauses ||[query-index-types](references/query-index-types.md)| Choose btree, hash, GIN, GiST, etc. |
This way agents can:
Scan the index to find the relevant rule by description
Load only that specific rule file into context
Never need to load AGENTS.md or list the directory
Additional suggestions
Add user-invocable: false to frontmatter — this is background knowledge, not an actionable slash command
Remove non-standard frontmatter fields (license, metadata) — Claude Code ignores these, they just add noise
Reference supporting files from SKILL.md so Claude knows what each file contains and when to load it.
The references/ directory is well-structured with clear naming conventions. The issue is just that SKILL.md doesn't expose this structure to agents, forcing them to discover it themselves.
Filed after installing via npx skills add supabase/agent-skills@supabase-postgres-best-practices
Problem
The
supabase-postgres-best-practicesSKILL.md lists 8 rule categories with prefixes but doesn't include an index of the actual 31 rule files inreferences/. Agents have to guess filenames or list the directory to find rules.Current SKILL.md "How to Use" section:
This only shows 3 of 31 files, and
references/_sections.mddoesn't actually exist in the installed skill.Suggestion
Add a full rule index with markdown links so agents can navigate directly to the right rule file. Example:
This way agents can:
Additional suggestions
user-invocable: falseto frontmatter — this is background knowledge, not an actionable slash commandlicense,metadata) — Claude Code ignores these, they just add noiseContext
From Anthropic's skill documentation:
The
references/directory is well-structured with clear naming conventions. The issue is just that SKILL.md doesn't expose this structure to agents, forcing them to discover it themselves.Filed after installing via
npx skills add supabase/agent-skills@supabase-postgres-best-practices