diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-06 21:59:52 -0500 |
| commit | 5710b7865549b923467f5e4b1056e040273fc6aa (patch) | |
| tree | 33a87e2f8a21c2d2d24434340c100f70a895c757 /.claude/commands/prompt-engineering.md | |
| parent | aa77f41ff803304c2bc6f224185e1247088a873e (diff) | |
| download | rulesets-5710b7865549b923467f5e4b1056e040273fc6aa.tar.gz rulesets-5710b7865549b923467f5e4b1056e040273fc6aa.zip | |
chore(commands): mark user-invoked commands disable-model-invocation
Add disable-model-invocation: true to the user-triggered slash commands so the harness drops their descriptions from the model's preloaded skill listing while keeping /<name> routing intact. Skills meant for model recommendation (add-tests, debug, five-whys, frontend-design, humanizer, pairwise-tests, playwright-js, playwright-py, root-cause-trace) are unchanged.
Diffstat (limited to '.claude/commands/prompt-engineering.md')
| -rw-r--r-- | .claude/commands/prompt-engineering.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.claude/commands/prompt-engineering.md b/.claude/commands/prompt-engineering.md index f2c240a..8e03367 100644 --- a/.claude/commands/prompt-engineering.md +++ b/.claude/commands/prompt-engineering.md @@ -1,5 +1,6 @@ --- description: Craft prompts (commands, hooks, skill descriptions, sub-agent instructions, system prompts, one-shot requests to other LLMs) that do what they're meant to and resist common failure modes. Covers four moves that determine whether a prompt holds up: classify the prompt type (discipline-enforcing / guidance / collaborative / reference) to pick the right tone and techniques; apply the persuasion framework appropriate to that type (seven principles from Meincke et al. 2025, including which to avoid — notably Liking, which breeds sycophancy); match task fragility to degrees of freedom (high/medium/low); and spend the context window like a shared resource. Also contains a brief reference for classical techniques (few-shot, chain-of-thought, system prompts, templates). Use both in design mode (asking for help writing a new prompt from scratch) and critique mode (paste a draft, get it rewritten to resist common failure modes). Do NOT use for prose editing unrelated to LLM prompts (use a writing skill), for implementing application code that uses an LLM (different scope), or for content moderation / prompt-injection defense (adjacent but separate domain). +disable-model-invocation: true --- # Prompt Engineering |
