Contributing
Shared agent prompts, workflow modes, and global rules have one source: packages/core/agent-directives/. Development setup, testing, changesets, and pull requests live in the repository root CONTRIBUTING.md.
Canonical Source Workflow
Section titled “Canonical Source Workflow”Never edit generated agents, skills, commands, rules, or other projection files directly; the next sync overwrites them. To change shared methodology:
- Edit the matching Markdown file in packages/core/agent-directives/.
- Run the sync from the repository root.
- Check every projection before committing.
scripts/sync-allscripts/check-syncThe generators adapt names, frontmatter, tool syntax, and host-specific boundaries per package; keep host metadata out of core and reusable methodology in it.
Platform Guides
Section titled “Platform Guides”Each platform guide covers the package’s authored files, generated outputs, runtime boundary, and focused validation:
| Package | Guide |
|---|---|
| OpenCode | Contributing |
| Pi | Contributing |
| Claude Code, Codex, Cursor, Kimi Code, Devin, ZCode, OMP, Hermes (declarative hosts) | Contributing |
| Agent Plugins v1 | Installation and compatibility |