From 2c81c65ea621684e18a9715d4e8b74ff0d2958ab Mon Sep 17 00:00:00 2001 From: Bap <83458751+fernandezbaptiste@users.noreply.github.com> Date: Tue, 24 Mar 2026 16:15:45 +0000 Subject: [PATCH] upgrade skill-review to skill-review-and-optimize (#393) * upgrade skill-review to skill-review-and-optimize Co-Authored-By: Claude Opus 4.6 (1M context) * retrigger CI --------- Co-authored-by: Claude Opus 4.6 (1M context) --- .github/workflows/skill-apply-optimize.yml | 21 +++++++++++++++++++++ .github/workflows/skill-review.yml | 7 +++++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/skill-apply-optimize.yml diff --git a/.github/workflows/skill-apply-optimize.yml b/.github/workflows/skill-apply-optimize.yml new file mode 100644 index 00000000..bea270a4 --- /dev/null +++ b/.github/workflows/skill-apply-optimize.yml @@ -0,0 +1,21 @@ +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' diff --git a/.github/workflows/skill-review.yml b/.github/workflows/skill-review.yml index 4bcc2052..84ab0007 100644 --- a/.github/workflows/skill-review.yml +++ b/.github/workflows/skill-review.yml @@ -1,4 +1,4 @@ -name: Skill Review +name: Skill Review & Optimize on: pull_request: paths: ['**/SKILL.md'] @@ -11,4 +11,7 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - - uses: tesslio/skill-review@14b47c8420ff9ac9a12c30ed4b89ce0e9d0355ae # main + - uses: tesslio/skill-review-and-optimize@d81583861aaf29d1da7f10e6539efef4e27b0dd5 + with: + optimize: 'true' + tessl-token: ${{ secrets.TESSL_API_TOKEN }}