fix(docs): correct search examples in SKILL.md to use --cql flag#84
Merged
pchuri merged 1 commit intopchuri:mainfrom Mar 26, 2026
Merged
fix(docs): correct search examples in SKILL.md to use --cql flag#84pchuri merged 1 commit intopchuri:mainfrom
pchuri merged 1 commit intopchuri:mainfrom
Conversation
The search examples showed raw CQL passed as a plain query string (e.g. `confluence search "type=page AND space=MYSPACE"`), but without the `--cql` flag this is treated as a literal text search, not a CQL query. Also document the `--cql` option in the command reference and use `siteSearch ~` which works more reliably on Confluence Server/DC. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pchuri
approved these changes
Mar 26, 2026
Owner
pchuri
left a comment
There was a problem hiding this comment.
Thanks for the PR!
Good catch — the existing examples were passing CQL syntax without the --cql flag, which meant they were silently treated as literal text searches. The switch to siteSearch ~ is also a nice improvement for Server/DC environments.
Minor suggestions (non-blocking):
- L701: The "Search and process results" section is meant to show general usage patterns, so
siteSearch ~ "release notes"without thespace = "MYSPACE"filter might be simpler and more universal here. - The
--cqldefault is listed asfalsein the options table — for a boolean flag,-or leaving it blank may be more consistent with the other options.
LGTM!
github-actions bot
pushed a commit
that referenced
this pull request
Mar 26, 2026
## [1.27.6](v1.27.5...v1.27.6) (2026-03-26) ### Bug Fixes * **docs:** correct search examples in SKILL.md to use --cql flag ([#84](#84)) ([86800b5](86800b5))
|
🎉 This PR is included in version 1.27.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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 search "type=page AND space=MYSPACE"), but without the--cqlflag this is treated as a literal text search (text ~ "type=page AND space=MYSPACE"), not a CQL query--cqloption to the search command reference table--cqlwithsiteSearch ~which works more reliably on Confluence Server/DCTest plan
confluence search --cql 'siteSearch ~ "keyword" and space = "SPACE"'returns correct results--cql, the old exampleconfluence search "type=page AND space=MYSPACE"does NOT execute as CQL🤖 Generated with Claude Code