Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/skill-apply-optimize.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Comment `/apply-optimize` on a PR to commit suggested optimizations from the review workflow.
# Pairs with skill-review.yml (tesslio/skill-review-and-optimize).
name: Apply Skill Optimization

on:
issue_comment:
types: [created]

jobs:
apply:
if: >-
github.event.issue.pull_request &&
contains(github.event.comment.body, '/apply-optimize')
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.issue.pull_request.head.ref }}
- uses: tesslio/skill-review-and-optimize@d81583861aaf29d1da7f10e6539efef4e27b0dd5
with:
mode: "apply"
23 changes: 23 additions & 0 deletions .github/workflows/skill-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Tessl skill review + optional AI optimization suggestions on SKILL.md PRs.
# Superset of tesslio/skill-review; uses TESSL_API_TOKEN for optimize. See:
# https://github.com/giuseppe-trisciuoglio/developer-kit/pull/160
name: Skill Review & Optimize

on:
pull_request:
branches: [main]
paths:
- "**/SKILL.md"

jobs:
review:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: tesslio/skill-review-and-optimize@d81583861aaf29d1da7f10e6539efef4e27b0dd5
with:
optimize: "true"
tessl-token: ${{ secrets.TESSL_API_TOKEN }}
Loading