Commit 736bdaf
committed
docs(agents): Remove duplicated build commands and rules
AGENTS.md is force-read at the start of every session, so anything stated
there costs context on every task. Several rules had accumulated multiple
copies of themselves within that one file.
`spotlessApply`/`apiDump` was stated five times in AGENTS.md; it is now
stated once as a command and once as a workflow step, with the underlying
facts (Spotless enforces formatting, `.api` files are generated) kept where
they belong. The Testing command block is dropped in favour of the `test`
skill, which already resolves the per-module task and the unit-vs-system
split and does not drift. The Repository Skills bullet list restated skill
descriptions that the harness already injects, so it is now a pointer.
In the rules, `new_module.mdc`'s "Important Notes" was a verbatim
restatement of the AGENTS.md contributing guidelines, and `api.mdc` repeated
the opt-in-by-default rule in passing; both now defer to their canonical
homes.
No guidance is lost — every removed line is still stated somewhere that is
loaded when it applies.1 parent 79f1f2f commit 736bdaf
3 files changed
Lines changed: 12 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 52 | | |
79 | 53 | | |
80 | 54 | | |
81 | 55 | | |
82 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
83 | 60 | | |
84 | 61 | | |
85 | 62 | | |
| |||
102 | 79 | | |
103 | 80 | | |
104 | 81 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
110 | 85 | | |
111 | 86 | | |
112 | 87 | | |
| |||
150 | 125 | | |
151 | 126 | | |
152 | 127 | | |
153 | | - | |
154 | | - | |
| 128 | + | |
| 129 | + | |
155 | 130 | | |
156 | 131 | | |
157 | 132 | | |
| |||
189 | 164 | | |
190 | 165 | | |
191 | 166 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
196 | 170 | | |
197 | 171 | | |
198 | 172 | | |
| |||
0 commit comments