What problem does it solve?
Use when creating or modifying OpenCode rules (.md/.mdc files) that customize agent behavior. Helps extract patterns from conversation history, analyze project conventions (AGENTS.md, linters, package.json), and draft well-formatted rules with appropriate globs/keywords. Trigger when user wants to create a rule, codify repeated instructions, persist guidance across sessions, or customize agent behavior for specific files or topics.
Core Features & Use Cases
- Extract patterns from conversation history to drive agent behavior.
- Analyze project conventions (AGENTS.md, linter configurations, package.json) to align rules.
- Draft well-formatted rules with appropriate globs and keywords.
- Persist guidance across sessions to maintain consistency.
- Customize agent behavior for specific files or topics.
Quick Start
Create a rule that codifies your project conventions by specifying globs and keywords, then save it to your OpenCode rules repository.