Skip to content

Commit e3bf110

Browse files
committed
Strengthen skill delegation in all 11 delegating commands
Replace weak "Invoke the groundwork:X skill" instruction with CRITICAL INSTRUCTION block that requires Skill tool call as the first action. Also add Skill to allowed-tools where it was missing.
1 parent 8aad70e commit e3bf110

11 files changed

Lines changed: 53 additions & 20 deletions

commands/build-unplanned.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Task", "Skill"
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:build-unplanned-feature skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:build-unplanned-feature")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/check-specs-alignment.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:check-specs-alignment
33
description: Verify alignment between code and specs. Usage /groundwork:check-specs-alignment
44
argument-hint: "[alignment-context]"
5-
allowed-tools: ["Read", "Glob", "Grep", "Task"]
5+
allowed-tools: ["Read", "Glob", "Grep", "Task", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:check-alignment skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:check-alignment")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/create-tasks.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:create-tasks
33
description: Generate implementation tasks from architecture document. Usage /groundwork:create-tasks
44
argument-hint: "[filter]"
5-
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task"]
5+
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:tasks skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:tasks")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/design-architecture.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:design-architecture
33
description: Create architecture design document with decisions and tradeoffs. Usage /groundwork:design-architecture
44
argument-hint: "[feature-name]"
5-
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Task"]
5+
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Task", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:architecture skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:architecture")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/design-product.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:design-product
33
description: Create detailed product requirements document (PRD) for a feature. Usage /groundwork:design-product
44
argument-hint: "[product-name]"
5-
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task"]
5+
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:product-design skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:product-design")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/source-architecture-from-code.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:source-architecture-from-code
33
description: Synchronize architecture document with codebase changes. Usage /groundwork:source-architecture-from-code
44
argument-hint: "[files...]"
5-
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep"]
5+
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:sync-architecture skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:sync-architecture")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/source-product-specs-from-code.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:source-product-specs-from-code
33
description: Synchronize PRD with implemented codebase changes. Usage /groundwork:source-product-specs-from-code
44
argument-hint: "[files...]"
5-
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep"]
5+
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:sync-specs skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:sync-specs")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/source-ux-design-from-code.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:source-ux-design-from-code
33
description: Synchronize design system document with codebase changes. Usage /groundwork:source-ux-design-from-code
44
argument-hint: "[files...]"
5-
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep"]
5+
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:sync-design-system skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:sync-design-system")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/ux-design.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
name: groundwork:ux-design
33
description: Create design system with foundations, brand identity, and UX patterns. Usage /groundwork:ux-design
44
argument-hint: "[product-name]"
5-
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task"]
5+
allowed-tools: ["Read", "Edit", "Write", "Glob", "Grep", "Task", "Skill"]
66
disable-model-invocation: true
77
---
88

9-
Invoke the groundwork:design-system skill and follow it exactly as presented to you
9+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
10+
Skill(skill="groundwork:design-system")
11+
12+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

commands/work-on-next-task.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
name: groundwork:work-on-next-task
33
description: Execute next uncompleted task with full project context (PRD, architecture, tasks). Usage /groundwork:work-on-next-task
4-
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Task"]
4+
allowed-tools: ["Read", "Edit", "Write", "Bash", "Glob", "Grep", "Task", "Skill"]
55
disable-model-invocation: true
66
---
77

8-
Invoke the groundwork:next-task skill and follow it exactly as presented to you
8+
CRITICAL INSTRUCTION: Before doing ANYTHING else, you MUST call the Skill tool with:
9+
Skill(skill="groundwork:next-task")
10+
11+
Do NOT read files, explore code, or generate any response before invoking this skill. The skill contains your complete workflow and you must follow it exactly as presented to you.

0 commit comments

Comments
 (0)