codewhale.history 2.9.0 → 2.9.1
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 +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,6 +117,20 @@ current project. Three modes across five difficulty levels:
|
|
|
117
117
|
**At the end** you get a session summary: rounds completed, mode, files covered,
|
|
118
118
|
what you're strong on, what to review, and a suggested next level.
|
|
119
119
|
|
|
120
|
+
### SOLID Mode
|
|
121
|
+
|
|
122
|
+
| Trigger | What happens |
|
|
123
|
+
|---------|-------------|
|
|
124
|
+
| `teach me solid` | SOLID mode at level 3, passive feedback |
|
|
125
|
+
| `teach me SOLID level 4` | Level 4, passive |
|
|
126
|
+
| `teach me solid interactive` | SOLID mode, you edit the file (not just describe) |
|
|
127
|
+
|
|
128
|
+
**How it works:** The model picks code, rewrites it with deliberate anti-patterns
|
|
129
|
+
(STUPID, WET, god objects, tight coupling), presents the degraded code, and you
|
|
130
|
+
restore good design. The model assesses across anti-patterns fixed, design
|
|
131
|
+
quality, functional correctness, and intentionality. Files are always restored
|
|
132
|
+
with `git checkout` after each round.
|
|
133
|
+
|
|
120
134
|
## Requirements
|
|
121
135
|
- Node.js (for the `codewhale-history` command)
|
|
122
136
|
- [CodeWhale](https://codewhale.net/en/docs)
|
package/package.json
CHANGED