@codyswann/lisa 1.80.0 → 1.81.0

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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +14 -10
  3. package/plugins/lisa/agents/bug-fixer.md +1 -1
  4. package/plugins/lisa/agents/builder.md +1 -1
  5. package/plugins/lisa/agents/jira-agent.md +10 -9
  6. package/plugins/lisa/commands/build.md +3 -3
  7. package/plugins/lisa/commands/fix.md +3 -3
  8. package/plugins/lisa/commands/improve.md +8 -8
  9. package/plugins/lisa/commands/investigate.md +1 -1
  10. package/plugins/lisa/commands/monitor.md +2 -2
  11. package/plugins/lisa/commands/plan/create.md +3 -1
  12. package/plugins/lisa/commands/plan/execute.md +1 -1
  13. package/plugins/lisa/commands/plan.md +3 -1
  14. package/plugins/lisa/commands/research.md +8 -0
  15. package/plugins/lisa/commands/review.md +2 -2
  16. package/plugins/lisa/commands/ship.md +2 -4
  17. package/plugins/lisa/commands/verify.md +10 -0
  18. package/plugins/lisa/hooks/inject-flow-context.sh +12 -0
  19. package/plugins/lisa/rules/base-rules.md +4 -0
  20. package/plugins/lisa/rules/intent-routing.md +204 -82
  21. package/plugins/lisa/rules/verification.md +11 -0
  22. package/plugins/lisa/skills/plan-execute/SKILL.md +36 -19
  23. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  27. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  28. package/plugins/src/base/.claude-plugin/plugin.json +6 -10
  29. package/plugins/src/base/agents/bug-fixer.md +1 -1
  30. package/plugins/src/base/agents/builder.md +1 -1
  31. package/plugins/src/base/agents/jira-agent.md +10 -9
  32. package/plugins/src/base/commands/build.md +3 -3
  33. package/plugins/src/base/commands/fix.md +3 -3
  34. package/plugins/src/base/commands/improve.md +8 -8
  35. package/plugins/src/base/commands/investigate.md +1 -1
  36. package/plugins/src/base/commands/monitor.md +2 -2
  37. package/plugins/src/base/commands/plan/create.md +3 -1
  38. package/plugins/src/base/commands/plan/execute.md +1 -1
  39. package/plugins/src/base/commands/plan.md +3 -1
  40. package/plugins/src/base/commands/research.md +8 -0
  41. package/plugins/src/base/commands/review.md +2 -2
  42. package/plugins/src/base/commands/ship.md +2 -4
  43. package/plugins/src/base/commands/verify.md +10 -0
  44. package/plugins/src/base/hooks/inject-flow-context.sh +12 -0
  45. package/plugins/src/base/rules/base-rules.md +4 -0
  46. package/plugins/src/base/rules/intent-routing.md +204 -82
  47. package/plugins/src/base/rules/verification.md +11 -0
  48. package/plugins/src/base/skills/plan-execute/SKILL.md +36 -19
  49. package/scripts/test-intent-routing.sh +221 -0
@@ -90,4 +90,15 @@ Every change requires one or more verification types. Classify the change first,
90
90
 
91
91
  ---
92
92
 
93
+ ## Local vs Remote Verification
94
+
95
+ Verification happens at two stages in the workflow:
96
+
97
+ - **Local verification** (part of the Implement flow): Run the full test suite, typecheck, lint, and empirically verify the change in a local or preview environment. This proves the change works before shipping. After local verification succeeds, encode it as an e2e test.
98
+ - **Remote verification** (part of the Verify flow): After the PR is merged and deployed, repeat the same empirical verification against the target environment. This proves the change works in production, not just locally. If remote verification fails, fix and re-deploy.
99
+
100
+ Both levels use the same verification types table above. The difference is the environment, not the rigor.
101
+
102
+ ---
103
+
93
104
  For the full verification lifecycle (classify, check tooling, plan, execute, loop), surfaces, escalation protocol, and proof artifact requirements, see the `verification-lifecycle` skill loaded by the `verification-specialist` agent.
@@ -35,17 +35,28 @@ Using the general-purpose agent in Team Lead session, Determine what branch to u
35
35
  2. Are we on a feature branch without an open pull request? Use the branch, but ask the human what branch to target for the PR
36
36
  3. Are we on an environment branch (dev, staging, main, prod, production)? Check out a feature branch named for this plan and set the target branch of the PR to the environment branch
37
37
 
38
- Using the general-purpose agent in Team Lead session, Determine what type of request this is for:
39
- 1. Informational/Spike
40
- 2. Task
41
- 3. Bug
42
- 4. Feature/Story
43
- 5. Epic
44
-
45
- IF it's a bug, Using the general-purpose agent in Team Lead session, determine how you will replicate the bug empirically:
46
- 1. Examples:
38
+ Using the general-purpose agent in Team Lead session, Determine which flow applies:
39
+ 1. Research -- needs a PRD (no specification exists)
40
+ 2. Plan -- needs decomposition (specification exists but no work items)
41
+ 3. Implement -- has a well-defined work item
42
+ 4. Verify -- has code ready to ship
43
+
44
+ If Implement, determine the work type:
45
+ 1. Build (feature, story, task)
46
+ 2. Fix (bug -- mandatory Reproduce sub-flow before investigation)
47
+ 3. Improve (refactoring, optimization, coverage improvement)
48
+ 4. Investigate Only (spike -- no code changes, just findings)
49
+
50
+ Run the readiness gate check for the selected flow as defined in `.claude/rules/intent-routing.md`. If the gate fails, stop and report what is missing.
51
+
52
+ IF it is a Fix (bug), execute the Reproduce sub-flow FIRST:
53
+ 1. Write a failing test that demonstrates the bug (preferred)
54
+ 2. If a failing test is not possible, write a minimal reproduction script
55
+ 3. Verify the reproduction is reliable (consistent failure)
56
+ 4. The reproduction MUST succeed before any investigation or fix attempt begins
57
+ 5. Examples of reproduction methods:
47
58
  1. Write a simple API client and call the offending API
48
- 2. Start the server on localhost and Use the Playwright CLI or Chrome DevTools
59
+ 2. Start the server on localhost and use the Playwright CLI or Chrome DevTools
49
60
 
50
61
  Using the general-purpose agent in Team Lead session, determine how you will know that the task is fully complete
51
62
  1. Examples
@@ -78,12 +89,18 @@ Before any task is implemented, the agent team must explore the codebase for rel
78
89
  Each task must be reviewed by the team to make sure their verification passes.
79
90
  Each task must have their learnings reviewed by the learner subagent.
80
91
 
81
- Before shutting down the team:
82
-
83
- 1. Commit ALL outstanding changes in logical batches on the branch (minus sensitive data/information) not just changes made by the agent team. This includes pre-existing uncommitted changes that were on the branch before the plan started. Do NOT filter commits to only "task-related" files. If it shows up in git status, it gets committed (unless it contains secrets).
84
- 2. Push the changes - if any pre-push hook blocks you, create a task for the agent team to fix the error/problem whether it was pre-existing or not
85
- 3. Open a pull request with auto-merge on
86
- 4. Monitor the PR. Create a task for the agent team to resolve any code review comments by either implementing the suggestions or commenting why they should not be implemented and close the comment. Fix any failing checks and repush. Continue all checks pass
87
- 5. Monitor the deploy action that triggers automatically from the successful merge
88
- 6. If it fails, create a task for the agent team to fix the failure, open a new PR and then go back to step 4
89
- 7. Execute empirical verification. If empirical verification succeeds, you're finished, otherwise, create a task for the agent team to find out why it failed, fix it and return to step 1 (repeat this until you get all the way through)
92
+ Before shutting down the team, execute the Verify flow:
93
+
94
+ 1. Run local validation: lint, typecheck, testsall must pass
95
+ 2. `verification-specialist`: verify locally (empirical proof that the change works)
96
+ 3. Write e2e test encoding the verification
97
+ 4. Commit ALL outstanding changes in logical batches on the branch (minus sensitive data/information) not just changes made by the agent team. This includes pre-existing uncommitted changes that were on the branch before the plan started. Do NOT filter commits to only "task-related" files. If it shows up in git status, it gets committed (unless it contains secrets).
98
+ 5. Push the changes - if any pre-push hook blocks you, create a task for the agent team to fix the error/problem whether it was pre-existing or not
99
+ 6. Open a pull request with auto-merge on
100
+ 7. PR Watch Loop: Monitor the PR. Create a task for the agent team to resolve any code review comments by either implementing the suggestions or commenting why they should not be implemented and close the comment. Fix any failing checks and repush. Continue until all checks pass.
101
+ 8. Merge the PR
102
+ 9. Monitor the deploy action that triggers automatically from the successful merge
103
+ 10. If deploy fails, create a task for the agent team to fix the failure, open a new PR and then go back to step 7
104
+ 11. Remote verification: `verification-specialist` verifies in target environment (same checks as local verification, but on remote)
105
+ 12. `ops-specialist`: post-deploy health check, monitor for errors in first minutes
106
+ 13. If remote verification fails, create a task for the agent team to find out why it failed, fix it and return to step 4 (repeat until you get all the way through)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "Ruby on Rails-specific hooks — RuboCop linting/formatting and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -5,21 +5,16 @@
5
5
  "author": { "name": "Cody Swann" },
6
6
  "hooks": {
7
7
  "UserPromptSubmit": [
8
- {
9
- "matcher": "",
10
- "hooks": [
11
- {
12
- "type": "command",
13
- "command": "${CLAUDE_PLUGIN_ROOT}/hooks/enforce-plan-rules.sh"
14
- }
15
- ]
16
- },
17
8
  {
18
9
  "matcher": "",
19
10
  "hooks": [
20
11
  {
21
12
  "type": "command",
22
13
  "command": "command -v entire >/dev/null 2>&1 && entire hooks claude-code user-prompt-submit || true"
14
+ },
15
+ {
16
+ "type": "prompt",
17
+ "prompt": "Classify this user request into exactly one flow. Output ONLY valid JSON.\n\nFlows:\n- Research: User needs requirements defined, wants a PRD, exploring a problem space, open-ended feature idea\n- Plan: User has requirements and wants them broken into tickets/work items\n- Implement/Build: User has a specific feature/story/task to code\n- Implement/Fix: User has a bug to fix, something is broken\n- Implement/Improve: User wants to refactor, optimize, or improve existing code\n- Implement/Investigate: User wants to understand why something works a certain way (spike)\n- Verify: User has code ready to ship (PR, deploy, merge)\n- None: Simple question, config change, one-off task, or not enough context to classify\n\nOutput format: {\"hookSpecificOutput\":{\"hookEventName\":\"UserPromptSubmit\",\"additionalContext\":\"Flow classification: [FLOW]. Reason: [one sentence].\"}}\n\nUser request: $ARGUMENTS"
23
18
  }
24
19
  ]
25
20
  }
@@ -63,7 +58,8 @@
63
58
  { "matcher": "", "hooks": [{ "type": "command", "command": "command -v entire >/dev/null 2>&1 && entire hooks claude-code session-start || true" }] }
64
59
  ],
65
60
  "SubagentStart": [
66
- { "matcher": "", "hooks": [{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/inject-rules.sh" }] }
61
+ { "matcher": "", "hooks": [{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/inject-rules.sh" }] },
62
+ { "matcher": "", "hooks": [{ "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/hooks/inject-flow-context.sh" }] }
67
63
  ],
68
64
  "SessionEnd": [
69
65
  { "matcher": "", "hooks": [{ "type": "command", "command": "command -v entire >/dev/null 2>&1 && entire hooks claude-code session-end || true" }] }
@@ -14,7 +14,7 @@ You are a bug fix specialist. Your job is to turn a diagnosed bug into a verifie
14
14
 
15
15
  ## Prerequisites
16
16
 
17
- You receive a diagnosed bug from the Fix flow with:
17
+ You receive a diagnosed bug from the **Implement** flow (Fix work type) with:
18
18
  - **Root cause** — what is causing the bug and where (file:line)
19
19
  - **Reproduction** — how to trigger the bug reliably
20
20
  - **Test strategy** — what regression tests to write (from `test-specialist`)
@@ -14,7 +14,7 @@ You are a feature build specialist. Your job is to turn acceptance criteria into
14
14
 
15
15
  ## Prerequisites
16
16
 
17
- You receive a task from the Build flow with:
17
+ You receive a task from the **Implement** flow (Build or Improve work type) with:
18
18
  - **Acceptance criteria** — what the feature must do (from `product-specialist`)
19
19
  - **Architecture plan** — which files to create/modify, design decisions, reusable code (from `architecture-specialist`)
20
20
  - **Test strategy** — coverage targets, edge cases, TDD sequence (from `test-specialist`)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jira-agent
3
- description: JIRA lifecycle agent. Reads tickets, determines intent (Bug → Fix, Story/Task → Build, Epic → Plan), delegates to the appropriate flow, syncs progress at milestones, and posts evidence at completion.
3
+ description: JIRA lifecycle agent. Reads tickets, determines intent (Bug → Implement/Fix, Story/Task → Implement/Build, Epic → Plan, Spike → Implement/Investigate), delegates to the appropriate flow, syncs progress at milestones, and posts evidence at completion.
4
4
  tools: Read, Grep, Glob, Bash
5
5
  skills:
6
6
  - jira-sync
@@ -55,15 +55,16 @@ If not triaged:
55
55
 
56
56
  Map the ticket type to a flow:
57
57
 
58
- | Ticket Type | Flow | Entry Agent |
59
- |-------------|------|-------------|
60
- | Bug | Fix | `git-history-analyzer` → `debug-specialist` → `bug-fixer` |
61
- | Story | Build | `product-specialist` → `architecture-specialist` → `builder` |
62
- | Task | Build | `product-specialist` → `architecture-specialist` → `builder` |
63
- | Epic | Plan | `product-specialist` → `architecture-specialist` → break down |
64
- | Spike | Investigate | `git-history-analyzer` `debug-specialist` |
58
+ | Ticket Type | Flow | Work Type |
59
+ |-------------|------|-----------|
60
+ | Epic | Plan | -- |
61
+ | Story | Implement | Build |
62
+ | Task | Implement | Build |
63
+ | Bug | Implement | Fix |
64
+ | Spike | Implement | Investigate Only |
65
+ | Improvement | Implement | Improve |
65
66
 
66
- If the ticket type is ambiguous, read the description to classify. A "Task" that describes broken behavior is a Fix, not a Build.
67
+ If the ticket type is ambiguous, read the description to classify. A "Task" that describes broken behavior is a Fix, not a Build. A "Bug" that requests new functionality is a Build.
67
68
 
68
69
  ### 5. Delegate to Flow
69
70
 
@@ -1,10 +1,10 @@
1
1
  ---
2
- description: "Build a feature. Defines acceptance criteria, researches codebase, implements via TDD, reviews, verifies, and ships."
2
+ description: "Build a feature. Defines acceptance criteria, researches codebase, implements via TDD, verifies locally, and reviews."
3
3
  argument-hint: "<description-or-ticket-id-or-url>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Build** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Implement** flow with the **Build** work type.
7
7
 
8
- If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket, extract context, and delegate back to the Build flow.
8
+ If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket, extract context, and delegate back to the Implement flow.
9
9
 
10
10
  $ARGUMENTS
@@ -1,10 +1,10 @@
1
1
  ---
2
- description: "Fix a bug. Analyzes git history, reproduces, finds root cause, implements fix via TDD, verifies, and ships."
2
+ description: "Fix a bug. Reproduces, analyzes git history, finds root cause, implements fix via TDD, verifies locally, and reviews."
3
3
  argument-hint: "<description-or-ticket-id-or-url>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Fix** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Implement** flow with the **Fix** work type.
7
7
 
8
- If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket, extract context, and delegate back to the Fix flow.
8
+ If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket, extract context, and delegate back to the Implement flow.
9
9
 
10
10
  $ARGUMENTS
@@ -1,16 +1,16 @@
1
1
  ---
2
- description: "Improve existing code. Identifies target, measures baseline, implements improvements via TDD, measures again, and ships."
2
+ description: "Improve existing code. Measures baseline, implements improvements via TDD, measures again, and reviews."
3
3
  argument-hint: "<target-description>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Improve** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Implement** flow with the **Improve** work type.
7
7
 
8
8
  For specific improvement types, you can also use:
9
- - `/lisa:plan:add-test-coverage` increase test coverage
10
- - `/lisa:plan:fix-linter-error` fix lint rule violations
11
- - `/lisa:plan:lower-code-complexity` reduce cognitive complexity
12
- - `/lisa:plan:reduce-max-lines` reduce file length
13
- - `/lisa:plan:reduce-max-lines-per-function` reduce function length
14
- - `/lisa:plan:improve-tests` improve test quality
9
+ - `/lisa:plan:add-test-coverage` -- increase test coverage
10
+ - `/lisa:plan:fix-linter-error` -- fix lint rule violations
11
+ - `/lisa:plan:lower-code-complexity` -- reduce cognitive complexity
12
+ - `/lisa:plan:reduce-max-lines` -- reduce file length
13
+ - `/lisa:plan:reduce-max-lines-per-function` -- reduce function length
14
+ - `/lisa:plan:improve-tests` -- improve test quality
15
15
 
16
16
  $ARGUMENTS
@@ -3,7 +3,7 @@ description: "Investigate an issue. Analyzes git history, reproduces, traces exe
3
3
  argument-hint: "<description-or-ticket-id-or-url>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Investigate** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Implement** flow with the **Investigate Only** work type (spike).
7
7
 
8
8
  If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket and extract context.
9
9
 
@@ -3,8 +3,8 @@ description: "Monitor application health. Checks health endpoints, logs, errors,
3
3
  argument-hint: "[environment]"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Monitor** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Monitor** sub-flow.
7
7
 
8
- Delegates to `ops-specialist` for health checks, log inspection, error monitoring, and performance analysis.
8
+ This sub-flow is also invoked as part of the Verify flow's remote verification step. Delegates to `ops-specialist` for health checks, log inspection, error monitoring, and performance analysis.
9
9
 
10
10
  $ARGUMENTS
@@ -3,4 +3,6 @@ description: "Creates an implementation plan from a ticket URL, file path, or te
3
3
  argument-hint: "<ticket-url | @file-path | description>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Plan** flow on $ARGUMENTS
6
+ Read `.claude/rules/intent-routing.md` and execute the **Plan** flow on $ARGUMENTS.
7
+
8
+ If requirements are ambiguous or no specification exists, suggest running the **Research** flow first.
@@ -3,4 +3,4 @@ description: "Deploys an agent team to research, implement, review and deploy a
3
3
  argument-hint: "<ticket-url | @file-path | description>"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and determine the appropriate flow for $ARGUMENTS. Execute the full flow including implementation, review, and ship sub-flows.
6
+ Read `.claude/rules/intent-routing.md` and determine the appropriate flow for $ARGUMENTS. Execute the full flow including implementation, review, and verify flows.
@@ -1,10 +1,12 @@
1
1
  ---
2
- description: "Plan work. Defines acceptance criteria, researches codebase, maps dependencies, and breaks down into ordered tasks."
2
+ description: "Plan work. Defines acceptance criteria, researches codebase, maps dependencies, and breaks down into ordered work items."
3
3
  argument-hint: "<description-or-ticket-id-or-url>"
4
4
  ---
5
5
 
6
6
  Read `.claude/rules/intent-routing.md` and execute the **Plan** flow.
7
7
 
8
+ If no PRD or specification exists, suggest running the **Research** flow first to produce one.
9
+
8
10
  If the argument is a JIRA ticket ID or URL, hand off to the `jira-agent` which will read the ticket and extract context.
9
11
 
10
12
  $ARGUMENTS
@@ -0,0 +1,8 @@
1
+ ---
2
+ description: "Research a problem space and produce a PRD. Investigates codebase, defines user flows, assesses technical feasibility."
3
+ argument-hint: "<problem-statement-or-feature-idea>"
4
+ ---
5
+
6
+ Read `.claude/rules/intent-routing.md` and execute the **Research** flow.
7
+
8
+ $ARGUMENTS
@@ -3,8 +3,8 @@ description: "Review code changes. Runs quality, security, performance, product,
3
3
  argument-hint: "[pr-link-or-branch]"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Review** flow.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Review** sub-flow.
7
7
 
8
- Runs `quality-specialist`, `security-specialist`, and `performance-specialist` in parallel, followed by `product-specialist` and `test-specialist`. Consolidates all findings ranked by severity.
8
+ This sub-flow is also invoked automatically by the Implement flow. It runs `quality-specialist`, `security-specialist`, and `performance-specialist` in parallel, followed by `product-specialist` and `test-specialist`. Consolidates all findings ranked by severity.
9
9
 
10
10
  $ARGUMENTS
@@ -1,10 +1,8 @@
1
1
  ---
2
- description: "Ship current changes. Commits, opens PR, handles review feedback loop, deploys, verifies, and monitors."
2
+ description: "Ship current changes. Alias for /verify."
3
3
  argument-hint: "[commit-message-hint]"
4
4
  ---
5
5
 
6
- Read `.claude/rules/intent-routing.md` and execute the **Ship** flow.
7
-
8
- This includes: atomic commits, PR creation, review-fix loop (fix failed checks, resolve merge conflicts, handle bot review feedback until mergeable), merge, deploy, post-deploy verification, and monitoring.
6
+ Read `.claude/rules/intent-routing.md` and execute the **Verify** flow.
9
7
 
10
8
  $ARGUMENTS
@@ -0,0 +1,10 @@
1
+ ---
2
+ description: "Ship and verify code. Commits, opens PR, handles review loop, merges, deploys, and verifies in target environment."
3
+ argument-hint: "[commit-message-hint]"
4
+ ---
5
+
6
+ Read `.claude/rules/intent-routing.md` and execute the **Verify** flow.
7
+
8
+ This includes: atomic commits, PR creation, CI/review-fix loop, merge, deploy monitoring, and remote verification.
9
+
10
+ $ARGUMENTS
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env bash
2
+ # Tells subagents not to ask users for flow selection.
3
+ # The parent agent has already determined the flow and work type.
4
+ # Used by SubagentStart hook.
5
+ set -euo pipefail
6
+
7
+ jq -n '{
8
+ "hookSpecificOutput": {
9
+ "hookEventName": "SubagentStart",
10
+ "additionalContext": "You are a subagent operating within an established flow. Your parent agent has already determined the flow and work type. Do NOT ask the user to choose a flow or classify the request. Execute your assigned work within the context provided by your parent agent."
11
+ }
12
+ }'
@@ -1,3 +1,7 @@
1
+ Intent Routing (FIRST — before anything else):
2
+
3
+ Before starting any work in a session, classify the user's initial request using the Intent Routing rule. Determine which flow applies (Research, Plan, Implement, Verify, or None) and check its readiness gate. Once a flow is established, all subsequent messages operate within it. Do not skip this step — even if the request seems simple. See the `intent-routing` rule for the full protocol.
4
+
1
5
  Requirement Verification:
2
6
 
3
7
  Never assume the person providing instructions has given you complete, correct, or technically precise requirements. Treat every request as potentially underspecified. Before starting any work: