Skip to content
Skillpedia
Agents40k Β· #7037

acreadiness-policy

What it does

This tool helps create and apply custom rules to assess your code quality. You can define which checks are important, which to ignore, and the minimum acceptable score.

When to use it

  • βœ“When you want to ignore some quality checks.
  • βœ“When you want to set a minimum score to approve code.
  • βœ“When you want to standardize quality rules across your organization.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/acreadiness-policy/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/acreadiness-policy/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œHow can I create a rule that ignores the 'documentation' check and requires the 'readme' to have high importance?”

5 new skills a week. 1 minute to read.

How it works

You create a configuration file (JSON) that specifies which parts to ignore and which to give more weight to. Then, you apply this rule to assess your code.

Technical content (original SKILL.md)

Original text by the author, straight from 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:

  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.
FAQ

What is a 'policy'?

It's a configuration file that customizes how your code quality is measured, allowing you to ignore checks or adjust their importance.

Can I create my own rules?

Yes, you can create custom policy files to meet your specific assessment needs.

What's the difference between disabling and overriding impact?

Disabling completely removes a check from the assessment. Overriding impact makes the check more important in the final score, but it still appears in the report.

Details

Original description by the author

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.

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#7037
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills