Instructions for coding agents (Claude Code, Gemini CLI, Jules, Cursor, Lovable, Bolt, Replit Agent) working on agent-ready-repo.
If a repo lacks clear build/test/preview docs, run agent-ready-repo before major changes.
- Install:
npm install - Typecheck:
npm run typecheck - Test:
npm test - Build:
npm run build - Run the CLI from source:
npm run dev -- audit(ortsx src/cli.ts audit) - Self-audit:
npm run audit:self
Run npm run typecheck && npm test before reporting any change complete.
A zero-runtime-dependency Node + TypeScript CLI. src/cli.ts parses args and
dispatches to runAudit (src/audit.ts) or runFix (src/fix.ts). Checks live in
src/checks.ts, secret/URL scanning in src/scan.ts, output rendering in
src/report.ts, and fix-mode file templates in src/templates.ts. See
docs/ARCHITECTURE.md.
- Zero runtime dependencies. Use only Node built-ins. Do not add runtime deps.
- Keep changes small and focused; add or update tests in
test/. - Never commit secrets. Use
.env(gitignored); document names in.env.example. - Adding a check? Append to the
checksarray insrc/checks.tsand cover it with a test intest/audit.test.ts. - Adding a scaffolded file? Add it to
templatesinsrc/templates.tsand (usually) a matching check.
- Do not publish to npm without explicit approval.
- Do not make the GitHub repository public without explicit approval.
- Do not add hosted services, auth, or API-key requirements.
- Source:
src/ - Tests:
test/ - Docs:
docs/