@skyf0xx/hedgehog 3.0.4 → 3.0.6
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 +43 -11
- package/bin/cli.mjs +344 -72
- package/package.json +6 -2
- package/src/db/graph-server.mjs +91 -0
- package/src/db/graph.mjs +89 -0
- package/src/golden-cores/full-stack-app/gitignore.template +1 -0
- package/src/golden-cores/landing-page/gitignore.template +1 -0
- package/src/hosts/capabilities.mjs +89 -0
- package/src/hosts/claude/DISPATCH.md +9 -0
- package/src/hosts/cursor/DISPATCH.md +16 -0
- package/src/hosts/cursor/hedgehog.mdc +20 -0
- package/src/hosts/emit.mjs +23 -0
- package/src/hosts/frontmatter.mjs +48 -0
- package/src/hosts/gemini/DISPATCH.md +27 -0
- package/src/hosts/gemini/gemini-extension.json +6 -0
- package/src/hosts/index.mjs +124 -0
- package/src/hosts/installed.mjs +58 -0
- package/src/hosts/routing.mjs +144 -0
- package/src/skills/hedgehog-bootstrap-full-stack-app-core/SKILL.md +2 -2
- package/src/skills/hedgehog-bootstrap-landing-page-core/SKILL.md +2 -2
- package/src/templates/CLAUDE.md +6 -4
- package/src/templates/graph.html +362 -0
package/README.md
CHANGED
|
@@ -88,21 +88,20 @@ Artifact
|
|
|
88
88
|
|
|
89
89
|
### Anything else
|
|
90
90
|
|
|
91
|
-
A CLI, a library, a browser extension, a data pipeline,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
`init` with no core flag: planning intake names the system shape, picks
|
|
91
|
+
A CLI, a library, a browser extension, a data pipeline, etc. fitting neither shape gets its own build order, designed at intake rather than chosen from a menu.
|
|
92
|
+
|
|
93
|
+
Run `init` with no core flag: planning intake names the system shape, picks
|
|
95
94
|
the stack, derives the layers, and locks them to `.hedgehog/core.yaml`,
|
|
96
95
|
then generates that workspace and builds it one verified layer at a time.
|
|
97
96
|
|
|
98
|
-
The
|
|
99
|
-
scoped file access
|
|
97
|
+
The enforcement remains the same: ordered steps,
|
|
98
|
+
scoped file access and a verification command per layer.
|
|
100
99
|
|
|
101
100
|

|
|
102
101
|
|
|
103
102
|
## Install
|
|
104
103
|
|
|
105
|
-
From an empty project folder,
|
|
104
|
+
From an empty project folder, run:
|
|
106
105
|
|
|
107
106
|
``` bash
|
|
108
107
|
# Full-stack app
|
|
@@ -115,7 +114,29 @@ npx @skyf0xx/hedgehog init --landing-page
|
|
|
115
114
|
npx @skyf0xx/hedgehog init
|
|
116
115
|
```
|
|
117
116
|
|
|
118
|
-
Then open
|
|
117
|
+
Then open your coding agent and describe what you want to build.
|
|
118
|
+
|
|
119
|
+
### Coding agents
|
|
120
|
+
|
|
121
|
+
Hedgehog installs for **Claude Code** by default. Add a host flag to
|
|
122
|
+
install for another one, or several at once:
|
|
123
|
+
|
|
124
|
+
``` bash
|
|
125
|
+
npx @skyf0xx/hedgehog init --cursor # Cursor
|
|
126
|
+
npx @skyf0xx/hedgehog init --gemini # Gemini CLI
|
|
127
|
+
npx @skyf0xx/hedgehog init --host=claude,cursor # both
|
|
128
|
+
npx @skyf0xx/hedgehog init --all-hosts # every supported agent
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Each one gets the discipline in its own native shape — agents and skills
|
|
132
|
+
in the directory it reads, and the instructions file it loads at session
|
|
133
|
+
start (`CLAUDE.md`, `HEDGEHOG.md`, or `GEMINI.md`).
|
|
134
|
+
|
|
135
|
+
Every install also writes **`AGENTS.md`** at the repo root: an index of
|
|
136
|
+
every agent and skill, when each applies, and the build loop. Coding
|
|
137
|
+
agents that read `AGENTS.md` — Codex, Copilot CLI, OpenCode, and others —
|
|
138
|
+
work from that index, following the same ordered steps and the same
|
|
139
|
+
`hedgehog verify` gate.
|
|
119
140
|
|
|
120
141
|
Plain `init` (no core flag) installs the agents, skills, and build graph
|
|
121
142
|
that every core shares. Planning intake designs an opinionated build
|
|
@@ -129,9 +150,20 @@ To update:
|
|
|
129
150
|
npx @skyf0xx/hedgehog update
|
|
130
151
|
```
|
|
131
152
|
|
|
132
|
-
This refreshes
|
|
133
|
-
|
|
134
|
-
|
|
153
|
+
This refreshes the installed agents and skills — for every coding agent
|
|
154
|
+
the project was set up for — along with the `AGENTS.md` index derived
|
|
155
|
+
from them. It never touches the instructions file, the build graph, the
|
|
156
|
+
core workspace, or `skills/BMAD`, since those carry project-specific or
|
|
157
|
+
write-once content.
|
|
158
|
+
|
|
159
|
+
To see the build graph:
|
|
160
|
+
|
|
161
|
+
``` bash
|
|
162
|
+
npx @skyf0xx/hedgehog graph
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Starts a small local server and opens a live, read-only diagram of every
|
|
166
|
+
task, status and its dependencies.
|
|
135
167
|
|
|
136
168
|
## Why Hedgehog
|
|
137
169
|
|