Commit b0a2ebd
docs(skill): add on-invocation guard to socratic-code-theory-recovery
The skill described the methodology but did not tell the LLM what to do
the moment it is invoked. Result: invoking the slash command displayed
the SKILL.md content, and Claude defaulted to a meta-conversation about
the skill instead of starting Phase 1. The user has to know to either
add the bounded-context path to the invoking message or chase it with a
follow-up.
Add a four-step "On invocation" section at the top of SKILL.md:
1. Check whether the user already named a bounded context (path + name).
2. If not, ask one specific question for it — do not assume the current
working directory, because Phase 1 produces files and a wrong target
wastes work.
3. Run Phase 1 with the user's path.
4. Stop after Phase 1; Phase 2 needs team answers and must not run
silently in the same session.
The pre-commit hook mirrors this into the plugin bundle.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d9190c2 commit b0a2ebd
2 files changed
Lines changed: 28 additions & 0 deletions
Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
| |||
0 commit comments