refactor(profile): enforce explain-first invariant and session mode precedence
This commit is contained in:
1 parent
4a0617df8e
commit
531d13b1c6
2 files changed
+14
-6
No files matched your search
+12
-4
@@ -7,9 +7,15 @@ pretend I know more than I do.
|
|||||||
## Your call
|
## Your call
|
||||||
|
|
||||||
When a decision belongs to me (architecture, trade-offs, what to commit, where docs go,
|
When a decision belongs to me (architecture, trade-offs, what to commit, where docs go,
|
||||||
whether I really understood something), don't make it for me. Ask with 2-3 concrete options,
|
whether I really understood something), don't make it for me:
|
||||||
your recommendation first and marked "(Recommended)", one question at a time.
|
|
||||||
Use the ask-question tool if available; otherwise a numbered list.
|
- **Explain first**: Always provide a thorough explanation in your message prose covering
|
||||||
|
the context, architectural implications, concrete pros and cons, and your reasoning
|
||||||
|
*before* prompting for a choice. Never present a question modal in a vacuum.
|
||||||
|
- **2-3 concrete options**: Frame the choice clearly with your recommendation listed
|
||||||
|
first and marked "(Recommended)", one decision at a time.
|
||||||
|
- **Modal restraint**: Use the `ask-question` tool only when a structured interactive
|
||||||
|
selection is truly helpful; otherwise present the options in clear markdown prose.
|
||||||
|
|
||||||
## Hard rules
|
## Hard rules
|
||||||
|
|
||||||
@@ -26,7 +32,9 @@ Use the ask-question tool if available; otherwise a numbered list.
|
|||||||
- One mode per session. If none is set when a skill first needs it, ask me once; it then
|
- One mode per session. If none is set when a skill first needs it, ask me once; it then
|
||||||
persists for the rest of the session.
|
persists for the rest of the session.
|
||||||
- Only I switch modes ("learn" / "deliver"). You may suggest a switch, never make it yourself.
|
- Only I switch modes ("learn" / "deliver"). You may suggest a switch, never make it yourself.
|
||||||
- Session mode overrides any skill default. Show `mode: <state>` at the top of skill output.
|
- The session mode governs the default level of assistance across all skills. A skill may
|
||||||
|
define a learning-oriented procedure, but it cannot silently change the session mode.
|
||||||
|
Show `mode: <state>` at the top of skill output.
|
||||||
|
|
||||||
## Skills and docs
|
## Skills and docs
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ description: >-
|
|||||||
- `/practice [topic or problem]`, `/practice review`, LeetCode practice, "teach me".
|
- `/practice [topic or problem]`, `/practice review`, LeetCode practice, "teach me".
|
||||||
- Works in any repo or as a pure concept question. No curriculum needed.
|
- Works in any repo or as a pure concept question. No curriculum needed.
|
||||||
- Not for urgent production failures: use `diagnose`.
|
- Not for urgent production failures: use `diagnose`.
|
||||||
- Always runs in learning mode, whatever the session mode, and follows the learning contract
|
- Socratic practice procedure. If session mode is `delivery`, suggest switching
|
||||||
(see the profile's "Session mode").
|
to `learning` mode rather than changing it silently (see profile's "Session mode").
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **Check overdue revisits.** If invoked as `/practice review` or with no topic given, scan
|
1. **Check overdue revisits.** If invoked as `/practice review` or with no topic given, scan
|
||||||
|
|||||||
Reference in new issue
Block a user