Repository navigation
feat(skills): add Agent Plugins manifests so Kiro can load the skills - #25
Conversation
Add a root plugin.json to each skill plugin. Claude Code ignores it and
keeps using .claude-plugin/plugin.json.
In ruleset-builder, replace the Claude-only ${CLAUDE_PLUGIN_ROOT} paths
with paths relative to the skill directory.
oddy
left a comment
There was a problem hiding this comment.
I’d make two small changes before merging.
- Make Ruleset Builder’s task tracking portable. The skill requires
TaskCreatefor all five steps. Kiro CLI has its own experimental task tool. Ask the agent to use the host’s task tracker when available, with a chat checklist as a fallback, and keep the progress update after each step. Also make version reporting conditional on finding the installed plugin manifest. The bareplugin.jsonreference is ambiguous across the two layouts, and a standalone skill install can lack both. Ruleset Builder instructions · Kiro task tracking - Document which folder to import in Kiro. The skills README only covers Claude Code. Add Powers → Add Custom Power → Import power from a folder and list the three
claude-skills/<plugin>directories as separate package roots. Mention that workflows invokingdmrequire the CLI installed. Skills README · Kiro installation docs
A small CI check for matching name and version across each manifest pair would catch release drift while keeping plugin releases independent of the Python package version.
The two manifest locations can coexist, and skill-relative references follow the Agent Skills spec. All three manifests pass schema validation, the versions match, and all four changed references exist. The remaining runtime check is to import and activate the powers in Kiro and confirm Ruleset Builder can read its references from a Claude Code session started outside the repository. Agent Skills file references · Agent Plugins schema
oddy
left a comment
There was a problem hiding this comment.
I’d make two small changes before merging.
Make Ruleset Builder’s task tracking portable. The skill requires TaskCreate for all five steps. Kiro CLI has its own experimental task tool. Ask the agent to use the host’s task tracker when available, with a chat checklist as a fallback, and keep the progress update after each step. Also make version reporting conditional on finding the installed plugin manifest. The bare plugin.json reference is ambiguous across the two layouts, and a standalone skill install can lack both. Ruleset Builder instructions · Kiro task tracking
Document which folder to import in Kiro. The skills README only covers Claude Code. Add Powers → Add Custom Power → Import power from a folder and list the three claude-skills/ directories as separate package roots. Mention that workflows invoking dm require the CLI installed. Skills README · Kiro installation docs
A small CI check for matching name and version across each manifest pair would catch release drift while keeping plugin releases independent of the Python package version.
The two manifest locations can coexist, and skill-relative references follow the Agent Skills spec. All three manifests pass schema validation, the versions match, and all four changed references exist. The remaining runtime check is to import and activate the powers in Kiro and confirm Ruleset Builder can read its references from a Claude Code session started outside the repository. Agent Skills file references · Agent Plugins schema
…ps and a manifest drift test - Ruleset Builder tracks its five steps with the host's task tool, or a chat checklist when the host has none - Ruleset Builder reports its version only when it finds a plugin manifest, and reports it as unknown otherwise - The skills README gives the Kiro import steps, the three plugin folders, and says to install `dm` first - A test fails when `plugin.json` and `.claude-plugin/plugin.json` differ in name or version, or when a plugin has no `plugin.json`
Add a root
plugin.jsontodatamasque-cli,ruleset-builderandruleset-splitterunderclaude-skills/. Kiro reads that file. Claude Code ignores it and keeps using.claude-plugin/plugin.json, so each folder serves both tools with no copy of the skill.In
ruleset-builder, replace the Claude-only${CLAUDE_PLUGIN_ROOT}reference paths with paths relative to the skill directory.Not tested: the relative paths in Claude Code, and installing the plugins in Kiro.
The version in
plugin.jsonand.claude-plugin/plugin.jsonmust change together on a bump.scripts/bump_version.pydoes not update either.