|
1 | 1 | --- |
2 | | -description: When a workflow issue is identified in a command or skill, fix the command/skill definition first before fixing the downstream misbehavior. |
| 2 | +description: When a workflow issue is identified in a skill, fix the skill definition first before fixing the downstream misbehavior. |
3 | 3 | alwaysApply: false |
4 | 4 | --- |
5 | 5 |
|
6 | 6 | <goal>Ensure workflow definitions are fixed at the source before any workarounds are applied.</goal> |
7 | 7 |
|
8 | 8 | <rules description="Non-negotiable constraints."> |
9 | | -<rule id="absolute-priority">Fixing the command/skill takes **absolute priority** over all other actions — including workarounds, continuing the original task, or applying temporary fixes.</rule> |
10 | | -<rule id="no-workarounds-first">Do NOT apply workarounds or manual fixes before proposing the command/skill update. The correct sequence is: identify gap → propose fix → get approval → apply fix → then resume original task.</rule> |
11 | | -<rule id="use-author">Always use `/author` to fix commands and skills. It contains current best practices and the mandatory revision checklist.</rule> |
| 9 | +<rule id="absolute-priority">Fixing the skill takes **absolute priority** over all other actions — including workarounds, continuing the original task, or applying temporary fixes.</rule> |
| 10 | +<rule id="no-workarounds-first">Do NOT apply workarounds or manual fixes before proposing the skill update. The correct sequence is: identify gap → propose fix → get approval → apply fix → then resume original task.</rule> |
| 11 | +<rule id="use-author">Always use `/author` to fix skills. It contains current best practices and the mandatory revision checklist.</rule> |
12 | 12 | </rules> |
13 | 13 |
|
14 | 14 | <sequence name="When a workflow gap is discovered"> |
15 | 15 | 1. **Stop immediately** — do not continue the current task or apply any workaround. |
16 | | -2. **Identify the root cause** in the command (`.cursor/commands/*.md`) or skill (`.cursor/skills/*/SKILL.md`) definition. |
| 16 | +2. **Identify the root cause** in the skill (`.cursor/skills/*/SKILL.md`) definition. |
17 | 17 | 3. **Propose the fix** to the user and wait for approval before proceeding. |
18 | | -4. **Fix the command/skill** using `/author` after approval. |
19 | | -5. **Resume the original task** only after the command/skill is updated. |
| 18 | +4. **Fix the skill** using `/author` after approval. |
| 19 | +5. **Resume the original task** only after the skill is updated. |
20 | 20 | </sequence> |
21 | 21 |
|
22 | | -<scope>This applies to all workflow issues — missed steps, incorrect output, wrong tool usage, shell failures, formatting problems, etc. The command/skill is the source of truth; patching around it creates drift.</scope> |
| 22 | +<scope>This applies to all workflow issues — missed steps, incorrect output, wrong tool usage, shell failures, formatting problems, etc. The skill is the source of truth; patching around it creates drift.</scope> |
0 commit comments