@thomaslorincz/ai-rules
v0.2.0
Published
Install and sync my latest preferred AI coding rules - Cursor, Claude Code, AGENTS.md, and more
Readme
@thomaslorincz/ai-rules
Install my preferred AI coding rules in your project.
Quick start
# Cursor (default)
bunx @thomaslorincz/ai-rules init
# Claude Code
bunx @thomaslorincz/ai-rules init --platform claude
# AGENTS.md / Copilot / Codex / other agents
bunx @thomaslorincz/ai-rules init --platform otherTo pull the latest rules after a package update:
bunx @thomaslorincz/ai-rules syncOutput by platform
| Platform | Output |
| -------- | ------------------------------------------------------ |
| cursor | .cursor/rules/*.mdc |
| claude | .claude/rules/*.md + CLAUDE.md |
| other | AGENTS.md + .github/instructions/*.instructions.md |
Generated files include a header comment. Re-run sync to update them.
Commands
init
Writes bundled rules to platform-specific files.
Options:
--platform, -p cursor | claude | other (default: cursor)
--force, -f Overwrite existing platform filessync
Pulls the latest bundled rules from the package and regenerates platform files. Platform is auto-detected from existing output files.
Options:
--platform, -p cursor | claude | other (optional override)