Add Angular documentation to your project for AI coding agents (Claude Code, Cursor, etc.).
npx ngx-agents-md- Detects your Angular version from
package.json - Downloads matching Angular docs to
.angular-docs/ - Injects a compressed index into
CLAUDE.md
This helps AI coding agents generate correct, up-to-date Angular code by giving them access to version-matched documentation.
-o, --output <file> Output file (default: "CLAUDE.md")
-v, --angular-version <ver> Angular version (auto-detect if not specified)
-d, --docs-dir <dir> Directory to store docs (default: ".angular-docs")
--dry-run Show what would be done without making changes
AI coding agents rely on training data that becomes outdated. This tool ensures they have access to accurate, version-specific Angular documentation.
MIT EOF
npm install
npm run build
chmod +x bin/cli.js
echo "" echo "Project initialized!" echo "" echo "Next steps:" echo " 1. cd ngx-agents-md" echo " 2. Open in your IDE" echo " 3. Give the handoff document to Claude Code" echo " 4. Start building!" echo "" echo "Test the CLI:" echo " npm run build && node bin/cli.js --help"