Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

Added documentation showing how to integrate kitproj/jira-cli and kitproj/slack-cli using the bootstrap script mechanism.

New Sections

  • Integrating External CLI Tools - Complete setup examples for jira-cli and slack-cli:

    • Memory files documenting available commands and configuration
    • Bootstrap scripts with platform detection, version pinning, and idempotent installation
    • Best practices: conditional installation, error handling (set -euo pipefail), multi-platform support
  • Slack Task Examples - Added real-world templates:

    • Build status notifications with success/failure handling
    • Deployment notifications with stakeholder communication workflows

Enhanced Content

  • Cross-linked existing Jira task examples to bootstrap setup instructions
  • Renamed conflicting task files (slack-deploy-alert vs notify-deployment)

Example Bootstrap Script

#!/bin/bash
set -euo pipefail

if ! command -v jira &> /dev/null; then
    OS=$(uname -s | tr '[:upper:]' '[:lower:]')
    ARCH=$(uname -m)
    case "$ARCH" in
        x86_64) ARCH="amd64" ;;
        aarch64|arm64) ARCH="arm64" ;;
    esac
    
    VERSION="v0.1.0"
    BINARY_URL="https://github.com/kitproj/jira-cli/releases/download/${VERSION}/jira-cli_${VERSION}_${OS}_${ARCH}"
    
    sudo curl -fsSL -o /usr/local/bin/jira "$BINARY_URL"
    sudo chmod +x /usr/local/bin/jira
fi

jira --version

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/kitproj/jira-cli
    • Triggering command: curl -sL REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

I'd like to add examples of using kitproj/jira-cli and kitproj/slack-cli. They need to explain how to write the bootstrap script too.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

… integration

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI and others added 2 commits October 31, 2025 18:19
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
… string formatting

Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI changed the title [WIP] Add examples for using kitproj/jira-cli and kitproj/slack-cli Add jira-cli and slack-cli integration examples with bootstrap scripts Oct 31, 2025
Copilot AI requested a review from alexec October 31, 2025 18:22
@alexec alexec marked this pull request as ready for review October 31, 2025 18:24
@alexec alexec merged commit b392363 into main Oct 31, 2025
2 checks passed
@alexec alexec deleted the copilot/add-examples-for-jira-slack-cli branch October 31, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants