
tesslio/skill-review
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
SKILL.mdファイルを自動的にレビューするGitHubアクションは、プルリクエストと投稿結果がPRコメントとして変更されました
概要
SKILL.mdファイルを自動的にレビューするGitHubアクションは、プルリクエストで変更され、その結果をPRコメントとして投稿します。 このアクションは、Tessl Review を実行し、 . TESSL TOKEN などの GitHub リポジトリシークレットとして保存し、tessl-token の入力で渡します。 レビューは、Tessl CLI 0.90.0 以降が必要です。このアクションはデフォルトでインストールされます。 レビューは1つのTesslのワークスペースに対して実行されます。 CLI は、リポジトリに tessl.json がワークスペースにリンクされているか、トークンが正確に 1 つを見ることができるときに、それをピックアップします。 組織アカウントの通常数 — が表示されるトークン — ワークスペースの入力が必要で、 設定するまでのチェックが失敗します。 .github/workflows/skill-review.yml でリポジトリにこのワークフローを追加します。 SKILL.md ファイルを変更する PR は、自動レビューコメントを取得します。 トークンが複数のワークスペースを表示できる場合は、ワークスペース: ワークスペース — tessl ワークスペースリストに名前が表示される.
概要(AI 翻訳)
SKILL.mdを自動的にレビューするGitHubアクションは、プルリクエストで変更され、結果がPRコメントとして投稿します。
このアクションは、Tessl Review を実行し、**Tessl API トークンが必要です。 GitHub リポジトリの秘密として保存し、例えば TESSL_TOKEN]] で渡します。 レビューは、Tessl CLI 0.90.0 以降が必要です。このアクションはデフォルトでインストールされます。
レビューは1つのTesslのワークスペースに対して実行されます。 CLI は、リポジトリに tessl.json がワークスペースにリンクされているとき、またはトークンが正確に 1 つを見ることができます。 組織のアカウントで、通常はいくつか表示されるトークン — [workspace]] の入力が必要です。チェックは、一度設定するまでリクエストを失敗します。
使用法
[.github/workflows/skill-review.ymlでリポジトリにこのワークフローを追加します。
SKILL.mdファイルを変更する任意のPRは、自動レビューコメントを取得します。 トークンが複数のワークスペースを見ることができる場合は、[workspace: your-workspace — [tessl workspace list]] で名前を表示します。
入力
| 入力 | 説明 | デフォルト | お問い合わせ | [`workspace` | タスクワークスペース名またはIDレビューが反して実行されます([[`tessl workspace list`]参照)。 CLI がリンクされた `tessl から解決するように設定解除します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Tessl Skill Review Action
A GitHub Action that automatically reviews SKILL.md files changed in a pull request and posts the results as a PR comment.
This action runs Tessl Review and needs a Tessl API token. Store it as a GitHub repository secret, for example TESSL_TOKEN, and pass it with the tessl-token input. Reviews need Tessl CLI 0.90.0 or later, which the action installs by default.
Reviews run against one Tessl workspace. The CLI picks it for you when the repository has a tessl.json linked to a workspace, or when your token can see exactly one. A token that can see several — usual for an organisation account — needs the workspace input, and the check fails asking for it until you set one.
Usage
Add this workflow to your repository at .github/workflows/skill-review.yml:
name: Tessl Skill Review
on:
pull_request:
paths: ['**/SKILL.md']
jobs:
review:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: tesslio/skill-review@main
with:
tessl-token: ${{ secrets.TESSL_TOKEN }}
Any PR that modifies a SKILL.md file will get an automated review comment. If your token can see more than one workspace, add workspace: your-workspace — tessl workspace list shows the names.
Inputs
| Input | Description | Default |
|---|---|---|
workspace |
Tessl workspace name or ID reviews run against (see tessl workspace list). Leave unset to let the CLI resolve it from a linked tessl.json or from the token’s only workspace. |
unset |
path |
Root path to search for SKILL.md files | . |
comment |
Whether to post results as a PR comment | true |
fail-threshold |
Minimum score (0-100) to pass. Set to 0 to never fail. |
0 |
tessl-token |
Tessl API token used to authenticate review requests. Store it as a GitHub secret. | unset |
Setting a quality gate
To enforce a minimum skill quality score, set fail-threshold:
- uses: tesslio/skill-review@main
with:
tessl-token: ${{ secrets.TESSL_TOKEN }}
fail-threshold: 70
PRs with any skill scoring below 70% will fail the check.
How it works
- Detects which
SKILL.mdfiles were changed in the PR - Installs the Tessl CLI
- Runs
tessl review run qualityon each changed skill - Posts (or updates) a review comment on the PR — with the assessment and any validation issues up front — and writes a job summary
- Optionally fails the check if any score is below the threshold
Comment behavior
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add tesslio/skill-review