Stack JSON Schema
This is the schema used by Kenji's stack export, stack import, and stack install commands. Any stack file that doesn't conform to this schema will be rejected on import.
Schema
json
{
"type": "kenji-stack",
"version": "1.0",
"name": "frontend-stack",
"description": "",
"skills": [
{
"type": "registry",
"value": "kenji/react-debug"
},
{
"type": "github",
"value": "anthropics/prompt-engineering"
},
{
"type": "url",
"value": "https://github.com/user/repo/tree/main/skills/frontend"
},
{
"type": "global",
"value": "my-local-skill"
}
]
}Required fields
type— must be exactly"kenji-stack"version— must be present (any non-empty string)name— must be a string, alphanumeric with hyphens and underscores onlyskills— must be an array; each entry must be an object withtypeandvalue
Note
Plain string entries in the
skills array are not accepted. Each skill must be a structured { type, value } object. Files that contain bare strings will fail validation and be rejected.Skill entry types
"registry"— a registry item innamespace/nameformat"github"— a GitHub repo inuser/repoformat"url"— a GitHub tree URL, blob URL, or raw file URL"global"— a locally installed global skill (referenced by folder name)
Any entry with an unrecognized type will be skipped during kenji stack install.