rules-creation

Installation
SKILL.md

Rules Creation for OpenCode

Configure custom instructions to guide OpenCode's behavior for your projects and personal workflows.

What Rules Are

Rules are custom instructions defined in AGENTS.md files that OpenCode includes in the LLM's context. They allow you to:

  • Define project conventions - Code standards, architecture patterns, naming conventions
  • Specify workflows - Build processes, deployment procedures, testing approaches
  • Document context - Project structure, technology stack, team practices
  • Set preferences - Personal coding style, communication preferences

Rules customize how OpenCode works without requiring configuration changes.

Quick Start

Create rules in three steps:

Related skills
Installs
3
GitHub Stars
10
First Seen
Mar 15, 2026