The open source coding agent.
TypeScript
fix: documentation typo (#781)
Aiden Clined2a9b2f64a8a
diff --git a/packages/web/src/content/docs/docs/rules.mdx b/packages/web/src/content/docs/docs/rules.mdxindex b1b55b02623..3249cc3f8df 100644--- a/packages/web/src/content/docs/docs/rules.mdx+++ b/packages/web/src/content/docs/docs/rules.mdx@@ -81,23 +81,14 @@ If you have both global and project-specific rules, opencode will combine them t## Custom Instructions-You can also specify custom instruction files using the `instructions` configuration in your `opencode.json` or global `~/.config/opencode/config.json`:+You can specify custom instruction files in your `opencode.json` or the global `~/.config/opencode/config.json`. This allows you and your team to reuse existing rules rather than having to duplicate them to AGENTS.md.-```json title="opencode.json"-{- "$schema": "https://opencode.ai/config.json",- "instructions": [".cursor/rules/*.md"]-}-```--You can specify multiple files like `CONTRIBUTING.md` and `docs/guidelines.md`, and use glob patterns to match multiple files.--For example, to reuse your existing Cursor rules:+Example:```json title="opencode.json"{"$schema": "https://opencode.ai/config.json",- "instructions": [".cursor/rules/*.md"]+ "instructions": ["CONTRIBUTING.md", "docs/guidelines.md", ".cursor/rules/*.md"]}```