Files
Daniel Griesser 7d7fb4fcc8 chore: remove deprecated setup skills superseded by SDK bundles (#14)
* chore: remove deprecated setup skills superseded by SDK bundles

Remove sentry-ios-swift-setup, sentry-react-native-setup, sentry-setup-tracing,
sentry-setup-logging, and sentry-setup-metrics skills. These are now covered by
the full SDK bundle skills (sentry-cocoa-sdk, sentry-react-native-sdk, etc.)
which provide comprehensive platform-specific guidance.

Update README.md to remove all references: table rows, usage examples, and
directory structure examples (replaced sentry-setup-tracing with sentry-fix-issues).

* chore(release): generate skill list dynamically from SKILL.md frontmatter

Replace the hardcoded (and stale) skill list in the release workflow with a
script that reads name and description from each skills/*/SKILL.md frontmatter.
This ensures the release notes stay current as skills are added or removed.

Adds scripts/generate-skill-list.sh which extracts the first sentence of each
skill's description and formats it as a markdown list.
2026-02-26 22:07:05 +01:00

68 lines
1.7 KiB
YAML

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: Delete existing latest release
run: gh release delete latest --yes || true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete latest tag
run: git push origin :refs/tags/latest || true
- name: Generate release body
id: release-body
run: |
SKILL_LIST=$(./scripts/generate-skill-list.sh)
# Use heredoc to handle multiline output
{
echo 'BODY<<RELEASE_EOF'
cat <<EOF
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
$SKILL_LIST
EOF
echo 'RELEASE_EOF'
} >> "$GITHUB_OUTPUT"
- name: Create 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: ${{ steps.release-body.outputs.BODY }}