noskills 4.5.2 → 5.1.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.
Files changed (127) hide show
  1. package/README.md +27 -646
  2. package/dist/launcher.js +162 -0
  3. package/dist/noskills.js +38 -0
  4. package/package.json +33 -5
  5. package/chunks/ajan-bridge-BNPC757J.js +0 -1
  6. package/chunks/anthropic-ZKOMTKX2.js +0 -1
  7. package/chunks/approve-3TKOHYHH.js +0 -1
  8. package/chunks/ask-UB26SBWQ.js +0 -2
  9. package/chunks/block-Q4WAIX7X.js +0 -1
  10. package/chunks/browser-BGFD24RX.js +0 -1
  11. package/chunks/bun-WZ7BVR7Y.js +0 -1
  12. package/chunks/cancel-DY76ADX4.js +0 -1
  13. package/chunks/chunk-34RPTI4K.js +0 -29
  14. package/chunks/chunk-3JTDWOAJ.js +0 -2
  15. package/chunks/chunk-5FX4EBFY.js +0 -5
  16. package/chunks/chunk-5OTECUN7.js +0 -1
  17. package/chunks/chunk-5RLCKUIF.js +0 -2
  18. package/chunks/chunk-7PBHRFOZ.js +0 -3
  19. package/chunks/chunk-7PPUGTKL.js +0 -4
  20. package/chunks/chunk-AB3N327V.js +0 -1
  21. package/chunks/chunk-AUZWXMWA.js +0 -27
  22. package/chunks/chunk-BYPCI5VU.js +0 -1
  23. package/chunks/chunk-CH6A3LES.js +0 -91
  24. package/chunks/chunk-CKIZYL4O.js +0 -3
  25. package/chunks/chunk-CTTMQSHF.js +0 -1
  26. package/chunks/chunk-DEHRWREM.js +0 -1
  27. package/chunks/chunk-DYCGJ4RY.js +0 -4
  28. package/chunks/chunk-EJYSOUEA.js +0 -1
  29. package/chunks/chunk-ENP4P2YH.js +0 -0
  30. package/chunks/chunk-EROZRDGT.js +0 -2
  31. package/chunks/chunk-EVJYA7S3.js +0 -21
  32. package/chunks/chunk-FE4MKOI4.js +0 -1
  33. package/chunks/chunk-FYFUEK4U.js +0 -3
  34. package/chunks/chunk-GNMOE7H3.js +0 -48
  35. package/chunks/chunk-HB62UGZI.js +0 -2
  36. package/chunks/chunk-HISXAZ4Y.js +0 -1
  37. package/chunks/chunk-I4Z2RF7L.js +0 -31
  38. package/chunks/chunk-IFE5SYGK.js +0 -1
  39. package/chunks/chunk-IM73MYMS.js +0 -1
  40. package/chunks/chunk-J25XTDQQ.js +0 -1
  41. package/chunks/chunk-JYVB6UAV.js +0 -1
  42. package/chunks/chunk-KJLEPI7T.js +0 -1
  43. package/chunks/chunk-KRRPOVQG.js +0 -1
  44. package/chunks/chunk-LGQEWL5X.js +0 -1
  45. package/chunks/chunk-LJEWPIEI.js +0 -1
  46. package/chunks/chunk-LKZZ4JN5.js +0 -110
  47. package/chunks/chunk-NGCBWJML.js +0 -2
  48. package/chunks/chunk-NPWXEWRN.js +0 -4
  49. package/chunks/chunk-O4KKKYCH.js +0 -1
  50. package/chunks/chunk-OAWYVETM.js +0 -1
  51. package/chunks/chunk-ONJVI5AZ.js +0 -23
  52. package/chunks/chunk-OP4XAIGW.js +0 -1
  53. package/chunks/chunk-PSX63TYP.js +0 -2
  54. package/chunks/chunk-Q4TI7EYT.js +0 -5
  55. package/chunks/chunk-SLO22P65.js +0 -1
  56. package/chunks/chunk-T6NZVA6P.js +0 -7
  57. package/chunks/chunk-TCSIXKUD.js +0 -3
  58. package/chunks/chunk-VJRCTYGL.js +0 -1
  59. package/chunks/chunk-VXU6XZ66.js +0 -39
  60. package/chunks/chunk-WDKWHGJU.js +0 -146
  61. package/chunks/chunk-XDPATEP5.js +0 -1
  62. package/chunks/chunk-XDRX4ZBJ.js +0 -5
  63. package/chunks/chunk-Y45DQJSS.js +0 -3
  64. package/chunks/chunk-Y5E7ZCCX.js +0 -1
  65. package/chunks/chunk-YUTDPPXX.js +0 -1
  66. package/chunks/chunk-Z7OYXH3J.js +0 -1
  67. package/chunks/claude-code-OQJIUKZP.js +0 -1
  68. package/chunks/cmd-46ZIHXLB.js +0 -1
  69. package/chunks/concern-UIGVWDFS.js +0 -1
  70. package/chunks/config-72Z4PIJN.js +0 -1
  71. package/chunks/decision-ledger-5IPPTRT7.js +0 -1
  72. package/chunks/delegate-OV6NY434.js +0 -1
  73. package/chunks/deno-YM5PW6ZM.js +0 -1
  74. package/chunks/diagrams-CBCUA47B.js +0 -1
  75. package/chunks/diagrams-OX4FBDGP.js +0 -1
  76. package/chunks/dist-3MH5UCQU.js +0 -12
  77. package/chunks/done-V54GSSTY.js +0 -1
  78. package/chunks/followup-NL7EPIGF.js +0 -1
  79. package/chunks/free-KD344KRL.js +0 -1
  80. package/chunks/gemini-23EOEXSF.js +0 -1
  81. package/chunks/init-WDRNFT57.js +0 -1
  82. package/chunks/invoke-hook-I3NTD36Q.js +0 -13
  83. package/chunks/kiro-TPAAIMY6.js +0 -1
  84. package/chunks/learn-WBWNJEB2.js +0 -7
  85. package/chunks/ledger-QYK252DV.js +0 -1
  86. package/chunks/list-WO6RS7JX.js +0 -1
  87. package/chunks/loader-command-3A5FK2RF.js +0 -1
  88. package/chunks/loader-reactor-YZM7HO4G.js +0 -1
  89. package/chunks/manager-ZSPRC5R4.js +0 -3
  90. package/chunks/mod-7VTKN6Q5.js +0 -1
  91. package/chunks/mod-B6LBGYON.js +0 -1
  92. package/chunks/mod-MMHDQRNF.js +0 -1
  93. package/chunks/mod-RBGAMGZA.js +0 -1
  94. package/chunks/mod-SFSUQWSB.js +0 -8
  95. package/chunks/mod-SV4VELMH.js +0 -1
  96. package/chunks/multipart-parser-DKDFOZKD.js +0 -2
  97. package/chunks/next-QXCLZ7P3.js +0 -15
  98. package/chunks/node-2XIHQ2M4.js +0 -1
  99. package/chunks/node-BXYZKSJY.js +0 -15
  100. package/chunks/node-DMUOWFGA.js +0 -69
  101. package/chunks/node-J4GTOSL2.js +0 -1
  102. package/chunks/ollama-MXRDGQDF.js +0 -1
  103. package/chunks/openai-LE47IWMQ.js +0 -30
  104. package/chunks/openai-MSJF4B6H.js +0 -1
  105. package/chunks/opencode-ZDHKR2P6.js +0 -1
  106. package/chunks/pack-NS64WU6M.js +0 -5
  107. package/chunks/plan-export-HECAF7D4.js +0 -3
  108. package/chunks/purge-PSQNN42H.js +0 -4
  109. package/chunks/reopen-L37M5XUI.js +0 -1
  110. package/chunks/reset-OOTZXW6Q.js +0 -1
  111. package/chunks/review-QLD6WSOB.js +0 -1
  112. package/chunks/rule-OOANQBHB.js +0 -6
  113. package/chunks/run-YHCIRY7Z.js +0 -3
  114. package/chunks/sdk-OQIHH3OY.js +0 -1
  115. package/chunks/session-OWWDH7KA.js +0 -1
  116. package/chunks/spec-O7F525UN.js +0 -1
  117. package/chunks/src-HXQVVTGQ.js +0 -3
  118. package/chunks/status-SZZXY7V3.js +0 -1
  119. package/chunks/sync-3RYRGTEA.js +0 -1
  120. package/chunks/unstable_chmod-44MCKF3B.js +0 -1
  121. package/chunks/validate-UZD6JBSG.js +0 -1
  122. package/chunks/vertexai-CVCRCO24.js +0 -1
  123. package/chunks/watch-5DNM646U.js +0 -8
  124. package/chunks/web-662LNB3K.js +0 -1
  125. package/chunks/wontfix-UDCTLHNB.js +0 -1
  126. package/chunks/workerd-I7MLRCLJ.js +0 -1
  127. package/noskills.js +0 -2
package/README.md CHANGED
@@ -1,655 +1,36 @@
1
- # [@eserstack/noskills](./)
1
+ # 🚦 [noskills](./)
2
2
 
3
- > **eserstack Product** — AI development orchestrator ·
4
- > [eser/stack](https://github.com/eser/stack) **Install:**
5
- > `curl -fsSL https://raw.githubusercontent.com/eser/stack/main/etc/scripts/install.sh | sh -s noskills`
6
-
7
- `noskills` is a command, so install it as a binary — the line above, or
8
- `brew install eser/tap/noskills`, or `npm i -g @eserstack/noskills`. On Windows
9
- use `install.ps1 -Product noskills`.
10
-
11
- Adding this package as a dependency (`pnpm add jsr:@eserstack/noskills`) gets
12
- you the modules, not the command: the source package declares no `bin`, which is
13
- generated at publish time by `scripts/npm-build.ts`. Depend on it when embedding
14
- the orchestrator in your own program; install the binary when you want to run
15
- it.
16
-
17
- AI agents are powerful. But left alone, they take shortcuts — they skip
18
- requirements, rush past edge cases, declare "done" when it isn't, and forget
19
- your spec/PRD details halfway through. You end up babysitting the thing that was
20
- supposed to save you time.
21
-
22
- Noskills is here to fix this. It's designed as a state-machine orchestrator for
23
- AI coding agents. An agent can't skip discovery, can't ignore tests, can't
24
- declare victory without proof. Not because a prompt says "please don't" —
25
- because the system mechanically blocks it.
26
-
27
- Think of it as a Scrum Master for your agents.
28
-
29
- Noskills provides you to a better workflow and context health with replacing
30
- skill-packs. Loading skills into context and hoping agents pick the right one is
31
- a pull model — and it doesn't work. noskills is a push model: it delivers
32
- exactly the right instruction at the right time. The agent never decides what to
33
- do next. The state machine does.
34
-
35
- Not every task needs a full discovery cycle. Bug fix? ship-fast mode — 2
36
- questions, spec in 2 minutes. Major feature? full mode with adaptive follow-ups.
37
- You pick the depth. See [Discovery Modes](#discovery-modes) below.
38
-
39
- If you want to test noskills with a platform other than Claude Code, reach out —
40
- we'd love early feedback. Find me at [github.com/eser](https://github.com/eser)
41
- or [@eserozvataf](https://x.com/eserozvataf).
42
-
43
- ## The Problem
44
-
45
- Agents have a context rot problem. The more skills, rules, and conventions you
46
- load upfront, the worse the agent performs — its context window fills with
47
- instructions it doesn't need yet, and it forgets the ones it does.
48
-
49
- You say "add photo upload with validation." The agent says "on it!" and starts
50
- coding immediately. Twenty minutes later you discover it skipped validation,
51
- forgot error handling, deleted your existing code, and declared the task
52
- complete. You correct it. It fixes one thing, breaks another. Context fills up.
53
- The agent forgets or gets distracted even you told it ten minutes ago. You start
54
- over.
55
-
56
- ### Why skills don't work
57
-
58
- Skills are a "pull" model: the agent decides which skill to load. This creates
59
- two failure modes — picking the wrong skill (wasted context) and needing
60
- meta-knowledge to pick the right one (more context to waste).
61
-
62
- noskills is a "push" model:
63
-
64
- ```
65
- Agent <- stdout (JSON) <- noskills CLI <- filesystem (state + concerns + rules)
66
- ```
67
-
68
- The agent calls `noskills next`, gets exactly what it needs for the current
69
- phase, acts on it, and calls `noskills next` again. No skill selection, no
70
- context pollution, no forgetting.
71
-
72
- ## Noskills Solution
73
-
74
- **Before you code, it makes you think.** noskills asks 6 discovery questions
75
- that probe product, engineering, and QA at the same time. Not a checklist — the
76
- questions adapt to your answers. If you say "WebSocket," it asks about
77
- reconnection. If you're vague, it pushes back. You end up with a spec that
78
- reflects what you actually need, not what the agent guessed.
79
-
80
- **It generates a real spec with real tasks.** Discovery answers become a spec
81
- with concrete tasks and acceptance criteria. You review it, adjust it, approve
82
- it. The agent doesn't touch code until you say go.
83
-
84
- **Each task runs in isolation.** The main agent orchestrates, sub-agents
85
- execute. Fresh context per task. No context rot, no forgotten requirements, no
86
- "the agent got confused after 30 minutes."
87
-
88
- **The agent can't lie about being done.** Tests run before a task is accepted.
89
- The agent reports against specific acceptance criteria, not vibes. Unfinished
90
- items carry forward as debt — they don't disappear.
91
-
92
- **Your concerns shape everything — without bloating context.** "We're
93
- open-source" isn't a label — it's a lens. It adds a documentation check to the
94
- current spec, a contributor question to the current discovery, a license
95
- reminder to the current task. Only what's relevant to the current phase is
96
- delivered. Stack multiple concerns to define your project's character.
97
-
98
- **One source of truth for all tools.** Write rules once. noskills generates
99
- CLAUDE.md, AGENTS.md, .cursorrules, Kiro steering files, and more. Your teammate
100
- on Cursor and your teammate on Claude Code get the same conventions,
101
- automatically.
102
-
103
- **A human who's always in charge.** noskills never makes decisions silently.
104
- Discovery questions -> you answer. Spec approval -> you decide. Architectural
105
- choices -> you pick. Concern tensions -> you resolve. The agent executes, you
106
- decide. Explicit > Clever.
107
-
108
- ### Before & After
109
-
110
- **Without noskills:**
111
-
112
- ```
113
- You: "Add photo upload with validation"
114
- Agent: *starts coding immediately*
115
- Agent: "Done! Photo upload is working."
116
- You: "There's no validation. And you deleted my error handler."
117
- Agent: "I apologize, let me fix that..."
118
- *context fills up, agent forgets everything, starts from scratch*
119
- ```
120
-
121
- **With noskills:**
122
-
123
- ```
124
- You: "Add photo upload with validation"
125
- noskills: "What do users do today without this?"
126
- You: "They fill forms manually"
127
- noskills: "1-star and 10-star versions?"
128
- You: "1-star: basic upload. 10-star: auto-detect from photo"
129
- ... 4 more questions, each adapting to your answers ...
130
- noskills: "Here's your spec. 5 tasks. Approve?"
131
- You: "Approved"
132
- Agent: *implements task 1 in fresh context, tests pass, reports progress*
133
- Agent: *implements task 2 in fresh context, tests pass, reports progress*
134
- *Each task: clear scope, verified, nothing forgotten*
135
- ```
136
-
137
- ### How it works (briefly)
138
-
139
- Every spec moves through phases:
140
-
141
- ```
142
- IDLE → DISCOVERY → REFINEMENT → PROPOSAL → APPROVED → EXECUTING ↔ BLOCKED
143
- ^ ^ |
144
- | +-------------- revisit -----------------+
145
- | |
146
- +------------------ COMPLETED ←------------------+
147
- (done | cancelled | wontfix)
148
- ```
149
-
150
- Any phase can exit via `cancel` or `wontfix`. Mid-execution, `revisit` returns
151
- to DISCOVERY with progress preserved. At each phase, the agent gets exactly the
152
- instructions it needs — nothing more. In DISCOVERY, it can't edit files
153
- (mechanically blocked, not just asked nicely). In EXECUTING, it delegates to
154
- sub-agents with fresh context per task. At every gate, you decide.
155
-
156
- The agent calls `noskills next`, gets a JSON payload with its current task,
157
- behavioral rules, and concern reminders. It does the work, calls `noskills next`
158
- again.
159
-
160
- **Hooks enforce the rules at the system level.** The agent doesn't know hooks
161
- exist. It just can't do things it shouldn't — like editing files during
162
- discovery or running git commands. This is the difference between "please don't"
163
- and "you can't."
164
-
165
- ### Key concepts
166
-
167
- **Discovery** — Adaptive questions that challenge your assumptions, surface edge
168
- cases, and catch things you'd miss. Discovery modes shape the depth.
169
-
170
- **Concerns** — your project's DNA. "open-source" adds a documentation check.
171
- "beautiful-product" demands every UI state is designed. "move-fast" accepts
172
- good-enough. Concerns stack, but only the current phase's slice is delivered —
173
- no upfront context dump.
174
-
175
- **Specs** — living documents with tasks, acceptance criteria, and status
176
- tracking. Not a plan the agent ignores — a contract it's held to.
177
-
178
- **Sub-agent pipeline** — main agent orchestrates, sub-agents execute individual
179
- tasks in fresh context. Verifier checks the work. Test-writer ensures coverage.
180
- No context rot.
181
-
182
- **Verification backpressure** — tests must pass before a task is accepted.
183
- Unfinished items become debt that follows the agent around with increasing
184
- urgency.
185
-
186
- **Packs** — installable bundles of rules and concerns.
187
- `noskills pack install typescript` gives you 3 rules and a concern. Share packs
188
- across projects or teams.
189
-
190
- **Learnings** — mistakes from past specs are remembered and surfaced in future
191
- discovery. "Last time you assumed SDK v2 and it was v3" appears before you make
192
- the same mistake.
193
-
194
- ### Discovery Modes
195
-
196
- Before the six questions, noskills asks which discovery mode to use:
197
-
198
- | Mode | Focus | Best for |
199
- | --------------- | -------------------------------- | --------------------------------- |
200
- | full | Standard 6 questions | New features (default) |
201
- | validate | Challenge assumptions | Detailed plans, long descriptions |
202
- | technical-depth | Architecture, data flow | Infrastructure, integration |
203
- | ship-fast | Minimum viable scope | Bug fixes, quick iterations |
204
- | explore | Think bigger, find opportunities | Brainstorming, scope expansion |
205
-
206
- The mode shapes how questions are asked and which concern extras appear.
207
-
208
- ### Listen-first merged entry
209
-
210
- When you run `noskills spec <name> next` for the first time on a new spec,
211
- noskills presents a single entry menu combining listen-first and mode selection:
212
-
213
- - **(a)** Share context — write requirements, Linear tasks, meeting notes
214
- (recursive; you can keep adding)
215
- - **(b)** Technical depth mode — architecture, data flow, integration focus
216
- - **(c)** Move fast mode — minimum viable scope
217
- - **(d)** Validate mode — challenge assumptions, find gaps
218
-
219
- Option (a) appends to `discovery.userContext[]` without advancing. Picking b/c/d
220
- sets `entryComplete: true` and starts discovery.
221
-
222
- ### Auto-classification
223
-
224
- At DISCOVERY_REFINEMENT, noskills automatically classifies your spec across five
225
- categories (Web UI, CLI, Public API, Migration, Data Handling) by regex-scanning
226
- your spec description, userContext entries, and discovery answers. The
227
- classification is shown with keyword evidence for you to confirm or adjust — no
228
- separate classification prompt step required.
229
-
230
- ## Who is this for
231
-
232
- **Vibe coders** who are tired of babysitting agents — you want to describe what
233
- you need and get it built correctly. ship-fast mode: 2 questions, 2 minutes,
234
- spec ready. Autonomous mode runs overnight.
235
-
236
- **Solo builders** who use AI agents daily and want structure without overhead.
237
- Discovery catches what you'd miss. Verification catches what the agent skips.
238
-
239
- **Tech leads and engineering managers** who need their team's agents to follow
240
- the same conventions, pass the same quality gates, and produce auditable specs —
241
- across Cursor, Claude Code, Kiro, and every other tool.
242
-
243
- **Product owners and PMs** who want to define specs, delegate questions to
244
- engineers, and approve results — without touching a terminal. The web dashboard
245
- and delegation system are built for you.
246
-
247
- ## Quick Start
248
-
249
- Open your AI coding agent (Claude Code, Cursor, Kiro, Copilot, etc.) and tell
250
- it:
251
-
252
- ```
253
- Run `npx eser@latest noskills init` — it will scaffold your project and guide you through setup.
254
- ```
255
-
256
- noskills detects your tools, sets up hooks, and generates instruction files.
257
- Then:
258
-
259
- ```bash
260
- noskills spec new "photo upload with validation" # start discovery
261
- # Answer 6 questions. Review spec. Approve.
262
- # Agent executes tasks with verification.
263
- # You approve the result.
264
- ```
265
-
266
- That's it — from zero to executing spec in under 5 minutes. The discovery
267
- questions take 2-5 minutes depending on mode. The agent handles the rest.
268
-
269
- ### Autonomous mode
3
+ The `noskills` command, published to npm as the package `noskills`: a
4
+ state-machine orchestrator for AI coding agents, which hands the agent one
5
+ instruction at a time and blocks it from skipping discovery, tests or proof of
6
+ done. The [@eserstack/noskills](../noskills/README.md) README describes the
7
+ workflow and every command.
270
8
 
271
9
  ```bash
272
- noskills run --unattended --max-iterations=50
273
- # Fresh agent per iteration, zero context rot
274
- # Blocks logged to file — resolve in the morning
10
+ npm install -g noskills
11
+ noskills init
275
12
  ```
276
13
 
277
- ### Live monitoring
278
-
279
- ```bash
280
- noskills watch # real-time dashboard in your terminal
281
- noskills web # same dashboard in your browser
282
- ```
283
-
284
- The web dashboard (`noskills web`) provides the same experience as the terminal
285
- — spec reading with inline actions, Claude Code tabs, real-time updates. Product
286
- owners and PMs can review specs, answer delegated questions, and approve from
287
- their browser without ever opening a terminal.
288
-
289
- ## Platform Support
290
-
291
- | Platform | Enforcement |
292
- | ----------- | --------------------------------------- |
293
- | Claude Code | Full — hooks block unauthorized actions |
294
- | Kiro | Full — steering files + hooks |
295
- | Codex CLI | Full — hooks + agents |
296
- | Copilot CLI | Full — hooks + agents |
297
- | OpenCode | Full — plugins + agents |
298
- | Cursor | Behavioral — rules synced, no hooks |
299
- | Windsurf | Behavioral — rules synced, no hooks |
300
-
301
- "Full" means the agent is mechanically prevented from breaking rules.
302
- "Behavioral" means the agent is asked to follow rules — it usually does, but
303
- can't be forced.
304
-
305
- ## Multi-user
306
-
307
- Multiple people can work on the same spec. Discovery questions can be delegated
308
- — "I can't answer this, ask Ahmet." Delegated items must be signed off before
309
- the spec can be approved, like GitHub reviewers.
310
-
311
- ```bash
312
- noskills config set-user --from-git # set your identity
313
- noskills spec upload review # see what's delegated to you
314
- ```
315
-
316
- Every action is attributed — who answered what, who approved, who added which
317
- requirement.
318
-
319
- ### Getting your team on board
320
-
321
- One person starts: `noskills init`, create a spec, ship it. The `.eser/`
322
- directory commits to your repo. When a teammate opens the project, they run
323
- `noskills init` — it detects their tool (Cursor, Claude Code, Kiro, whatever)
324
- and generates the right instruction files. Same rules, same concerns, same
325
- quality gates — automatically.
326
-
327
- No migration. No team-wide rollout meeting. One person starts, others join when
328
- they see the specs landing correctly.
329
-
330
- ## Usage Details
331
-
332
- ### Without an agent (agentless CLI mode)
333
-
334
- ```bash
335
- eser noskills init
336
- eser noskills concern add beautiful-product
337
- eser noskills spec new "photo upload"
338
- eser noskills next -o text # Shows all 6 questions at once
339
- eser noskills next --answer='{"status_quo":"...","ambition":"...","reversibility":"...","user_impact":"...","verification":"...","scope_boundary":"..."}' -o text
340
- # Classification: what does this spec involve?
341
- eser noskills next --answer='{"involvesWebUI":true,"involvesCLI":false,"involvesPublicAPI":false,"involvesMigration":false,"involvesDataHandling":false}' -o text
342
- eser noskills approve
343
- eser noskills next --answer="start" -o text # Begin execution
344
- eser noskills next --answer="task-1 done" -o text
345
- # noskills asks for status report against acceptance criteria
346
- eser noskills next --answer='{"completed":["endpoint works"],"remaining":["error UI"]}' -o text
347
- # debt carries forward to next iteration
348
- eser noskills status -o markdown
349
- ```
350
-
351
- After discovery, noskills asks you to classify the spec (UI, API, migration,
352
- data handling). If you skip this by running `approve` directly, all concern
353
- sections default to N/A — the spec stays clean.
354
-
355
- The entire lifecycle works without any agent. noskills is the orchestrator —
356
- agents and humans are both consumers.
357
-
358
- Both CLI and agent write to the same state. You can start discovery via CLI
359
- (answering questions in the terminal), close the terminal, open an agent session
360
- later, and the agent picks up from the last answered question. Or start with an
361
- agent and finish via CLI. noskills doesn't care who's driving — it checks state
362
- and continues from wherever it left off.
363
-
364
- ### Autonomous execution (Ralph loop)
365
-
366
- ```bash
367
- eser noskills run # Spawns fresh claude -p per iteration
368
- eser noskills run --unattended # Stops at BLOCKED, logs to file
369
- eser noskills run --max-iterations=20 # Safety valve
370
- eser noskills run --max-turns=15 # Turns per agent process
371
- ```
372
-
373
- Each iteration is a fresh `claude -p` process with zero context accumulation —
374
- this is the Ralph loop pattern (originated by Geoff Huntley). AI agents suffer
375
- from context rot: the longer they work, the more stale instructions accumulate
376
- and performance degrades. The Ralph loop solves this by restarting the agent
377
- every iteration with fresh context while persisting state in files. noskills IS
378
- the Ralph loop — no separate bash script needed.
379
-
380
- State persists in `.eser/.state/progresses/state.json` between iterations. The
381
- Stop hook snapshots git state automatically. Verification backpressure prevents
382
- advancing past broken tests. When `autoCommit: true` in `manifest.yml`, the
383
- `noskills run` CLI loop handles git commits between iterations — the agent never
384
- touches git. Git write operations are the CLI's responsibility, never the
385
- agent's.
386
-
387
- ### Behavioral Guardrails
388
-
389
- Every `noskills next` output includes a `behavioral` block with phase-specific
390
- rules. These tell the agent HOW to behave, not just WHAT to do:
391
-
392
- | Phase | Behavioral tone | Key rules |
393
- | ---------- | -------------------------------- | ------------------------------------------------------------- |
394
- | IDLE | "Welcoming. Present choices" | No file edits until spec approved |
395
- | DISCOVERY | "Curious, has a stake" | Push back on shallow answers, probe for specifics, don't code |
396
- | REFINEMENT | "Careful reviewer" | Present answers, user must confirm each one |
397
- | PROPOSAL | "The user is reviewing" | Don't modify the spec, don't start coding |
398
- | APPROVED | "Patient. Wait for go signal" | Don't start coding until user triggers execution |
399
- | EXECUTING | "Orchestrate — spawn sub-agents" | Delegate to sub-agents, don't edit files directly |
400
- | BLOCKED | "Brief. Decision time." | Present decision as-is, don't suggest preferences |
401
- | COMPLETED | "Celebrate briefly, then stop" | Don't start new work (done, cancelled, or wontfix) |
402
-
403
- **Git is read-only** for agents (configurable via `allowGit: true` in manifest).
404
- Agents may read (`git log`, `git diff`, `git status`) but never write
405
- (`git commit`, `git push`, `git checkout`). This is enforced at three levels:
406
- behavioral rules, AGENTS.md instruction, and PreToolUse hook.
407
-
408
- When the agent's iteration count exceeds `maxIterationsBeforeRestart` (default
409
- 15), an `urgency` message warns that context is degrading and recommends a fresh
410
- session.
411
-
412
- ### Concerns — The Project's DNA
413
-
414
- Concerns define what your project IS. They stack on top of each other and affect
415
- discovery questions, spec sections, execution reminders, and acceptance
416
- criteria:
417
-
418
- | Concern | Effect |
419
- | --------------------- | ------------------------------------------------------------------------------------ |
420
- | **open-source** | Prioritize contributor experience, default to permissive choices |
421
- | **beautiful-product** | Every UI state specified — empty, loading, error, success. No AI slop |
422
- | **long-lived** | Favor boring technology, every shortcut needs justification |
423
- | **move-fast** | Good enough is good enough, defer polish to v2 |
424
- | **compliance** | Every state change must be traceable, verification is mandatory |
425
- | **learning-project** | Experimentation encouraged, document learnings over polish |
426
- | **well-engineered** | Performance measured, tests strategic, errors helpful, security built-in, observable |
427
-
428
- Concerns inject at every phase (DISCOVERY, REFINEMENT, EXECUTING, etc.) — but
429
- only the slice relevant to the current phase. The agent never sees all concern
430
- data at once:
431
-
432
- - **DISCOVERY** — extra sub-questions, dream state prompts
433
- - **REFINEMENT** — review dimension checklist (scope-filtered by classification
434
- — UI dimensions only appear for UI specs)
435
- - **PROPOSAL** — spec sections, registry table skeletons
436
- - **EXECUTING** — reminders (tier 1 at compile-time, tier 2 per-file via hooks),
437
- acceptance criteria, tension gates
438
- - **COMPLETED** — learning prompts (done, cancelled, or wontfix)
439
-
440
- When concerns conflict (e.g., move-fast + compliance), noskills surfaces the
441
- tension to the human rather than resolving it silently.
442
-
443
- ### Scoped Folder Rules
444
-
445
- In monorepos, different packages have different constraints. Drop a
446
- `.folder-rules.md` in any directory with markdown bullet rules:
447
-
448
- ```markdown
449
- - Generated AGENTS.md must preserve existing content outside noskills:start/end
450
- markers
451
- - All command references must use dynamic noskillsCmd prefix
452
- - Sync output must be idempotent
453
- - Hook scripts must be self-contained
454
- ```
455
-
456
- When the agent modifies files in that directory (tracked via the post-file-write
457
- hook log), noskills adds those rules to the acceptance criteria during status
458
- reports:
459
-
460
- ```
461
- (folder: pkg/@eserstack/noskills/sync) Sync output must be idempotent
462
- (folder: pkg/@eserstack/noskills/sync) Hook scripts must be self-contained
463
- ```
464
-
465
- Rules stack upward — `.folder-rules.md` files in parent directories also apply,
466
- like CSS specificity. A rule at `pkg/` applies to all files under `pkg/`, while
467
- a rule at `pkg/@eserstack/streams/` applies only to that package. Zero token
468
- cost — derived from filesystem, not LLM.
469
-
470
- ## How noskills differs
471
-
472
- | | Sequential Thinking | gstack | Superpowers | agent-skills | Skills / Rules | Ralph Loops | noskills |
473
- | --------------------------- | ------------------------------------ | -------------------------------------------------------------------- | --------------------------------------------------------------- | ---------------------------------------------------------------- | --------------------------------- | ---------------------------------------- | ------------------------------------------ |
474
- | What it does | Structures agent's internal thinking | Role-based slash commands (CEO, Eng, QA) | Step-by-step execution playbooks | Static workflow patterns for agents | Loads rules into context | Resets session, keeps state in files | Manages workflow via state machine |
475
- | Metaphor | "Think out loud" | "Virtual team" | "Instruction manual" | "Reference book" | "Law book" | "Clean desk every turn" | "Scrum Master" |
476
- | User role | None — agent self-talks | Chooses which role to invoke | Configures playbooks | Loads patterns into context | Writes rules, hopes agent follows | Manages context manually | Active decision-maker at every gate |
477
- | Enforcement | None | None — behavioral | None — behavioral | None — behavioral | None — behavioral | Context reset only | Mechanical (hooks block actions) |
478
- | State tracking | Thought history (in-memory) | Learnings (cross-session) | None | None | None | File-based (manual) | Full state machine, per-spec |
479
- | File control | None | None | None | None | None | None | Phase-based edit control |
480
- | Sub-agents | None | None (single agent, multiple roles) | None | None | None | None | Executor / verifier / test-writer pipeline |
481
- | Discovery | None | /office-hours (similar concept) | Brainstorming skill (similar) | None | None | None | 6 structured questions + concerns |
482
- | Still needed with noskills? | Different layer — helps agents think | Unnecessary — noskills pushes role-specific rules at the right phase | Unnecessary — noskills delivers the right playbook mechanically | Unnecessary — noskills injects patterns as phase-aware reminders | Replaced by noskills | Automated by noskills sub-agent pipeline | — |
483
-
484
- The pull model asks agents to pick the right skill at the right time. The push
485
- model delivers exactly what's needed — no picking, no missing, no waste.
486
-
487
- Every tool above solves a real problem. But they all share the same limitation:
488
- they load instructions and hope the agent follows them. noskills doesn't hope —
489
- it enforces. Hooks block the operation, not rules. The agent can't skip
490
- discovery, can't bypass verification, can't declare done without evidence.
491
-
492
- You don't need skill packs. You need a state machine.
493
-
494
- Another distinction is that noskills owns the workflow — who does what, when,
495
- and whether the result was verified — while the others own the thinking or the
496
- persona.
497
-
498
- **noskills vs gstack:** gstack achieves planning depth through persona
499
- multiplication — 4 independent reviewers (CEO, Engineer, Designer, DX advocate)
500
- each with a 2000+ line prompt. noskills achieves the same depth through concern
501
- composition — each concern carries review dimensions (one-sentence prompts) that
502
- push the agent to evaluate specific quality aspects at the right phase.
503
- `well-engineered` pushes test strategy, performance, observability, threat
504
- modeling, and error quality. `beautiful-product` pushes information hierarchy,
505
- interaction states, accessibility, and design system alignment. `long-lived`
506
- pushes architecture analysis, failure modes, and deployment safety. Same
507
- planning power, fraction of the tokens: concerns are phase-scoped JSON, not
508
- monolithic prompts. Enforced by hooks, not hoped for by the agent.
509
-
510
- **noskills vs Superpowers:** Superpowers provides detailed execution playbooks —
511
- step-by-step instructions for brainstorming, dispatching, executing, and
512
- verifying. Each skill tells the agent exactly how to do the work, down to
513
- specific checklists and verification tables. The key difference: Superpowers
514
- defines the "how" exhaustively and hopes the agent follows all of it. noskills
515
- defines the "what" and "when" minimally — the agent gets only the current
516
- phase's constraints, and hooks enforce compliance. Superpowers is a detailed
517
- instruction manual. noskills is a state machine that won't let you skip
518
- chapters. You don't need the manual when the machine enforces the process.
519
-
520
- **noskills vs agent-skills:** agent-skills is a collection of 20 workflow
521
- patterns — anti-rationalization prompts, verification checklists, red flag
522
- detectors — designed to be loaded into agent context at the start of a session.
523
- The key difference: agent-skills loads everything upfront and trusts the agent
524
- to apply the right pattern at the right time. noskills delivers specific
525
- reminders at specific phases — you don't see the verification checklist during
526
- discovery, and you don't see the brainstorming prompt during execution.
527
- agent-skills is a reference book the agent carries everywhere. noskills is a
528
- guide that shows you only the page you need right now — and won't let you turn
529
- to the wrong one.
530
-
531
- ## The Mental Model
532
-
533
- ```
534
- .cursorrules -> .cursor/rules/*.mdc -> eser/rules + skills -> noskills
535
- (1 file) (modular, 1 tool) (portable, curated) (state-driven)
536
- ```
537
-
538
- Each generation solved one bottleneck and discovered the next:
539
-
540
- 1. `**.cursorrules**` — single file, single tool. Couldn't split, couldn't
541
- scale, couldn't travel across tools.
542
- 2. `**.cursor/rules/*.mdc**` — modular, but still locked to Cursor.
543
- 3. `**eser/rules` + `eser-rules-manager**` — created as a portable,
544
- tool-agnostic instruction system. This **predated** Anthropic's Skills spec.
545
- When Skills arrived, eser/rules was adapted into skills format — validating
546
- the ecosystem was heading where eser/rules had already gone.
547
- 4. **noskills** — Skills hit a wall: context rot as they accumulated, agents
548
- picking wrong skills, manual sync across tools. The pull model failed.
549
- noskills drops skills entirely — state-driven push replaces context-heavy
550
- pull.
551
-
552
- The `eser/rules` repository
553
- ([github.com/eser/rules](https://github.com/eser/rules)) is now archived. Its
554
- ideas live on in noskills, refined under
555
- [github.com/eser/stack](https://github.com/eser/stack).
556
-
557
- This is the **Software³** philosophy: build, discover limits, evolve, share.
558
- noskills will discover its own limits too — and when it does, the next step will
559
- emerge. If you want to discover those limits together, jump on board.
560
-
561
- The name mirrors the SQL -> NoSQL shift: skills define everything upfront,
562
- noskills determines what's needed at runtime.
563
-
564
- ### The Scrum analogy
565
-
566
- If you know Agile, you already know noskills:
567
-
568
- | Agile / Scrum | noskills |
569
- | ------------------ | --------------------------------------------- |
570
- | User Story | Spec |
571
- | Increment | Spec's deliverable |
572
- | Refinement meeting | Discovery (6 questions + concerns) |
573
- | Sprint Planning | Spec draft → approval (tasks defined) |
574
- | Sprint | Execution (runs until spec is done) |
575
- | Dev team | Sub-agents (executor, verifier, test-writer) |
576
- | Scrum Master | noskills (state machine, hooks, backpressure) |
577
- | Definition of Done | Acceptance criteria |
578
- | Sprint Review | AC status report + verifier validation |
579
- | Retrospective | Debt tracking + concern reminders |
580
- | Product Owner | You (every decision is yours) |
581
-
582
- One key difference: in Scrum, a sprint is time-boxed. In noskills, execution
583
- runs until the spec is complete — it is a single-story sprint. This is why
584
- mid-execution checkpoints make no sense: a Scrum Master does not stop a sprint
585
- halfway through the only story. If the story is too big, you split it _before_
586
- the sprint starts — not during. That is exactly what noskills does at REFINEMENT
587
- with the split proposal.
588
-
589
- ## Philosophy — A Scrum Master for Agents
590
-
591
- I used to teach Agile. In those trainings, I'd go all the way back to the Toyota
592
- Production System to explain why we do what we do.
593
-
594
- I'd talk about WIP limits — not as a process rule, but as acknowledgment that
595
- human attention is finite. I'd explain how story points emerged from the need to
596
- break work into pieces small enough for a single person's working memory. I'd
597
- walk through why we have daily standups (people lose track), why we have
598
- Definition of Done (everyone's "done" is different), why we have acceptance
599
- criteria (without them, work drifts from intent). I'd talk about cognitive load
600
- — how the brain starts dropping things when you pile on too much context.
601
-
602
- When I first encountered context rot in AI agents, it felt familiar. The agent
603
- starts strong, makes a great plan, then gradually loses the plot — forgets
604
- instructions, gets sloppy, declares things "done" that aren't. I'd seen this in
605
- humans. The practices we built around human limitations applied directly.
606
-
607
- When I saw Ralph loops, I got excited — they felt like sprints. Each iteration
608
- starts clean: fresh context, clear goal, defined scope. Just like a sprint
609
- protects the team from mid-sprint chaos, a Ralph loop protects the agent from
610
- context accumulation. But just as sprint quality depends on what goes INTO the
611
- sprint, loop quality depends on what context the agent receives.
612
-
613
- I'd also teach Jidoka — one of the pillars of the Toyota Production System.
614
- Jidoka means "automation with a human touch." The machine runs autonomously, but
615
- when it detects an anomaly, it stops and calls a human. The human doesn't watch
616
- every step — they intervene at the right moments. Production quality comes from
617
- human and machine working together, each doing what they're best at.
618
-
619
- noskills is Jidoka for AI coding. The agent runs autonomously through tasks, but
620
- at every phase transition — discovery, spec approval, blocked decisions — it
621
- stops and the human decides. The human doesn't watch every line of code. They
622
- intervene at the moments that matter: what to build, whether the plan is right,
623
- which tradeoffs to accept. The agent handles execution; the human handles
624
- judgment.
625
-
626
- That's why I stopped using skills and built a scrum master instead:
627
-
628
- - **Ralph loops are sprints** — fresh context, clear scope, no carryover rot.
629
- - **Discovery is sprint planning** — the same questions a good PM asks before
630
- work starts.
631
- - **Backpressure is Definition of Done** — "done" requires evidence, not
632
- declaration.
633
- - **Debt tracking is the sprint board** — unfinished items don't vanish, they
634
- carry forward with increasing urgency.
635
- - **Concerns are team values** — "we care about open source" shapes every
636
- decision, just like team values shape how a team works.
637
- - **Phase transitions are Jidoka stops** — the machine pauses, the human
638
- decides, then the machine continues.
639
- - **Explicit over clever** — noskills never makes decisions silently. It always
640
- asks.
641
-
642
- The insight isn't technical. It's that the practices we spent decades developing
643
- for human teams apply directly to AI agents — because the underlying problem is
644
- the same: finite attention, drifting focus, and the need for structure to keep
645
- work on track.
14
+ `npx noskills <command>` works too, and is what the hooks noskills writes into
15
+ a repository call.
646
16
 
647
- ## Technical Reference
17
+ The command is the Go build of noskills ([cmd/noskills](../../../cmd/noskills)).
18
+ This package holds only a launcher: it runs the binary of the optional
19
+ dependency `@eserstack/noskills-<platform>` that npm installs for this machine,
20
+ for macOS (ARM64 and x64), Linux (ARM64 and x64) and Windows x64. The binary
21
+ hands `watch`, `manager` and `web`, which are not ported to Go yet, to the
22
+ TypeScript CLI of `@eserstack/noskills`, which this package depends on at its
23
+ own version.
648
24
 
649
- State machine internals, JSON output format, hook implementation, CLI reference,
650
- directory structure, configuration, and library API — see
651
- **[README-HOW.md](./README-HOW.md)**.
25
+ Without npm, install the same binary with
26
+ `curl -fsSL https://raw.githubusercontent.com/eser/stack/main/etc/scripts/install.sh | sh -s noskills`,
27
+ `brew install eser/tap/noskills` or
28
+ `nix profile install github:eser/stack#noskills`; on Windows use
29
+ `install.ps1 -Product noskills`.
652
30
 
653
- ## License
31
+ ## 🔗 Links
654
32
 
655
- Apache-2.0
33
+ - [@eserstack/noskills](../noskills/README.md): the workflow, the commands and
34
+ the TypeScript modules
35
+ - [cmd/noskills](../../../cmd/noskills/README.md): the Go noskills CLI
36
+ - [eser/stack on GitHub](https://github.com/eser/stack)