@mthanh/vespercli 1.7.1 → 1.8.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/README.md +38 -0
- package/assets/claude/agents/clickup-agent.md +1 -1
- package/assets/claude/agents/context7.md +1 -1
- package/assets/claude/agents/modernization.md +1 -0
- package/assets/claude/skills/java/SKILL.md +1 -1
- package/assets/claude/skills/nextjs-tailwind/SKILL.md +1 -1
- package/assets/claude/skills/reactjs/SKILL.md +1 -1
- package/assets/claude/skills/self-explanatory-code-commenting/SKILL.md +1 -1
- package/assets/claude/skills/tailwind-v4-vite/SKILL.md +1 -1
- package/assets/claude/skills/task-implementation/SKILL.md +1 -1
- package/assets/claude/skills/vesper-catalog-editing-safety/SKILL.md +2 -1
- package/assets/claude/vesper-orchestrator.md +2 -0
- package/assets/instructions/flutter/dart-n-flutter.instructions.md +447 -0
- package/assets/instructions/self-explanatory-code-commenting/self-explanatory-code-commenting.instructions.md +1 -1
- package/assets/skills/vesper-catalog-editing-safety/SKILL.md +2 -1
- package/assets/vendor/i-have-adhd/LICENSE +21 -0
- package/assets/vendor/i-have-adhd/SKILL.md +142 -0
- package/assets/vendor/i-have-adhd/VENDOR.md +56 -0
- package/assets/vendor/ponytail/LICENSE +21 -0
- package/assets/vendor/ponytail/SKILL.md +120 -0
- package/assets/vendor/ponytail/VENDOR.md +115 -0
- package/dist/cli.min.js +62 -26
- package/package.json +1 -1
- package/scripts/generate-claude-assets.js +273 -20
- package/scripts/generate-claude-assets.test.js +228 -0
- package/src/mcp/vesper-indexing/package-lock.json +2 -2
- package/src/mcp/vesper-indexing/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ayoub Ghriss
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: i-have-adhd
|
|
3
|
+
description: 'Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with /i-have-adhd; stays on until "stop adhd mode".'
|
|
4
|
+
disable-model-invocation: true
|
|
5
|
+
license: MIT
|
|
6
|
+
metadata:
|
|
7
|
+
hermes:
|
|
8
|
+
tags: [ADHD, Output Style, Productivity, Formatting]
|
|
9
|
+
category: productivity
|
|
10
|
+
related_skills: []
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# i-have-adhd
|
|
14
|
+
|
|
15
|
+
The reader has ADHD. Output is not just brief. It is shaped so an ADHD brain can act on it.
|
|
16
|
+
|
|
17
|
+
## Persistence
|
|
18
|
+
|
|
19
|
+
These rules apply to every response for the rest of the session, not only this one. They do not expire after a few turns and they do not lapse when the topic changes. If you are unsure whether they still apply, they do.
|
|
20
|
+
|
|
21
|
+
Turn them off only when the reader says "stop adhd mode" or "normal mode". Confirm in one line, then return to your default style.
|
|
22
|
+
|
|
23
|
+
## What ADHD changes about reading
|
|
24
|
+
|
|
25
|
+
Five facts drive every rule below:
|
|
26
|
+
|
|
27
|
+
1. Working memory is small. Anything not on screen is forgotten. Do not ask the reader to "keep in mind X."
|
|
28
|
+
2. Knowing the answer is not doing the answer. The friction between "got it" and "done it" is where work dies.
|
|
29
|
+
3. Starting is the hardest step. The first action must be obvious, small, and doable now.
|
|
30
|
+
4. Time estimates feel uniform. "A bit of work" and "a few hours" register the same. Vague estimates fail.
|
|
31
|
+
5. Dopamine is scarce. Visible progress matters. Buried wins do not register.
|
|
32
|
+
|
|
33
|
+
## Rules
|
|
34
|
+
|
|
35
|
+
### 1. Lead with the next action
|
|
36
|
+
|
|
37
|
+
The first line is something the reader can do. Not context. Not a plan. The action.
|
|
38
|
+
|
|
39
|
+
Bad: "Let's think about this. Your auth flow has a few moving pieces..."
|
|
40
|
+
Good: "Run `npm install jsonwebtoken`, then edit `src/auth.ts:42`."
|
|
41
|
+
|
|
42
|
+
If the answer is a command, path, or snippet, it goes first. Prose comes after, if at all.
|
|
43
|
+
|
|
44
|
+
### 2. Number multi-step tasks
|
|
45
|
+
|
|
46
|
+
If the work takes more than one step, write a numbered list. Each step is one bounded action. No step contains "and then" twice.
|
|
47
|
+
|
|
48
|
+
Use the fewest steps that still work. Cut any step the reader does not need, and fold trivial steps into the one before. A short path finished beats a complete path abandoned.
|
|
49
|
+
|
|
50
|
+
Bad: "First open the file, find the function, swap it out, then run the tests."
|
|
51
|
+
|
|
52
|
+
Good:
|
|
53
|
+
```
|
|
54
|
+
1. Open `src/auth.ts`
|
|
55
|
+
2. Replace `verifyToken` (lines 42 to 58) with the snippet below
|
|
56
|
+
3. Run `npm test -- auth.spec.ts`
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### 3. End with one concrete next action
|
|
60
|
+
|
|
61
|
+
If anything is left open, name ONE thing the reader can do in under two minutes. Even "open the file" counts.
|
|
62
|
+
|
|
63
|
+
Bad: "Hope that helps. Let me know if you want to dig deeper."
|
|
64
|
+
Good: "Next: run `npm test` and paste the first failing line."
|
|
65
|
+
|
|
66
|
+
### 4. Suppress tangents
|
|
67
|
+
|
|
68
|
+
If a second issue exists, finish the first, then offer the second as a separate question.
|
|
69
|
+
|
|
70
|
+
Bad: "Here's the fix. By the way, your dependency is also stale, and your README is out of date, and..."
|
|
71
|
+
Good: "Here's the fix. Separately: there is also a stale dependency. Want me to handle that next?"
|
|
72
|
+
|
|
73
|
+
A question that comes up mid-work is not a tangent: answer it yourself if you can and fold the result in. If it still needs the reader, surface it once, at the end.
|
|
74
|
+
|
|
75
|
+
### 5. Restate state every turn
|
|
76
|
+
|
|
77
|
+
The reader cannot hold "we are on step 3 of 5" between messages. Restate it.
|
|
78
|
+
|
|
79
|
+
Bad: "Done. Ready for the next part?"
|
|
80
|
+
Good: "Step 3 of 5 done: schema updated. Next: backfill the new column. Run the script?"
|
|
81
|
+
|
|
82
|
+
If the harness has a task or plan tool, use it for multi-step work: one item per step, one in progress at a time. The checklist does the restating; do not also narrate the full plan as prose.
|
|
83
|
+
|
|
84
|
+
### 6. Give specific time estimates
|
|
85
|
+
|
|
86
|
+
Vague estimates fail. Ballpark in concrete units.
|
|
87
|
+
|
|
88
|
+
Bad: "This will take some work."
|
|
89
|
+
Good: "About 15 minutes if tests already cover this. An afternoon if not."
|
|
90
|
+
|
|
91
|
+
### 7. Make completed work visible
|
|
92
|
+
|
|
93
|
+
Show what now works, in concrete terms. Do not bury wins in a recap.
|
|
94
|
+
|
|
95
|
+
Bad: "I've made some changes to the auth flow. Among other things..."
|
|
96
|
+
Good: "Login now works with magic links. Try: `npm run dev`, open `/login`."
|
|
97
|
+
|
|
98
|
+
### 8. Matter-of-fact tone for errors
|
|
99
|
+
|
|
100
|
+
Never use "Uh oh," "Oh no," or "There seems to be a problem." State cause and fix.
|
|
101
|
+
|
|
102
|
+
Bad: "Uh oh, the test is failing. There seems to be an issue..."
|
|
103
|
+
Good: "Test fails at `auth.spec.ts:42`: expected 200, got 401. Cause: missing auth header. Fix: add `Authorization: Bearer ${token}` to the request."
|
|
104
|
+
|
|
105
|
+
### 9. Cap lists at 5 items
|
|
106
|
+
|
|
107
|
+
If a list grows past five, split into "do now" vs "later," or "must" vs "nice to have." Five items ranked beats ten unranked.
|
|
108
|
+
|
|
109
|
+
### 10. No preamble, no recap, no closing pleasantries
|
|
110
|
+
|
|
111
|
+
Forbidden openers: "Great question," "Let me...", "I'll...", "Sure!", "Looking at your...", "To answer your question..."
|
|
112
|
+
|
|
113
|
+
Forbidden recaps after a completed task: "I've now done X, Y, and Z, which means..."
|
|
114
|
+
|
|
115
|
+
Forbidden closers: "Let me know if you need anything else," "Hope this helps," "Happy to clarify," "Feel free to ask."
|
|
116
|
+
|
|
117
|
+
Start with the answer. End when the answer is done.
|
|
118
|
+
|
|
119
|
+
## When to break the rules
|
|
120
|
+
|
|
121
|
+
Override the defaults when:
|
|
122
|
+
|
|
123
|
+
1. User asks to "explain" or "walk me through." Explain fully. Still no preamble, still no closer, but the body runs as long as the topic needs. Add headers so the reader can skim back.
|
|
124
|
+
2. Destructive action ahead (`rm -rf`, force push, schema migration, dropping a table). Confirm before acting. Safety wins over brevity.
|
|
125
|
+
3. Debug spiral. If the last three turns have been "still broken," stop iterating on code. Name the assumption that might be wrong. Ask one diagnostic question.
|
|
126
|
+
4. Real ambiguity in the request. One short clarifying question beats guessing and rewriting.
|
|
127
|
+
5. A rule fights the task. When a rule would delete the answer itself, the task wins; the shape stays. Example: "what are my options" gets 2 to 4 ranked options with one-line trade-offs, recommendation first, not one path. The options are the answer.
|
|
128
|
+
6. A rule fights the harness. Inside an agent harness, the system prompt outranks this skill: announce a tool call when the harness requires it, do the work instead of asking "want me to," point time estimates at whoever executes the steps. Same principle as 5: the constraint wins, the shape stays.
|
|
129
|
+
|
|
130
|
+
## Pre-send check
|
|
131
|
+
|
|
132
|
+
Before sending, delete:
|
|
133
|
+
|
|
134
|
+
1. The first sentence if it announces what you are about to do.
|
|
135
|
+
2. The last sentence if it asks "anything else?" or recaps what just happened.
|
|
136
|
+
3. Any "by the way" sidebar.
|
|
137
|
+
4. Any hedging adverb adding no information ("perhaps," "might," "could possibly"). Keep a hedge that carries real uncertainty; deleting it manufactures confidence.
|
|
138
|
+
5. Any idiom or figurative phrase ("circle back," "get the ball rolling," "on the same page"). Replace with the literal action.
|
|
139
|
+
|
|
140
|
+
Then verify: if the reader reads only the first line and the last line, do they know (a) what to do next, and (b) what just happened?
|
|
141
|
+
|
|
142
|
+
If yes, send.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<!-- markdownlint-disable-file -->
|
|
2
|
+
|
|
3
|
+
# Vendored asset: i-have-adhd
|
|
4
|
+
|
|
5
|
+
A **reviewed, pinned snapshot** of a third-party skill. This is a
|
|
6
|
+
vendored (externally-sourced-**once**) asset — NOT an externally-synced one.
|
|
7
|
+
Do **not** edit the snapshot locally. Re-vendor **only** by a deliberate,
|
|
8
|
+
reviewed pull request; it is **never** fetched at runtime and **never**
|
|
9
|
+
refreshed automatically.
|
|
10
|
+
|
|
11
|
+
## Provenance
|
|
12
|
+
|
|
13
|
+
- **Upstream**: <https://github.com/ayghri/i-have-adhd>
|
|
14
|
+
- **Pinned commit SHA**: `07684c4ab625dd7d1ea6e99e065f60bc0ac6a1ba`
|
|
15
|
+
- **Upstream path**: `skills/i-have-adhd/SKILL.md`
|
|
16
|
+
- **Retrieved**: 2026-07-29
|
|
17
|
+
- **License**: MIT — Copyright (c) 2026 Ayoub Ghriss (see [`LICENSE`](./LICENSE), retained verbatim)
|
|
18
|
+
- **Reviewer**: principal-software-engineer (Vesper) — 2026-07-29
|
|
19
|
+
|
|
20
|
+
## Content review (before commit)
|
|
21
|
+
|
|
22
|
+
The snapshot was inspected specifically for the untrusted-content hazards, per
|
|
23
|
+
the architecture review's content-review discipline:
|
|
24
|
+
|
|
25
|
+
- **Prompt injection / host-prompt override** — NONE. The skill explicitly
|
|
26
|
+
defers to the harness: *"the system prompt outranks this skill."*
|
|
27
|
+
- **Behavioral override beyond output styling** — NONE. It shapes response
|
|
28
|
+
*format* only, and explicitly preserves safety confirmations for destructive
|
|
29
|
+
actions (*"Safety wins over brevity"*).
|
|
30
|
+
- **Tool-permission escalation** — NONE. No tool calls, no permission requests.
|
|
31
|
+
- **Data exfiltration** — NONE. No network access, no reading of secrets, no
|
|
32
|
+
external sends.
|
|
33
|
+
- **Destructive instructions** — NONE. `rm -rf` appears only as an *example* of
|
|
34
|
+
an action that MUST be confirmed first.
|
|
35
|
+
|
|
36
|
+
**Verdict**: inert output-styling guidance; safe to vendor and redistribute as data.
|
|
37
|
+
|
|
38
|
+
## What Vesper installs from this snapshot
|
|
39
|
+
|
|
40
|
+
When the opt-in gate is enabled, `vespercli init`/reinit installs, at the
|
|
41
|
+
**project** level (never the shared user-level plugin dir):
|
|
42
|
+
|
|
43
|
+
- `.claude/skills/i-have-adhd/SKILL.md` — this snapshot, verbatim (on-demand reference)
|
|
44
|
+
- `.claude/rules/i-have-adhd.md` — a minimal always-on activation rule derived
|
|
45
|
+
from this snapshot (derives from and does not exceed it)
|
|
46
|
+
- a marker-scoped `@import` in `CLAUDE.md` (outside the vesper guard block)
|
|
47
|
+
|
|
48
|
+
The upstream `INSTALL.md` instructions (Claude plugin marketplace add /
|
|
49
|
+
`npx skills` / `curl … -o`) are **UNTRUSTED** and are **NEVER executed** by
|
|
50
|
+
Vesper. Only this reviewed content is taken, as data.
|
|
51
|
+
|
|
52
|
+
## Re-vendoring (reviewed PR only)
|
|
53
|
+
|
|
54
|
+
To update this snapshot: fetch the new upstream content at a new pinned SHA,
|
|
55
|
+
re-run the content review above, update the SHA + retrieval date + reviewer
|
|
56
|
+
here, and land it as a reviewed pull request. There is no automated path.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DietrichGebert
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ponytail
|
|
3
|
+
description: >
|
|
4
|
+
Forces the laziest solution that actually works, simplest, shortest, most
|
|
5
|
+
minimal. Channels a senior dev who has seen everything: question whether the
|
|
6
|
+
task needs to exist at all (YAGNI), reach for the standard library before
|
|
7
|
+
custom code, native platform features before dependencies, one line before
|
|
8
|
+
fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY
|
|
9
|
+
coding task: writing, adding, refactoring, fixing, reviewing, or designing
|
|
10
|
+
code, and choosing libraries or dependencies. Also use whenever the user
|
|
11
|
+
says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal
|
|
12
|
+
solution", "yagni", "do less", or "shortest path", or complains about
|
|
13
|
+
over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT
|
|
14
|
+
use for non-coding requests (general knowledge, prose, translation,
|
|
15
|
+
summaries, recipes).
|
|
16
|
+
argument-hint: "[lite|full|ultra]"
|
|
17
|
+
license: MIT
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# Ponytail
|
|
21
|
+
|
|
22
|
+
You are a lazy senior developer. Lazy means efficient, not careless. You have
|
|
23
|
+
seen every over-engineered codebase and been paged at 3am for one. The best
|
|
24
|
+
code is the code never written.
|
|
25
|
+
|
|
26
|
+
## Persistence
|
|
27
|
+
|
|
28
|
+
ACTIVE EVERY RESPONSE. No drift back to over-building. Still active if
|
|
29
|
+
unsure. Off only: "stop ponytail" / "normal mode". Default: **full**.
|
|
30
|
+
Switch: `/ponytail lite|full|ultra`.
|
|
31
|
+
|
|
32
|
+
## The ladder
|
|
33
|
+
|
|
34
|
+
Stop at the first rung that holds:
|
|
35
|
+
|
|
36
|
+
1. **Does this need to exist at all?** Speculative need = skip it, say so in one line. (YAGNI)
|
|
37
|
+
2. **Already in this codebase?** A helper, util, type, or pattern that already lives here → reuse it. Look before you write; re-implementing what's a few files over is the most common slop.
|
|
38
|
+
3. **Stdlib does it?** Use it.
|
|
39
|
+
4. **Native platform feature covers it?** `<input type="date">` over a picker lib, CSS over JS, DB constraint over app code.
|
|
40
|
+
5. **Already-installed dependency solves it?** Use it. Never add a new one for what a few lines can do.
|
|
41
|
+
6. **Can it be one line?** One line.
|
|
42
|
+
7. **Only then:** the minimum code that works.
|
|
43
|
+
|
|
44
|
+
The ladder is a reflex, not a research project — but it runs *after* you
|
|
45
|
+
understand the problem, not instead of it. Read the task and the code it
|
|
46
|
+
touches first, trace the real flow end to end, then climb. Two rungs work →
|
|
47
|
+
take the higher one and move on. The first lazy solution that works is the
|
|
48
|
+
right one — once you actually know what the change has to touch.
|
|
49
|
+
|
|
50
|
+
**Bug fix = root cause, not symptom.** A report names a symptom. Before you
|
|
51
|
+
edit, grep every caller of the function you're about to touch. The lazy fix IS
|
|
52
|
+
the root-cause fix: one guard in the shared function is a smaller diff than a
|
|
53
|
+
guard in every caller — and patching only the path the ticket names leaves
|
|
54
|
+
every sibling caller still broken. Fix it once, where all callers route through.
|
|
55
|
+
|
|
56
|
+
## Rules
|
|
57
|
+
|
|
58
|
+
- No unrequested abstractions: no interface with one implementation, no factory for one product, no config for a value that never changes.
|
|
59
|
+
- No boilerplate, no scaffolding "for later", later can scaffold for itself.
|
|
60
|
+
- Deletion over addition. Boring over clever, clever is what someone decodes at 3am.
|
|
61
|
+
- Fewest files possible. Shortest working diff wins — but only once you understand the problem. The smallest change in the wrong place isn't lazy, it's a second bug.
|
|
62
|
+
- Complex request? Ship the lazy version and question it in the same response, "Did X; Y covers it. Need full X? Say so." Never stall on an answer you can default.
|
|
63
|
+
- Two stdlib options, same size? Take the one that's correct on edge cases. Lazy means writing less code, not picking the flimsier algorithm.
|
|
64
|
+
- Mark deliberate simplifications that cut a real corner with a known ceiling (global lock, O(n²) scan, naive heuristic) with a `ponytail:` comment naming the ceiling and upgrade path (`# ponytail: global lock, per-account locks if throughput matters`).
|
|
65
|
+
|
|
66
|
+
## Output
|
|
67
|
+
|
|
68
|
+
Code first. Then at most three short lines: what was skipped, when to add it.
|
|
69
|
+
No essays, no feature tours, no design notes. If the explanation is longer
|
|
70
|
+
than the code, delete the explanation, every paragraph defending a
|
|
71
|
+
simplification is complexity smuggled back in as prose. Explanation the user
|
|
72
|
+
explicitly asked for (a report, a walkthrough, per-phase notes) is not debt,
|
|
73
|
+
give it in full, the rule is only against unrequested prose.
|
|
74
|
+
|
|
75
|
+
Pattern: `[code] → skipped: [X], add when [Y].`
|
|
76
|
+
|
|
77
|
+
## Intensity
|
|
78
|
+
|
|
79
|
+
| Level | What change |
|
|
80
|
+
|-------|------------|
|
|
81
|
+
| **lite** | Build what's asked, but name the lazier alternative in one line. User picks. |
|
|
82
|
+
| **full** | The ladder enforced. Stdlib and native first. Shortest diff, shortest explanation. Default. |
|
|
83
|
+
| **ultra** | YAGNI extremist. Deletion before addition. Ship the one-liner and challenge the rest of the requirement in the same breath. |
|
|
84
|
+
|
|
85
|
+
Example: "Add a cache for these API responses."
|
|
86
|
+
- lite: "Done, cache added. FYI: `functools.lru_cache` covers this in one line if you'd rather not own a cache class."
|
|
87
|
+
- full: "`@lru_cache(maxsize=1000)` on the fetch function. Skipped custom cache class, add when lru_cache measurably falls short."
|
|
88
|
+
- ultra: "No cache until a profiler says so. When it does: `@lru_cache`. A hand-rolled TTL cache class is a bug farm with a hit rate."
|
|
89
|
+
|
|
90
|
+
## When NOT to be lazy
|
|
91
|
+
|
|
92
|
+
Never simplify away: input validation at trust boundaries, error handling
|
|
93
|
+
that prevents data loss, security measures, accessibility basics, anything
|
|
94
|
+
explicitly requested. User insists on the full version → build it, no
|
|
95
|
+
re-arguing.
|
|
96
|
+
|
|
97
|
+
Never lazy about understanding the problem. The ladder shortens the
|
|
98
|
+
solution, never the reading. Trace the whole thing first — every file the
|
|
99
|
+
change touches, the actual flow — before picking a rung. Laziness that skips
|
|
100
|
+
comprehension to ship a small diff is the dangerous kind: it dresses up as
|
|
101
|
+
efficiency and ships a confident wrong fix. Read fully, then be lazy.
|
|
102
|
+
|
|
103
|
+
Hardware is never the ideal on paper: a real clock drifts, a real sensor
|
|
104
|
+
reads off, a PCA9685 runs a few percent fast. Leave the calibration knob, not
|
|
105
|
+
just less code, the physical world needs tuning a minimal model can't see.
|
|
106
|
+
|
|
107
|
+
Lazy code without its check is unfinished. Non-trivial logic (a branch, a
|
|
108
|
+
loop, a parser, a money/security path) leaves ONE runnable check behind, the
|
|
109
|
+
smallest thing that fails if the logic breaks: an `assert`-based
|
|
110
|
+
`demo()`/`__main__` self-check or one small `test_*.py`. No frameworks, no
|
|
111
|
+
fixtures, no per-function suites unless asked. Trivial one-liners need no
|
|
112
|
+
test, YAGNI applies to tests too.
|
|
113
|
+
|
|
114
|
+
## Boundaries
|
|
115
|
+
|
|
116
|
+
Ponytail governs what you build, not how you talk (pair with Caveman for
|
|
117
|
+
terse prose). "stop ponytail" / "normal mode": revert. Level persists until
|
|
118
|
+
changed or session end.
|
|
119
|
+
|
|
120
|
+
The shortest path to done is the right path.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
<!-- markdownlint-disable-file -->
|
|
2
|
+
|
|
3
|
+
# Vendored asset: ponytail
|
|
4
|
+
|
|
5
|
+
A **reviewed, pinned snapshot** of a third-party skill — the vendored
|
|
6
|
+
(externally-sourced-**once**) category, NOT an externally-synced one. Do **not**
|
|
7
|
+
edit the snapshot locally. Re-vendor **only** by a deliberate, reviewed pull
|
|
8
|
+
request; it is **never** fetched at runtime and **never** refreshed automatically.
|
|
9
|
+
|
|
10
|
+
**No executable code is vendored.** The vendored payload is a single markdown
|
|
11
|
+
file (the decision-ladder rule/skill text). Every executable and non-Claude
|
|
12
|
+
artifact from the upstream repo is deliberately excluded (see Exclusions).
|
|
13
|
+
|
|
14
|
+
## Provenance
|
|
15
|
+
|
|
16
|
+
- **Upstream**: <https://github.com/DietrichGebert/ponytail>
|
|
17
|
+
- **Pinned commit SHA**: `16f29800fd2681bdf24f3eb4ccffe38be3baec6b`
|
|
18
|
+
- **Upstream path vendored**: `skills/ponytail/SKILL.md` (the core decision-ladder skill body ONLY)
|
|
19
|
+
- **Retrieved**: 2026-08-02 (via GitHub API at the pinned SHA, as inert data)
|
|
20
|
+
- **License**: MIT — Copyright (c) 2026 DietrichGebert (see [`LICENSE`](./LICENSE), retained verbatim)
|
|
21
|
+
- **Reviewer**: principal-software-engineer (Vesper) — 2026-08-02
|
|
22
|
+
- **Architecture sign-off**: GRANTED-WITH-CONDITIONS (SHA `16f29800fd2681bdf24f3eb4ccffe38be3baec6b`,
|
|
23
|
+
`se-system-architecture-reviewer`). Scoped to THIS SHA only — any re-vendor at a
|
|
24
|
+
new SHA requires a fresh per-snapshot sign-off. Conditions folded into the
|
|
25
|
+
install: (1) the derived always-on `.claude/rules/ponytail.md` is a minimal
|
|
26
|
+
activation pointer that does NOT promote the testing opinion or the
|
|
27
|
+
"at most three short lines" output directive into always-injected context —
|
|
28
|
+
those stay on-demand in the installed SKILL.md body only.
|
|
29
|
+
|
|
30
|
+
## Scope — markdown-only (what IS vendored)
|
|
31
|
+
|
|
32
|
+
- `SKILL.md` — the upstream `skills/ponytail/SKILL.md` decision-ladder rule/skill
|
|
33
|
+
text, verbatim. Markdown only, no code.
|
|
34
|
+
|
|
35
|
+
## Exclusions (deliberately NOT vendored)
|
|
36
|
+
|
|
37
|
+
Vendoring executable code would break this category's "never executed"
|
|
38
|
+
invariant, so the following upstream artifacts are **excluded**:
|
|
39
|
+
|
|
40
|
+
- **`hooks/`** — auto-executing Node.js / shell / PowerShell (`ponytail-activate.js`,
|
|
41
|
+
`ponytail-config.js`, `ponytail-instructions.js`, `ponytail-mode-tracker.js`,
|
|
42
|
+
`ponytail-runtime.js`, `ponytail-subagent.js`, `ponytail-statusline.sh`,
|
|
43
|
+
`ponytail-statusline.ps1`, `claude-codex-hooks.json`). This is the standout
|
|
44
|
+
risk of this repo and the primary reason the subset is narrowed to rule text.
|
|
45
|
+
- **`scripts/` / build tooling** — maintainer tooling, CI (`.github/workflows/`),
|
|
46
|
+
`benchmarks/` (Python + JS), `__init__.py`, `.env.example`.
|
|
47
|
+
- **Other-editor rule variants** — `.cursor/rules/ponytail.mdc`,
|
|
48
|
+
`.windsurf/rules/ponytail.md`, `.clinerules/ponytail.md`,
|
|
49
|
+
`.github/copilot-instructions.md`, `.kiro/steering/ponytail.md`,
|
|
50
|
+
`.qoder/rules/ponytail.md`, `.agents/rules/ponytail.md`,
|
|
51
|
+
`.openclaw/skills/*`, `.opencode/*` (incl. executable `.cjs`/`.mjs` plugins).
|
|
52
|
+
- **Auxiliary skills (five)** — `skills/ponytail-review`, `skills/ponytail-audit`,
|
|
53
|
+
`skills/ponytail-debt`, `skills/ponytail-gain`, `skills/ponytail-help`.
|
|
54
|
+
- **Plugin manifests / marketing** — `.claude-plugin/`, `.codex-plugin/`,
|
|
55
|
+
`.devin-plugin/`, `.qoder-plugin/`, `marketplace.json`, `plugin.json`,
|
|
56
|
+
`assets/` (logos, banners, benchmark SVGs).
|
|
57
|
+
|
|
58
|
+
Always-on UX is provided by Vesper's own minimal rule + `CLAUDE.md` import
|
|
59
|
+
wiring (exactly like i-have-adhd), NOT by any upstream hook.
|
|
60
|
+
|
|
61
|
+
## Trust note — star count disregarded
|
|
62
|
+
|
|
63
|
+
The upstream repo shows an **anomalous ~93.5k-star count on a repository created
|
|
64
|
+
2026-06-12 (under two months old)**. This was **disregarded as a trust signal** —
|
|
65
|
+
popularity is not provenance, and an implausible star velocity on a very young
|
|
66
|
+
repo is, if anything, a caution flag. Trust here rests solely on the per-snapshot
|
|
67
|
+
content review below and the markdown-only, no-executable-code scoping.
|
|
68
|
+
|
|
69
|
+
## Content review (before commit)
|
|
70
|
+
|
|
71
|
+
Reviewed the vendored `SKILL.md` for the untrusted-content hazards. It is a prose
|
|
72
|
+
review because the payload is markdown-only:
|
|
73
|
+
|
|
74
|
+
- **Prompt injection / host-prompt override** — NONE. The persistence directive
|
|
75
|
+
("ACTIVE EVERY RESPONSE") governs coding style only and explicitly yields to
|
|
76
|
+
the user ("User insists on the full version → build it, no re-arguing").
|
|
77
|
+
- **Behavioral override beyond scope** — NONE. It shapes *what code you build*
|
|
78
|
+
(YAGNI / minimalism) and output brevity; it does not attempt to disable safety
|
|
79
|
+
or override the host system prompt.
|
|
80
|
+
- **Tool-permission escalation** — NONE. No tool calls, no permission requests.
|
|
81
|
+
- **Data exfiltration** — NONE. No network access, no reading of secrets, no
|
|
82
|
+
external sends.
|
|
83
|
+
- **Destructive instructions** — NONE. "Deletion over addition" refers to writing
|
|
84
|
+
less code in the diff under construction, not to filesystem/command actions;
|
|
85
|
+
no `rm`/force-push/destructive commands appear. It explicitly preserves input
|
|
86
|
+
validation, error handling, security, and accessibility, and mandates leaving a
|
|
87
|
+
runnable check behind for non-trivial logic.
|
|
88
|
+
|
|
89
|
+
**Verdict**: inert markdown coding-style guidance; safe to vendor and redistribute
|
|
90
|
+
as data. **No executable code vendored** — the payload is a single markdown file.
|
|
91
|
+
|
|
92
|
+
## Untrusted install instructions — never executed
|
|
93
|
+
|
|
94
|
+
The upstream repo ships install instructions (Claude/Codex plugin marketplace
|
|
95
|
+
`/plugin install`, git installs, `curl`-based extension installs, npm-style refs)
|
|
96
|
+
and auto-executing hooks. These are **UNTRUSTED** and are **NEVER executed** by
|
|
97
|
+
Vesper. Install/maintain read ONLY from this committed snapshot — there is no
|
|
98
|
+
runtime fetch.
|
|
99
|
+
|
|
100
|
+
## What Vesper installs from this snapshot (Phase 2, once signed off)
|
|
101
|
+
|
|
102
|
+
When the opt-in gate is enabled, `vespercli init`/reinit will install, at the
|
|
103
|
+
**project** level:
|
|
104
|
+
|
|
105
|
+
- `.claude/skills/ponytail/SKILL.md` — this snapshot, verbatim (on-demand reference)
|
|
106
|
+
- `.claude/rules/ponytail.md` — a minimal always-on activation rule derived from
|
|
107
|
+
it (derives from and does not exceed this snapshot)
|
|
108
|
+
- a marker-scoped `@import` in `CLAUDE.md` (`<!-- vesper:ponytail:start/end -->`)
|
|
109
|
+
|
|
110
|
+
## Re-vendoring (reviewed PR only)
|
|
111
|
+
|
|
112
|
+
To update this snapshot: fetch new upstream content at a new pinned SHA, re-run
|
|
113
|
+
the content review + exclusion confirmation above, update the SHA + retrieval
|
|
114
|
+
date + reviewer + sign-off here, and land it as a reviewed pull request. There is
|
|
115
|
+
no automated path.
|