Skip to content

Add workflow agent commands (claim, shelf, advance, next, team)#25

Closed
jmjava wants to merge 1 commit into
mainfrom
cursor/workflow-agent-commands-981e
Closed

Add workflow agent commands (claim, shelf, advance, next, team)#25
jmjava wants to merge 1 commit into
mainfrom
cursor/workflow-agent-commands-981e

Conversation

@jmjava

@jmjava jmjava commented Jul 15, 2026

Copy link
Copy Markdown
Owner

REASONS Canvas

Summary

The workflow CLI (sdlc.sh claim|shelf|advance|next|team) already works in the terminal, but users had to leave chat to manage Work ID state. This PR wires those operations into assistant slash commands across Cursor, Copilot, and Claude Code.

New commands (all three adapters):

Command Shell equivalent
/sdlc-claim <WORK-ID> sdlc.sh claim
/sdlc-shelf [reason] sdlc.sh shelf
/sdlc-advance [--to PHASE] sdlc.sh advance
/sdlc-next sdlc.sh next (alias for /sdlc-spdd-whereami)
/sdlc-team sdlc.sh team

Also updated:

  • Always-on grounding files document the workflow commands section
  • validate-command-adapters.sh validates workflow pack parity and grounding anchors
  • CI path filters broadened to sdlc-*.md / sdlc-*.prompt.md (covers both SPDD and workflow packs)
  • Adapter install regression tests extended (668 assertions, all green)

Delivery stage: make it right — usability/refactor of existing workflow CLI, no new capability.

Closes #23.

Test Plan

  • ./scripts/validate-command-adapters.sh — passes
  • ./tests/test-adapter-install.sh — 668 passed, 0 failed

Quality Gates

  • Tests updated
  • Canvas synced (N/A — issue-driven enhancement)
  • Review completed
Open in Web Open in Cursor 

Wire the existing sdlc.sh workflow CLI into Cursor, Copilot, and Claude
slash commands so users can manage Work ID state from chat without switching
to the terminal.

- Add sdlc-{claim,shelf,advance,next,team} templates for all three adapters
- Extend validate-command-adapters.sh with workflow pack checks
- Document workflow commands in always-on grounding files
- Broaden CI path filters to templates/cursor/sdlc-*.md (covers both packs)
- Extend adapter install regression tests

Closes #23

Co-authored-by: John Menke <jmjava@gmail.com>
cursor Bot pushed a commit that referenced this pull request Jul 15, 2026
Document which issues/PRs to close when PR #27 lands (#23, #7; supersede #25, #26).

Co-authored-by: John Menke <jmjava@gmail.com>
@cursor

cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown

Superseded by integration PR #27 (cursor/integration-981e), which already includes the workflow agent commands from this branch. Closing without merge — do not merge this PR separately.

@jmjava jmjava closed this Jul 15, 2026
@cursor cursor Bot deleted the cursor/workflow-agent-commands-981e branch July 15, 2026 04:19
cursor Bot pushed a commit that referenced this pull request Jul 15, 2026
Content lives on integration PR #27; remote feature branches deleted.

Co-authored-by: John Menke <jmjava@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Add Agent Commands for Workflow State Management

2 participants