refactor: generic skills build system with auto-discovery (#8)

* refactor: generic skills build system with auto-discovery

- Rename postgres-best-practices-build → skills-build
- Add auto-discovery: scans skills/ for subdirectories with metadata.json
- Build/validate all skills or specific skill with -- argument
- Update root AGENTS.md and CONTRIBUTING.md with new structure
- No configuration needed to add new skills

Usage:
  npm run build                    # Build all skills
  npm run build -- skill-name      # Build specific skill
  npm run validate                 # Validate all skills

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

* fix ci

* more generic impact levels

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Pedro Rodrigues
2026-01-23 15:56:11 +00:00
committed by GitHub
parent 4b49188895
commit bbde7ff5f8
15 changed files with 955 additions and 907 deletions

View File

@@ -5,8 +5,8 @@
"license": "MIT",
"description": "Official Supabase agent skills",
"scripts": {
"build": "npm --prefix packages/postgres-best-practices-build run build",
"validate": "npm --prefix packages/postgres-best-practices-build run validate",
"build": "npm --prefix packages/skills-build run build",
"validate": "npm --prefix packages/skills-build run validate",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint --write .",