feat: add CLI agent-readiness reviewer and principles guide#391
Merged
Conversation
Add a new review agent that evaluates CLI source code, plans, or specs for AI agent readiness using a severity-based rubric (Blocker/Friction/ Optimization). The agent includes framework-specific idiom knowledge for Click, argparse, Cobra, clap, Commander/yargs/oclif, and Thor. The companion principles guide synthesizes Anthropic, CLIG, and CLI-Anything guidance into 7 practical principles with per-principle evaluation tests and a recommended assessment flow.
28d0101 to
9f023bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Many people are creating or adapting CLI for agent use. This adds a review agent and companion reference guide for evaluating whether CLIs are genuinely optimized for AI agents — not just usable by them.
What this adds
cli-agent-readiness-revieweragent — Reviews CLI source code, plans, or specs against 7 agent-readiness principles using a severity rubric (Blocker / Friction / Optimization). Key capabilities:agent-friendly-cli-principles.md— Reference guide synthesizing Anthropic's tool-design guidance, CLIG, and CLI-Anything into 7 practical principles:Each principle includes concrete code examples (using a
blog-clidomain), severity guidance, and practical evaluation checks. The guide also covers why CLIs remain the pragmatic choice over MCP for most developer-facing agent work.Design decisions
Example output
Example output from the agent from another project.
🤖 Generated with Claude Opus 4.6 (1M context, extended thinking) via Claude Code