スキル一覧に戻る
ericfisherdev

search-content

by ericfisherdev

Some QOL Claude Code plugins that I wrote

0🍴 0📅 2026年1月10日
GitHubで見るManusで実行

SKILL.md


Search Confluence Content

IMPORTANT: Always use this skill's Python script for searching Confluence. This skill provides CQL-based search with token-efficient output, including parent hierarchy information.

Quick Start

Use the Python script at scripts/search_confluence.py:

# Simple text search
python scripts/search_confluence.py "authentication"

# Search in specific space
python scripts/search_confluence.py "API documentation" --space DEV

# Search with type filter
python scripts/search_confluence.py "meeting notes" --type blogpost

# Search by label
python scripts/search_confluence.py --label "architecture"

Options

OptionDescription
querySearch text (positional argument)
--space, -sLimit search to specific space
--type, -tContent type: page, blogpost, comment
--label, -lSearch for content with specific label
--contributorSearch by content contributor
--modified-afterContent modified after date (YYYY-MM-DD)
--modified-beforeContent modified before date (YYYY-MM-DD)
--limitMaximum results (default: 25)
--format, -fOutput: compact (default), text, json

Search Types

Search in page titles and content:

python scripts/search_confluence.py "deployment guide"

Find pages with specific labels:

python scripts/search_confluence.py --label "api-reference"
python scripts/search_confluence.py "authentication" --space DEV --label "security"

CQL (Confluence Query Language)

This skill uses CQL internally. Advanced users can leverage CQL patterns:

Search PatternCQL Equivalent
Text searchtext ~ "query"
Space filterspace = "KEY"
Type filtertype = page
Label filterlabel = "name"
Date filterlastModified >= "2024-01-01"

Common Workflows

Find Documentation

# Find all API-related docs
python scripts/search_confluence.py "API" --space DEV --type page

# Find recent changes
python scripts/search_confluence.py "" --space DEV --modified-after 2024-01-01

Find Meeting Notes

python scripts/search_confluence.py "meeting notes" --type blogpost --limit 10

Find by Label

# Find all architecture decisions
python scripts/search_confluence.py --label "adr"

# Find deprecated content
python scripts/search_confluence.py --label "deprecated" --space DEV

Find Contributor's Content

python scripts/search_confluence.py --contributor "john.smith" --space DEV

Output Formats

compact (default):

SEARCH|5|"authentication"
HIT|123456|Authentication Guide|DEV|page|parent:Security Docs
HIT|123457|OAuth Setup|DEV|page|parent:Authentication Guide
HIT|123458|SSO Integration|DEV|page|parent:Authentication Guide
HIT|123459|Security Best Practices|DEV|page
HIT|123460|Login Flow|DEV|page|parent:User Management

Note: Parent information is included when available (e.g., parent:Security Docs).

text:

Search Results: "authentication" (5 found)

1. Authentication Guide
   ID: 123456 | Space: DEV | Type: page | Parent: Security Docs
   URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123456

2. OAuth Setup
   ID: 123457 | Space: DEV | Type: page | Parent: Authentication Guide
   URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123457
...

json:

{
  "query": "authentication",
  "count": 5,
  "results": [
    {
      "id": "123456",
      "title": "Authentication Guide",
      "space": "DEV",
      "type": "page",
      "url": "...",
      "parentId": "123400",
      "parentTitle": "Security Docs"
    }
  ]
}

Parent Information

Search results now include parent/hierarchy information when available:

  • parentId - ID of the direct parent page or folder
  • parentTitle - Title of the direct parent

This helps understand where each result is located in the content hierarchy.

Environment Setup

Requires environment variables:

  • CONFLUENCE_BASE_URL - e.g., https://yoursite.atlassian.net
  • CONFLUENCE_EMAIL - Your Atlassian account email
  • CONFLUENCE_API_TOKEN - API token from Atlassian account settings

Reference

For detailed options, see references/options-reference.md.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です