Sync caveman skill workflow and docs

Update GitHub Actions workflow to add concurrency controls, checkout the main ref, simplify ZIP creation (zip directly from skills/), and pull --rebase before committing; commit message now includes [skip ci]. Also update README to add an "Intensity Levels" nav link. Clarify skills/caveman/SKILL.md: document explicit /caveman lite|full|ultra triggers, expand the description of dropped filler/pleasantries/hedging, and apply small formatting tweaks.
This commit is contained in:
Julius Brussee
2026-04-06 02:11:21 +02:00
parent a6f306e90f
commit 2ec71d8ffd
3 changed files with 14 additions and 8 deletions
+9 -5
View File
@@ -6,6 +6,10 @@ on:
paths:
- skills/caveman/SKILL.md
concurrency:
group: sync-skill
cancel-in-progress: false
jobs:
sync:
runs-on: ubuntu-latest
@@ -13,6 +17,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Copy to duplicate locations
run: |
@@ -21,10 +27,7 @@ jobs:
- name: Rebuild caveman.skill ZIP
run: |
mkdir -p _zip_tmp/caveman
cp skills/caveman/SKILL.md _zip_tmp/caveman/SKILL.md
cd _zip_tmp && zip -r ../caveman.skill caveman/
cd .. && rm -rf _zip_tmp
cd skills && zip -r ../caveman.skill caveman/
- name: Commit if changed
run: |
@@ -32,5 +35,6 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git diff --quiet && exit 0
git add caveman/SKILL.md plugins/caveman/skills/caveman/SKILL.md caveman.skill
git commit -m "chore: sync SKILL.md copies and caveman.skill"
git pull --rebase origin main
git commit -m "chore: sync SKILL.md copies and caveman.skill [skip ci]"
git push