Skip to content

Commit 404bbfe

Browse files
davila7claude
andcommitted
feat: Add 'skill' as valid component type in tracking API
- Add 'skill' to validTypes array in track-download-supabase.js - Allows tracking of skill component downloads in Supabase 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f3242ea commit 404bbfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/track-download-supabase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function validateComponentData(data) {
2121
return { valid: false, error: 'Component type and name are required' };
2222
}
2323

24-
const validTypes = ['agent', 'command', 'setting', 'hook', 'mcp', 'template'];
24+
const validTypes = ['agent', 'command', 'setting', 'hook', 'mcp', 'skill', 'template'];
2525
if (!validTypes.includes(type)) {
2626
return { valid: false, error: 'Invalid component type' };
2727
}

0 commit comments

Comments
 (0)