Check Auditのロゴ

Check Audit

組織人気
udecode
check-audit

Audit tests, landing speed, Local CI reliability, check tiers, verification hooks, and tooling scripts to cut bloat, flakes, and dead gates while keeping E2E, public boundary, and invariant coverage intact.

概要

公開者udecode
リポジトリustack
スキル名check-audit
スター
1.2K
フォーク
82
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    udecodeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Check Audit」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/udecode/ustack/tree/main/skills/check-audit
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/udecode/ustack.git /tmp/ustack
mkdir -p .claude/skills
cp -r /tmp/ustack/skills/check-audit .claude/skills/check-audit
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCheck Auditを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCheck Auditを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Check Auditは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Check audit

Test-pruning core adapted from openclaw's test-audit skill (MIT, OpenClaw Foundation; see LICENSE).

Read AGENTS.md and .agents/pstack/rules/tests.md first. Stay read-only when asked only for candidates or gaps, and skip third-party skills or vendor code. skill-audit owns agent prose (skills, playbooks, AGENTS.md); check-audit owns everything executable that tests, gates, or slows down delivery.

Run the scanner

sh
node <skill>/scripts/audit.mjs <target> [--json] [--events <path>]

Reports landChecks and always: true generators, check.mjs land step counts, large baseline files, hook parity and missing-script references across .agents/hooks.json, .claude/settings.json, and .codex/hooks.json, oversized or zero-caller scripts under tooling/scripts/ or scripts/, and recent Local CI events.jsonl red/flake counts.

Default bar

Internal, helper, and post-hoc unit tests, slow land checks, and micro-scripts are guilty until they guard a real user defect that E2E, public boundary, type, lint, or zero-baseline invariant checks miss. Keep a test only when breaking public behavior fails it and refactoring internals keeps it passing (principle-test-behavior-not-implementation).

Hard safety net

  • Never cut E2E, deterministic concurrency/sync, or public golden tests without an explicit replacement.
  • Never silently delete an unwired security, access, auth, PHI, consent, or customer-send guard whose only caller is a test; flag it as a finding so production wires or retires it intentionally.
  • Never delete a test failing on the current tree or raise a timeout/limit to make CI green; reproduce and fix the bug or fixture first.

Pass 1: Tests

Cut coherent package or owner batches without per-test scratch mutation courtrooms:

  1. Internal and test-only entries: *.internal.* files and tests importing non-public or test-only exports. Delete dead test-only exports and helpers with them (knip --production or git grep).
  2. Low-signal shapes: mock-verifying, constant-pinning (unless user-promised with the promise named), source-text/grep, assertion-free, self-comparing, snapshot, and exhaustive-matrix tests.
  3. Timing bounds: wall-clock assertions outside dedicated benchmarks.
  4. Duplicate coverage: unit tests whose user behavior is already exercised by a kept E2E, golden, or public boundary test.
  5. Flaky and slow tests: fix deterministic flakes in one pass or cut and replace; cut slow tests that duplicate boundary coverage and shrink inputs on unique slow tests.

Reserve targeted scratch mutant or refactor checks only for genuinely uncertain edge cases, never as mandatory paperwork on clear cuts.

Pass 2: Landing speed

Audit what blocks every land.mjs run (landChecks, land: true steps in check.mjs, and generated entries with always: true):

  • Measure wall-clock time and real failure-catch rate per landing step.
  • Demote slow, rarely tripped, or broad-blast steps from land to post-landing Local CI or on-demand --audit.
  • Remove always: true regeneration on outputs that only change when specific sources change.

Pass 3: Local CI and baselines

Audit check.mjs, CI workflows, and baseline files against recent failure history (events.jsonl or CI logs):

  • Rank steps by red count, flake rate, and time-to-green; fix root causes of chronic flakes or cut checks that only produce noise.
  • Demote multi-hundred-line known-bad baseline sweeps out of blocking CI into on-demand audit commands.
  • Fold static invariants into types or lint rules and delete redundant micro-scripts.

Pass 4: Scripts and gate hooks

Audit tooling/scripts/, scripts/, and runtime hook configs (.agents/hooks.json, .claude/settings.json, .codex/hooks.json):

  • Delete zero-caller orphan scripts, retired-runtime helpers, and Stop hooks that fire after land.mjs has already pushed commits.
  • Move land-time invariants into landChecks over git diff <base>..HEAD instead of parsing per-runtime JSONL transcripts in Stop hooks.
  • Close hook parity gaps across active agent runtimes and flag oversized single-purpose scripts (>= 600 lines) for simplification.

Full mode and validation

In /check-audit full, run the scanner, write an area ledger in the run directory (files, line counts, timings, failure counts, state), and process one area per batch, highest leverage first. Ask the owner before changing hooks, landChecks, or blocking CI policy unless explicitly authorized.

Validate every deleted or changed batch:

  1. Run remaining tests, boundary/E2E suites, typecheck, lint, and hook/contract tests.
  2. When removing files, scripts, or exports, run the project's full check (pnpm check or equivalent) to catch stale contract lists, hook paths, or manifests.
  3. Report removed categories, landing/CI speed delta, production or script deletions unlocked, kept edge cases, commands run, and separate production, test, and tooling line counts.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Check Audit」では何ができますか?

Audit tests, landing speed, Local CI reliability, check tiers, verification hooks, and tooling scripts to cut bloat, flakes, and dead gates while keeping E2E, public boundary, and invariant coverage intact.

TypingMindでCheck Auditを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Check Auditはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCheck Auditをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/udecode/ustack/tree/main/skills/check-auditを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Check Auditを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Check Auditで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCheck Auditを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Check Audit」は無料ですか?

udecodeがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇