create-issflow 1.0.0 → 1.0.2
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/README.md +56 -41
- package/bin/cli.js +259 -96
- package/package.json +28 -23
- package/template/.claude/agents/debugger.md +47 -47
- package/template/.claude/agents/e2e-runner.md +66 -56
- package/template/.claude/agents/implementer.md +75 -75
- package/template/.claude/agents/planner.md +71 -65
- package/template/.claude/agents/researcher.md +103 -103
- package/template/.claude/agents/synthesizer.md +72 -72
- package/template/.claude/agents/test-author.md +70 -70
- package/template/.claude/commands/log-decision.md +33 -33
- package/template/.claude/commands/log-issue.md +28 -28
- package/template/.claude/commands/overview.md +99 -98
- package/template/.claude/commands/phase.md +202 -191
- package/template/.claude/commands/quick.md +30 -30
- package/template/.claude/commands/replan.md +63 -63
- package/template/.claude/commands/store-wisdom.md +195 -194
- package/template/.claude/commands/synthesize.md +26 -26
- package/template/.claude/commands/unstuck.md +40 -40
- package/template/.claude/hooks/pre-compact.sh +25 -25
- package/template/.claude/hooks/session-start.sh +120 -120
- package/template/.claude/hooks/subagent-stop.sh +11 -11
- package/template/.claude/istartsoft-flow/METHODOLOGY.md +229 -214
- package/template/.claude/skills/caveman/SKILL.md +39 -39
- package/template/.claude/skills/grill-me/SKILL.md +10 -10
- package/template/.claude/skills/karpathy-guidelines/SKILL.md +34 -34
- package/template/.claude/skills/ux-design/SKILL.md +99 -0
- package/template/.claude/skills/ux-design/wireframe-template.md +95 -0
|
@@ -1,214 +1,229 @@
|
|
|
1
|
-
# iStartSoftFlow — portable agent methodology (single source of truth)
|
|
2
|
-
|
|
3
|
-
> **
|
|
4
|
-
>
|
|
5
|
-
> `
|
|
6
|
-
>
|
|
7
|
-
>
|
|
8
|
-
>
|
|
9
|
-
>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
>
|
|
13
|
-
>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
> **
|
|
17
|
-
>
|
|
18
|
-
>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
>
|
|
22
|
-
>
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
`
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
- **
|
|
96
|
-
|
|
97
|
-
- **
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
- **
|
|
101
|
-
|
|
102
|
-
- **
|
|
103
|
-
- **
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
- `docs
|
|
187
|
-
|
|
188
|
-
- `
|
|
189
|
-
|
|
190
|
-
- `
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
- `docs
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
1
|
+
# iStartSoftFlow — portable agent methodology (single source of truth)
|
|
2
|
+
|
|
3
|
+
> **The iStartSoft execution loop.** Namespaced under `.claude/istartsoft-flow/`
|
|
4
|
+
> so it coexists with a repo's own agent-instruction files (`CLAUDE.md`,
|
|
5
|
+
> `AGENTS.md`, `GEMINI.md`, …) — it does NOT replace them. The kit is
|
|
6
|
+
> **stack-agnostic and tool-agnostic**: it pins a *process*, not a *stack*.
|
|
7
|
+
> Declare your stack (language, framework, infra, auth, test + E2E runner,
|
|
8
|
+
> planning source) once in `docs/OVERVIEW.md`; every rule below references *your
|
|
9
|
+
> declared stack* and hardcodes none. If infra is **managed** (a PaaS + a managed
|
|
10
|
+
> datastore), Phase 0 (infra) is N/A and phases begin at the first vertical slice;
|
|
11
|
+
> otherwise Phase 0 provisions infra first. Planning source of truth stays in your
|
|
12
|
+
> PRD / architecture / stories (e.g. BMAD / iSSM); iStartSoftFlow is the execution
|
|
13
|
+
> loop layered on top.
|
|
14
|
+
|
|
15
|
+
<!-- ISTARTSOFTFLOW-AGENTS-SENTINEL-v2.0 -->
|
|
16
|
+
> **SENTINEL.** The HTML comment above (`ISTARTSOFTFLOW-AGENTS-SENTINEL-v2.0`) is a
|
|
17
|
+
> load-bearing marker. The installer (`create-issflow`) and tooling grep for it to
|
|
18
|
+
> confirm this file resolved on disk and was not clobbered. Do not remove or rename it.
|
|
19
|
+
|
|
20
|
+
> **What this file is.** The complete, tool-agnostic methodology for the iStartSoftFlow
|
|
21
|
+
> workflow: the loop, the roles, the procedures, the rituals, and the hard rules.
|
|
22
|
+
> This is the ONE place every rule lives. Claude Code, and any tool that reads the
|
|
23
|
+
> open `AGENTS.md` standard, get the full methodology from here.
|
|
24
|
+
|
|
25
|
+
> **Anti-drift invariant (load-bearing).** Every rule lives in exactly ONE place:
|
|
26
|
+
> this file. `CLAUDE.md` restates NO rule — it only maps roles to Claude-native
|
|
27
|
+
> files and says "native mechanism X performs ritual Y automatically." A rule and
|
|
28
|
+
> its automation may never contradict. Duplication between files is an
|
|
29
|
+
> architectural defect, not a convenience.
|
|
30
|
+
|
|
31
|
+
Caveman ULTRA mode always on. Apply the `karpathy-guidelines` skill (engineering
|
|
32
|
+
discipline) on every coding and debugging task. Apply the `ux-design` skill (the UX
|
|
33
|
+
cookbook + wireframe baseline) on every UI-facing task.
|
|
34
|
+
|
|
35
|
+
-----
|
|
36
|
+
|
|
37
|
+
## The loop
|
|
38
|
+
|
|
39
|
+
`design-research -> grill (×2) -> plan -> implement -> test -> deploy`, one
|
|
40
|
+
VERTICAL SLICE per phase. Implement AND test a phase before the next. The last
|
|
41
|
+
phase always includes deployment.
|
|
42
|
+
|
|
43
|
+
A phase runs in one of two orders, chosen at RESEARCH time by the TDD
|
|
44
|
+
APPLICABILITY check (see Procedures → `phase`):
|
|
45
|
+
|
|
46
|
+
- **TDD phase** (`TDD_PHASE=true`):
|
|
47
|
+
`RESEARCH -> SCAFFOLD -> RED -> GREEN -> TEST(e2e) -> FIX -> CLOSE`
|
|
48
|
+
- **Non-TDD phase** (pure infra / config / doc — `TDD_PHASE=false`):
|
|
49
|
+
`RESEARCH -> IMPLEMENT -> TEST -> FIX -> CLOSE`
|
|
50
|
+
|
|
51
|
+
`TDD_PHASE` = "the phase adds or changes a public callable surface (an endpoint,
|
|
52
|
+
exported function/class, CLI command, or message contract) that is assertable
|
|
53
|
+
from the acceptance spec." Size is NOT the criterion. On ambiguity, default
|
|
54
|
+
`TDD_PHASE=true` AND state the classification + reason so a human can override to
|
|
55
|
+
non-TDD before SCAFFOLD fires.
|
|
56
|
+
|
|
57
|
+
-----
|
|
58
|
+
|
|
59
|
+
## Roles (fresh-context workers)
|
|
60
|
+
|
|
61
|
+
Each role is a fresh-context worker mapped to a named Claude Code subagent in
|
|
62
|
+
`.claude/agents/*.md`. A worker dumps its noise to a file and returns only a
|
|
63
|
+
terse summary + path. Workers cannot address the user — only the orchestrator
|
|
64
|
+
can. Escalation is at most two hops.
|
|
65
|
+
|
|
66
|
+
- **researcher** — two modes. DESIGN: domain/constraint research before planning
|
|
67
|
+
(service limits, API contracts, architectural constraints, cost surprises).
|
|
68
|
+
IMPL: per-phase codebase + service investigation. Checks the shared KB snapshot
|
|
69
|
+
first (step 0). Writes findings to `docs/research/`; returns terse summary + path.
|
|
70
|
+
- **planner** — research → vertical-slice `docs/PLAN.md`. Phase 0 (infra) leads
|
|
71
|
+
when there is infra to provision; with managed infra it is N/A and the plan
|
|
72
|
+
begins at the first slice. The last phase always contains the deploy task.
|
|
73
|
+
- **implementer** — builds ONE phase. Two MODES for TDD phases (SCAFFOLD: stubs
|
|
74
|
+
only; FILL: logic to green) plus a legacy full-build mode for non-TDD phases.
|
|
75
|
+
Writes code, never tests. Maintains `docs/ENDPOINTS.md` each phase.
|
|
76
|
+
- **test-author** — writes tests BLIND (never reads implementation logic). On TDD
|
|
77
|
+
phases it is dispatched BEFORE logic exists (RED-first), so blindness is
|
|
78
|
+
structural, not honor-system. Writes a MOCK suite + a REAL API suite.
|
|
79
|
+
- **e2e-runner** — writes/runs functional browser E2E (your declared E2E runner,
|
|
80
|
+
e.g. Playwright) BLIND. Reads only the acceptance spec + `docs/ENDPOINTS.md`,
|
|
81
|
+
never the implementation.
|
|
82
|
+
- **debugger** — debugs in an ISOLATED context. Writes a trace to
|
|
83
|
+
`docs/research/debug-<slug>.md`; returns a summary.
|
|
84
|
+
- **synthesizer** — compresses `docs/STATE.md` / `docs/ISSUES.md`, prunes
|
|
85
|
+
snapshots. On the final phase, also updates `README.md` + `docs/OVERVIEW.md`.
|
|
86
|
+
|
|
87
|
+
The orchestrator ROUTES. It does not implement or debug.
|
|
88
|
+
|
|
89
|
+
-----
|
|
90
|
+
|
|
91
|
+
## Procedures (the slash-command set)
|
|
92
|
+
|
|
93
|
+
Named procedures, each with a canonical body in `.claude/commands/<name>.md`.
|
|
94
|
+
|
|
95
|
+
- **overview** — bootstrap a project: design-research → grill r1 → design-research
|
|
96
|
+
→ re-grill r2 → `OVERVIEW.md` → planner → `PLAN.md`.
|
|
97
|
+
- **phase [n]** — run one phase end-to-end with the circuit breaker. Chooses the
|
|
98
|
+
TDD or non-TDD order at RESEARCH. CLOSE runs the regression guard + ENDPOINTS
|
|
99
|
+
coverage gate.
|
|
100
|
+
- **quick [change]** — small, obvious, non-phase change; no agent chain. Stays
|
|
101
|
+
non-TDD. Runs the mock regression corpus after the change.
|
|
102
|
+
- **unstuck** — deep re-research after a circuit breaker (human-triggered).
|
|
103
|
+
- **synthesize** — compress STATE.md, dedup ISSUES.md, prune snapshots. Run
|
|
104
|
+
before a context reset.
|
|
105
|
+
- **replan** — revise `PLAN.md` (add/cut/split/merge/reorder pending phases) and
|
|
106
|
+
reconcile the regression corpus in step.
|
|
107
|
+
- **log-issue** — append an error to `ISSUES.md` with root cause + failed attempts.
|
|
108
|
+
- **log-decision** — record an architectural change in `docs/DESIGN_LOG.md`.
|
|
109
|
+
- **store-wisdom** — promote resolved issues + research to the shared KB.
|
|
110
|
+
|
|
111
|
+
-----
|
|
112
|
+
|
|
113
|
+
## Rituals (model-run fallback for hooks)
|
|
114
|
+
|
|
115
|
+
Where the host tool can run lifecycle hooks (Claude Code), these rituals are
|
|
116
|
+
AUTOMATED by hook scripts and must NOT be run by hand. Where the tool cannot
|
|
117
|
+
inject context, the model performs them itself.
|
|
118
|
+
|
|
119
|
+
### SESSION-OPEN (start / clear / compact-resume)
|
|
120
|
+
|
|
121
|
+
At the start of every session, before any other work, surface:
|
|
122
|
+
1. git state (branch, uncommitted count, last 3 commits).
|
|
123
|
+
2. `docs/STATE.md` — the current position. READ THIS FIRST.
|
|
124
|
+
3. open items in `docs/ISSUES.md`.
|
|
125
|
+
4. `docs/research/INDEX.md` (research map) + infra/auth status.
|
|
126
|
+
5. shared KB: pull latest + load `docs/.kb-snapshot.md` if `.claude/kb-config.json`
|
|
127
|
+
exists.
|
|
128
|
+
6. a one-line reminder of the hard rules below.
|
|
129
|
+
|
|
130
|
+
### COMPRESS (before a context compaction)
|
|
131
|
+
|
|
132
|
+
Snapshot the live position to `docs/.snapshots/` so a post-compact session can
|
|
133
|
+
recover: current phase, next action, open blocker.
|
|
134
|
+
|
|
135
|
+
-----
|
|
136
|
+
|
|
137
|
+
## Hard rules (1–10)
|
|
138
|
+
|
|
139
|
+
1. Before debugging ANY error: grep `docs/ISSUES.md` AND `docs/research/INDEX.md`.
|
|
140
|
+
The SESSION-OPEN ritual surfaces ISSUES.md — there is no excuse to miss it.
|
|
141
|
+
Before debugging an auth/infra error, check the infra + auth status surfaced
|
|
142
|
+
at SESSION-OPEN first.
|
|
143
|
+
2. Debug attempt cap = 3: WARN the user at attempt 2; the FIRST hard-stop at 3
|
|
144
|
+
STOPS and asks the user. No 4th in-place attempt.
|
|
145
|
+
3. Every resolved error -> logged to `docs/ISSUES.md` with root cause + failed
|
|
146
|
+
attempts.
|
|
147
|
+
4. End of phase -> synthesize -> context reset -> next phase.
|
|
148
|
+
5. **PHASE GATE** = the current-phase REAL API suite passes AND (frontend phase)
|
|
149
|
+
the E2E suite passes AND the accumulated mock regression corpus stays green AND
|
|
150
|
+
every `docs/ENDPOINTS.md` entry has at least one test in `tests/regression/`.
|
|
151
|
+
The final phase additionally runs the full REAL regression corpus. A green
|
|
152
|
+
mock suite alone can never close a phase.
|
|
153
|
+
6. Tests are written by `test-author`, which never sees the implementation logic
|
|
154
|
+
(unbiased). On TDD phases the suite is written before the logic (RED-first).
|
|
155
|
+
`STACK NOT READY` / `FLAKE` do not spend the debug budget. Only `LOGIC FAIL`
|
|
156
|
+
reaches the debugger.
|
|
157
|
+
7. E2E auth = a dedicated test account driven by a PROGRAMMATIC session
|
|
158
|
+
(an API login or a saved/reused auth state), never by scripting a
|
|
159
|
+
third-party OAuth/login UI.
|
|
160
|
+
8. Architectural change (new/removed agent, hook, command, or a changed workflow
|
|
161
|
+
rule)? -> run `log-decision` before closing.
|
|
162
|
+
9. **UI conforms to the frame.** Every UI-facing change is validated against the
|
|
163
|
+
`ux-design` cookbook (design tokens, spacing scale, a11y/WCAG AA, component +
|
|
164
|
+
state inventory, breakpoints) AND stays inside the wireframe baseline. Drift
|
|
165
|
+
outside the wireframe frame is a defect, not a creative liberty. A frontend
|
|
166
|
+
phase cannot CLOSE until the UX cookbook check passes.
|
|
167
|
+
10. **No-rationalization (scoped).** Do not downgrade a TDD phase to non-TDD to
|
|
168
|
+
dodge the RED gate, and do not route phase-worthy work through `quick` to
|
|
169
|
+
dodge it. (Scoped deliberately to these two seams; this is not a broad
|
|
170
|
+
"never make excuses" rule.)
|
|
171
|
+
|
|
172
|
+
-----
|
|
173
|
+
|
|
174
|
+
## Shared KB (optional)
|
|
175
|
+
|
|
176
|
+
If `.claude/kb-config.json` exists, the SESSION-OPEN ritual pulls the KB and loads
|
|
177
|
+
a snapshot to `docs/.kb-snapshot.md`. The researcher checks the snapshot (step 0)
|
|
178
|
+
before any web search. Run `store-wisdom` to promote resolved issues + research to
|
|
179
|
+
the KB. The kit works normally without a KB.
|
|
180
|
+
|
|
181
|
+
-----
|
|
182
|
+
|
|
183
|
+
## File contract
|
|
184
|
+
|
|
185
|
+
- `docs/STATE.md` — current position. Small. Rewritten, not appended.
|
|
186
|
+
- `docs/ISSUES.md` — error log. Deduped by synthesizer.
|
|
187
|
+
- `docs/PLAN.md` — the phase plan. The last phase has the deploy task.
|
|
188
|
+
- `docs/HISTORY.md` — one line per finished phase.
|
|
189
|
+
- `docs/DESIGN_LOG.md` — kit architectural rationale (§5.x decision log).
|
|
190
|
+
- `docs/OVERVIEW.md` — project scope. Written after the double-grill in `overview`.
|
|
191
|
+
E2E target.
|
|
192
|
+
- `docs/ENDPOINTS.md` — API/service endpoint catalogue. Maintained by implementer
|
|
193
|
+
each phase. Drives the CLOSE coverage gate.
|
|
194
|
+
- `docs/research/` — full research + debug files. `INDEX.md` is the searchable map.
|
|
195
|
+
`design-<slug>.md` (design research), `<slug>.md` (impl research),
|
|
196
|
+
`debug-<slug>.md` (debugger traces).
|
|
197
|
+
- `docs/.snapshots/` — pre-compact recovery markers (auto-pruned, gitignored).
|
|
198
|
+
Holds no secrets.
|
|
199
|
+
- your E2E stack — runner config + any ephemeral test services (e.g. `e2e/`,
|
|
200
|
+
`playwright.config.ts`, `scripts/e2e-stack.sh`, `docker-compose.test.yml`).
|
|
201
|
+
Names are conventions; use whatever your declared stack ships.
|
|
202
|
+
- `tests/phase-<n>/` — phase-local test suites.
|
|
203
|
+
- `tests/regression/` — cross-phase contract tests (the regression corpus). Run by
|
|
204
|
+
`scripts/regression.sh` (default mock; `--real` runs the real corpus).
|
|
205
|
+
- `.claude/skills/ux-design/` — the UX cookbook + wireframe baseline (read on
|
|
206
|
+
demand for any UI work).
|
|
207
|
+
- `.claude/kb-config.json` — shared KB path + remote (optional).
|
|
208
|
+
- `docs/.kb-snapshot.md` — KB INDEX loaded this session (auto-generated, gitignored).
|
|
209
|
+
|
|
210
|
+
-----
|
|
211
|
+
|
|
212
|
+
## Capability matrix (which host gets what)
|
|
213
|
+
|
|
214
|
+
The kit is single-source (`.claude/` + this file). `create-issflow --tool=<host>`
|
|
215
|
+
writes the right adapter; unsupported features degrade to model-run rituals, never
|
|
216
|
+
silently vanish. The portable assets (agents, commands, skills, methodology) are
|
|
217
|
+
the same everywhere — only the *wiring* differs.
|
|
218
|
+
|
|
219
|
+
| Host | Entry file | Commands | Subagents | Lifecycle hooks | Shared KB |
|
|
220
|
+
|------|-----------|----------|-----------|-----------------|-----------|
|
|
221
|
+
| **Claude Code** (reference) | `AGENTS.md` + `.claude/` | `.claude/commands/` | native | SessionStart · PreCompact · SubagentStop (with context injection) | yes |
|
|
222
|
+
| **Codex CLI** | `AGENTS.md` (native) | `.claude/commands/` (read as prompts) | read as reference | model-run | yes |
|
|
223
|
+
| **Cursor** | `.cursor/rules/` + `AGENTS.md` | `.cursor/commands/` | reads `.claude/agents/` | `.cursor/hooks.json` (sessionStart · subagentStop) | yes |
|
|
224
|
+
| **Gemini CLI** | `GEMINI.md` + `AGENTS.md` | `.claude/commands/` (read as prompts) | read as reference | model-run | yes |
|
|
225
|
+
| **Aider** | `.aider.conf.yml` → `AGENTS.md` | read as reference | model-run | model-run | yes |
|
|
226
|
+
| **Any AGENTS.md host** | `AGENTS.md` | read as reference | model-run | model-run | yes |
|
|
227
|
+
|
|
228
|
+
"model-run" = the host can't automate the ritual, so the model performs it by hand
|
|
229
|
+
(SESSION-OPEN at the top of each session; the COMPRESS snapshot before a reset).
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: caveman
|
|
3
|
-
description: >
|
|
4
|
-
Ultra-compressed communication mode. Cuts token usage ~75% by dropping
|
|
5
|
-
filler, articles, and pleasantries while keeping full technical accuracy.
|
|
6
|
-
Use when user says "caveman mode", "talk like caveman", "use caveman",
|
|
7
|
-
"less tokens", "be brief", or invokes /caveman.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
Respond terse like smart caveman. All technical substance stay. Only fluff die.
|
|
11
|
-
|
|
12
|
-
## Persistence
|
|
13
|
-
|
|
14
|
-
ACTIVE EVERY RESPONSE once triggered. No revert after many turns. No filler drift. Still active if unsure. Off only when user says "stop caveman" or "normal mode".
|
|
15
|
-
|
|
16
|
-
## Rules
|
|
17
|
-
|
|
18
|
-
Drop: articles (a/an/the), filler (just/really/basically/actually/simply), pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short synonyms (big not extensive, fix not "implement a solution for"). Abbreviate common terms (DB/auth/config/req/res/fn/impl). Strip conjunctions. Use arrows for causality (X -> Y). One word when one word enough.
|
|
19
|
-
|
|
20
|
-
Technical terms stay exact. Code blocks unchanged. Errors quoted exact.
|
|
21
|
-
|
|
22
|
-
Pattern: `[thing] [action] [reason]. [next step].`
|
|
23
|
-
|
|
24
|
-
Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..."
|
|
25
|
-
Yes: "Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:"
|
|
26
|
-
|
|
27
|
-
### Examples
|
|
28
|
-
|
|
29
|
-
**"Why React component re-render?"**
|
|
30
|
-
|
|
31
|
-
> Inline obj prop -> new ref -> re-render. `useMemo`.
|
|
32
|
-
|
|
33
|
-
**"Explain database connection pooling."**
|
|
34
|
-
|
|
35
|
-
> Pool = reuse DB conn. Skip handshake -> fast under load.
|
|
36
|
-
|
|
37
|
-
## Auto-Clarity Exception
|
|
38
|
-
|
|
39
|
-
Drop caveman temporarily for: security warnings, irreversible action confirmations, multi-step sequences where fragment order risks misread, user asks to clarify or repeats question. Resume caveman after.
|
|
1
|
+
---
|
|
2
|
+
name: caveman
|
|
3
|
+
description: >
|
|
4
|
+
Ultra-compressed communication mode. Cuts token usage ~75% by dropping
|
|
5
|
+
filler, articles, and pleasantries while keeping full technical accuracy.
|
|
6
|
+
Use when user says "caveman mode", "talk like caveman", "use caveman",
|
|
7
|
+
"less tokens", "be brief", or invokes /caveman.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
Respond terse like smart caveman. All technical substance stay. Only fluff die.
|
|
11
|
+
|
|
12
|
+
## Persistence
|
|
13
|
+
|
|
14
|
+
ACTIVE EVERY RESPONSE once triggered. No revert after many turns. No filler drift. Still active if unsure. Off only when user says "stop caveman" or "normal mode".
|
|
15
|
+
|
|
16
|
+
## Rules
|
|
17
|
+
|
|
18
|
+
Drop: articles (a/an/the), filler (just/really/basically/actually/simply), pleasantries (sure/certainly/of course/happy to), hedging. Fragments OK. Short synonyms (big not extensive, fix not "implement a solution for"). Abbreviate common terms (DB/auth/config/req/res/fn/impl). Strip conjunctions. Use arrows for causality (X -> Y). One word when one word enough.
|
|
19
|
+
|
|
20
|
+
Technical terms stay exact. Code blocks unchanged. Errors quoted exact.
|
|
21
|
+
|
|
22
|
+
Pattern: `[thing] [action] [reason]. [next step].`
|
|
23
|
+
|
|
24
|
+
Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..."
|
|
25
|
+
Yes: "Bug in auth middleware. Token expiry check use `<` not `<=`. Fix:"
|
|
26
|
+
|
|
27
|
+
### Examples
|
|
28
|
+
|
|
29
|
+
**"Why React component re-render?"**
|
|
30
|
+
|
|
31
|
+
> Inline obj prop -> new ref -> re-render. `useMemo`.
|
|
32
|
+
|
|
33
|
+
**"Explain database connection pooling."**
|
|
34
|
+
|
|
35
|
+
> Pool = reuse DB conn. Skip handshake -> fast under load.
|
|
36
|
+
|
|
37
|
+
## Auto-Clarity Exception
|
|
38
|
+
|
|
39
|
+
Drop caveman temporarily for: security warnings, irreversible action confirmations, multi-step sequences where fragment order risks misread, user asks to clarify or repeats question. Resume caveman after.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: grill-me
|
|
3
|
-
description: Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
|
|
7
|
-
|
|
8
|
-
Ask the questions one at a time.
|
|
9
|
-
|
|
10
|
-
If a question can be answered by exploring the codebase, explore the codebase instead.
|
|
1
|
+
---
|
|
2
|
+
name: grill-me
|
|
3
|
+
description: Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
|
|
7
|
+
|
|
8
|
+
Ask the questions one at a time.
|
|
9
|
+
|
|
10
|
+
If a question can be answered by exploring the codebase, explore the codebase instead.
|