@only1btayy/g2w 1.0.10 → 1.0.12
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 +1 -5
- package/lib/install.js +5 -3
- package/package.json +1 -1
- package/skills/build2gether.md +1 -1
package/README.md
CHANGED
|
@@ -24,11 +24,7 @@ This is not a workflow system. Not a task runner. This is a protocol for buildin
|
|
|
24
24
|
---
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install -g @only1btayy/g2w
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
✅ G2W installed at ~/.claude/ — 9 skills + hooks ready.
|
|
27
|
+
npm install -g @only1btayy/g2w && g2w
|
|
32
28
|
```
|
|
33
29
|
|
|
34
30
|
**Works on Mac, Windows, and Linux.**
|
package/lib/install.js
CHANGED
|
@@ -4,14 +4,16 @@ const os = require('os');
|
|
|
4
4
|
const { LOGO } = require('./logo');
|
|
5
5
|
|
|
6
6
|
function writeTTY(text) {
|
|
7
|
+
// Plain stderr first — npm shows this reliably
|
|
8
|
+
const plain = text.replace(/\x1b\[[0-9;]*m/g, '');
|
|
9
|
+
process.stderr.write(plain);
|
|
10
|
+
// Then try CONOUT$ for the colored version
|
|
7
11
|
try {
|
|
8
12
|
const devName = process.platform === 'win32' ? 'CONOUT$' : '/dev/tty';
|
|
9
13
|
const fd = fs.openSync(devName, 'w');
|
|
10
14
|
fs.writeSync(fd, text);
|
|
11
15
|
fs.closeSync(fd);
|
|
12
|
-
} catch {
|
|
13
|
-
process.stderr.write(text);
|
|
14
|
-
}
|
|
16
|
+
} catch {}
|
|
15
17
|
}
|
|
16
18
|
const SKILLS_SRC = path.join(__dirname, '../skills');
|
|
17
19
|
|
package/package.json
CHANGED
package/skills/build2gether.md
CHANGED
|
@@ -37,7 +37,7 @@ Once requirements are locked and research is complete:
|
|
|
37
37
|
**Planner Agent** writes a complete plan:
|
|
38
38
|
- No placeholders. Actual code, actual file names, actual decisions.
|
|
39
39
|
- Declares exactly which files will be created or modified — nothing undeclared
|
|
40
|
-
- Writes a
|
|
40
|
+
- Writes a definition of done tied to the user's actual environment — not "it compiled." Specific steps: what build to run, what to open, what to click, what the exact expected result is. If you can't describe how to verify it in the user's setup, the definition of done is not done.
|
|
41
41
|
- Estimates scope honestly: small / medium / large
|
|
42
42
|
|
|
43
43
|
**Reviewer Agent** does an adversarial pass:
|