mirror of
https://github.com/partme-ai/full-stack-skills.git
synced 2026-09-14 18:20:58 +08:00
ci: add Tessl skill-review-and-optimize workflow with /apply-optimize
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Apply Skill Optimization — triggered when a contributor comments /apply-optimize on a PR.
|
||||
# Commits the AI-suggested SKILL.md improvements from the review step directly to the branch.
|
||||
# Docs: https://github.com/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:
|
||||
fetch-depth: 0
|
||||
- uses: tesslio/skill-review-and-optimize@bff9490027d60847df6494fdac7dccfb3ad82948
|
||||
with:
|
||||
mode: apply
|
||||
@@ -0,0 +1,26 @@
|
||||
# Tessl Skill Review & Optimize — runs on PRs that change any SKILL.md.
|
||||
# Posts scores and AI-suggested improvements as a single PR comment.
|
||||
# Contributors can comment /apply-optimize to commit the suggestions automatically.
|
||||
# Docs: https://github.com/tesslio/skill-review-and-optimize
|
||||
name: Tessl 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@bff9490027d60847df6494fdac7dccfb3ad82948
|
||||
with:
|
||||
optimize: true
|
||||
tessl-token: ${{ secrets.TESSL_API_TOKEN }}
|
||||
# Optional quality gate (off by default):
|
||||
# fail-threshold: 70
|
||||
Reference in New Issue
Block a user