feat: Add GitHub Action to auto-release skills tarball

This workflow automatically creates a tarball of the skills directory
and uploads it to a 'latest' release on every push to main.

The tarball can be downloaded at:
https://github.com/getsentry/sentry-agent-skills/releases/download/latest/sentry-agent-skills.tar.gz

This enables sentry-wizard to easily fetch and install skills without
requiring git on the user's machine.
This commit is contained in:
Cody De Arkland
2026-01-12 16:55:02 -08:00
parent 195bf2434c
commit 44f3953a00
+52
View File
@@ -0,0 +1,52 @@
name: Release Skills Package
on:
push:
branches: [main]
workflow_dispatch:
jobs:
package:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Create skills tarball
run: |
cd skills
tar -czvf ../sentry-agent-skills.tar.gz .
- name: Update latest release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
name: Latest Skills
files: sentry-agent-skills.tar.gz
prerelease: false
make_latest: true
body: |
Automatically updated Sentry agent skills package.
## Installation
Download and extract to your editor's skills directory:
```bash
# Example for Claude Code (project-level)
mkdir -p .claude/skills
curl -L https://github.com/getsentry/sentry-agent-skills/releases/download/latest/sentry-agent-skills.tar.gz | tar -xz -C .claude/skills
# Or use sentry-wizard
npx @sentry/wizard@latest --skills
```
## Included Skills
- `sentry-code-review` - Analyze and resolve Sentry comments on GitHub PRs
- `sentry-nextjs-wizard` - Setup Sentry in Next.js projects
- `sentry-setup-ai-monitoring` - Setup Sentry AI Agent Monitoring
- `sentry-setup-logging` - Setup Sentry Logging
- `sentry-setup-metrics` - Setup Sentry Metrics
- `sentry-setup-tracing` - Setup Sentry Tracing and Performance Monitoring