Load when editing .github/skills/*, agents/*, instructions/*, or .opencode/*. Provides AKIS framework development patterns.
Target: -68% tokens, 100% completeness, identical behavior
| Rule | Description |
|---|---|
| One source of truth | Each rule exists in ONE file only |
| Reference don't repeat | Other files say "see X" not copy X |
| Unique content only | Each file has ONE purpose, no overlap |
| File | Contains | Does NOT Contain |
|---|---|---|
copilot-instructions.md | All core rules, gates, workflow | Details, examples beyond 1 |
workflow.instructions.md | END phase details, log format | Gates, START (in main) |
protocols.instructions.md | Skill triggers, pre-commit, stats | Gates, workflow (in main) |
quality.instructions.md | Gotchas table only | Rules (in main) |
| Rule | Before | After | Savings |
|---|---|---|---|
| Tables over prose | Paragraph explaining X | Table with X | -60% |
| One example not four | 4 identical examples | 1 example | -75% |
| Deduplicate | Same table in 3 files | Table in 1 file | -66% |
| Compress headers | ## Section Name (REQUIRED) | ## Section | -40% |
| Bad | Good | Why |
|---|---|---|
| Same example 4 times | 1 example in main file | -75% tokens |
| Gates table in 3 files | Gates in copilot-instructions only | -66% tokens |
| Verbose explanation | Table row | Same info, fewer tokens |
| Numbered sub-sub-steps | Flat list | Easier to scan |
---
applyTo: '**'