agentsclimarketplace

Quality check

Skill flexphere/argos/.claude/skills/quality-check

Run all argos quality sensors in fast-fail order (TypeScript → Biome → Vitest → Playwright) and report a concise summary. Use this before committing, after non-trivial edits, or when verifying that recent changes haven't regressed. Trigger phrases include "/quality-check", "全体チェック", "regression 確認", "前のコミット前にチェック".From its SKILL.md

Install
npx -y skills add flexphere/argos --skill quality-check

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.2 KB, as published. Nobody here has run it

quality-check: argos 品質ハーネスの一括実行

このスキルの役割

argos の全 computational sensors を fast-fail order (速い順) で実行し、最初に失敗した時点でユーザーに報告する。コミット前や非自明な変更後の最終チェックとして使う。

実行順序と理由

Stepコマンド想定時間失敗時の挙動
1npx tsc --noEmit数秒エラー全部を表示して停止
2npx biome check .1 秒未満1〜5 件のエラーを表示して停止
3npm test (Vitest)1〜2 秒失敗テスト名を表示して停止
4npx playwright test --reporter=line12〜20 秒失敗 spec を表示して停止

Fast-fail 順 (型 → lint → unit → e2e) で実行する理由: 速いほどフィードバックが早く、agent が次の修正に取り掛かりやすい。

実行ステップ

1. 型チェック

npx tsc --noEmit
  • 出力が空 + exit 0 → ✅ 次へ
  • エラーあり → そのまま全文表示し、修正を促す。ここで停止

2. Lint

npx biome check .
  • "Checked X files. No fixes needed." → ✅ 次へ
  • エラーあり → 表示。自動修正可能なものは npx biome check --apply . を提案 (ユーザー許可後に実行)

3. Vitest

npm test
  • "Tests N passed (N)" → ✅ 次へ
  • 失敗あり → 失敗テスト名と差分を表示

4. Playwright E2E

npx playwright test --reporter=line
  • "N passed (Xs)" → ✅ 全 sensor 通過
  • 失敗あり → 失敗 spec 名を表示

完了報告フォーマット

全 sensor 通過時:

✅ quality-check 全 sensor 通過

  TypeScript: ✓
  Biome:      ✓
  Vitest:     N passed
  Playwright: N passed (Xs)

途中失敗時:

❌ quality-check: <ステップ名> で失敗

<失敗内容>

修正案: <ユーザーへの提案>

ハマりどころ

症状対処
Playwright が起動しない (browser 未インストール)npx playwright install chromium を提案
dev サーバーが先に起動済みPlaywright は webServer config を見るので問題なし。手動起動も Playwright が検知
tsc が遅いtsc --noEmit --incremental を .tsbuildinfo 付きで実行する選択肢あり (本スキルでは未採用)
biome がフォーマット差分を検出機械的に修正できるので --apply 経由で自動修正

このスキルを呼ばないケース

  • 超軽微な変更 (typo, コメント追加のみ) — 個別に lint だけ走らせれば十分
  • WIP の途中 — 当然失敗するので、まとまった時点で呼ぶ
  • e2e を意図的にスキップしたい大規模変更途中 — 個別に npm test だけ呼ぶ

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.