/agentic-repos:ar-agent-readyfrom agentic-repos
Assess how agent-ready a repository is and raise it. Reads the actual codebase, extracts its real conventions into rule files, wires the config seam, and reports a readiness scorecard. Say "ar-agent-ready", "make this repo agent-ready", or "extract the rules for this project".
Ships in agentic-repos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An AI agent is only as good as the rules it is handed. A repo with no written conventions gets ad-hoc, inconsistent output, and every engineer (human or agent) reinvents "how we do things here." This skill reads a codebase, extracts its true conventions into rules, and wires the config seam so every session afterwards follows the same process.
Run it when adopting a repo, when the rules have gone stale, or whenever output feels inconsistent with how the code is actually written.
A repo is agent-ready when all of these exist and are accurate:
| Dimension | Signal | Where it lives |
|---|---|---|
| Identity + command seam | name, namespace, tracker, platform, build/test/coverage commands | config_hints.json |
| Single source of truth | how to build, test, and run; project structure | AGENTS.md |
| Extracted coding rules | the repo's real conventions, per area, stack-adapted | standards_location (e.g. docs/ai-rules/) |
| Workflow governance | sessions steered onto the agent-ready workflow | the global session hook (from install.sh) |
| Feedback loop | friction gets captured, not lost | ar-record-improvement available |
This skill measures each, fixes what it can, and reports what is missing.
Confirm the global procedure is installed (this skill itself is running from ~/.claude/skills/, and agentic-devkit is present). If the project has no config seam yet and this is a first-time adoption of a whole project, prefer the ar-install operator command, which does the full adoption. This skill is the lighter, repeatable "assess and raise readiness" pass and the rule-extraction engine ar-install itself leans on.
Delegate a structural read to a_sag_codebase_explorer (from agentic-devkit) via the Task tool. You need its real map, not assumptions: languages and frameworks in use, directory and module layout, test framework and how tests are structured, data layer, API conventions, error-handling patterns, naming, and the invariants that must not break. If that agent is unavailable, do the read directly with Glob/Grep/Read, but do the read: rules must describe THIS code, not generic best practice.
config_hints.json, AGENTS.md, and any files under the declared standards_location.CLAUDE.md, .cursor/rules/, .claude/rules/, docs/ai-rules/).
Resolve standards_location from config_hints.json; if absent, propose one (docs/ai-rules/ is a sensible default) and confirm with the user.This is the core. For each convention area the codebase actually demonstrates, write or update a focused rule file under standards_location. Extract from evidence, not from generic templates:
Ensure config_hints.json and AGENTS.md are present and accurate (build/test/coverage/run commands verified against the repo, tracker declared, standards_location set). Create or correct them. These are what the global session hook keys on to recognize the repo as agent-ready and what every ar-* skill reads at runtime.
Run ar-optimizer over the rule set to catch redundancy, alwaysApply overuse, and stale references introduced by extraction. Reconcile its findings.
Present the readiness scorecard (each dimension: present / added / still-missing), the rule files created or updated, and any decisions left to the user (an ambiguous convention, a proposed standards_location, a command that could not be verified). State plainly what is now agent-ready and what still needs a human call.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mahsanamin/agentic-repos --plugin agentic-repos20 skills in this plugin
/ar-api-dd-compareAudit what the code ASSUMES against what production ACTUALLY does, using Datadog traces, and turn mismatches into fix tickets. Say "ar-api-dd-compare" or "trace audit". On-demand only (Datadog MCP is interactively authenticated)./ar-dd-api-performanceScan a window of Datadog traffic (default last day, production), sample traces for APIs over the latency/error thresholds, cross-reference this repo's code, and maintain per-API optimization report files under the workspace Performance_Findings directory, then commit them. On-demand only. Say "ar-dd-api-performance", "api performance scan", "which APIs are slow", or "update the performance reports"./ar-global-pr-reviewerReview any GitHub PR from anywhere on the machine, no project checkout needed. Clones the repo, sets up a review worktree, does a best-effort test run, reviews changed code for logical bugs and missing-test gaps against the project's rules, dedups against existing comments, and posts an inline review with fixes. Say "ar-global-pr-reviewer", "review pr globally", or "global review <PR-URL>"./ar-init-mcpsInitialize issue-tracker integration for Claude Code. For GitHub Issues (the default) this verifies the gh CLI is authenticated, no MCP needed. For Jira (Atlassian) or Linear it sets up the Model Context Protocol (MCP) server. Say "ar-init-mcps" or "setup mcps"./ar-init-skillsInitialize skills configuration for this project. Use when setting up for first time or when skill.config is missing. Say "ar-init-skills" or "setup skills"./ar-optimize-doc-commentsAudit and repair a codebase's doc comments, the documentation blocks attached to a declaration. Verifies every documented name against the real signature, fixes provable signature drift, and proposes the rest. Say "ar-optimize-doc-comments", "audit the javadoc", or "the doc comments are stale" to run.