feat(skills): explicit PR close-out — URL in chat + linked roadmap/fi… #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync inheritance branch | |
| # Regenerates the `inheritance` branch on every push to main: identical to | |
| # main, but every skill's `model:` / `effort:` frontmatter lines are stripped, | |
| # so installed skills inherit the session's model and effort instead of | |
| # pinning Claude tiers. Install with: | |
| # npx skills add gtrabanco/agentic-workflow#inheritance | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Strip model/effort from all skills | |
| run: | | |
| find skills -name SKILL.md -exec sed -i '/^model: /d;/^effort: /d' {} + | |
| - name: Commit and force-push to inheritance | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add -A | |
| git commit -m "chore(inheritance): strip model/effort — skills inherit session settings [auto-synced from $GITHUB_SHA]" | |
| git push -f origin HEAD:inheritance |