Confluence setup
Use when configuring the Confluence Cloud connection or testing it — creating ~/.confluence/config.json (baseUrl, email, API token) and verifying that the REST API works. Triggers: "skonfiguruj Confluence", "połącz z Confluence", "sprawdź połączenie z Confluence", "test confluence".From its SKILL.md
npx -y skills add lutencjusz/confluence-plugin --skill confluence-setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
confluence-setup
Konfiguruje połączenie z Confluence Cloud i testuje je.
Konfiguracja docelowa
Plik ~/.confluence/config.json (poza repo; na Windows %USERPROFILE%\.confluence\config.json):
| Pole | Znaczenie | Źródło |
|---|---|---|
baseUrl | bazowy URL wiki (bez końcowego /) | np. https://twoja-domena.atlassian.net/wiki |
email | e-mail konta Atlassian | konto |
apiToken | token API | https://id.atlassian.com/manage-profile/security/api-tokens |
Procedura
- Zapytaj użytkownika o:
baseUrl,email, token API. - Zaimportuj moduł i zapisz konfigurację:
Import-Module "$env:CLAUDE_PLUGIN_ROOT/lib/confluence.psm1" -Force $dir = Join-Path $HOME '.confluence' if (-not (Test-Path $dir)) { New-Item -ItemType Directory -Force $dir | Out-Null } @{ baseUrl='https://twoja-domena.atlassian.net/wiki' email='WKLEJ_EMAIL'; apiToken='WKLEJ_TOKEN' } | ConvertTo-Json | Set-Content -Path (Join-Path $dir 'config.json') -Encoding utf8 - Test połączenia:
$cfg = Get-ConfluenceConfig "Spaces:"; (Get-ConfluenceSpaces -Limit 1 -Config $cfg).results.key - Raportuj wynik: czy API odpowiada; przy błędzie 401/403 — zły token/e-mail.
Uwagi
- Nigdy nie wypisuj
apiTokenw odpowiedzi ani nie commitujconfig.json. - Token generujesz na https://id.atlassian.com/manage-profile/security/api-tokens.