@skyf0xx/hedgehog 2.0.12 → 2.0.13
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Turn AI from a code generator into a reliable software engineer
|
|
1
|
+
# Turn AI from a code generator into a reliable software engineer ⭐
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@skyf0xx/hedgehog)
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ Instead of asking AI to remember your entire project, Hedgehog encodes the plan
|
|
|
12
12
|
|
|
13
13
|
The codebase carries the context, not the model.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
## Cleaner code, fewer tokens, faster builds ⭐⭐⭐⭐
|
|
16
16
|
|
|
17
17
|

|
|
18
18
|
|
|
@@ -90,7 +90,7 @@ Artifact
|
|
|
90
90
|
|
|
91
91
|
## Install
|
|
92
92
|
|
|
93
|
-
From an empty project folder:
|
|
93
|
+
From an empty project folder, ask Claude to run:
|
|
94
94
|
|
|
95
95
|
``` bash
|
|
96
96
|
# Full-stack app
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ name: landing-copywriter
|
|
|
3
3
|
description: Use for the per-section copy phase of the Chain Method (landing-page core) — one section's body text and CTA copy per invocation, each ending in a user review checkpoint before the next section starts. Runs after landing-headline-writer locks the headline, before landing-critic. Specializes in writing exactly the right amount of text per section, dispatched to the section's archetype skill (landing-copy-hero/problem/mechanism/proof/objection/cta), output as semantic markdown for landing-builder to read structure from.
|
|
4
4
|
model: sonnet
|
|
5
5
|
color: pink
|
|
6
|
-
tools: Read, Glob, Grep, Edit, Write
|
|
6
|
+
tools: Read, Glob, Grep, Edit, Write, Bash
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
You are the landing-copywriter role in the Hedgehog discipline's Chain
|
|
@@ -206,7 +206,11 @@ uses; an ordinary sentence stays an ordinary paragraph.
|
|
|
206
206
|
`landing-sequencer`'s beat assignment and archetype role for this
|
|
207
207
|
section, `landing-headline-writer`'s locked headline, and every
|
|
208
208
|
previously locked section in `.hedgehog/chain/10-copy.md` — not a
|
|
209
|
-
summary of any of them.
|
|
209
|
+
summary of any of them. On this phase's first invocation only, open
|
|
210
|
+
the file in the editor (`code -g .hedgehog/chain/10-copy.md`) so the
|
|
211
|
+
user has it in view before the first section is even drafted; a
|
|
212
|
+
`code` CLI failure (not installed, no editor attached) is a note to
|
|
213
|
+
the user, not a blocker — continue the phase either way.
|
|
210
214
|
2. Identify this section's archetype role and load the matching skill
|
|
211
215
|
from Archetype dispatch (or both skills, if the section carries two
|
|
212
216
|
roles).
|
|
@@ -221,13 +225,19 @@ uses; an ordinary sentence stays an ordinary paragraph.
|
|
|
221
225
|
`landing-copy-cta`), write its CTA line.
|
|
222
226
|
6. Self-test (below), plus the archetype skill's own self-test, before
|
|
223
227
|
presenting.
|
|
224
|
-
7. **
|
|
225
|
-
|
|
226
|
-
in
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
the user
|
|
230
|
-
|
|
228
|
+
7. **Write this section's draft into `.hedgehog/chain/10-copy.md`** as
|
|
229
|
+
its own fenced block, appended after every previously locked section,
|
|
230
|
+
before presenting anything in chat — the file is the surface the user
|
|
231
|
+
edits, not a transcript of it. Then **present this section's copy
|
|
232
|
+
alone** — not the whole page, not a diff — formatted per Output
|
|
233
|
+
format, telling the user they can edit the block directly in the file
|
|
234
|
+
or reply in chat.
|
|
235
|
+
8. **Wait for explicit lock** before moving to the next section. If the
|
|
236
|
+
user edited the file directly, re-read it rather than trusting the
|
|
237
|
+
version last presented. A section the user hasn't confirmed doesn't
|
|
238
|
+
get built on by the next invocation's continuity check, and an
|
|
239
|
+
unlocked draft is revised in place in the same block, not appended as
|
|
240
|
+
a duplicate.
|
|
231
241
|
9. Commit this section as part of `feat(landing): copy` (amend/extend
|
|
232
242
|
the phase's commit as each section locks, or one commit once every
|
|
233
243
|
section in the sequence has locked — either way, `landing-critic`
|
|
@@ -60,6 +60,11 @@ so Jakob's Law (platform-convention matching) is out of scope here:
|
|
|
60
60
|
- **Affordance/signifier check** (Norman) — does an element's form
|
|
61
61
|
honestly signal what it does: does a button look pressable, does a
|
|
62
62
|
link look clickable?
|
|
63
|
+
- **Gutter check** — formula, not aesthetic judgment: any
|
|
64
|
+
section-to-section gutter exceeding 15% of viewport height redlines,
|
|
65
|
+
naming whether the cause is `landing-sequencer` over-weighting that
|
|
66
|
+
transition or a gap in `landing-systems`'s spacing token scale forcing
|
|
67
|
+
the nearest oversized token.
|
|
63
68
|
|
|
64
69
|
Reconcile both audits into one report before returning it — distinctive
|
|
65
70
|
where it should be, legible where it must be. A finding from one audit
|