Loading...
Loading...
Installe les outils CLI prérequis (gh, glab, jq), guide l'authentification GitHub/GitLab, installe uvx et configure le serveur MCP mcp-atlassian pour Jira dans OpenCode. Idempotent : relancer le skill est sans danger. Déclenché quand l'utilisateur dit « setup », « install prerequisites » ou « configurer jira ».
npx skill4agent add dedalus-erp-pas/foundation-skills setupmcp-atlassianaptbashcurlImportant — interactive skill only. This skill requires user interaction (auth prompts, Jira credentials). It must not be called as a sub-step from autonomous skill pipelines (fast-meeting, issue-review, etc.) — doing so will stall the pipeline waiting for input that will never arrive.
bash "$(dirname "$0")/reference/setup.sh"aptghglabjquvxuvcurl -LsSf https://astral.sh/uv/install.sh | shgh auth status 2>&1gh auth logingh auth loginglab auth status 2>&1glab auth loginglab auth loginuvx --version 2>&1 || ~/.local/bin/uvx --version 2>&1~/.bashrc~/.profile~/.config/opencode/opencode.json{}mcp.mcp-atlassianhttps://jira.dedalus.com/For Jira Cloud users: use(your email) +JIRA_USERNAME(from https://id.atlassian.com/manage-profile/security/api-tokens) instead of a PAT.JIRA_API_TOKEN
mcp-atlassian~/.config/opencode/opencode.json{
"mcp": {
"mcp-atlassian": {
"type": "local",
"command": ["uvx", "mcp-atlassian"],
"environment": {
"JIRA_URL": "<jira-url>",
"JIRA_PERSONAL_TOKEN": "<pat>"
},
"enabled": true
}
}
}{
"mcp": {
"mcp-atlassian": {
"type": "local",
"command": ["uvx", "mcp-atlassian"],
"environment": {
"JIRA_URL": "<jira-url>",
"JIRA_USERNAME": "<email>",
"JIRA_API_TOKEN": "<api-token>"
},
"enabled": true
}
}
}chmod 600 ~/.config/opencode/opencode.json| Component | Status |
|---|---|
| gh | installed / already ok |
| glab | installed / already ok |
| jq | installed / already ok |
| uvx | installed / already ok |
| gh auth | authenticated / action needed |
| glab auth | authenticated / action needed |
| mcp-atlassian | configured / already ok / skipped |