improve OpenCode adapter documentation and add specialist agents - #129
Merged
Conversation
- Add specialist agents configuration to OpenCode adapter documentation and improve agent settings - Change eval-mode to primary mode and add permission settings - Add specialist agents (backend, architect, tester, security, a11y, performance) - Add backend-developer to agent mapping table - Update agent names in usage examples (plan → plan-mode, build → act-mode) no reference
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
improve OpenCode adapter documentation and add specialist agents
📋 Summary
This PR improves the OpenCode adapter documentation by adding specialist agents configuration and updating agent settings. It also removes the temporary PR_DESCRIPTION.md file that was accidentally committed.
🎯 Reason for Change
Documentation Improvement
Agent Mode Correction
Usage Examples Update
🔧 Key Changes
1. Specialist Agents Configuration Added
Backend Agent
backendbackend-developer.jsonArchitect Agent
architectarchitecture-specialist.jsonTester Agent
testertest-strategy-specialist.jsonSecurity Agent
securitysecurity-specialist.jsonAccessibility Agent
a11yaccessibility-specialist.jsonPerformance Agent
performanceperformance-specialist.json2. Eval-Mode Agent Configuration Update
Before
After
Changes:
subagenttoprimarymodetoolswithpermission(OpenCode standard)3. Agent Mapping Table Update
Added
backend-developer.jsonto the agent mapping table:backend-developer.jsonbackend4. Usage Examples Update
Before
After
Rationale: Updated to match actual agent names defined in configuration
5. Temporary File Cleanup
PR_DESCRIPTION.md(408 lines)None
✅ Testing
Configuration Validation
1. Verify JSON Structure
2. Verify Agent Names
3. Verify Permission Settings
Documentation Verification
1. Verify Agent Mapping Table
2. Verify Usage Examples
🔍 Review Checklist
Documentation
Agent Configuration
Consistency
💡 Usage Examples
Using Specialist Agents
Backend Development
Architecture Review
Test Strategy
Security Audit
Accessibility Check
Performance Optimization
Using Mode Agents
PLAN Mode
ACT Mode
EVAL Mode
🎯 Expected Impact
User Experience
Developer Productivity
Code Quality
📝 Migration Guide
For Existing OpenCode Users
Update Agent Names
If you're using old agent names in your configuration:
plan→plan-modebuild→act-modereviewer→eval-modeAdd Specialist Agents
Copy the specialist agents configuration from the documentation to your
opencode.json:{ "agent": { "backend": { ... }, "architect": { ... }, "tester": { ... }, "security": { ... }, "a11y": { ... }, "performance": { ... } } }Update Eval-Mode Configuration
If you have eval-mode configured as subagent, update it to primary mode with permission settings.
🔗 Related Issues
📚 References