forked from EmmyBearAI/opencode-rules
rules for opencode
| AGENTS.md | ||
| base.md | ||
| changelog.md | ||
| CODE_OF_CONDUCT.md | ||
| get-rules.sh | ||
| languages.md | ||
| LICENSE.md | ||
| opencode.json | ||
| README.md | ||
OpenCode Rules
This repository defines the OpenCode instruction set and changelog rules used by the CLI.
curl -fsSL https://emmy.link/opencode | bash
How it works
opencode.jsonloads the instruction files listed ininstructions.base.mdprovides universal rules for every task.languages.mdadds language-specific requirements.changelog.mdtracks notable changes in Keep a Changelog format.
Using this repo
- Update rules by editing the appropriate instruction file.
- For every change, update
changelog.mdunder## [Unreleased]using the correct change type section. - Keep entries concise and user-facing.
- When releasing, move the
Unreleasedentries into a new version section with a UTC date inYYYY-MM-DDformat and update any link references.
Changelog format
changelog.md follows Keep a Changelog 1.1.0:
- Always keep
## [Unreleased]at the top. - Use these sections when needed:
Added,Changed,Deprecated,Removed,Fixed,Security. - Do not add empty sections.
- Newest releases first.
Files
opencode.jsonbase.mdlanguages.mdchangelog.md