@only1btayy/g2w 1.0.16 → 1.0.17
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/package.json +1 -1
- package/skills/back2it.md +4 -3
- package/skills/ready2save.md +10 -5
package/package.json
CHANGED
package/skills/back2it.md
CHANGED
|
@@ -10,10 +10,11 @@ You are resuming a G2W session. Get back up to speed fast. No fluff.
|
|
|
10
10
|
## Steps
|
|
11
11
|
|
|
12
12
|
1. **Find the active project** — Read `.g2w/CURRENT.md` in the `Claudes Brain` root (the top-level working directory).
|
|
13
|
-
- If it contains a line like `active: projects/[folder]`,
|
|
14
|
-
|
|
13
|
+
- If it contains a line like `active: projects/[folder]`, show the user:
|
|
14
|
+
> "Last active project: **[folder]** — is that the one you want to resume, or a different project?"
|
|
15
|
+
- If the root `.g2w/CURRENT.md` is missing or has no `active:` line, list all folders in `projects/` and ask:
|
|
15
16
|
> "No active project found. Which project were you working on?"
|
|
16
|
-
- Wait for the user
|
|
17
|
+
- Wait for the user to confirm before loading anything.
|
|
17
18
|
|
|
18
19
|
2. **Read one supporting doc** based on what's In Progress:
|
|
19
20
|
- If In Progress involves code structure or a new feature → read `.g2w/ARCHITECTURE.md`
|
package/skills/ready2save.md
CHANGED
|
@@ -16,7 +16,12 @@ You are closing out this session. Leave the project in a state where any future
|
|
|
16
16
|
|
|
17
17
|
Do NOT ask the user to recall this — you have the full conversation. Only ask if something is genuinely ambiguous.
|
|
18
18
|
|
|
19
|
-
2. **
|
|
19
|
+
2. **Confirm the active project** — List all folders inside `projects/` and ask:
|
|
20
|
+
> "Which project are we saving? (pick one)"
|
|
21
|
+
|
|
22
|
+
Wait for the user to confirm. Do not assume based on what was discussed — the user decides.
|
|
23
|
+
|
|
24
|
+
3. **Update `.g2w/CURRENT.md`** in the confirmed project folder with exactly three sections:
|
|
20
25
|
```
|
|
21
26
|
## Last Completed
|
|
22
27
|
[What was finished and verified this session — be specific]
|
|
@@ -30,17 +35,17 @@ You are closing out this session. Leave the project in a state where any future
|
|
|
30
35
|
|
|
31
36
|
Then write (or overwrite) `.g2w/CURRENT.md` in the **`Claudes Brain` root** with a single line:
|
|
32
37
|
```
|
|
33
|
-
active: projects/[
|
|
38
|
+
active: projects/[confirmed-project-folder-name]
|
|
34
39
|
```
|
|
35
40
|
This is the pointer `back2it` uses to find the right project next session.
|
|
36
41
|
|
|
37
|
-
|
|
42
|
+
4. **Write a handoff note** at the bottom of `.g2w/CURRENT.md` under `## Session Notes — [date]`:
|
|
38
43
|
- What was built
|
|
39
44
|
- Key decisions made AND the reasoning behind them (the WHY matters more than the WHAT)
|
|
40
45
|
- Any gotchas or "don't do this again" lessons
|
|
41
46
|
- What to read first next session
|
|
42
47
|
|
|
43
|
-
|
|
48
|
+
5. **Commit** everything that was verified this session:
|
|
44
49
|
```
|
|
45
50
|
type: short summary
|
|
46
51
|
|
|
@@ -51,7 +56,7 @@ You are closing out this session. Leave the project in a state where any future
|
|
|
51
56
|
|
|
52
57
|
Present the commit message to the user. Wait for approval before running.
|
|
53
58
|
|
|
54
|
-
|
|
59
|
+
6. **Announce:**
|
|
55
60
|
> "Saved. Context is clean. Next session, type `/g2w:back2it` to pick up right where we left off."
|
|
56
61
|
|
|
57
62
|
## Rules
|