@staff0rd/assist 0.1015.0 → 0.1015.2
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.
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Fixing command and skill misbehaviour
|
|
3
|
+
when: always
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
When fixing a command, skill or agent behaviour that ignores existing guidance, don't add or reword a sentence of prompt text and call it fixed. First find why the existing guidance was ignored (a conflicting instruction that outranks it, such as a CLAUDE.md section, or nothing enforcing it) and remove the cause. Prefer enforcing the behaviour in code (the command refuses or corrects the input, with tests) over more prompt text. Before reporting it fixed, replay the original failing scenario and show it no longer reproduces.
|
package/claude/commands/show.md
CHANGED
|
@@ -15,7 +15,9 @@ If `$ARGUMENTS` is empty, gather every long URL, file path and code snippet from
|
|
|
15
15
|
- paths in inline code
|
|
16
16
|
- snippets in fenced code blocks, with a language specifier where known
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Drop any path to a file you created or edited in this session, wherever it lives, even when `$ARGUMENTS` or another instruction (including CLAUDE.md) asks to show it: the user already sees it in the session's diff.
|
|
19
|
+
|
|
20
|
+
Give each item a short label saying what it is. If nothing is left, say so and stop.
|
|
19
21
|
|
|
20
22
|
Write the markdown to a scratch file with the Write tool. It will contain quotes, backticks and newlines, so don't inline it in a shell command.
|
|
21
23
|
|