sean revised this gist 1 month ago. Go to revision
1 file changed, 24 insertions
opencode-prompt.md(file created)
| @@ -0,0 +1,24 @@ | |||
| 1 | + | We are working on this task: | |
| 2 | + | ||
| 3 | + | <task> | |
| 4 | + | ||
| 5 | + | Use a retrieval-first workflow. | |
| 6 | + | ||
| 7 | + | Context priority: | |
| 8 | + | 1. Current repo code | |
| 9 | + | 2. Repo-local docs: AGENTS.md, PROJECT.md, README.md, docs/, adr/ | |
| 10 | + | 3. Active issue/PR/task description | |
| 11 | + | 4. Linked project gists or design docs | |
| 12 | + | 5. Confluence/Google Docs | |
| 13 | + | 6. External API docs | |
| 14 | + | 7. General web search only if needed | |
| 15 | + | ||
| 16 | + | Before editing: | |
| 17 | + | - read the repo guidance files | |
| 18 | + | - search for similar existing implementations | |
| 19 | + | - inspect relevant tests | |
| 20 | + | - identify docs/specs that need updates | |
| 21 | + | - flag stale/conflicting context | |
| 22 | + | - produce a concise implementation plan | |
| 23 | + | ||
| 24 | + | Do not modify files until the plan is complete. | |
Newer
Older