chore: enforce token efficiency rules across all agent instruction files#28
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
=======================================
Coverage 83.67% 83.67%
=======================================
Files 9 9
Lines 674 674
Branches 173 163 -10
=======================================
Hits 564 564
Misses 110 110 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR centralizes and standardizes “token efficiency” guidance across agent-facing instruction surfaces, and wires core instruction docs into the OpenCode configuration so agents consistently receive the same rules.
Changes:
- Add an
instructionsinclude list and per-mode agent model configuration toopencode.json. - Add “Token Efficiency” rules to canonical workflow docs and agent entrypoints (AGENTS/GEMINI).
- Tighten the AntiVibe skill guidance to be more concise/direct.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
opencode.json |
Adds instruction includes and defines agent mode model/temperature/step settings. |
GEMINI.md |
Reworks Gemini-facing context to emphasize token-efficiency rules and point to .opencode/docs/. |
AGENTS.md |
Adds shared token-efficiency rules and clarifies OpenCode vs non-OpenCode workflow guidance. |
.opencode/skills/antivibe/SKILL.md |
Makes AntiVibe output requirements more concise and explicit. |
.opencode/docs/AGENT_WORKFLOW.md |
Adds token-efficiency rules as an explicit top-level section in the canonical workflow doc. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot resolve the merge conflicts in this pull request |
|
@copilot resolve the merge conflicts in this pull request make sure to take opencode.json configuration from main branch |
…ent-token-efficiency # Conflicts: # opencode.json Co-authored-by: dnim <1839962+dnim@users.noreply.github.com>
Resolved in 77588ad. Merged main into the branch — took the full |
No description provided.