
I built Rulepack — a PKGBUILD-inspired package manager for coding agent rules & skills
Hi,
I got tired of copy-pasting the same rules and skills across OpenCode, Cursor, Claude Code, GitHub Copilot, Windsurf, Gemini CLI, etc. So I built Rulepack.
It’s a declarative package manager where each rule/skill/agent is a YAML PKGBUILD descriptor. One source, multiple targets. You can create PKBUILDs manually or with help of your agent.
Quick workflow:
bin/rulepack build # fetch sources & build platform artifacts
bin/rulepack install --target opencode # deploy with symlink/copy/inject/append
bin/rulepack verify --target opencode # detect drift
bin/rulepack fix --target opencode # repair drift
bin/rulepack bump # check upstream git-sourced packages
Highlights:
• 14 supported agent platforms (user + project scope)
• Registry-driven translate/transform defaults (data/registry/platforms.yaml)
• Surgical installs, skill-bundle sub-skill selection, marker-based AGENTS.md append
• Upstream version tracking, transaction rollback, SHA256 checksums
• Ruby stdlib-only core, 357 tests, 0 failures
Repo: https://github.com/ozgurulukir/agent-rule-sync
Feedback, bug reports, and new platform/translator contributions are very welcome. If you maintain rules for more than one coding agent, this is the exact itch it scratches.