mirror of
https://github.com/supabase/agent-skills.git
synced 2026-03-27 10:09:26 +08:00
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>
24 lines
647 B
JSON
24 lines
647 B
JSON
{
|
|
"name": "supabase-agent-skills",
|
|
"version": "1.0.0",
|
|
"author": "Supabase",
|
|
"license": "MIT",
|
|
"description": "Official Supabase agent skills",
|
|
"scripts": {
|
|
"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 .",
|
|
"lint:check": "biome lint .",
|
|
"check": "biome check --write .",
|
|
"ci:check": "biome ci .",
|
|
"test": "vitest run",
|
|
"test:sanity": "vitest run test/sanity.test.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.3.11",
|
|
"vitest": "^3.0.0"
|
|
}
|
|
}
|