Files
skillkit/marketplace/sources-schema.json
Rohit Ghumare 4a6003ec46 feat: single source of truth for skills marketplace (#15)
* feat: single source of truth for skills marketplace

- Consolidate all skills data to marketplace/skills.json (15,062 skills)
- Add marketplace/sources.json for curated repository sources (31 repos)
- Add skillkit publish command for user skill submissions
- Add auto-publish prompt to skillkit init
- Add AI skill caching with localStorage (7-day TTL)
- Add Submit to Marketplace button for AI-generated skills
- Remove duplicate skills.json files (docs, core)
- Remove legacy src/tui/ folder (replaced by packages/tui)
- Update all imports to use single source files

* fix: address CodeRabbit review feedback

- Remove duplicate checklist items in SkillSubmitForm.tsx
- Add missing sources-schema.json file
- Add slugify method for URL-safe skill IDs
- Fix Windows browser open command (empty title param)
- Fix frontmatter parsing for CRLF and multiline tags

* fix: address additional review feedback

- Add TTY check to skip prompts in CI/non-interactive environments
- Guard against empty slug IDs with validation
- Print full URL in fallback (not truncated)
- Fix repo name parsing for names containing dots
- Add cache pruning and max entries limit (50) for localStorage

* fix: filter empty strings from YAML tags array parsing
2026-01-27 00:02:40 +00:00

50 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SkillKit Sources",
"description": "Schema for curated skill repository sources",
"type": "object",
"required": ["version", "sources"],
"properties": {
"$schema": {
"type": "string",
"description": "Schema reference"
},
"version": {
"type": "integer",
"description": "Schema version"
},
"updatedAt": {
"type": "string",
"format": "date",
"description": "Last update date"
},
"description": {
"type": "string",
"description": "Description of this file"
},
"sources": {
"type": "array",
"description": "List of curated skill sources",
"items": {
"type": "object",
"required": ["source", "name"],
"properties": {
"source": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+$",
"description": "GitHub owner/repo format"
},
"name": {
"type": "string",
"description": "Display name for the source"
},
"official": {
"type": "boolean",
"description": "Whether this is an official source"
}
}
}
}
}
}