r/CodingAgents • u/Goldziher • 10d ago
Previewing an import of existing Claude Code and Cursor instructions
I maintain ai-rulez v5. It's a CLI and MCP for managing the instructions, skills, and settings that coding agents use in a repository.
If you already have native files, ai-rulez convert --from native --dry-run shows what would be imported without writing files. I tested this with v5.13.2 in a scratch Git repo containing a CLAUDE.md with a test instruction and .cursor/rules/docs.mdc with globs: docs/**/*.md. The report showed one rule and one context item, both mapped, and no .ai-rulez/ directory was created.
Running ai-rulez convert --from native --write after reviewing that report wrote .ai-rulez/context/claude.md and .ai-rulez/rules/docs.md. The rule retained the docs/**/*.md path scope. The CLI reference lists what other inputs can be imported and how to interpret the mapping report.
I'm happy to hear any comments. If you find the tool useful, star it. It really does help. And of course, I'd love to see people use it and get involved with the project.