acreadiness-assess
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsof…
它会碰到什么
扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
/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 <source>, 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<T> 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 <n>(1–5). - The skill never modifies repository files other than creating
reports/index.html.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。