Skip to content

feat(skills): add Agent Plugins manifests so Kiro can load the skills - #25

Merged
carlosfunk merged 2 commits into
mainfrom
feat/kiro-plugin-manifests
Nov 24, 2026
Merged

carlosfunk merged 2 commits into
mainfrom
feat/kiro-plugin-manifests

Conversation

@carlosfunk

Copy link
Copy Markdown
Member

Add a root plugin.json to datamasque-cli, ruleset-builder and ruleset-splitter under claude-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.json and .claude-plugin/plugin.json must change together on a bump. scripts/bump_version.py does not update either.

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
oddy self-requested a review November 20, 2026 02:30

@oddy oddy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d make two small changes before merging.

  1. 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
  2. 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 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

@oddy oddy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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`
@carlosfunk
carlosfunk requested a review from oddy November 20, 2026 04:06

@oddy oddy left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Human wetware pass: Looks legit.

@carlosfunk
carlosfunk merged commit e5daa17 into main Nov 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants