Shared coding rules packaged for cross-model use.
This repository provides:
- a canonical shared coding contract in
docs/shared-coding-rules.md - root entry files for common agents and models
- a Codex plugin with a reusable
shre-coding-rulesskill
ShreCodingRules/
├── AGENTS.md
├── CODEX.md
├── CLAUDE.md
├── GEMINI.md
├── docs/
│ └── shared-coding-rules.md
├── .agents/plugins/marketplace.json
└── plugins/
└── shre-coding-rules/
├── .codex-plugin/plugin.json
└── skills/
└── shre-coding-rules/
├── SKILL.md
├── agents/openai.yaml
└── references/
Use this repo when you want one ruleset that multiple models can follow without duplicating the same instructions across AGENTS.md, CODEX.md, CLAUDE.md, and similar files.
Run:
./scripts/apply_to_project.sh /path/to/target-repoThis will:
- copy
docs/shared-coding-rules.md - copy
AGENTS.md,CODEX.md,CLAUDE.md, andGEMINI.md - install the local
shre-coding-rulesplugin intoplugins/shre-coding-rules - install
.agents/plugins/marketplace.json
Use --force only when you explicitly want to replace an existing setup.
Run:
new-shre-project <project-name>Optional GitHub remote creation:
new-shre-project <project-name> --github --private
new-shre-project <project-name> --github --publicThis command is backed by scripts/create_project.sh and is intended to be the default way to start new repositories.