policyengine-us
policyengine-us copied to clipboard
Migrate from .claude submodule to policyengine-claude plugin
Summary
This PR migrates from the git submodule to the new policyengine-claude plugin system, providing a modern approach to agent distribution and team collaboration.
Changes
- ❌ Remove submodule and
- ✅ Add plugin auto-install configuration in
- ✅ Configure auto-install of plugin from
Benefits
For Developers
- ✅ No Git complexity - No more submodule init/update commands
- ✅ Automatic updates - Plugin manager handles updates
- ✅ Global installation - Works across all PolicyEngine repos
- ✅ Selective installation - Install only what you need
For Teams
- ✅ Standardization - All team members get same agents/commands/skills
- ✅ Auto-install - When you trust this repo, plugin auto-installs
- ✅ Version control - Plugin versions tracked in settings.json
What's Included
The country-models plugin provides:
- 15 Specialized Agents - rules-engineer, test-creator, document-collector, validators, optimizers, CI fixer
- 3 Slash Commands - /encode-policy, /review-pr, /fix-pr
- 2 Skills - policyengine-us-skill (simulation patterns), policyengine-standards-skill (code quality)
Migration Guide
Old Way (Deprecated)
git submodule update --init --recursive
New Way (Automatic)
When you trust this repo in Claude Code, the plugin auto-installs! No manual steps needed.
Manual Installation (Optional)
/plugin marketplace add PolicyEngine/policyengine-claude
/plugin install country-models@policyengine-claude
Testing
After merging:
- Team members trust the repo in Claude Code
- Plugin auto-installs from marketplace
- Agents, commands, and skills are immediately available
- Test with:
/encode-policy [program]or invoke agents directly
Related
- Plugin Repository: https://github.com/PolicyEngine/policyengine-claude
- Documentation: See README in policyengine-claude repo
Changelog
Included in changelog_entry.yaml:
- Changed: Migrate from .claude submodule to policyengine-claude plugin system
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]