JSONポリシーを作成・適用することで、チェックの無効化、影響レベルの上書き、合格率のしきい値設定を行い、レディネススコアをカスタマイズできます。
- GitHubスター
- 41,038
- ファイル
- 1
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
acreadiness-policy skillは何をしますか
acreadiness-policyはAgent Skillsです。 JSONポリシーを作成・適用することで、チェックの無効化、影響レベルの上書き、合格率のしきい値設定を行い、レディネススコアをカスタマイズできます。.
skillのSKILL.mdから生成された要約。
acreadiness-policy skill について
このSKILLは、AgentRCを使用する開発者がJSONポリシーを作成・適用することで、レディネススコアをカスタマイズすることを可能にします。不要なチェックの無効化、特定の基準に対する影響レベルの上書き、合格率のしきい値の設定など、レディネスの測定方法をユーザーに合わせて調整できます。厳格なモードの実装、カスタムスコアリングウェイトの設定、またはリポジトリのCIゲーティングが必要な場合に、エージェントはこのSKILLをロードする必要があります。
このSKILLは、スコアリングエンジンを変更するための基準、extras、しきい値を含むJSONファイルを管理します。有効なポリシーを表示するツール、newコマンドによる新しいポリシーの雛形作成、applyコマンドによる適用機能を提供します。組織のベースラインと特定のチームによる上書きを組み合わせるなど、複数のポリシーを連鎖させてきめ細かな制御を行うことができます。readmeやlint-configなどの既存のチェックを修正することはできますが、新しい検知ロジックを追加することはできず、それにはTypeScriptのプラグインシステムが必要です。
エージェントができること
- 1不要なチェックの無効化静的サイトのスコアリングプロセスから、observabilityのような特定のピラーを削除します。
- 2CIゲーティングの強制リポジトリが特定の成熟度に達していない場合に失敗する、継続的インテグレーションのステップを設定します。
- 3組織標準のレイヤー化グローバルなベースラインポリシーと特定のチームの上書きポリシーを併用して、合算スコアを算出します。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
acreadiness-policy skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。Claude Codeにacreadiness-policy skillをインストールする
~/.claude/skills/acreadiness-policy/SKILL.md
$ npx degit github/awesome-copilot/skills/acreadiness-policy ~/.claude/skills/acreadiness-policyClaude Code (project)にacreadiness-policy skillをインストールする
.claude/skills/acreadiness-policy/SKILL.md
$ npx degit github/awesome-copilot/skills/acreadiness-policy .claude/skills/acreadiness-policyCodexにacreadiness-policy skillをインストールする
~/.agents/skills/acreadiness-policy/SKILL.md
$ npx degit github/awesome-copilot/skills/acreadiness-policy ~/.agents/skills/acreadiness-policyGemini CLIにacreadiness-policy skillをインストールする
~/.gemini/skills/acreadiness-policy/SKILL.md
$ npx degit github/awesome-copilot/skills/acreadiness-policy ~/.gemini/skills/acreadiness-policyClaude.aiにacreadiness-policy skillをインストールする
npx degit github/awesome-copilot/skills/acreadiness-policy acreadiness-policy && zip -r acreadiness-policy.zip acreadiness-policy # claude.ai → Customize → Skills → + → Create skill → Upload a skill → acreadiness-policy.zip
自動チェック
実行日 2026年11月15日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能github/awesome-copilot/skills/acreadiness-policy is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/acreadine ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/acreadine ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/acreadine ↗合格
- SKILL.md が Agent Skills の形式に従っているValid name and description; says when to use it; 97 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/acreadine ↗合格
SKILL.md
GitHubで表示/acreadiness-policy — AgentRC policies
Use this skill when the user asks about policies, strict mode, custom scoring, disabling checks, org standards, or CI gating of readiness.
A policy is a small JSON file with three optional sections — criteria, extras, thresholds — that customise how AgentRC scores readiness.
Built-in examples
AgentRC ships with three example policies in examples/policies/:
| Policy | What it does |
|---|---|
strict.json |
100% pass rate, raises impact on key criteria |
ai-only.json |
Disables all repo-health checks, focuses on AI tooling |
repo-health-only.json |
Disables AI checks, focuses on traditional quality |
Recommend these as starting points before writing a custom policy.
Policy schema
{
"name": "my-policy",
"criteria": {
"disable": ["env-example", "observability", "dependabot"],
"override": {
"readme": { "impact": "high", "level": 2 },
"lint-config": { "title": "Linter required" }
}
},
"extras": {
"disable": ["pre-commit"]
},
"thresholds": {
"passRate": 0.9
}
}
Impact weights
| Impact | Weight |
|---|---|
| critical | 5 |
| high | 4 |
| medium | 3 |
| low | 2 |
| info | 0 |
Score = 1 − (deductions / max possible weight). Grades: A ≥ 0.9, B ≥ 0.8, C ≥ 0.7, D ≥ 0.6, F < 0.6.
Sub-commands
show
List policies currently in effect (from agentrc.config.json policies array, or none).
new <name>
Scaffold policies/<name>.json with sensible defaults. Walk the user through:
- What to disable — irrelevant pillars or extras for their stack (e.g. disable
observabilityfor a static site). - What to raise — override
impacttohighorcriticalfor must-haves (e.g.readme,codeowners). - Pass-rate threshold — typical org baselines:
0.7(lenient),0.85(standard),1.0(strict). - Reference the policy from
agentrc.config.json:{ "policies": ["./policies/<name>.json"] }
apply <path-or-pkg>
Run agentrc readiness --json --policy <source> and re-render the report by handing off to the assess skill / ai-readiness-reporter agent. Supports chaining:
npx -y github:microsoft/agentrc readiness --json --policy ./org-baseline.json,./team-frontend.json
CI gating
Combine policies with --fail-level to enforce a minimum maturity level in CI:
- run: npx -y github:microsoft/agentrc readiness --policy ./policies/strict.json --fail-level 3
Advanced
JSON policies can disable, override, and set thresholds — but cannot add new criteria. For new detection logic, point users at AgentRC's TypeScript plugin system (docs/dev/plugins.md).
Operating rules
- Never silently disable a pillar. If the user wants to disable
observability, confirm and explain the trade-off. - Prefer overriding
impactover disabling. Disabling hides the gap entirely; overriding lets it still appear in the report. - Recommend extras stay enabled. They cost nothing — they don't affect the score.
- Suggest layering — most orgs want a baseline policy + per-team overrides chained with
--policy a.json,b.json.
このスキルのファイル
1acreadiness-policy skillに関する質問
Claude Codeにacreadiness-policy skillをインストールするには
npx degit github/awesome-copilot/skills/acreadiness-policy ~/.claude/skills/acreadiness-policyを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
acreadiness-policy skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
ポリシーファイルを使用して新しい基準を追加できますか?
いいえ、JSONポリシーでは無効化、上書き、しきい値の設定は可能ですが、新しい基準を追加することはできません。新しい検知ロジックを追加するには、TypeScriptのプラグインシステムを使用する必要があります。
レディネススコアはどのように計算されますか?
スコアは次の式で計算されます:Score = 1 − (deductions / max possible weight)。