Files
everything-claude-code/docs/ja-JP/commands/harness-audit.md
Claude ec9ace9c54 docs: add native Japanese translation of ECC documentation (ja-JP)
Translate everything-claude-code repository to Japanese including:
- 17 root documentation files
- 60 agent documentation files
- 80 command documentation files
- 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web)
- 199 skill documentation files

Total: 455 files translated to Japanese with:
- Consistent terminology glossary applied throughout
- YAML field names preserved in English (name, description, etc.)
- Code blocks and examples untouched (comments translated)
- Markdown structure and relative links preserved
- Professional translation maintaining technical accuracy

This translation expands ECC accessibility to Japanese-speaking developers and teams.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-17 02:31:40 -04:00

3.0 KiB
Raw Blame History

description
description
決定論的なリポジトリハーネス監査を実行し、優先順位付きスコアカードを返します。

ハーネス監査コマンド

決定論的なリポジトリハーネス監査を実行し、優先順位付きスコアカードを返します。

使い方

/harness-audit [scope] [--format text|json] [--root path]

  • scope(オプション): repo(デフォルト)、hooksskillscommandsagents
  • --format: 出力スタイル(textがデフォルト、自動化にはjson
  • --root: 現在の作業ディレクトリの代わりに特定のパスを監査

決定論的エンジン

常に実行:

node scripts/harness-audit.js <scope> --format <text|json> [--root <path>]

このスクリプトがスコアリングとチェックの信頼できるソースです。追加のディメンションやアドホックなポイントを作り出さないでください。

ルーブリックバージョン: 2026-03-30

スクリプトは7つの固定カテゴリ0-10正規化)を計算:

  1. ツールカバレッジ
  2. コンテキスト効率
  3. 品質ゲート
  4. メモリ永続性
  5. 評価カバレッジ
  6. セキュリティガードレール
  7. コスト効率

スコアは明示的なファイル/ルールチェックから導出され、同じコミットに対して再現可能です。 スクリプトはデフォルトで現在の作業ディレクトリを監査し、対象がECCリポジトリ自体か、ECCを使用するコンシューマプロジェクトかを自動検出します。

出力契約

返却内容:

  1. overall_score / max_scorerepoの場合70、スコープ付き監査ではより小さい
  2. カテゴリスコアと具体的な所見
  3. 正確なファイルパス付きの失敗チェック
  4. 決定論的出力からのトップ3アクションtop_actions
  5. 次に適用すべき推奨ECCスキル

チェックリスト

  • スクリプト出力を直接使用。手動で再スコアリングしない。
  • --format jsonが要求された場合、スクリプトJSONをそのまま返す。
  • テキストが要求された場合、失敗チェックとトップアクションをサマリー。
  • checks[]top_actions[]からの正確なファイルパスを含める。

結果の例

Harness Audit (repo): 66/70
- Tool Coverage: 10/10 (10/10 pts)
- Context Efficiency: 9/10 (9/10 pts)
- Quality Gates: 10/10 (10/10 pts)

Top 3 Actions:
1) [Security Guardrails] hooks/hooks.jsonにプロンプト/ツールプリフライトセキュリティガードを追加。(hooks/hooks.json)
2) [Tool Coverage] commands/harness-audit.mdと.opencode/commands/harness-audit.mdを同期。(.opencode/commands/harness-audit.md)
3) [Eval Coverage] scripts/hooks/lib全体の自動テストカバレッジを増加。(tests/)

引数

$ARGUMENTS:

  • repo|hooks|skills|commands|agents(オプションのスコープ)
  • --format text|json(オプションの出力形式)