Conversation
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 Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
confluence-cliskill as an installable Claude Code plugin so users can run/plugin install confluence-cli@confluence-cliinstead of copyingSKILL.mdby hand..claude-plugin/plugin.jsonmanifest.skill/→skills/(the directory name Claude Code's plugin loader expects).website/guide/skill-setup.mdwith the new plugin install commands and corrected paths.cfcommand examples inSKILL.mdandCLAUDE.md.Test plan
.claude-plugin/plugin.jsonparses and the plugin installs cleanly via/plugin marketplace add+/plugin install.skills/confluence-cli/SKILL.mdafter install.