v0.3.0: Fix slash commands — add 9 workflows for Antigravity IDE

- Fix workflow frontmatter: remove 'name:' field (Antigravity uses
  filename as command name), add numbered steps format
- Add 6 new workflows: /debug, /tdd, /review, /verify, /finish-branch,
  /worktree — now 9 slash commands total
- Add workflow frontmatter validation to validate command
- Update check-pack.mjs for new workflow files
- Bump version to 0.3.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 08:26:12 +07:00
parent f411f52515
commit 208358e5bb
13 changed files with 123 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
---
name: brainstorm
description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements and design before implementation."
description: Brainstorm ideas before any creative work - explore requirements and design before implementation
---
Invoke the `.agent/skills/brainstorming/SKILL.md` workflow and follow it exactly as presented to you.
1. Read the skill file at `.agent/skills/brainstorming/SKILL.md` using view_file
2. Follow the brainstorming workflow exactly as described in the skill
3. Explore the user's intent, requirements, and design constraints before proposing any implementation

View File

@@ -0,0 +1,7 @@
---
description: Systematically debug a bug, test failure, or unexpected behavior
---
1. Read the skill file at `.agent/skills/systematic-debugging/SKILL.md` using view_file
2. Follow the debugging workflow exactly as described in the skill
3. Trace root cause with evidence before proposing any fix

View File

@@ -1,6 +1,7 @@
---
name: execute-plan
description: Execute plan in single-flow mode
description: Execute an implementation plan step by step in single-flow mode
---
Invoke the `.agent/skills/executing-plans/SKILL.md` workflow and follow it exactly as presented to you.
1. Read the skill file at `.agent/skills/executing-plans/SKILL.md` using view_file
2. Follow the execution workflow exactly as described in the skill
3. Execute the plan tasks sequentially with review gates between steps

View File

@@ -0,0 +1,7 @@
---
description: Finish a development branch - merge, PR, or cleanup options
---
1. Read the skill file at `.agent/skills/finishing-a-development-branch/SKILL.md` using view_file
2. Follow the branch completion workflow exactly as described in the skill
3. Present structured options for merge, PR, or cleanup

View File

@@ -0,0 +1,7 @@
---
description: Request a structured code review with checklist verification
---
1. Read the skill file at `.agent/skills/requesting-code-review/SKILL.md` using view_file
2. Follow the code review workflow exactly as described in the skill
3. Verify work meets requirements using structured checklists

View File

@@ -0,0 +1,7 @@
---
description: Test-driven development - write tests first, then implement
---
1. Read the skill file at `.agent/skills/test-driven-development/SKILL.md` using view_file
2. Follow the TDD workflow exactly as described in the skill
3. Write failing tests first, then implement code to make them pass

View File

@@ -0,0 +1,7 @@
---
description: Verify work is complete - run checks and confirm output before claiming done
---
1. Read the skill file at `.agent/skills/verification-before-completion/SKILL.md` using view_file
2. Follow the verification workflow exactly as described in the skill
3. Run all verification commands and confirm output before making any success claims

View File

@@ -0,0 +1,7 @@
---
description: Create an isolated git worktree for feature work
---
1. Read the skill file at `.agent/skills/using-git-worktrees/SKILL.md` using view_file
2. Follow the worktree workflow exactly as described in the skill
3. Create isolated git worktree with smart directory selection and safety verification

View File

@@ -1,6 +1,7 @@
---
name: write-plan
description: Create detailed implementation plan with bite-sized tasks
description: Create a detailed implementation plan with bite-sized tasks before coding
---
Invoke the `.agent/skills/writing-plans/SKILL.md` workflow and follow it exactly as presented to you.
1. Read the skill file at `.agent/skills/writing-plans/SKILL.md` using view_file
2. Follow the planning workflow exactly as described in the skill
3. Produce a step-by-step plan with clear, testable tasks