- Name: agent-ready
- Primary language: JavaScript
- Runtime: Node.js 20+ ESM
- Purpose: local-first CLI for scanning repositories, generating agent instruction files, linting them, and scoring agent readiness.
bin/agent-ready.mjs: CLI executable.src/scanner.mjs: repository profiling and command detection.src/benchmark.mjs: multi-repository score aggregation and benchmark data.src/comment.mjs: shareable PR/issue comment data generation.src/compare.mjs: before/after readiness JSON comparison.src/generator.mjs:AGENTS.mdand tool-specific shim generation.src/linter.mjs: readiness rules and scoring inputs.src/matrix.mjs: AI coding agent compatibility matrix generation.src/reporter.mjs: text, JSON, and Markdown output rendering.src/config.mjs: optionalagent-ready.jsonloading and validation.src/explainer.mjs: impact-ranked fix plan data forexplain.src/interactive.mjs: guided setup prompts forinit --interactive.src/workflow.mjs: GitHub Actions workflow generation and write-mode support.scripts/benchmark-sample.mjs: optional public repository benchmark runner.test/: Node test suite and repository fixtures.
- install:
npm install - test:
npm test - lint:
npm run lint - check:
npm run check
- Read this file and
README.mdbefore editing. - Keep the CLI zero-dependency unless there is a strong reason to add a package.
- Preserve deterministic output for tests and fixture snapshots.
- Prefer small rule additions over broad rewrites of scanner behavior.
- Do not modify generated dependency folders such as
node_modules,coverage,dist, orbuild. - Do not rewrite unrelated files or revert user changes.
- Do not add network calls, telemetry, or API-key requirements to the default path.
- Ask before publishing, tagging, deleting files, or changing package ownership metadata.
- Run
npm run checkafter syntax-level changes. - Run
npm testafter scanner, generator, linter, reporter, or CLI behavior changes. - Run
node bin/agent-ready.mjs doctorbefore release-facing documentation changes. - For generated docs changes, run
node bin/agent-ready.mjs init --dry-run. - If a verification command cannot run locally, document the exact reason.