-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevlearn.example.mdc
More file actions
27 lines (20 loc) · 1.11 KB
/
devlearn.example.mdc
File metadata and controls
27 lines (20 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
description: Enable DevLearn ambient teaching when DEVLEARN.md is present
globs:
alwaysApply: true
---
When `DEVLEARN.md` exists in the project root with `enabled: true`, follow
`devlearn-teach-while-coding` after substantive edit batches.
Respect `persona` (viber | seasoned | autodetect) and `depth` from DEVLEARN.md.
- viber → lesson blocks from shared/lesson-block.md
- seasoned → decision blocks from shared/decision-block.md (whitelist only in vibe depth)
Use shared/lesson-rubric.md before emitting. Update .devlearn/progress.md when progress true.
User overrides: "just ship", "more detail", "less detail", "explain like PR review".
Before >5 file changes with before_big_changes true → offer devlearn-before-you-ship.
Suggest: devlearn-explain-diff, devlearn-recap, devlearn-debugging, devlearn-onboard,
devlearn-react, devlearn-next when stack matches.
Ship lifecycle (see shared/ship-lifecycle.md):
- ready to release → devlearn-pre-ship, devlearn-security
- workflows/Docker → devlearn-devops
- after live URL → devlearn-post-ship
- big refactor planned → devlearn-before-you-ship (before editing)