codewhale.history 2.9.2 → 2.9.3
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 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,19 +126,10 @@ current project. Two independent dimensions across five difficulty levels:
|
|
|
126
126
|
**At the end** you get a session summary: rounds completed, mode, files covered,
|
|
127
127
|
what you're strong on, what to review, and a suggested next level.
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
| Trigger | What happens |
|
|
132
|
-
|---------|-------------|
|
|
133
|
-
| `teach me solid` | SOLID mode at level 3, passive feedback |
|
|
134
|
-
| `teach me SOLID level 4` | Level 4, passive |
|
|
135
|
-
| `teach me solid interactive` | SOLID mode, you edit the file (not just describe) |
|
|
136
|
-
|
|
137
|
-
**How it works:** The model picks code, rewrites it with deliberate anti-patterns
|
|
129
|
+
In **SOLID theme**: the model rewrites code with deliberate anti-patterns
|
|
138
130
|
(STUPID, WET, god objects, tight coupling), presents the degraded code, and you
|
|
139
|
-
restore good design.
|
|
140
|
-
|
|
141
|
-
with `git checkout` after each round.
|
|
131
|
+
restore good design. Files are always restored with `git checkout` after each
|
|
132
|
+
round.
|
|
142
133
|
|
|
143
134
|
## Requirements
|
|
144
135
|
- Node.js (for the `codewhale-history` command)
|
package/package.json
CHANGED