Skip to content

Conversation

@MaxGhenis
Copy link
Contributor

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:

  1. Team members trust the repo in Claude Code
  2. Plugin auto-installs from marketplace
  3. Agents, commands, and skills are immediately available
  4. Test with: /encode-policy [program] or invoke agents directly

Related

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]

- Remove .claude submodule and .gitmodules
- Add plugin auto-install configuration in .claude/settings.json
- Configure auto-install of country-models plugin from PolicyEngine/policyengine-claude
- Users will now get agents, commands, and skills via plugin system instead of submodules

Benefits:
- No more Git submodule complexity
- Easier updates via plugin manager
- Works globally across all repos
- Team standardization via settings.json auto-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant