initial commit
This commit is contained in:
18
.config/opencode/commands/sme.md
Normal file
18
.config/opencode/commands/sme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
description: Invoke the SME (Subject Matter Expert) agent for deep domain consultation — guidance is cached in megamemory
|
||||
---
|
||||
|
||||
You are the lead agent. The user has invoked `/sme` to consult a domain expert.
|
||||
|
||||
## Steps
|
||||
|
||||
1. Check megamemory for existing SME guidance on the requested domain (`megamemory:understand` with the domain as query). If found, return the cached guidance immediately with its concept ID.
|
||||
|
||||
2. If not cached, delegate to the `sme` agent with:
|
||||
- The user's specific question
|
||||
- Relevant context (project stack, constraints, current approach)
|
||||
- Any relevant file paths or code snippets
|
||||
|
||||
3. Once SME responds, the guidance will be cached in megamemory automatically. Present the guidance to the user.
|
||||
|
||||
4. Link the SME guidance concept to any active plan concept in megamemory.
|
||||
Reference in New Issue
Block a user