mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-01 22:53:27 +08:00
feat(opencode): complete OpenCode agent setup - add 10 missing agent prompts (#726)
* feat(opencode): complete OpenCode agent setup - add 11 missing agent prompts Summary: - Add 11 missing OpenCode agent prompt files for: chief-of-staff, cpp-reviewer, cpp-build-resolver, docs-lookup, harness-optimizer, java-reviewer, java-build-resolver, kotlin-reviewer, kotlin-build-resolver, loop-operator, python-reviewer - Update opencode.json to register all 25 agents (previously only 14 were configured) Type: - [x] Agent Testing: - Verified JSON syntax is valid - All 25 agents now have corresponding prompt files in .opencode/prompts/agents/ - opencode.json updated with all agent configurations * fix: address PR review comments - add SOUL.md, update AGENTS.md, fix tool configs, and refine agent prompts * fix: remove chief-of-staff agent and SOUL.md per affaan-m review - Remove chief-of-staff agent from opencode.json (outside ECC scope) - Remove chief-of-staff.txt prompt file - Remove SOUL.md file - Remove chief-of-staff from AGENTS.md table and orchestration section - Update agent count from 28 to 27 --------- Co-authored-by: Nayan Jaiswal <jaiswal2062@gmail.com>
This commit is contained in:
@@ -177,6 +177,148 @@
|
||||
"edit": true,
|
||||
"bash": true
|
||||
}
|
||||
},
|
||||
"cpp-reviewer": {
|
||||
"description": "Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/cpp-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"cpp-build-resolver": {
|
||||
"description": "C++ build, CMake, and compilation error resolution specialist. Fixes build errors, linker issues, and template errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/cpp-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
"edit": true,
|
||||
"bash": true
|
||||
}
|
||||
},
|
||||
"docs-lookup": {
|
||||
"description": "Documentation specialist using Context7 MCP to fetch current library and API documentation with code examples.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/docs-lookup.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"harness-optimizer": {
|
||||
"description": "Analyze and improve the local agent harness configuration for reliability, cost, and throughput.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/harness-optimizer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"edit": true
|
||||
}
|
||||
},
|
||||
"java-reviewer": {
|
||||
"description": "Expert Java and Spring Boot code reviewer specializing in layered architecture, JPA patterns, security, and concurrency.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/java-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"java-build-resolver": {
|
||||
"description": "Java/Maven/Gradle build, compilation, and dependency error resolution specialist. Fixes build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/java-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
"edit": true,
|
||||
"bash": true
|
||||
}
|
||||
},
|
||||
"kotlin-reviewer": {
|
||||
"description": "Kotlin and Android/KMP code reviewer. Reviews Kotlin code for idiomatic patterns, coroutine safety, Compose best practices.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/kotlin-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"kotlin-build-resolver": {
|
||||
"description": "Kotlin/Gradle build, compilation, and dependency error resolution specialist. Fixes Kotlin build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/kotlin-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
"edit": true,
|
||||
"bash": true
|
||||
}
|
||||
},
|
||||
"loop-operator": {
|
||||
"description": "Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-sonnet-4-5",
|
||||
"prompt": "{file:prompts/agents/loop-operator.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"edit": true
|
||||
}
|
||||
},
|
||||
"python-reviewer": {
|
||||
"description": "Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/python-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"rust-reviewer": {
|
||||
"description": "Expert Rust code reviewer specializing in idiomatic Rust, ownership, lifetimes, concurrency, and performance.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/rust-reviewer.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"bash": true,
|
||||
"write": false,
|
||||
"edit": false
|
||||
}
|
||||
},
|
||||
"rust-build-resolver": {
|
||||
"description": "Rust build, Cargo, and compilation error resolution specialist. Fixes Rust build errors with minimal changes.",
|
||||
"mode": "subagent",
|
||||
"model": "anthropic/claude-opus-4-5",
|
||||
"prompt": "{file:prompts/agents/rust-build-resolver.txt}",
|
||||
"tools": {
|
||||
"read": true,
|
||||
"write": true,
|
||||
"edit": true,
|
||||
"bash": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"command": {
|
||||
|
||||
Reference in New Issue
Block a user