Repository navigation
Align skills/kiritan with the Agent Skills spec and the skills CLI - #73
Merged
Merged
Conversation
Closes #72 - Split SKILL.md per progressive disclosure: catalog/sidecar strategies, runtime i18n, and config/interpolation detail move to references/ (strategies.md, runtime.md, config.md), each linked from SKILL.md with a one-line note on when to read it - Add the optional frontmatter fields: license (WTFPL) and compatibility (Node.js 22.7+ and the kiritan CLI) - Add kiritan init to the CLI table (the first command to reach for in a repo that doesn't use Kiritan yet), note npx kiritan / npm run docs:build invocation for devDependencies projects, and fix the --mode/--config note (every command except init accepts them) - Align installation docs with the skills CLI: -g, --list, update/remove in skills/README.md; swap the root README's Agent Skill link from the Anthropic blog post to the Agent Skills spec and the skills CLI - Validate the skill in CI: skills/validate.mjs checks the frontmatter constraints, body size, and reference links against the spec, and a new agent-skill job also confirms the skills CLI still finds the skill via npx skills add . --list
This was referenced Sep 27, 2026
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #72
What
Rewrites \skills/kiritan\ to follow the Agent Skills specification and the Skills CLI conventions, per the five points in the issue.
1. Split SKILL.md for progressive disclosure
SKILL.md keeps only what loads on every activation — recognizing a Kiritan project, the never-hand-edit-generated-output rule, the \inline\ directive syntax, the CLI table, and common mistakes — and moves the rest into \skills/kiritan/references/, linked from SKILL.md with a one-line note on when to read each:
eferences/strategies.md\ — the \catalog\ and \sidecar\ document strategies
eferences/runtime.md\ — runtime i18n (\colocated/\split/\centralized/\�mbedded)
eferences/config.md\ — variable interpolation, config layering, and a minimal working config
2. Frontmatter: optional fields
\\yaml
license: WTFPL
compatibility: Requires Node.js 22.7+ and the kiritan CLI (npm install -D kiritan).
\\
3. \kiritan init\ in the CLI table
The first command to reach for in a repo that doesn't use Kiritan yet. Also notes that a project keeping \kiritan\ in devDependencies invokes it as
px kiritan \ or
pm run docs:build/\docs:check, and fixes the flag note (every command except \init\ accepts --mode/--config).
4. Installation docs aligned with the skills CLI
px skills add otnc/kiritan --list,
px skills update kiritan,
px skills remove kiritan\
5. CI validation
ame\ matches the directory and the naming rules, \description\ ≤ 1024 chars, \compatibility\ ≤ 500 chars), body < 500 lines, and that every relative link from SKILL.md resolves
px --yes skills add . --list\ still finds the skill (--list\ only lists and exits — it never installs or prompts)
Verification
ode skills/validate.mjs\ — passes
px --yes skills add . --list\ — recognizes \kiritan, no side-effect files
pm run ci\ (prettier/eslint),
pm run docs:build\ → \docs:verify\ / \docs:check\ — all pass