実際の製品を操作して、利用者が確認できる動作証拠を集め、検証計画に沿った受け入れレポートとして公開するスキルです。
- 変更後の製品動作を実地で検証したいとき
- 画面キャプチャなどの証拠を集めたいとき
- 検証計画とレポートを作成したいとき
alintのモデル判定型ルールを追加・調整し、実際のコードで誤検出を確かめながら警告・エラーの基準や実行コストを管理するスキルです。
Maintain LobeHub's model-backed alint rule set in packages/alint: author a rule, calibrate its false positives against real source, decide its severity (warn vs error) from real PR data, and track its token cost. Use for adding or narrowing an alint rule, classifying findings as true/false positives, promoting or demoting a rule, or running the weekly rule-set review.
実行スコア 未検証
インストール方法を見るpackages/alintで管理する、モデル判定型のコードチェックルールを追加・調整するスキルです。ASTなどで機械的に判定できる内容はESLintに任せ、単純な構文チェックでは表しにくい判断をルールにします。実際のコードやレビュー指摘をもとにルールの条件を定め、検出結果を正検出と誤検出に分類します。繰り返し発生する誤検出は除外条件とテスト用フィクスチャに反映し、実際のPRで誤検出がないと確認できた段階で警告からエラーへ引き上げます。検出件数が多すぎるルールを監査用に分ける判断や、実行ごとのトークン消費の確認も扱います。
独自のコード品質ルールをチームに導入したい開発者や、既存ルールの誤検出を減らしたい保守担当者に向いています。警告をエラーに変える基準を決めたい場合、週次でルールの精度や実行コストを見直す場合にも使えます。
ルールを編集する前にpackages/alint/README.mdを確認します。校正の実行には.alint/config.tomlの設定とALINT_API_KEYまたはDEEPSEEK_API_KEYが必要です。ルール編集後はキャッシュ削除が必要で、bun run i18nなどとは別のalint用コマンドを使います。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。
点数には入れていません。 2026年10月26日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
packages/alint holds the model-backed lint rules for the judgement calls ESLint cannot
express — semantic rules such as "fan-out over a runtime-sized list needs pMap" or "a
secondary button is not primary". Each rule is a prompt that runs per file through
alint and is cached by file content.
This skill owns the lifecycle of that rule set: how a rule is written, how its false
positives are removed, when it earns error, and what it costs. It does not own the
rules themselves (they live in packages/alint/rules) and it does not restate the reading
contract — that is packages/alint/README.md. Read that file once before editing a rule.
Everything below is one cycle. An ad-hoc task runs the phase it needs; the weekly review runs the incremental phases on a schedule.
| Phase | What it does | Reference |
|---|---|---|
| A · Collect the standard | Pull the owner's recent review rejections, read them, keep the part that recurs and one file decides | calibration.md |
| B · Author the rule | rule.alint.toml: what to report, where to anchor, and an explicit "do not report" list | rule-authoring.md |
| C · Calibrate | Scan → sample → classify TP/FP → write the recurring FP patterns back as carve-outs → cold-run fixtures | calibration.md |
| D · Map the problems | Cluster findings across rules by file/area; that is the cleanup backlog | calibration.md |
| E · Promote | Read the rule's findings on real PRs; warn → error only at zero false positives | promotion.md |
| F · Account for the cost | Token usage per run; cache invalidation is the cost driver | cost.md |
These are the calls that are easy to get wrong. They are not suggestions.
no-node-in-browser kept only the "does this npm package need Node at runtime" half and
handed the import-path half to ESLint.good-*
fixture, so the exemption stays true.[[config.group]] files, never includeFiles inside a rule. includeFiles
only filters reports, so every file still runs (double the jobs) and the rule becomes
uncacheable.error is a promotion, not a starting point. A new rule starts at warn, and is
promoted only after its findings have been read on real PRs and measured at zero false
positives. Fixture groups stay warn so a rule PR never fails on its own bad-* fixtures.alint.audit.toml
(bun run alint:audit). test-the-exit-not-the-entry was deleted for producing 92% of all
findings and drowning the sharper rules.A calibration run fails expensively when the setup is not real. Check these in order; do not interpret a skipped suite as a pass.
.alint/config.toml exists (gitignored; bun run alint:setup, needs ALINT_API_KEY or
DEEPSEEK_API_KEY). Without it the fixture suite skips rather than fails — silence is
not a pass.bun run alint plugin install has run, and is re-run after adding a rule or a
packages/<pkg>/alint/rules directory. A missing lock entry exits 2 with no JSON.node_modules resolves
@lobechat/* to the main checkout, so rule reads and type-checks lie..alintcache after every rule edit while calibrating. The local cache is keyed
by file content, so an edited rule otherwise replays the previous rule's findings.packages/alint/rules/<name>/rule.alint.toml (repo-wide, plugin prefix
lobehub). A rule about one package lives in packages/<pkg>/alint/rules under its own
prefix (e.g. hetero) and is registered in the matching [[config.group]].packages/alint/fixtures/<name>/ (mirrored next to a package-level rule):
bad-* with // alint-expect on the line above the anchor line (JSX children use
{/* alint-expect */}), and one good-* per carve-out.alint.config.toml (the PR check) and alint.audit.toml (the bulk
audit). Everything a repo-wide group needs is files, ignores, plugins, rules.bun run check --alint (changed lines by default; explicit paths lint whole
files), bun run alint --dirty, bun run alint:audit..agents/scripts/check/alint.ts (the --alint selector),
packages/alint/report.ts (the ALint check run, its annotations, one PR summary comment
with marker <!-- alint-summary -->, and a usage line), and the ALint & Test Desktop App
job in .github/workflows/test.yml. The check is not required, so a red check informs
rather than blocks.scripts/: collect-rejections.ts,
sample-findings.ts, pull-alint-runs.ts, cost-report.ts.acceptance (the rejection loop this rule set is fed by), ux (the design values the
ui-* rules encode), react / compose-atoms / data-fetching-architecture (the sources
of the engineering rules), pr (how a rule PR is opened and stacked on its base).
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
実際の製品を操作して、利用者が確認できる動作証拠を集め、検証計画に沿った受け入れレポートとして公開するスキルです。
LobeHubにAIモデルプロバイダーを追加し、実行時連携からモデル表示、設定、ブランド表記、文書化、動作確認まで進めるスキルです。
ユーザー設定の初期値をサーバー側の環境変数で切り替えるため、型定義や設定の組み立て、ユーザーストアへの反映、環境変数の例と説明書きを追加する手順です。
エージェント実行中の各段階をフックで監視し、ツール呼び出しの模擬・制御や人の承認、圧縮、サブエージェント処理に介入する仕組みを扱います。
イベントを起点にエージェントのバックグラウンド処理を組み立て、ソース・シグナル・アクション・ポリシーの役割分担や非同期連携を実装するためのスキルです。
DiscordやSlackなどの実際のチャットアプリでボットにメッセージを送り、応答を画面で確認する受け入れテストを行うスキルです。