docs: document the plural forms

This commit is contained in:
Aiden Cline
2026-01-17 13:09:27 -06:00
parent 5a199b04cb
commit 58f7da6e9f
8 changed files with 57 additions and 53 deletions

View File

@@ -157,10 +157,10 @@ Configure agents in your `opencode.json` config file:
You can also define agents using markdown files. Place them in:
- Global: `~/.config/opencode/agent/`
- Per-project: `.opencode/agent/`
- Global: `~/.config/opencode/agents/`
- Per-project: `.opencode/agents/`
```markdown title="~/.config/opencode/agent/review.md"
```markdown title="~/.config/opencode/agents/review.md"
---
description: Reviews code for quality and best practices
mode: subagent
@@ -419,7 +419,7 @@ You can override these permissions per agent.
You can also set permissions in Markdown agents.
```markdown title="~/.config/opencode/agent/review.md"
```markdown title="~/.config/opencode/agents/review.md"
---
description: Code review without edits
mode: subagent
@@ -637,7 +637,7 @@ Do you have an agent you'd like to share? [Submit a PR](https://github.com/anoma
### Documentation agent
```markdown title="~/.config/opencode/agent/docs-writer.md"
```markdown title="~/.config/opencode/agents/docs-writer.md"
---
description: Writes and maintains project documentation
mode: subagent
@@ -659,7 +659,7 @@ Focus on:
### Security auditor
```markdown title="~/.config/opencode/agent/security-auditor.md"
```markdown title="~/.config/opencode/agents/security-auditor.md"
---
description: Performs security audits and identifies vulnerabilities
mode: subagent