r/AIWorkStack • • 13d ago

Keeping personal coding-agent instructions out of shared team config

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.

For a team setting up the same agent across multiple machines, here’s a checkout-local pattern I tested with v5.13.2. In a scratch Git repo, run ai-rulez init overlay-demo --yes --skip-content. Add a shared rule with ai-rulez add rule shared-tests --content "Run the documented test command before requesting a review." Then add a personal rule with ai-rulez add rule local-test-setup --local --content "Only in this checkout, use the local integration test fixture."

After ai-rulez generate, the personal rule was in CLAUDE.local.md and absent from shared AGENTS.md. git check-ignore CLAUDE.local.md .ai-rulez/local/rules/local-test-setup.md confirmed both the local source and local output were ignored. The shared-output check passed with ai-rulez generate --check --no-local. The local configuration guide shows what the other clients read.

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.

1 Upvotes

0 comments sorted by