Catalog
github/acreadiness-policy

github

acreadiness-policy

Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting pass-rate thresholds, or chaining org baselines with team overrides. Use when the user asks about strict mode, AI-only scoring, custom weights, CI gating, or wants org-wide standardisation.

global
New~895
v1.0Saved Jun 26, 2026

/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:

  1. What to disable — irrelevant pillars or extras for their stack (e.g. disable observability for a static site).
  2. What to raise — override impact to high or critical for must-haves (e.g. readme, codeowners).
  3. Pass-rate threshold — typical org baselines: 0.7 (lenient), 0.85 (standard), 1.0 (strict).
  4. 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 impact over 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.
Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

86/100

Grade

A

Excellent

Safety

92

Quality

84

Clarity

87

Completeness

80

Summary

This skill teaches users to write, modify, and apply AgentRC readiness policies — JSON files that customize how repositories are scored on AI tooling, code quality, and repo health. It covers policy structure, built-in examples, configuration syntax, and CLI integration for both local analysis and CI/CD gating.

Detected Capabilities

file readfile writejson parsingcli invocationprocess execution

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

custom readiness policiesagentrc scoring rulesreadiness gating cidisable readiness checkspolicy overrides weightsbaseline policy layering

Use Cases

  • Customize readiness scoring for a project by disabling irrelevant checks (e.g., observability for a static site)
  • Apply org-wide baseline policies and layer team-specific policy overrides
  • Configure CI/CD gates to enforce minimum maturity levels based on custom criteria
  • Override impact weights on specific checks to reflect team priorities
  • Choose between built-in policy templates (strict, ai-only, repo-health-only) to match team standards

Quality Notes

  • Clear policy schema with JSON example showing all three customization sections
  • Built-in examples table provides concrete starting points and reduces barrier to entry
  • Operating rules section is explicit about safe practices (confirm disables, prefer overrides, suggest layering)
  • Pedagogical flow in 'new' sub-command walks user through decision points (what to disable, what to raise, thresholds)
  • References external plugin documentation for extending beyond JSON (good scope boundary)
  • Scoring formula and grade thresholds clearly defined for reproducibility
  • Sub-command descriptions are concise but complete — user knows exactly what each operation does
  • CI/CD gating example shows real YAML context, making integration obvious
  • Limitation noted: JSON policies cannot add new criteria — sets user expectations
Model: claude-haiku-4-5-20251001Analyzed: Jun 26, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Add github/acreadiness-policy to your library

Command Palette

Search for a command to run...