diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index ea19be4..02aa54c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -23,6 +23,19 @@ Each script follows the `github-/github-.sh` naming co Provides reusable helpers sourced by scripts: +| Function | Purpose | +|----------|---------| +| `print_status` / `print_success` / `print_warning` / `print_error` | Colored output | +| `err ` | `print_error` + `exit 1` in one call | +| `require_env_var ` | Exit with message if variable unset/empty | +| `require_command ` | Exit if binary not in PATH | +| `configure_gh_auth [scope_hint]` | Bridge GITHUB_TOKEN→GH_TOKEN or verify gh auth session | +| `validate_github_token [bearer]` | Verify GITHUB_TOKEN via /user endpoint | +| `validate_slug