Install my preferred AI coding rules in your project.
# 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 sync| 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.
Writes bundled rules to platform-specific files.
Options:
--platform, -p cursor | claude | other (default: cursor)
--force, -f Overwrite existing platform files
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)