@only1btayy/g2w 1.0.18 → 1.0.20
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 +19 -0
- package/package.json +1 -1
- package/skills/back2it.md +2 -0
- package/skills/bring2life.md +56 -1
- package/skills/build2gether.md +78 -9
- package/skills/ready2save.md +2 -0
- package/skills/the-challenger.md +2 -0
- package/skills/the-visionary.md +2 -0
package/README.md
CHANGED
|
@@ -71,6 +71,25 @@ You start a conversation. You describe your vision. G2W listens, asks smart ques
|
|
|
71
71
|
|
|
72
72
|
No separate phases. No repeating yourself. Just a conversation that ends with something ready to build.
|
|
73
73
|
|
|
74
|
+
Research isn't just a web search. G2W uses Context7 for live library docs, Exa for semantic search across similar projects, Firecrawl to crawl repos and docs sites, and Repomix to pack reference codebases so The Visionary can read how a production-quality version of what you're building actually works. Everything saves to `RESEARCH.md` and persists — future sessions don't re-run research from scratch.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### Power-Ups
|
|
79
|
+
|
|
80
|
+
G2W works out of the box. These optional tools make it stronger:
|
|
81
|
+
|
|
82
|
+
| Tool | What It Adds |
|
|
83
|
+
|---|---|
|
|
84
|
+
| [Repomix](https://github.com/yamadashy/repomix) | Packs entire codebases into one AI-optimized file — `bring2life` and research use this |
|
|
85
|
+
| [Context7](https://context7.com) | Live library docs pulled into research — no stale training data |
|
|
86
|
+
| [Exa](https://exa.ai) | Semantic search for similar projects and best practices |
|
|
87
|
+
| [Firecrawl](https://firecrawl.dev) | Deep crawling of repos and docs sites during research |
|
|
88
|
+
| [MemPalace](https://github.com/milla-jovovich/mempalace) | Persistent memory across sessions — decisions survive context clears |
|
|
89
|
+
| [Superpowers](https://github.com/supermemoryai/superpowers-claude) | Enhanced planning and review capabilities for Claude users |
|
|
90
|
+
|
|
91
|
+
Install what you want. G2W uses what's available and falls back gracefully when something isn't there.
|
|
92
|
+
|
|
74
93
|
---
|
|
75
94
|
|
|
76
95
|
### The Foundation
|
package/package.json
CHANGED
package/skills/back2it.md
CHANGED
|
@@ -15,6 +15,8 @@ You are resuming a G2W session. Get back up to speed fast. No fluff.
|
|
|
15
15
|
- If an active project is set → read `~/.g2w/projects/[active-project]/CURRENT.md`
|
|
16
16
|
- If no active project is set → list all folders in `~/.g2w/projects/`. If more than one, show them and ask which to resume. If only one, use it and set it as active. If none, say so and prompt the user to run `/g2w:bring2life` on their project first.
|
|
17
17
|
|
|
18
|
+
2b. **Query MemPalace (if installed):** Run `/3.0.12:search [active-project-name]` to surface relevant memories about this project — past decisions, known gotchas, context that didn't fit in the doc. Use what comes back to enrich the session summary. If MemPalace isn't installed, skip this step silently.
|
|
19
|
+
|
|
18
20
|
3. **Read one supporting doc** from `~/.g2w/projects/[active-project]/` based on what's In Progress:
|
|
19
21
|
- If In Progress involves code structure or a new feature → read `ARCHITECTURE.md`
|
|
20
22
|
- If In Progress involves a bug or error → read `ERRORS.md`
|
package/skills/bring2life.md
CHANGED
|
@@ -7,7 +7,62 @@ description: Onboard an existing codebase into G2W — scan what's there, genera
|
|
|
7
7
|
|
|
8
8
|
You are reverse-engineering a G2W doc system from an existing codebase. This is the killer feature for developers with messy, undocumented projects. By the end, they have a full G2W doc set that reflects reality — not wishful thinking.
|
|
9
9
|
|
|
10
|
-
## Phase
|
|
10
|
+
## Phase 0 — Pack with Repomix (if available)
|
|
11
|
+
|
|
12
|
+
Before scanning files manually, check if repomix is installed:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
repomix --version
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
**If repomix is installed:**
|
|
19
|
+
1. Determine the project name from the folder name or package.json.
|
|
20
|
+
2. Ensure the output directory exists: `~/.g2w/projects/[project-name]/`
|
|
21
|
+
3. Run: `repomix [absolute-project-path] --output ~/.g2w/projects/[project-name]/repomix.txt`
|
|
22
|
+
4. Read `~/.g2w/projects/[project-name]/repomix.txt` — this is your complete codebase source.
|
|
23
|
+
5. Skip Phase 1 — repomix has covered it. Proceed directly to Phase 2.
|
|
24
|
+
|
|
25
|
+
The repomix.txt file is kept after bring2life completes. The Foundation (Visionary) can read it on future runs without re-packing.
|
|
26
|
+
|
|
27
|
+
**If repomix is not installed:**
|
|
28
|
+
Print one line: `Repomix not found — falling back to manual scan. (Install with: npm install -g repomix)`
|
|
29
|
+
Then proceed with Phase 1 below.
|
|
30
|
+
|
|
31
|
+
## Phase 0b — Research (run in background while scanning)
|
|
32
|
+
|
|
33
|
+
While generating docs, spin background research agents to understand the ecosystem this project lives in. Save findings to `~/.g2w/projects/[project-name]/RESEARCH.md`.
|
|
34
|
+
|
|
35
|
+
Use every available tool:
|
|
36
|
+
- **Context7** (`mcp__context7__*`) — pull live docs for the frameworks and libraries detected in the codebase
|
|
37
|
+
- **Exa** (`mcp__exa__*`) — find similar projects, best practices, known pitfalls for this tech stack
|
|
38
|
+
- **Firecrawl** (`mcp__firecrawl__*`) — crawl the project's own docs site if one exists, plus relevant framework docs
|
|
39
|
+
- **Repomix on reference repos** — find a well-built similar project, clone it, run repomix on it, read the output to understand how a production version is structured
|
|
40
|
+
- **WebSearch / WebFetch** — base fallback
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
# Research — [project-name]
|
|
44
|
+
Generated: [date]
|
|
45
|
+
|
|
46
|
+
## Ecosystem Overview
|
|
47
|
+
[What exists, what's standard in this space]
|
|
48
|
+
|
|
49
|
+
## Reference Projects
|
|
50
|
+
[Similar repos studied + key architectural takeaways]
|
|
51
|
+
|
|
52
|
+
## Library Docs
|
|
53
|
+
[Key APIs and current versions from Context7]
|
|
54
|
+
|
|
55
|
+
## Best Practices
|
|
56
|
+
[What the field agrees on for this type of project]
|
|
57
|
+
|
|
58
|
+
## Risks & Pitfalls
|
|
59
|
+
[Common failure modes for this stack]
|
|
60
|
+
|
|
61
|
+
## Technology Decisions
|
|
62
|
+
[Why this stack — what alternatives exist and why this was chosen]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Phase 1 — Silent Scan (fallback if repomix not available)
|
|
11
66
|
|
|
12
67
|
Read the codebase. Do not ask any questions yet. Your job right now is to understand what's actually there.
|
|
13
68
|
|
package/skills/build2gether.md
CHANGED
|
@@ -7,12 +7,50 @@ description: Start a new project or feature — structured discussion, silent ba
|
|
|
7
7
|
|
|
8
8
|
You are starting something new. This is the full intake flow: clarify vision → research in background → write plan → lock it. By the time this is done, there is nothing left to figure out before building.
|
|
9
9
|
|
|
10
|
-
## Phase 0 —
|
|
10
|
+
## Phase 0 — Identity
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
**First question only:**
|
|
13
|
+
> "What are we building today?"
|
|
14
|
+
|
|
15
|
+
Listen to their answer. If they say "plugin" without specifying the type, ask: "FX plugin or instrument (VST)?" — this changes which identities get generated.
|
|
16
|
+
|
|
17
|
+
**Generate 3 identity cards** dynamically based on what they described. Each card needs:
|
|
18
|
+
- Name (2-3 words, punchy)
|
|
19
|
+
- Tagline (all caps, 2-4 words — the lens they see the build through)
|
|
20
|
+
- Icon (single emoji)
|
|
21
|
+
- Quote (1-2 sentences in first person — how this identity thinks about the project)
|
|
22
|
+
- Vibe tags (3-4 words, all caps)
|
|
23
|
+
- Inspired by (2-3 real companies that live in this world)
|
|
24
|
+
|
|
25
|
+
**Write the identity picker to `~/.g2w/identity-picker.html`** using the visual format from the G2W identity-demo.html template — dark glass cards, accent colors per card (orange / purple / cyan), hover glow, click-to-lock. Replace the placeholder cards with the 3 generated identities. Set the project name in the `.project-pill`.
|
|
26
|
+
|
|
27
|
+
Tell the user:
|
|
28
|
+
> "Open this to pick your identity: `~/.g2w/identity-picker.html`"
|
|
29
|
+
> "Type 1, 2, or 3 — or describe the kind of builder you want."
|
|
30
|
+
|
|
31
|
+
Wait for their choice. Once they pick:
|
|
32
|
+
- Announce: "Identity locked: [Name] — [Tagline]"
|
|
33
|
+
- Adopt that persona for the entire session — how you frame problems, what you prioritize, how you think out loud
|
|
34
|
+
|
|
35
|
+
**Then continue with Phase 0b below.**
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Phase 0b — Brainstorm (optional)
|
|
40
|
+
|
|
41
|
+
After identity is locked, ask one question:
|
|
42
|
+
> "Do you have a clear picture of what you want, or do you want to think it through first?"
|
|
43
|
+
|
|
44
|
+
**If they need to brainstorm:** Give them space. Let them think out loud, explore directions, change their mind. Ask open questions. No structure yet — just listen and help them get to clarity. Stay in this phase until they have a clear vision.
|
|
45
|
+
|
|
46
|
+
**If they already know what they want:** Skip this phase entirely. Go straight to Phase 0c.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Phase 0c — Requirements Clarification
|
|
51
|
+
|
|
52
|
+
Ask these questions **conversationally** — 1-2 at a time, listen, follow up.
|
|
13
53
|
|
|
14
|
-
Core questions to cover:
|
|
15
|
-
- What are we building? Describe it like you're explaining to a smart friend.
|
|
16
54
|
- What does "done" look like? What's the first thing you'll do to test it?
|
|
17
55
|
- What are the hard constraints? (platform, tech stack, deadlines, budget)
|
|
18
56
|
- What could go wrong? Walk me through the failure cases you're already worried about.
|
|
@@ -23,12 +61,43 @@ Do not move to planning until you can answer all of these confidently. If an ans
|
|
|
23
61
|
|
|
24
62
|
## Phase 1 — Silent Research (while talking)
|
|
25
63
|
|
|
26
|
-
While the conversation is happening, spin background research agents
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
64
|
+
While the conversation is happening, spin background research agents. Research is invisible — the user never feels it. Use every available tool:
|
|
65
|
+
|
|
66
|
+
**Context7** (`mcp__context7__*`) — pull live library docs for the stack they're using. Don't rely on training data for framework APIs — fetch the current docs.
|
|
67
|
+
|
|
68
|
+
**Exa** (`mcp__exa__*`) — semantic search for similar projects, best practices, and known pitfalls in this tech area. Find how others have solved this problem.
|
|
69
|
+
|
|
70
|
+
**Firecrawl** (`mcp__firecrawl__*`) — crawl relevant docs sites and GitHub repos deeply. Pull examples, patterns, and gotchas.
|
|
71
|
+
|
|
72
|
+
**Repomix on reference repos** — find a well-built similar project (from Exa results), clone it, run `repomix [path]`, read the packed output. This is how you learn how a production-quality version of what we're building actually works.
|
|
73
|
+
|
|
74
|
+
**WebSearch / WebFetch** — base fallback if the above aren't installed.
|
|
75
|
+
|
|
76
|
+
**Save all findings to `~/.g2w/projects/[project-name]/RESEARCH.md`:**
|
|
77
|
+
```
|
|
78
|
+
# Research — [project-name]
|
|
79
|
+
Generated: [date]
|
|
80
|
+
|
|
81
|
+
## Ecosystem Overview
|
|
82
|
+
[What exists, what's standard, what to avoid]
|
|
83
|
+
|
|
84
|
+
## Reference Projects
|
|
85
|
+
[Repos studied via Repomix + key takeaways]
|
|
86
|
+
|
|
87
|
+
## Library Docs
|
|
88
|
+
[Key APIs, current versions, gotchas from Context7]
|
|
89
|
+
|
|
90
|
+
## Best Practices
|
|
91
|
+
[What the field agrees on for this type of build]
|
|
92
|
+
|
|
93
|
+
## Risks & Pitfalls
|
|
94
|
+
[What commonly goes wrong, what we're watching for]
|
|
95
|
+
|
|
96
|
+
## Technology Decisions
|
|
97
|
+
[What we're using and why — not just what, the WHY]
|
|
98
|
+
```
|
|
30
99
|
|
|
31
|
-
Research
|
|
100
|
+
Research saves to RESEARCH.md and persists. Future sessions can read it without re-running research.
|
|
32
101
|
|
|
33
102
|
## Phase 2 — Planning
|
|
34
103
|
|
package/skills/ready2save.md
CHANGED
|
@@ -34,6 +34,8 @@ You are closing out this session. Leave the project in a state where any future
|
|
|
34
34
|
- Any gotchas or "don't do this again" lessons
|
|
35
35
|
- What to read first next session
|
|
36
36
|
|
|
37
|
+
4b. **Mine into MemPalace (if installed):** Run `/3.0.12:mine` on `~/.g2w/projects/[active-project]/CURRENT.md` to index this session's decisions into MemPalace. This makes them searchable across future sessions even after context clears. If MemPalace isn't installed, skip this step silently.
|
|
38
|
+
|
|
37
39
|
5. **Commit** everything that was verified this session:
|
|
38
40
|
```
|
|
39
41
|
type: short summary
|
package/skills/the-challenger.md
CHANGED
|
@@ -42,6 +42,8 @@ Attack every dimension:
|
|
|
42
42
|
|
|
43
43
|
1. **Read `PLAN.md`** from `~/.g2w/projects/[active-project]/`
|
|
44
44
|
|
|
45
|
+
1b. **Invoke Superpowers (Claude users only):** If `superpowers:requesting-code-review` is available, invoke it now to sharpen adversarial analysis before reading the plan. If not available, proceed with native capabilities.
|
|
46
|
+
|
|
45
47
|
2. **Read the actual codebase** — don't review a plan in a vacuum. Check that file paths exist, that functions referenced exist, that data structures match reality.
|
|
46
48
|
|
|
47
49
|
3. **Output a numbered findings list** — every gap, assumption, missing case. No softening. No "minor nits."
|
package/skills/the-visionary.md
CHANGED
|
@@ -37,6 +37,8 @@ Every decision made. Nothing left to the Builder's judgment:
|
|
|
37
37
|
|
|
38
38
|
2. **Resolve every ambiguity upfront** — if you can't determine something from the docs alone, ask the user NOW. Do not leave it as a question in the plan.
|
|
39
39
|
|
|
40
|
+
2b. **Invoke Superpowers (Claude users only):** If `superpowers:writing-plans` is available, invoke it now before writing the plan — it enhances structured thinking and plan completeness. If not available, proceed with native capabilities.
|
|
41
|
+
|
|
40
42
|
3. **Write the plan to `~/.g2w/projects/[active-project]/PLAN.md`**:
|
|
41
43
|
- Task in one sentence
|
|
42
44
|
- Files to create (with full paths)
|