4w github
acreadiness-assess Skill
在当前仓库上运行 AgentRC 就绪度评估,并在 reports/index.html 生成静态 HTML 仪表盘。内部调用 `npx github:microsoft/agentrc readiness`,并将渲染交给 @ai-readiness-reporter 自定义 agent。支持通过 --policy 进行组织定制的评分。当被要求评估、审计或为仓库的 AI 就绪度打分时使用。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
/acreadiness-assess — AI-readiness assessment
Use this skill whenever the user asks for an AI-readiness assessment, a readiness check, an audit, or wants to see how AI-ready their repository is.
This skill is the Measure step in AgentRC's Measure → Generate → Maintain loop. The result is a self-contained HTML dashboard the user can open with file:// or commit to the repo.
Steps
- Confirm prerequisites. Node 20+ must be on PATH. If unsure, run
node --version.
- Decide on a policy (optional but encouraged):
- If the user provided
--policy, capture it. - Otherwise check
agentrc.config.jsonfor apoliciesarray. - If neither, run with no policy (built-in defaults).
- For a primer on policies, suggest the
acreadiness-policyskill.
- Run the readiness scan in the repo root with structured output:
npx -y github:microsoft/agentrc readiness --json [--policy <source>] [--per-area]
The CommandResult JSON envelope is your input for the next step.
- Hand off to the
ai-readiness-reportercustom agent to interpret the JSON and producereports/index.html. The agent renders via the bundled templatereport-template.html(shipped alongside this skill) so every report has an identical look & feel. The agent:
- Reads the bundled
report-template.htmland substitutes placeholders with real data. - Inlines all CSS, ships a single static file (works under
file://). - Renders maturity level, overall score, grade, pass-rate vs threshold.
- Breaks down all 9 pillars across Repo Health (8) and AI Setup (1) with what it measures, why it matters for AI, current state, and a specific recommendation.
- Tags every pillar with an AI relevance badge (High / Medium / Low).
- Surfaces Extras separately (they never affect the score).
- Shows the Active Policy including any disabled/overridden criteria and thresholds.
- Produces a Prioritised Remediation Plan (🔴 Fix First / 🟡 Fix Next / 🔵 Plan).
- Embeds the raw AgentRC JSON for reuse.
- Tell the user where the report lives (
reports/index.html) and how to open it. Summarise in chat: maturity level, overall score, top three lowest pillars, and the single highest-leverage next action (almost always: run theacreadiness-generate-instructionsskill).
Notes
- AgentRC also has a built-in HTML renderer (
--visual/--output report.html) but its output is intentionally generic. This skill produces a tailored, opinionated dashboard via the custom agent — closer to a code review than a metrics dump. - For CI gating, recommend
agentrc readiness --fail-level(1–5). - The skill never modifies repository files other than creating
reports/index.html.