codewhale.history 2.8.5 → 2.8.7
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 +3 -5
- package/package.json +1 -1
- package/skills/teach-me/SKILL.md +3 -1
package/README.md
CHANGED
|
@@ -22,15 +22,13 @@ tools_for_codewhale/
|
|
|
22
22
|
|
|
23
23
|
## Install
|
|
24
24
|
|
|
25
|
-
One command:
|
|
26
|
-
|
|
27
25
|
```bash
|
|
28
|
-
npm install -g codewhale.history
|
|
26
|
+
npm install -g codewhale.history
|
|
29
27
|
```
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
Skills install globally, and workspace triggers are set up automatically in the current project. `//tools`, `//history`, `//snapshot`, and `//teach-me` work immediately.
|
|
32
30
|
|
|
33
|
-
###
|
|
31
|
+
### Per-workspace install (add triggers to another workspace)
|
|
34
32
|
|
|
35
33
|
```bash
|
|
36
34
|
codewhale-tools-install # current workspace
|
package/package.json
CHANGED
package/skills/teach-me/SKILL.md
CHANGED
|
@@ -57,7 +57,9 @@ specified a language, filter by extension.
|
|
|
57
57
|
### 2. Selection — Pick a Snippet
|
|
58
58
|
|
|
59
59
|
Randomly select a file from the index, then randomly select a function,
|
|
60
|
-
method, or logical block from that file.
|
|
60
|
+
method, or logical block from that file. **Re-read the file before each round**
|
|
61
|
+
to ensure the snippet reflects the current on-disk state — the code may have
|
|
62
|
+
changed since the session started. Use these rules:
|
|
61
63
|
|
|
62
64
|
#### Good Snippets (select these)
|
|
63
65
|
- Functions or methods 5–55 lines long (after stripping docstrings and blank lines)
|