@event4u/agent-config 1.29.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent-src/commands/agents/audit.md +101 -197
- package/.agent-src/commands/{copilot-agents → agents}/init.md +18 -10
- package/.agent-src/commands/agents/optimize.md +181 -0
- package/.agent-src/commands/agents.md +19 -12
- package/.agent-src/commands/optimize/agents-dir.md +111 -0
- package/.agent-src/commands/optimize.md +10 -8
- package/.agent-src/contexts/communication/rules-auto/guidelines-mechanics.md +6 -0
- package/.agent-src/contexts/communication/rules-auto/slash-command-routing-policy-mechanics.md +2 -3
- package/.agent-src/contexts/contracts/agents-md-anatomy.md +132 -0
- package/.agent-src/skills/agents-md-thin-root/SKILL.md +8 -1
- package/.agent-src/skills/command-writing/SKILL.md +49 -0
- package/.agent-src/skills/copilot-agents-optimization/SKILL.md +3 -3
- package/.agent-src/skills/error-handling-patterns/SKILL.md +2 -2
- package/.agent-src/skills/{repomix → repomix-packer}/SKILL.md +8 -8
- package/.agent-src/skills/roadmap-writing/SKILL.md +9 -0
- package/.agent-src/skills/rule-writing/SKILL.md +21 -0
- package/.agent-src/skills/skill-writing/SKILL.md +19 -0
- package/.agent-src/skills/testing-anti-patterns/SKILL.md +7 -0
- package/.agent-src/templates/AGENTS.md +9 -10
- package/.claude-plugin/marketplace.json +5 -8
- package/AGENTS.md +1 -2
- package/CHANGELOG.md +86 -0
- package/CONTRIBUTING.md +90 -0
- package/README.md +3 -3
- package/docs/architecture.md +2 -2
- package/docs/catalog.md +11 -13
- package/docs/contracts/command-clusters.md +20 -3
- package/docs/contracts/file-ownership-matrix.json +205 -56
- package/docs/getting-started.md +1 -1
- package/docs/guidelines/code-clarity.md +95 -0
- package/docs/guidelines/php/general.md +8 -0
- package/docs/guidelines/php/php-coding-patterns.md +1 -0
- package/docs/skills-catalog.md +27 -3
- package/llms.txt +26 -2
- package/package.json +1 -1
- package/scripts/chat_history.py +166 -36
- package/scripts/check_command_count_messaging.py +12 -3
- package/scripts/check_portability.py +1 -0
- package/scripts/lint_agents_md.py +33 -0
- package/scripts/release.py +77 -2
- package/scripts/skill_linter.py +10 -3
- package/.agent-src/commands/agents/cleanup.md +0 -194
- package/.agent-src/commands/agents/prepare.md +0 -141
- package/.agent-src/commands/copilot-agents/optimize.md +0 -255
- package/.agent-src/commands/copilot-agents.md +0 -44
- package/.agent-src/commands/optimize/agents.md +0 -144
|
@@ -128,6 +128,27 @@ the PR or split by responsibility.
|
|
|
128
128
|
* Run the full CI pipeline locally (see `Taskfile.yml` in this repo for
|
|
129
129
|
the script list) — must exit 0 except for tolerated warnings.
|
|
130
130
|
|
|
131
|
+
### 6. Governance baseline (when introducing a new linter check)
|
|
132
|
+
|
|
133
|
+
**Advisory, reviewer-checked — no CI gate.** When the same PR adds a
|
|
134
|
+
new check to `scripts/skill_linter.py` (or strengthens an existing one)
|
|
135
|
+
such that previously-clean rules now warn, the PR body MUST record the
|
|
136
|
+
pre-existing violations on `main` in a Markdown table:
|
|
137
|
+
|
|
138
|
+
```markdown
|
|
139
|
+
### Pre-existing baseline (informational)
|
|
140
|
+
|
|
141
|
+
| Code | Count on main | Bucket |
|
|
142
|
+
|---|---:|---|
|
|
143
|
+
| {new_code} | N | (a) genuine fix · (b) accept · (c) check too aggressive |
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Forward-only: the new check applies to **the rule under review** and to
|
|
147
|
+
**future** edits. The baseline table is informational so reviewers can
|
|
148
|
+
distinguish genuine debt from acceptable carry-overs without diffing the
|
|
149
|
+
full lint output. See `agents/analysis/lint-warning-triage.md` for the
|
|
150
|
+
3-bucket reference.
|
|
151
|
+
|
|
131
152
|
## Frontmatter shape
|
|
132
153
|
|
|
133
154
|
```yaml
|
|
@@ -59,6 +59,25 @@ Ask: **"Does the model need this to do its job correctly?"**
|
|
|
59
59
|
* If the model knows it but does it wrong in THIS project → **Rule or Guideline**
|
|
60
60
|
* If the model needs a multi-step workflow to get it right → **Skill**
|
|
61
61
|
|
|
62
|
+
### Skills and commands share the `.claude/skills/` namespace
|
|
63
|
+
|
|
64
|
+
Skills (`.agent-src.uncompressed/skills/{name}/SKILL.md`) AND commands
|
|
65
|
+
(`.agent-src.uncompressed/commands/{name}.md`) both project into
|
|
66
|
+
`.claude/skills/` (`scripts/compress.py` → `generate_claude_skills` +
|
|
67
|
+
`generate_claude_commands`). Claude treats the directory as native
|
|
68
|
+
skills.
|
|
69
|
+
|
|
70
|
+
* Same-name collision: skill wins, command is skipped
|
|
71
|
+
(`generate_claude_commands` honors this). Don't reuse a command's
|
|
72
|
+
slug for a skill unless the command should retire.
|
|
73
|
+
* Both compete on `description` for routing. A weak skill description
|
|
74
|
+
is shadowed by a stronger same-domain command — and vice versa.
|
|
75
|
+
Trigger phrasing must be precise (§ 1b below).
|
|
76
|
+
* Workflow has both "user types `/foo`" path AND "model picks this up
|
|
77
|
+
from intent" path → author the skill first, let the command delegate
|
|
78
|
+
via `skills:` frontmatter. Two artifacts with the same trigger
|
|
79
|
+
surface fight each other in the router.
|
|
80
|
+
|
|
62
81
|
### When "Nothing" is the right answer
|
|
63
82
|
|
|
64
83
|
Do NOT create a skill or rule for:
|
|
@@ -34,6 +34,10 @@ Do NOT use when:
|
|
|
34
34
|
|
|
35
35
|
## Procedure: Run the gate before each anti-pattern
|
|
36
36
|
|
|
37
|
+
### 1. Inspect the diff before any new mock
|
|
38
|
+
|
|
39
|
+
Before writing or extending a test, **inspect** the code under test and identify which collaborators are real, which are mocked, and which produce side effects the assertion depends on. Open the file, read the dependency chain, and write the chain down. Do not start mocking until the chain is on paper.
|
|
40
|
+
|
|
37
41
|
### Anti-Pattern 1 — Asserting on mock elements
|
|
38
42
|
|
|
39
43
|
Symptom: `expect(screen.getByTestId('sidebar-mock')).toBeInTheDocument()` or `$this->assertSee('mock-sidebar')`. Test passes when the mock is present, fails when it is not — proves nothing about the component.
|
|
@@ -102,6 +106,8 @@ BEFORE creating a mock response object:
|
|
|
102
106
|
3. If the shape is unknown, capture a real response into `tests/fixtures/` instead of inventing one.
|
|
103
107
|
```
|
|
104
108
|
|
|
109
|
+
**Concrete capture tools** for recording the real shape: `curl -s <url> | jq '.'` against a staging endpoint, Postman's "Save Response", Laravel's `Http::fake()` in record mode, or a Playwright network-trace export. Filter the captured payload with `jq` / `grep` to keep only the fields your fixture documents — **do not** dump unredacted secrets into `tests/fixtures/`.
|
|
110
|
+
|
|
105
111
|
### Anti-Pattern 5 — Tests as an afterthought
|
|
106
112
|
|
|
107
113
|
Symptom: "Implementation complete, ready for testing." Implementation went in without tests. TDD was skipped, anti-patterns 1–4 are now likely.
|
|
@@ -120,6 +126,7 @@ Gate: a feature is not complete until a failing-then-passing test cycle ran for
|
|
|
120
126
|
- A "complete" mock that mirrors a v1 API silently rots when v2 ships — link mock fixtures to a real recorded response and re-record on schema changes.
|
|
121
127
|
- Layer 3 environment guards from [`defense-in-depth`](../defense-in-depth/SKILL.md) often expose anti-pattern 2: if a production guard fires only in tests, the test setup is wrong, not the guard.
|
|
122
128
|
- Long mock setups (> 50% of the test) are a signal that integration tests would be simpler — consider it before piling on more mocks.
|
|
129
|
+
- **Diagnose, do not brute-force.** If a test fails after a mock change, **never guess** at another mock tweak — drop a debugger / Xdebug breakpoint at the seam, observe the real call shape, then mock minimally. Two retries without a root-cause hypothesis = STOP and rethink.
|
|
123
130
|
|
|
124
131
|
## Do NOT
|
|
125
132
|
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
# {{project_name}}
|
|
2
2
|
|
|
3
3
|
<!--
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Fill placeholders or run `/agents init`, then delete this
|
|
5
|
+
comment. Iron Law — capability bullets, not path lists; paths rot.
|
|
6
|
+
Tool stubs (`CLAUDE.md`, `GEMINI.md`, `.cursorrules`) link here.
|
|
7
|
+
Anatomy + recipes: `.augment/contexts/contracts/agents-md-anatomy.md`.
|
|
7
8
|
-->
|
|
8
9
|
|
|
9
|
-
{{project_description}}
|
|
10
|
+
> {{project_description}}
|
|
10
11
|
|
|
11
12
|
## Layers
|
|
12
13
|
|
|
13
|
-
| Layer | Location |
|
|
14
|
+
| Layer | Location | Edits |
|
|
14
15
|
|---|---|---|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
| **Project docs** | `agents/` | Architecture, features, roadmaps, sessions, contexts |
|
|
18
|
-
| **Agent settings** | `.agent-settings.yml` | Project-specific config consumed by skills |
|
|
16
|
+
| Installed package | `.augment/`, `.agent-src/` | hands-off — managed by `event4u/agent-config` |
|
|
17
|
+
| Project layer | `agents/`, `agents/overrides/`, `.agent-settings.yml` | your customizations and config |
|
|
19
18
|
|
|
20
19
|
## Pointers
|
|
21
20
|
|
|
22
|
-
- **Filling out this AGENTS.md** —
|
|
21
|
+
- **Filling out this AGENTS.md** — section templates, capability bullets, multi-agent entry flow, monorepo per-package layout: [`.augment/contexts/contracts/consumer-agents-md-guide.md`](.augment/contexts/contracts/consumer-agents-md-guide.md).
|
|
23
22
|
- **Behavior rules (always active)** — Iron Laws and routed rules that fire automatically while you work in this project: [`.augment/rules/`](.augment/rules/).
|
|
24
23
|
- **Skills (on-demand expertise)** — domain skills surfaced by description; invoked when their trigger fires: [`.augment/skills/`](.augment/skills/).
|
|
25
24
|
- **Commands (workflows)** — slash-commands the agent runs end-to-end (`/work`, `/implement-ticket`, `/commit`, `/create-pr`, …): [`.augment/commands/`](.augment/commands/).
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Shared agent configuration \u2014 skills for AI coding tools (Claude Code, Augment, Cursor, Cline, Windsurf, Gemini CLI).",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.31.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"./.claude/skills/agent-status",
|
|
23
23
|
"./.claude/skills/agents",
|
|
24
24
|
"./.claude/skills/agents-audit",
|
|
25
|
-
"./.claude/skills/agents-
|
|
25
|
+
"./.claude/skills/agents-init",
|
|
26
26
|
"./.claude/skills/agents-md-thin-root",
|
|
27
|
-
"./.claude/skills/agents-
|
|
27
|
+
"./.claude/skills/agents-optimize",
|
|
28
28
|
"./.claude/skills/ai-council",
|
|
29
29
|
"./.claude/skills/analysis-autonomous-mode",
|
|
30
30
|
"./.claude/skills/analysis-skill-router",
|
|
@@ -64,10 +64,7 @@
|
|
|
64
64
|
"./.claude/skills/context-document",
|
|
65
65
|
"./.claude/skills/context-refactor",
|
|
66
66
|
"./.claude/skills/conventional-commits-writing",
|
|
67
|
-
"./.claude/skills/copilot-agents",
|
|
68
|
-
"./.claude/skills/copilot-agents-init",
|
|
69
67
|
"./.claude/skills/copilot-agents-optimization",
|
|
70
|
-
"./.claude/skills/copilot-agents-optimize",
|
|
71
68
|
"./.claude/skills/copilot-config",
|
|
72
69
|
"./.claude/skills/cost-report",
|
|
73
70
|
"./.claude/skills/council",
|
|
@@ -169,7 +166,7 @@
|
|
|
169
166
|
"./.claude/skills/onboard",
|
|
170
167
|
"./.claude/skills/openapi",
|
|
171
168
|
"./.claude/skills/optimize",
|
|
172
|
-
"./.claude/skills/optimize-agents",
|
|
169
|
+
"./.claude/skills/optimize-agents-dir",
|
|
173
170
|
"./.claude/skills/optimize-augmentignore",
|
|
174
171
|
"./.claude/skills/optimize-prompt",
|
|
175
172
|
"./.claude/skills/optimize-rtk",
|
|
@@ -213,7 +210,7 @@
|
|
|
213
210
|
"./.claude/skills/receiving-code-review",
|
|
214
211
|
"./.claude/skills/refine-prompt",
|
|
215
212
|
"./.claude/skills/refine-ticket",
|
|
216
|
-
"./.claude/skills/repomix",
|
|
213
|
+
"./.claude/skills/repomix-packer",
|
|
217
214
|
"./.claude/skills/requesting-code-review",
|
|
218
215
|
"./.claude/skills/research",
|
|
219
216
|
"./.claude/skills/review-changes",
|
package/AGENTS.md
CHANGED
|
@@ -19,8 +19,7 @@ task ci # full pipeline — green before PR
|
|
|
19
19
|
- **Package self-orientation** — identity, four-wing cognition map, repo layout, tech stack, key-rules table, telemetry, command-suggester: [`docs/contracts/package-self-orientation.md`](docs/contracts/package-self-orientation.md).
|
|
20
20
|
- **Kernel + Router** — 9 always-loaded Iron-Law rules, tier-1 / tier-2 routing, cost profiles, per-rule char caps enforced by `task lint-rule-budget`: [`kernel-membership`](docs/contracts/kernel-membership.md) + [`rule-router`](docs/contracts/rule-router.md).
|
|
21
21
|
- **Multi-tool projection** — Augment, Claude Code, Cursor, Cline, Windsurf, Gemini CLI, Claude.ai bundle pipeline that ships from `.agent-src/` to consumer surfaces: [`docs/architecture.md`](docs/architecture.md#cloud-bundle-pipeline).
|
|
22
|
-
- **
|
|
23
|
-
- **Thin-Root contract** governing **this** file (cap, pointer ratio, emergency-triage block) — read before editing AGENTS.md: [`agents-md-thin-root`](.agent-src/skills/agents-md-thin-root/SKILL.md).
|
|
22
|
+
- **Editing this repo** — Iron-Law rules (portability, source-of-truth, skill-quality) and the Thin-Root contract (caps · pointer-ratio · triage block) governing AGENTS.md: [`augment-portability`](.agent-src/rules/augment-portability.md), [`augment-source-of-truth`](.agent-src/rules/augment-source-of-truth.md), [`skill-quality`](.agent-src/rules/skill-quality.md), [`agents-md-thin-root`](.agent-src/skills/agents-md-thin-root/SKILL.md).
|
|
24
23
|
- **Consumer story + architecture deep-dive** — what the package does for installers and how it ships: [`README.md`](README.md), [`docs/architecture.md`](docs/architecture.md).
|
|
25
24
|
|
|
26
25
|
## Emergency triage — read this when nothing else is reachable
|
package/CHANGELOG.md
CHANGED
|
@@ -318,6 +318,92 @@ our recommendation order, not its support status.
|
|
|
318
318
|
users" tension without removing any path that an existing user
|
|
319
319
|
might rely on.
|
|
320
320
|
|
|
321
|
+
## [1.31.0](https://github.com/event4u-app/agent-config/compare/1.29.0...1.31.0) (2026-05-09)
|
|
322
|
+
|
|
323
|
+
### Features
|
|
324
|
+
|
|
325
|
+
* **chat-history:** cross-agent hardening — smoke isolation + multi-agent attribution ([b215b8f](https://github.com/event4u-app/agent-config/commit/b215b8f05bef439a95be9cc11c35d22f888696d1))
|
|
326
|
+
* consolidate agent-doc commands into frequency-weighted surface ([9ce7476](https://github.com/event4u-app/agent-config/commit/9ce74764edfe2b6474311d3c8f01f3ac8018378c))
|
|
327
|
+
* capability-over-structure for AGENTS.md (anatomy + linter + /optimize:agents-md) ([309042d](https://github.com/event4u-app/agent-config/commit/309042d8d15b3c13e9a70fe160d52208fe33ef98))
|
|
328
|
+
* **release:** inject test-count trend into changelog footer ([3476186](https://github.com/event4u-app/agent-config/commit/347618644a658eda45003271f8da8b1c36097089))
|
|
329
|
+
* **linter:** exempt cluster-head commands from no_steps; recognize ### Step N ([ad66bf0](https://github.com/event4u-app/agent-config/commit/ad66bf0001ef4acd2be662591b673e1e2822e83a))
|
|
330
|
+
|
|
331
|
+
### Bug Fixes
|
|
332
|
+
|
|
333
|
+
* **readme:** drop stale deprecation-shim sub-line; trim to 500-line cap ([5f92841](https://github.com/event4u-app/agent-config/commit/5f9284177323585ebb8b5fbca870f853c5c34ee0))
|
|
334
|
+
* **check-portability:** allowlist agents-md-anatomy.md for task-invocation detector ([3301d19](https://github.com/event4u-app/agent-config/commit/3301d193ba55e95cdab47d8e3288a524ce7b8b90))
|
|
335
|
+
* **ci:** sync compression hashes for governance + projection sections ([0fe814d](https://github.com/event4u-app/agent-config/commit/0fe814d7304ce8363b7a19e408fbb005aac67f05))
|
|
336
|
+
* **skills:** close 4 linter warnings on Microck-harvested skills ([dda7a81](https://github.com/event4u-app/agent-config/commit/dda7a8181aee3f20b4ce9910d66e45db51aff9ba))
|
|
337
|
+
|
|
338
|
+
### Documentation
|
|
339
|
+
|
|
340
|
+
* **guidelines:** add universal code-clarity guideline (inline single-use values) ([d11b6cb](https://github.com/event4u-app/agent-config/commit/d11b6cbe6f6a31e7ed01e0b224365e6830e4b385))
|
|
341
|
+
* **contributing:** add agent-assisted contribution workflow section ([0daf3b9](https://github.com/event4u-app/agent-config/commit/0daf3b9b89696780cb4c027fff7ce4be4dfa23a5))
|
|
342
|
+
* **roadmap:** decouple roadmaps from merge / commit steps ([40a64a0](https://github.com/event4u-app/agent-config/commit/40a64a0a31b31c05ca7de05a1a7b267634a53c7b))
|
|
343
|
+
* **roadmap:** close road-to-feedback-followups · agent-side complete ([efa4406](https://github.com/event4u-app/agent-config/commit/efa4406d4cc38cbcd3ebdb355c991da53d43a4c7))
|
|
344
|
+
* **skills:** governance-baseline + Claude-skill projection notes ([f9306e1](https://github.com/event4u-app/agent-config/commit/f9306e1f53c1f7ce735ba039ae22a8a0ebcc05b6))
|
|
345
|
+
|
|
346
|
+
### Refactoring
|
|
347
|
+
|
|
348
|
+
* **skills:** rename repomix → repomix-packer ([62eec15](https://github.com/event4u-app/agent-config/commit/62eec153f770ebf848f1dcf84b30c036001a63ef))
|
|
349
|
+
|
|
350
|
+
### Chores
|
|
351
|
+
|
|
352
|
+
* regenerate agents/index.md (drop stale copilot-agents shim row) ([fa9ca32](https://github.com/event4u-app/agent-config/commit/fa9ca323952b31a7a85177dca65c46a31dd0e931))
|
|
353
|
+
* **roadmap:** set archived chat-history roadmap status to LANDED ([a42f7a8](https://github.com/event4u-app/agent-config/commit/a42f7a86b6d49dc20f87e577574512a4c7fb5c00))
|
|
354
|
+
* **roadmap:** close chat-history-cross-agent-hardening ([5129c33](https://github.com/event4u-app/agent-config/commit/5129c3336bc647925ff3abb00344272b37b98433))
|
|
355
|
+
* retire /copilot-agents shim and clean up references ([295e3aa](https://github.com/event4u-app/agent-config/commit/295e3aa6f683263b9f5a8451bb94cb7468bfd00d))
|
|
356
|
+
* canonicalize Known False Positives section in copilot-instructions.md ([c1a20bd](https://github.com/event4u-app/agent-config/commit/c1a20bd474895974f442bc5d2545175d39021e1e))
|
|
357
|
+
* collapse editing-repo pointers in AGENTS.md to reclaim WARN headroom ([934800a](https://github.com/event4u-app/agent-config/commit/934800a6334e88494ffad37a3f5204e05bb60b1c))
|
|
358
|
+
* archive completed road-to-agent-command-consolidation roadmap ([829704b](https://github.com/event4u-app/agent-config/commit/829704b797cd10b79ce0b70cc9d1b14cd3ce5664))
|
|
359
|
+
* thin-root awareness for command-count gate; refresh doc counts ([6040c45](https://github.com/event4u-app/agent-config/commit/6040c4524ff84673adc8a403a2f6ab5e105b0af4))
|
|
360
|
+
* regenerate compressed sources and tool projections ([0e83fb9](https://github.com/event4u-app/agent-config/commit/0e83fb9a008c6d083c8c2d1a53e645abe2b2541c))
|
|
361
|
+
|
|
362
|
+
### Other
|
|
363
|
+
|
|
364
|
+
* 1.30.0 ([ee26092](https://github.com/event4u-app/agent-config/commit/ee26092f161cd5d5486f8aa859156bc30fae54f2))
|
|
365
|
+
|
|
366
|
+
Tests: 2486
|
|
367
|
+
|
|
368
|
+
## [1.30.0](https://github.com/event4u-app/agent-config/compare/1.29.0...1.30.0) (2026-05-09)
|
|
369
|
+
|
|
370
|
+
### Features
|
|
371
|
+
|
|
372
|
+
* consolidate agent-doc commands into frequency-weighted surface ([9ce7476](https://github.com/event4u-app/agent-config/commit/9ce74764edfe2b6474311d3c8f01f3ac8018378c))
|
|
373
|
+
* capability-over-structure for AGENTS.md (anatomy + linter + /optimize:agents-md) ([309042d](https://github.com/event4u-app/agent-config/commit/309042d8d15b3c13e9a70fe160d52208fe33ef98))
|
|
374
|
+
* **release:** inject test-count trend into changelog footer ([3476186](https://github.com/event4u-app/agent-config/commit/347618644a658eda45003271f8da8b1c36097089))
|
|
375
|
+
* **linter:** exempt cluster-head commands from no_steps; recognize ### Step N ([ad66bf0](https://github.com/event4u-app/agent-config/commit/ad66bf0001ef4acd2be662591b673e1e2822e83a))
|
|
376
|
+
|
|
377
|
+
### Bug Fixes
|
|
378
|
+
|
|
379
|
+
* **readme:** drop stale deprecation-shim sub-line; trim to 500-line cap ([5f92841](https://github.com/event4u-app/agent-config/commit/5f9284177323585ebb8b5fbca870f853c5c34ee0))
|
|
380
|
+
* **check-portability:** allowlist agents-md-anatomy.md for task-invocation detector ([3301d19](https://github.com/event4u-app/agent-config/commit/3301d193ba55e95cdab47d8e3288a524ce7b8b90))
|
|
381
|
+
* **ci:** sync compression hashes for governance + projection sections ([0fe814d](https://github.com/event4u-app/agent-config/commit/0fe814d7304ce8363b7a19e408fbb005aac67f05))
|
|
382
|
+
* **skills:** close 4 linter warnings on Microck-harvested skills ([dda7a81](https://github.com/event4u-app/agent-config/commit/dda7a8181aee3f20b4ce9910d66e45db51aff9ba))
|
|
383
|
+
|
|
384
|
+
### Documentation
|
|
385
|
+
|
|
386
|
+
* **guidelines:** add universal code-clarity guideline (inline single-use values) ([d11b6cb](https://github.com/event4u-app/agent-config/commit/d11b6cbe6f6a31e7ed01e0b224365e6830e4b385))
|
|
387
|
+
* **contributing:** add agent-assisted contribution workflow section ([0daf3b9](https://github.com/event4u-app/agent-config/commit/0daf3b9b89696780cb4c027fff7ce4be4dfa23a5))
|
|
388
|
+
* **roadmap:** decouple roadmaps from merge / commit steps ([40a64a0](https://github.com/event4u-app/agent-config/commit/40a64a0a31b31c05ca7de05a1a7b267634a53c7b))
|
|
389
|
+
* **roadmap:** close road-to-feedback-followups · agent-side complete ([efa4406](https://github.com/event4u-app/agent-config/commit/efa4406d4cc38cbcd3ebdb355c991da53d43a4c7))
|
|
390
|
+
* **skills:** governance-baseline + Claude-skill projection notes ([f9306e1](https://github.com/event4u-app/agent-config/commit/f9306e1f53c1f7ce735ba039ae22a8a0ebcc05b6))
|
|
391
|
+
|
|
392
|
+
### Refactoring
|
|
393
|
+
|
|
394
|
+
* **skills:** rename repomix → repomix-packer ([62eec15](https://github.com/event4u-app/agent-config/commit/62eec153f770ebf848f1dcf84b30c036001a63ef))
|
|
395
|
+
|
|
396
|
+
### Chores
|
|
397
|
+
|
|
398
|
+
* retire /copilot-agents shim and clean up references ([295e3aa](https://github.com/event4u-app/agent-config/commit/295e3aa6f683263b9f5a8451bb94cb7468bfd00d))
|
|
399
|
+
* canonicalize Known False Positives section in copilot-instructions.md ([c1a20bd](https://github.com/event4u-app/agent-config/commit/c1a20bd474895974f442bc5d2545175d39021e1e))
|
|
400
|
+
* collapse editing-repo pointers in AGENTS.md to reclaim WARN headroom ([934800a](https://github.com/event4u-app/agent-config/commit/934800a6334e88494ffad37a3f5204e05bb60b1c))
|
|
401
|
+
* archive completed road-to-agent-command-consolidation roadmap ([829704b](https://github.com/event4u-app/agent-config/commit/829704b797cd10b79ce0b70cc9d1b14cd3ce5664))
|
|
402
|
+
* thin-root awareness for command-count gate; refresh doc counts ([6040c45](https://github.com/event4u-app/agent-config/commit/6040c4524ff84673adc8a403a2f6ab5e105b0af4))
|
|
403
|
+
* regenerate compressed sources and tool projections ([0e83fb9](https://github.com/event4u-app/agent-config/commit/0e83fb9a008c6d083c8c2d1a53e645abe2b2541c))
|
|
404
|
+
|
|
405
|
+
Tests: 2471
|
|
406
|
+
|
|
321
407
|
## [1.29.0](https://github.com/event4u-app/agent-config/compare/1.28.0...1.29.0) (2026-05-09)
|
|
322
408
|
|
|
323
409
|
### Features
|
package/CONTRIBUTING.md
CHANGED
|
@@ -92,6 +92,96 @@ task lint-skills # python3 scripts/skill_linter.py --all
|
|
|
92
92
|
[`augment-portability`](.agent-src/rules/augment-portability.md) rule and
|
|
93
93
|
`scripts/check_portability.py` enforce this in CI.
|
|
94
94
|
|
|
95
|
+
## Agent-assisted contribution workflow
|
|
96
|
+
|
|
97
|
+
The package is **maintenance-assisted** and **learning-supported** — not
|
|
98
|
+
self-maintaining or self-learning. Automation handles structural quality
|
|
99
|
+
and proposes changes; humans own semantic judgment and approve every
|
|
100
|
+
change. The distinction matters: drafting a skill is fast, but
|
|
101
|
+
generalizing it correctly and writing a trigger phrase that actually
|
|
102
|
+
fires for the right intents still takes human review.
|
|
103
|
+
|
|
104
|
+
### What the agent does for you
|
|
105
|
+
|
|
106
|
+
Helper skills (`skill-writing`, `rule-writing`, `command-writing`,
|
|
107
|
+
`description-assist`, `skill-reviewer`, `check-refs`,
|
|
108
|
+
`agents-md-thin-root`) cover the mechanical work. You describe the
|
|
109
|
+
intent — *"a skill that validates JWT tokens"*, *"a rule banning
|
|
110
|
+
silent fallbacks"* — and the agent:
|
|
111
|
+
|
|
112
|
+
- picks the right artefact type (skill vs. rule vs. command vs. guideline);
|
|
113
|
+
- places it in the correct directory under `.agent-src.uncompressed/`;
|
|
114
|
+
- writes frontmatter, trigger phrase (≤ 200 chars, multi-trigger coverage),
|
|
115
|
+
required sections, and a size budget that fits the linter;
|
|
116
|
+
- runs `task sync` so the compressed and projected copies stay aligned;
|
|
117
|
+
- runs `task lint-skills` and `task ci` and proposes fixes for any
|
|
118
|
+
failures.
|
|
119
|
+
|
|
120
|
+
You do not need to memorise the directory layout, the kernel-rule budget,
|
|
121
|
+
the size enforcement table, or the compression-hash registry. You do
|
|
122
|
+
need to know *what* you want, *why* it generalises beyond your project,
|
|
123
|
+
and *when* the agent's draft is wrong.
|
|
124
|
+
|
|
125
|
+
### What CI catches and what it does not
|
|
126
|
+
|
|
127
|
+
CI is structural, not semantic. `task ci` enforces frontmatter shape,
|
|
128
|
+
description length, size budgets, compression-hash drift, broken
|
|
129
|
+
cross-references, missing language anchors, kernel-rule prominence, and
|
|
130
|
+
roadmap-dashboard sync. It will reject a malformed skill before review.
|
|
131
|
+
|
|
132
|
+
CI cannot tell you whether a trigger phrase actually fires when it
|
|
133
|
+
should, whether an example generalises beyond your project, or whether
|
|
134
|
+
a new rule contradicts an existing one in spirit. That judgment is
|
|
135
|
+
yours. Plan on one or two CI feedback rounds on a first contribution —
|
|
136
|
+
this is normal, not a sign the docs lied.
|
|
137
|
+
|
|
138
|
+
### Learning from real use — what it actually means
|
|
139
|
+
|
|
140
|
+
The `learning-to-rule-or-skill` skill, the `capture-learnings` rule,
|
|
141
|
+
and the `skill-improvement-pipeline` together let the agent **propose**
|
|
142
|
+
rules or skills based on patterns it observed during a task. They never
|
|
143
|
+
auto-promote anything. Every proposal lands as a draft for you to
|
|
144
|
+
accept, reword, or discard. There is no cross-project training loop —
|
|
145
|
+
each consumer project's learnings stay local unless you explicitly opt
|
|
146
|
+
in to upstream contribution.
|
|
147
|
+
|
|
148
|
+
Toggle: `pipelines.skill_improvement: true` in `.agent-settings.yml`
|
|
149
|
+
(default true; set false for a silent agent).
|
|
150
|
+
|
|
151
|
+
### Optional upstream contribution
|
|
152
|
+
|
|
153
|
+
A consumer project can opt in to feed learnings back as PRs against
|
|
154
|
+
this repository. Set `project.upstream_repo: "event4u-app/agent-config"`
|
|
155
|
+
in `.agent-settings.yml` (empty by default). With it set, the
|
|
156
|
+
`upstream-contribute` skill and `upstream-proposal` rule become active
|
|
157
|
+
and the agent may **propose** an upstream PR when a local learning
|
|
158
|
+
generalises.
|
|
159
|
+
|
|
160
|
+
The setting flip is the easy part. Before enabling it, confirm:
|
|
161
|
+
|
|
162
|
+
- **You have the right to contribute.** Check your employment contract
|
|
163
|
+
and your company's IP / open-source policy. Code and prose written
|
|
164
|
+
during work hours often belong to your employer.
|
|
165
|
+
- **No proprietary content leaks.** Generalisation must strip internal
|
|
166
|
+
API names, customer identifiers, secrets, and project-specific
|
|
167
|
+
domain language. The agent assists; you verify.
|
|
168
|
+
- **MIT license is acceptable.** Contributions ship under the package's
|
|
169
|
+
[MIT License](LICENSE).
|
|
170
|
+
- **You review every PR before submission.** The skill's Iron Law is
|
|
171
|
+
*never create a PR without explicit user consent*. Setting the config
|
|
172
|
+
is not consent — clicking through the proposal is.
|
|
173
|
+
|
|
174
|
+
### Honest limits
|
|
175
|
+
|
|
176
|
+
- The agent drafts; you decide. *"It compiled, ship it"* is not a
|
|
177
|
+
review.
|
|
178
|
+
- A structurally clean skill can still be semantically useless. Read
|
|
179
|
+
the trigger phrase out loud and ask whether you would actually want
|
|
180
|
+
the skill to fire on those words.
|
|
181
|
+
- The package improves when contributors push back on the agent's
|
|
182
|
+
drafts. Silent acceptance is the failure mode that produces noisy,
|
|
183
|
+
redundant, or misfiring rules.
|
|
184
|
+
|
|
95
185
|
## Installer and Python tooling
|
|
96
186
|
|
|
97
187
|
- Primary installer entry point: `scripts/install` (bash orchestrator).
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Give your AI agents an audit-disciplined orchestration contract — testing, Git
|
|
|
7
7
|
> Your agent picks up the project's stack, runs tests, prepares PRs, fixes CI — and follows your team's coding standards while doing it. Stack-aware skill sets ship for PHP (Laravel · Symfony · Zend/Laminas), JavaScript (Next.js · React · Node), and cross-stack concerns (API · testing · security · observability).
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<strong>153 Skills</strong> · <strong>60 Rules</strong> · <strong>
|
|
10
|
+
<strong>153 Skills</strong> · <strong>60 Rules</strong> · <strong>101 Commands</strong> · <strong>63 Guidelines</strong> · <strong>8 AI Tools</strong>
|
|
11
11
|
</p>
|
|
12
12
|
|
|
13
13
|
---
|
|
@@ -343,7 +343,7 @@ kernel set: [`docs/contracts/kernel-membership.md`](docs/contracts/kernel-member
|
|
|
343
343
|
| [`/jira-ticket`](.agent-src/commands/jira-ticket.md) | Read ticket from branch, implement feature |
|
|
344
344
|
| [`/compress`](.agent-src/commands/compress.md) | Compress skills for token efficiency |
|
|
345
345
|
|
|
346
|
-
→ [Browse all
|
|
346
|
+
→ [Browse all 101 active commands](.agent-src/commands/)
|
|
347
347
|
|
|
348
348
|
---
|
|
349
349
|
|
|
@@ -368,7 +368,7 @@ Every developer gets the same behavior. No per-user setup needed.
|
|
|
368
368
|
native slash-commands)
|
|
369
369
|
|
|
370
370
|
> **What this means in practice:** Augment Code and Claude Code get the full
|
|
371
|
-
> package (rules + 153 skills +
|
|
371
|
+
> package (rules + 153 skills + 101 native commands). Cursor, Cline, Windsurf,
|
|
372
372
|
> Gemini CLI, and GitHub Copilot only get the **rules** natively; skills and
|
|
373
373
|
> commands are available to them as documentation the agent can read, not as
|
|
374
374
|
> first-class features.
|
package/docs/architecture.md
CHANGED
|
@@ -98,8 +98,8 @@ fails on any source-side violation, without producing artifacts.
|
|
|
98
98
|
|---|---|---|
|
|
99
99
|
| **Skills** | 153 | On-demand expertise — stack analysis (Laravel · Symfony · Zend / Laminas · Next.js · React · Node), testing, Docker, API design, security, observability, … |
|
|
100
100
|
| **Rules** | 60 | Always-active constraints — coding standards, scope control, verification, language-and-tone, agent-authority |
|
|
101
|
-
| **Commands** |
|
|
102
|
-
| **Guidelines** |
|
|
101
|
+
| **Commands** | 101 | Slash-command workflows — `/commit`, `/create-pr`, `/fix ci`, `/optimize skills`, `/feature plan`, `/work`, `/implement-ticket`, `/compress`, … |
|
|
102
|
+
| **Guidelines** | 63 | Reference material cited by skills — PHP patterns, Eloquent, Playwright, agent-infra, … |
|
|
103
103
|
| **Templates** | 7 | Scaffolds for features, roadmaps, contexts, skills, overrides |
|
|
104
104
|
| **Contexts** | 5 | Shared knowledge about the system itself |
|
|
105
105
|
|
package/docs/catalog.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# agent-config — Public Catalog
|
|
2
2
|
|
|
3
|
-
Consumer-facing catalog of all **
|
|
3
|
+
Consumer-facing catalog of all **374 public artefacts** shipped by
|
|
4
4
|
this package. Internal package-maintenance rules and deprecation shims
|
|
5
5
|
are excluded.
|
|
6
6
|
|
|
@@ -127,7 +127,7 @@ are excluded.
|
|
|
127
127
|
| skill | [`receiving-code-review`](../.agent-src/skills/receiving-code-review/SKILL.md) | | Use when processing code review feedback (bot or human) before changing anything — triages, verifies, and pushes back with technical reasoning — even when the user just says 'fix the comments'. |
|
|
128
128
|
| skill | [`refine-prompt`](../.agent-src/skills/refine-prompt/SKILL.md) | | Reconstruct a free-form prompt into actionable AC + assumptions + confidence band before the engine plans — '/work \"…\"', 'baue X', 'ist der Prompt klar genug für die Engine?'. |
|
|
129
129
|
| skill | [`refine-ticket`](../.agent-src/skills/refine-ticket/SKILL.md) | | Refine a Jira/Linear ticket before planning — 'refine ticket', 'tighten AC on PROJ-123', 'ist das Ticket klar?' — rewritten ticket, Top-5 risks, persona voices, sub-skills orchestrated, close-prompt. |
|
|
130
|
-
| skill | [`repomix`](../.agent-src/skills/repomix/SKILL.md) | | Use when packaging a codebase to a single AI-friendly file for LLM analysis — local or remote, XML/Markdown/JSON, token counting, gitignore filtering, peer-side `repomix` CLI. |
|
|
130
|
+
| skill | [`repomix-packer`](../.agent-src/skills/repomix-packer/SKILL.md) | | Use when packaging a codebase to a single AI-friendly file for LLM analysis — local or remote, XML/Markdown/JSON, token counting, gitignore filtering, peer-side `repomix` CLI. |
|
|
131
131
|
| skill | [`requesting-code-review`](../.agent-src/skills/requesting-code-review/SKILL.md) | | Use when asking for a review or creating a PR — self-review first, frame the right context, test plan included — even when the user just says 'open a PR' or 'ready to merge'. |
|
|
132
132
|
| skill | [`review-routing`](../.agent-src/skills/review-routing/SKILL.md) | | Use when preparing a PR description, suggesting reviewers, or flagging risk — produces owner-mapped roles plus historical bug-pattern matches from project-local YAML. |
|
|
133
133
|
| skill | [`rice-prioritization`](../.agent-src/skills/rice-prioritization/SKILL.md) | | Use when ranking competing initiatives for a roadmap, breaking a tie between two features, or auditing a backlog for hidden low-value work via Reach × Impact × Confidence ÷ Effort. |
|
|
@@ -227,16 +227,16 @@ are excluded.
|
|
|
227
227
|
| rule | [`user-interaction`](../.agent-src/rules/user-interaction.md) | auto | Asking the user a question, presenting options, or summarizing progress — numbered-options Iron Law, single-recommendation rule, progress indicators |
|
|
228
228
|
| rule | [`verify-before-complete`](../.agent-src/rules/verify-before-complete.md) | always | Verify before completion — run tests and quality tools before claiming done |
|
|
229
229
|
|
|
230
|
-
## Commands (
|
|
230
|
+
## Commands (101)
|
|
231
231
|
|
|
232
232
|
| kind | name | cluster | description |
|
|
233
233
|
|---|---|---|---|
|
|
234
234
|
| command | [`agent-handoff`](../.agent-src/commands/agent-handoff.md) | | Generate a context summary for continuing work in a fresh chat. Replaces the session system. |
|
|
235
235
|
| command | [`agent-status`](../.agent-src/commands/agent-status.md) | | Show current conversation stats — message count, token costs, task progress, next freshness check. |
|
|
236
|
-
| command | [`agents:audit`](../.agent-src/commands/agents/audit.md) | cluster: agents |
|
|
237
|
-
| command | [`agents:
|
|
238
|
-
| command | [`agents:
|
|
239
|
-
| command | [`agents`](../.agent-src/commands/agents.md) | cluster: agents |
|
|
236
|
+
| command | [`agents:audit`](../.agent-src/commands/agents/audit.md) | cluster: agents | Audit agent infrastructure — token overhead, rule triggers, AGENTS.md health, Capability-over-Structure adherence, stale references. Read-only, suggest-only, never auto-apply. |
|
|
237
|
+
| command | [`agents:init`](../.agent-src/commands/agents/init.md) | cluster: agents | Initialize the agent layer for a consumer project — creates AGENTS.md and .github/copilot-instructions.md from package templates, auto-detects stack, never leaks other projects' identifiers. |
|
|
238
|
+
| command | [`agents:optimize`](../.agent-src/commands/agents/optimize.md) | cluster: agents | Refactor AGENTS.md to the Thin-Root contract (caps, pointer ratio, capability bullets, emergency-triage) and propagate to tool stubs. Suggest only, never auto-apply. |
|
|
239
|
+
| command | [`agents`](../.agent-src/commands/agents.md) | cluster: agents | Agent-layer orchestrator — routes to init, optimize, audit. Covers AGENTS.md and its multi-tool stubs (CLAUDE.md, GEMINI.md, copilot-instructions.md, .cursorrules). |
|
|
240
240
|
| command | [`analyze-reference-repo`](../.agent-src/commands/analyze-reference-repo.md) | | Analyze an external reference repository (competitor, inspiration, peer) and produce a structured comparison + adoption plan for this project. |
|
|
241
241
|
| command | [`bug-fix`](../.agent-src/commands/bug-fix.md) | | Plan and implement a bug fix — based on investigation, with quality checks and test verification |
|
|
242
242
|
| command | [`bug-investigate`](../.agent-src/commands/bug-investigate.md) | | Investigate a bug — auto-detect ticket from branch, gather Jira/Sentry/description context, trace root cause |
|
|
@@ -254,9 +254,6 @@ are excluded.
|
|
|
254
254
|
| command | [`context:create`](../.agent-src/commands/context/create.md) | cluster: context | Analyze a codebase area and create a structured context document |
|
|
255
255
|
| command | [`context:refactor`](../.agent-src/commands/context/refactor.md) | cluster: context | Analyze, update, and extend an existing context document |
|
|
256
256
|
| command | [`context`](../.agent-src/commands/context.md) | cluster: context | Context orchestrator — routes to create, refactor |
|
|
257
|
-
| command | [`copilot-agents:init`](../.agent-src/commands/copilot-agents/init.md) | cluster: copilot-agents | Create AGENTS.md and .github/copilot-instructions.md from scratch in the consumer project — interactive, auto-detects stack, never leaks other projects' identifiers. |
|
|
258
|
-
| command | [`copilot-agents:optimize`](../.agent-src/commands/copilot-agents/optimize.md) | cluster: copilot-agents | Analyzes and refactors AGENTS.md and copilot-instructions.md — removes duplications, enforces line budgets, and ensures both files are optimized for their audience. |
|
|
259
|
-
| command | [`copilot-agents`](../.agent-src/commands/copilot-agents.md) | cluster: copilot-agents | Copilot agents-doc orchestrator — routes to init, optimize |
|
|
260
257
|
| command | [`cost-report`](../.agent-src/commands/cost-report.md) | | Capture token cost from the active Claude Code session, append to the local sessions store, and surface the 50/75/90/100% budget alert ladder with cost-profile suggestions. |
|
|
261
258
|
| command | [`council:default`](../.agent-src/commands/council/default.md) | cluster: council | Default council lens — neutral framing, redacted context, advisory output only. Run `/council default <input>` for prompt/roadmap/diff/files; the cluster shows a menu when invoked bare. |
|
|
262
259
|
| command | [`council:design`](../.agent-src/commands/council/design.md) | cluster: council | Run the council on a design document, ADR, or architecture proposal — surfaces hidden coupling, missing rollback, and sequencing risk before commitment. |
|
|
@@ -299,12 +296,12 @@ are excluded.
|
|
|
299
296
|
| command | [`module:explore`](../.agent-src/commands/module/explore.md) | cluster: module | Explore a module — load its structure, docs, and context into the current conversation |
|
|
300
297
|
| command | [`module`](../.agent-src/commands/module.md) | cluster: module | Module orchestrator — routes to create, explore |
|
|
301
298
|
| command | [`onboard`](../.agent-src/commands/onboard.md) | | First-run setup for a developer on this project — captures name, IDE, bot-icon preference, rtk, cost_profile, and learning opt-out, then sets onboarding.onboarded=true |
|
|
302
|
-
| command | [`optimize:agents`](../.agent-src/commands/optimize/agents.md) | cluster: optimize |
|
|
299
|
+
| command | [`optimize:agents-dir`](../.agent-src/commands/optimize/agents-dir.md) | cluster: optimize | Manage the agents/ directory — scaffold, folder-audit, fix. Single command with three modes (--scaffold / --audit / --fix); default = interactive wizard. |
|
|
303
300
|
| command | [`optimize:augmentignore`](../.agent-src/commands/optimize/augmentignore.md) | cluster: optimize | Creates or updates .augmentignore based on the project's actual tech stack, large files, generated artifacts, and irrelevant agent skills/rules. |
|
|
304
301
|
| command | [`optimize:rtk`](../.agent-src/commands/optimize/rtk.md) | cluster: optimize | Create or optimize project-local rtk filters based on the actual toolchain |
|
|
305
302
|
| command | [`optimize:skills`](../.agent-src/commands/optimize/skills.md) | cluster: optimize | Audits skills — measures baseline, finds duplicates/merge candidates, runs linter. Suggest only, never auto-apply. |
|
|
306
303
|
| command | [`optimize-prompt`](../.agent-src/commands/optimize-prompt.md) | cluster: optimize | Optimize a raw prompt for ChatGPT, Claude, Gemini, or another AI via the 4-D methodology — BASIC vs DETAIL auto-detect, one clarifying question per turn, returns the polished prompt. |
|
|
307
|
-
| command | [`optimize`](../.agent-src/commands/optimize.md) | cluster: optimize | Optimize orchestrator — routes to skills, agents, augmentignore, rtk-filters |
|
|
304
|
+
| command | [`optimize`](../.agent-src/commands/optimize.md) | cluster: optimize | Optimize orchestrator — routes to skills, agents-dir, augmentignore, rtk-filters |
|
|
308
305
|
| command | [`override:create`](../.agent-src/commands/override/create.md) | cluster: override | Creates a project-level override for a shared skill, rule, or command. |
|
|
309
306
|
| command | [`override:manage`](../.agent-src/commands/override/manage.md) | cluster: override | Reviews, updates, and refactors existing project-level overrides. |
|
|
310
307
|
| command | [`override`](../.agent-src/commands/override.md) | cluster: override | Override orchestrator — routes to create, manage |
|
|
@@ -336,7 +333,7 @@ are excluded.
|
|
|
336
333
|
| command | [`upstream-contribute`](../.agent-src/commands/upstream-contribute.md) | | Contribute a learning, skill, rule, or fix from a consumer project back to the shared agent-config package |
|
|
337
334
|
| command | [`work`](../.agent-src/commands/work.md) | | Drive a free-form prompt end-to-end through refine → score → plan → implement → test → verify → report — Option-A loop over the `work_engine` Python engine, confidence-band gated, no auto-git. |
|
|
338
335
|
|
|
339
|
-
## Guidelines (
|
|
336
|
+
## Guidelines (63)
|
|
340
337
|
|
|
341
338
|
| kind | name | category | description |
|
|
342
339
|
|---|---|---|---|
|
|
@@ -370,6 +367,7 @@ are excluded.
|
|
|
370
367
|
| guideline | [`tool-integration`](../docs/guidelines/agent-infra/tool-integration.md) | agent-infra | |
|
|
371
368
|
| guideline | [`verify-before-complete-demos`](../docs/guidelines/agent-infra/verify-before-complete-demos.md) | agent-infra | |
|
|
372
369
|
| guideline | [`augment-portability-patterns`](../docs/guidelines/augment-portability-patterns.md) | (root) | |
|
|
370
|
+
| guideline | [`code-clarity`](../docs/guidelines/code-clarity.md) | (root) | |
|
|
373
371
|
| guideline | [`readme-size-and-splitting`](../docs/guidelines/docs/readme-size-and-splitting.md) | docs | |
|
|
374
372
|
| guideline | [`playwright`](../docs/guidelines/e2e/playwright.md) | e2e | |
|
|
375
373
|
| guideline | [`api-design`](../docs/guidelines/php/api-design.md) | php | |
|
|
@@ -28,17 +28,16 @@ column 1 of this table.
|
|
|
28
28
|
| Cluster | Phase | Sub-commands | Replaces |
|
|
29
29
|
|---|:-:|---|---|
|
|
30
30
|
| `fix` | 1 | `ci` · `pr` · `pr-bots` · `pr-developers` · `portability` · `refs` · `seeder` | `fix-ci` · `fix-pr-comments` · `fix-pr-bot-comments` · `fix-pr-developer-comments` · `fix-portability` · `fix-references` · `fix-seeder` |
|
|
31
|
-
| `optimize` | 1 | `agents` · `augmentignore` · `rtk` · `skills` | `optimize-
|
|
31
|
+
| `optimize` | 1 | `agents-dir` · `augmentignore` · `rtk` · `skills` | `optimize-augmentignore` · `optimize-rtk-filters` · `optimize-skills` · former `/optimize agents` and `/optimize agents-md` moved to the `/agents` file-family cluster 2026-05-09; `/agents prepare/audit/cleanup` collapsed into the single `/optimize agents-dir` (flags or wizard) per the agent-doc consolidation |
|
|
32
32
|
| `feature` | 1 | `explore` · `plan` · `refactor` · `roadmap` · `dev` | `feature-explore` · `feature-plan` · `feature-refactor` · `feature-roadmap` · `feature-dev` |
|
|
33
33
|
| `chat-history` | 2 | `show` · `import` · `learn` | `chat-history` (legacy status) — `resume` / `clear` / `checkpoint` removed in `road-to-chat-history-hook-only` (auto-adopt + structural hooks); `import` (verbatim cross-session render) and `learn` (project-improving learning extraction) added in the v4 stateless schema |
|
|
34
|
-
| `agents` | 2 | `
|
|
34
|
+
| `agents` | 2 | `init` · `optimize` · `audit` | AGENTS.md file family (high-frequency) — repurposed 2026-05-09: `init` (was `/copilot-agents init`) · `optimize` (merger of `/optimize agents-md` + `/copilot-agents optimize`) · `audit` (was `/optimize agents`, collapses old `audit` + `check` verbs); legacy folder ops (`prepare` / `cleanup` / folder-`audit`) moved to `/optimize agents-dir` |
|
|
35
35
|
| `memory` | 2 | `add` · `load` · `promote` · `propose` | `memory-add` · `memory-full` · `memory-promote` · `propose-memory` |
|
|
36
36
|
| `roadmap` | 2 | `create` · `ai-council` · `process-step` · `process-phase` · `process-full` | `roadmap-create` · `roadmap-execute` (replaced — autonomous, no per-step gate; `process-phase` is the default execution scope); `ai-council` added 2026-05-07 — wraps `/council default` with `--input-mode roadmap --depth deep` |
|
|
37
37
|
| `module` | 2 | `create` · `explore` | `module-create` · `module-explore` |
|
|
38
38
|
| `tests` | 2 | `create` · `execute` | `tests-create` · `tests-execute` |
|
|
39
39
|
| `context` | 2 | `create` · `refactor` | `context-create` · `context-refactor` |
|
|
40
40
|
| `override` | 2 | `create` · `manage` | `override-create` · `override-manage` |
|
|
41
|
-
| `copilot-agents` | 2 | `init` · `optimize` | `copilot-agents-init` · `copilot-agents-optimize` |
|
|
42
41
|
| `judge` | 2 | `solo` · `on-diff` · `steps` | `judge` (legacy standalone) · `do-and-judge` · `do-in-steps` |
|
|
43
42
|
| `commit` | 2 | `in-chunks` | `commit-in-chunks` |
|
|
44
43
|
| `create-pr` | 2 | `description-only` | `create-pr-description` |
|
|
@@ -149,6 +148,24 @@ the removal explicitly. The 1.17.0 release ships Phase 2 cluster
|
|
|
149
148
|
locks **and** drops the seven Phase 1 atomic shims at the end of
|
|
150
149
|
their deprecation cycle.
|
|
151
150
|
|
|
151
|
+
## Agent-doc consolidation (2026-05-09)
|
|
152
|
+
|
|
153
|
+
Single-release breaking change folding seven scattered agent-doc
|
|
154
|
+
commands into the `/agents` (file-family) and `/optimize agents-dir`
|
|
155
|
+
surfaces. Frequency-weighted: high-use AGENTS.md operations get the
|
|
156
|
+
short `/agents` namespace; low-use folder ops nest under `/optimize`.
|
|
157
|
+
|
|
158
|
+
| Old command | New command | Note |
|
|
159
|
+
|---|---|---|
|
|
160
|
+
| `/optimize agents-md` | `/agents optimize` | Thin-Root refactor folded into `/agents` |
|
|
161
|
+
| `/optimize agents` | `/agents audit` | read-only audit folded into `/agents`; `audit` + `check` collapsed |
|
|
162
|
+
| `/agents prepare` | `/optimize agents-dir` | `--scaffold` flag or wizard mode |
|
|
163
|
+
| `/agents audit` (folder) | `/optimize agents-dir` | `--audit` flag |
|
|
164
|
+
| `/agents cleanup` | `/optimize agents-dir` | `--fix` flag |
|
|
165
|
+
|
|
166
|
+
Cluster `/copilot-agents` is retired; the file-family operations now
|
|
167
|
+
live under `/agents` (`init`, `optimize`).
|
|
168
|
+
|
|
152
169
|
## Linter behavior
|
|
153
170
|
|
|
154
171
|
`scripts/lint_no_new_atomic_commands.py`:
|