Skip to content

Add Claude Code plugin manifest#33

Merged
sofq merged 2 commits intomainfrom
feat/claude-plugin
Apr 29, 2026
Merged

Add Claude Code plugin manifest#33
sofq merged 2 commits intomainfrom
feat/claude-plugin

Conversation

@sofq
Copy link
Copy Markdown
Owner

@sofq sofq commented Apr 29, 2026

Summary

  • Wrap the existing confluence-cli skill as an installable Claude Code plugin so users can run /plugin install confluence-cli@confluence-cli instead of copying SKILL.md by hand.
  • Add .claude-plugin/plugin.json manifest.
  • Rename skill/skills/ (the directory name Claude Code's plugin loader expects).
  • Update README and website/guide/skill-setup.md with the new plugin install commands and corrected paths.
  • Also bundles a small docs fix correcting cf command examples in SKILL.md and CLAUDE.md.

Test plan

  • Verify .claude-plugin/plugin.json parses and the plugin installs cleanly via /plugin marketplace add + /plugin install.
  • Confirm Claude Code loads the skill from skills/confluence-cli/SKILL.md after install.
  • Spot-check the README and skill-setup guide render correctly on the docs site.

sofq added 2 commits April 29, 2026 17:19
Skill examples invoked commands that don't exist or behave differently
than described, which would cause agents using the skill to fail. Fixes:

- `cf pages get --id X` swapped to `cf pages get-by-id --id X` for single-page
  fetches; `pages get` lists pages and returns a {results:[...]} envelope.
- `cf search search-content` swapped to `cf search`; `search-content` was an
  ignored positional. Output is a flat array, so jq paths corrected to
  `.[] | {id: .content.id, title: .content.title}`.
- Batch examples updated to `pages get-by-id`, and a note added that
  `cf search`, `cf watch`, `cf raw`, `cf configure` aren't dispatchable
  from batch.
- Heredoc-with-shell-interpolation batch example replaced with `jq -n`
  so titles/bodies containing quotes don't break the JSON.

Skill structure also tightened:
- Description trimmed to triggering conditions only (was summarizing
  what the CLI does, which causes agents to act on the description
  instead of reading the body).
- Non-spec `compatibility:` frontmatter dropped; install methods
  expanded to npm/pip/brew/scoop/go/prebuilt.
- Added Common Mistakes and When NOT to Use sections.
- Batch command mapping table extended with `pages get-by-id`,
  `pages delete`, `spaces get-by-id`, `blogposts get-blog-post-by-id`,
  `workflow publish`.
Wraps the existing skill as an installable Claude Code plugin so
users can run `/plugin install confluence-cli@confluence-cli`
instead of copying SKILL.md by hand.

- Add .claude-plugin/plugin.json
- Rename skill/ -> skills/ (Claude Code plugin loader convention)
- Update README and skill-setup.md with plugin install commands
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sofq sofq merged commit 04d2cb9 into main Apr 29, 2026
14 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.

1 participant