Repository navigation
feat: add ship-mate plugin - #505
Conversation
wshobson
left a comment
There was a problem hiding this comment.
Thanks for the contribution — the multi-agent flow is coherent and the human-checkpoint design is solid. A few things to address before this can land:
1. Marketplace registration (blocker). .claude-plugin/marketplace.json isn't updated, so the plugin won't appear in the registry. Please add an entry alongside the existing plugins.
2. External plugin dependencies (blocker). skills/scan/SKILL.md hard-requires Lum1104/understand-anything and mksglu/context-mode from third-party GitHub orgs and halts if either is missing. That's a significant precondition for a marketplace plugin — users installing ship-mate from here will get a forced prompt to install two unverified third-party plugins as a precondition for the core scan step. Please either drop the hard dependency, vendor an alternative scanning approach, or make it optional and call it out clearly in the plugin description so users know up front.
3. CLAUDE.md describes the wrong layout (blocker). The CLAUDE.md is documenting the standalone gh0sty02/ship-mate repo layout (.claude/skills/ship.md, scan.md, orchestrate.md...) rather than the plugin layout (split across agents/, commands/, and skills/scan/). It also references .agents/skills/, extra-agents/, extra-skills/ that don't ship in this PR. Worth rewriting so installed users see accurate docs.
Nits (non-blocking):
capabilities:array on the 6 agent files isn't in the documented plugin agent frontmatter and gets silently ignored — safe to drop.version: 1.0.0inskills/scan/SKILL.mdsimilarly isn't in the skill frontmatter schema.- The
commands,agents,skillskeys inplugin.jsonpointing to relative paths are redundant — those directories are auto-discovered.
Happy to re-review once the three blockers are addressed.
|
Hi @wshobson, thanks for the suggestions. I’ve fixed all of them. Could you please review them when you have time? Thanks! |
wshobson
left a comment
There was a problem hiding this comment.
Thanks for the fast turnaround on the prior round — marketplace registration, optional deps, and the CLAUDE.md rewrite all landed cleanly. A deeper read on this rev surfaced four more items that need to be resolved before this can merge:
1. All six agent files are missing model: (blocker). Every other agent in this repo (184/184) declares model: in frontmatter — opus / sonnet / haiku / inherit. Per CLAUDE.md, model tier is part of the agent contract, not a stylistic choice. Please add it to each of agents/{orchestrate,architect,implement,review,qa,playwright}.md. Suggested: inherit for the heavy reasoning roles (architect, review), sonnet for the rest.
2. Marketplace category typo (blocker). marketplace.json line 1056 has "category": "workflow" (singular). Repo convention is "workflows" (plural — 5 existing entries). Please correct.
3. Dead skill cross-references (blocker). Several agents instruct themselves to "load and follow" skills that don't exist in this marketplace:
agents/implement.md—fullstack-developer,testing-patternsagents/review.md—code-review-standards,security-guardrailsagents/qa.md—testing-patternsagents/playwright.md—playwright-generate-test,webapp-testingagents/implement.mdandskills/scan/SKILL.md—mern-stack
This is the DEAD_CROSS_REF anti-pattern — runtime behavior when an agent is told to load a missing skill is undefined. Please either inline the relevant guidance directly into the agent prompts, or drop the references. (Note: the repo does have language-scoped variants like python-testing-patterns and javascript-testing-patterns, but no generic testing-patterns.)
4. commands/setup.md documents the wrong layout (blocker). CLAUDE.md was correctly rewritten in 58a6120, but setup.md was missed and still describes:
- Lines 14–30: legacy flat
.claude/skills/{ship,scan,orchestrate,...}.mdlayout — doesn't match the actualagents/+commands/+skills/scan/split. - Lines 41–48 / 76–88: promises to install
understand-anythingandcontext-mode— contradicts the optional-dep change you just made to the scan skill. - Step 3 (lines 76–88): instructs the agent to run
/plugin marketplace addand/plugin install. Those are user-typed CLI commands; an agent can't dispatch them via Bash. This step won't work. - Step 4 (lines 92–107): tries to copy 9 flat skill files that don't exist at those paths.
Setup is the user's first interaction with the plugin — needs to match what actually ships.
Non-blocking:
commands/ship.mdrefers to "invoke the X skill" fororchestrate,architect,implement,review,qa,playwright— those are agents (subagents), not skills. Likely still works via subagent dispatch, but the prose will trip up anyone debugging.skills/scan/SKILL.mdcallsctx_execute_file/ctx_batch_executeas if they were always-available tools; they come from the optionalcontext-modeplugin. Worth a runtime guard.
Happy to re-review once the four blockers above are addressed.
AI-powered multi-agent development pipeline that turns a story file into a shipped, reviewed, and tested feature. Pipeline: orchestrator → architect → developer → PR reviewer → QA → Playwright Entry point: /ship stories/foo.md Install: /plugin marketplace add gh0sty02/ship-mate
- register ship-mate in marketplace.json - make scan skill deps (understand-anything, context-mode) optional with native fallback - rewrite CLAUDE.md to reflect actual plugin layout - drop unsupported `capabilities` arrays from agent frontmatter - remove `version` from skill frontmatter and redundant path keys from plugin.json Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- Add model: declarations to all 6 agents (inherit for architect/review, sonnet for the rest) - Fix marketplace.json category typo: "workflow" → "workflows" - Remove dead skill cross-references (fullstack-developer, testing-patterns, code-review-standards, security-guardrails, playwright-generate-test, webapp-testing, mern-stack) — none exist in this marketplace; guidance inlined or delegated to AGENTS.md - Rewrite commands/setup.md to match actual plugin layout: drop legacy flat .claude/skills/ structure, remove agent-executed /plugin install commands (shown as user copy-paste instead), fix file copy steps to reflect real paths Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
982f126 to
a08ee0b
Compare
|
Hi @wshobson, I have made the suggested changes. Could you please review them when you have time? Thanks! |
wshobson
left a comment
There was a problem hiding this comment.
Thanks for the round-2 turnaround — verified that all four prior blockers landed cleanly:
- Every agent now declares
model:(architect/review =inherit, others =sonnet). categoryis correctly"workflows"(plural).setup.mdwas rewritten to match the actualagents/+commands/+skills/scan/plugin layout — the legacy.claude/skills/...references are gone.- The hard third-party dependencies on
understand-anythingandcontext-modeare now optional, surfaced via a notice insetup.md.
The pipeline design itself reads well — single human checkpoint after the architect plan, 2-iteration caps on the review/QA loops, file-based state for restart resilience.
A deeper read against the rest of the marketplace surfaced three new blockers and one nit. A quick conformance counter against the 100 existing commands and 77 existing local plugins:
| field / artifact | this repo | ship-mate |
|---|---|---|
commands w/ name: frontmatter |
0/100 | 2/2 ← non-standard |
commands w/ user-invocable: |
0/100 | 2/2 ← non-standard |
commands w/ argument-hint: |
44/100 | 1/2 ← only ship.md |
plugin-level CLAUDE.md |
0/77 | 1 ← unprecedented |
plugin-level docs/ |
0/77 | 1 ← unprecedented |
Blocker 1 — Command frontmatter doesn't match the rest of the repo.
Both commands/setup.md and commands/ship.md declare name: and user-invocable: keys. Zero of the 100 existing command files in this marketplace use either field — Claude Code derives the command name from the filename and treats every commands/*.md as user-invocable. They aren't harmful at runtime (silently ignored), but they invite drift if anyone copies ship-mate as a template. setup.md is also missing argument-hint:. Please drop name: and user-invocable: from both files; add argument-hint: "" (or a sensible hint) to setup.md.
Blocker 2 — plugins/ship-mate/CLAUDE.md (159 lines) shouldn't ship inside the plugin.
None of the 77 local plugins ships a CLAUDE.md. The repo convention is plugin-level README.md (11 plugins use one — e.g., agent-teams, conductor). A CLAUDE.md inside the plugin tree gets auto-loaded into the user's context any time they work near these files, polluting their parent project's instructions. Please rename to README.md (preferred — matches peer plugins) or delete if it's developer-only notes.
Blocker 3 — plugins/ship-mate/docs/plans/2026-04-24-dev-pipeline-design.md (582 lines) shouldn't ship.
No plugin in the repo has a docs/ subdirectory. This is an internal design artifact that bloats the install. It also contains the only remaining dead skill cross-references in the PR — fullstack-developer, testing-patterns, code-review-standards, security-guardrails, playwright-generate-test, mern-stack (all confirmed missing from the marketplace). Please delete it from the plugin (keep it in your own repo if useful).
Nit (non-blocking): agents/playwright.md line 27 still references the webapp-testing skill ("ability to start one via webapp-testing skill"). That skill doesn't exist in this marketplace either — soft suggestion, not a hard load instruction, so it's not a blocker, but worth dropping or generalizing.
Happy to re-review once the three blockers above are addressed.
Generated by Claude Code
- Remove non-standard `name:` and `user-invocable:` keys from command frontmatter in setup.md and ship.md — only `description` and `argument-hint` are used across the repo's existing commands - Delete CLAUDE.md and docs/ directory — no other plugins ship these artifacts; design notes belong outside the plugin directory - Remove dead `webapp-testing` skill reference from agents/playwright.md; the skill does not exist in the marketplace https://claude.ai/code/session_01YCLMfe5mZnCWhmZ71LBM3M
|
Hi @wshobson , any update on the PR review? It has been a week since I requested the review, and the PR has now been open for two weeks, which is delaying the release. Also, if possible, could you please provide all suggestions in a single review comment? That would help reduce back-and-forth communication and avoid further delays. Thanks! |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe PR adds the ship-mate plugin implementing a deterministic multi-agent development pipeline: plugin registration and manifest, a scanner skill, orchestrator→architect→implement→review→qa→(optional)playwright agent specs, CLI commands for setup/ship, state persistence and routing, and a story template. ChangesShipMate Plugin Installation and Pipeline Architecture
Sequence Diagram(s)sequenceDiagram
participant User
participant ShipCmd
participant Orchestrator
participant Architect
participant Implement
participant Review
participant QA
participant Repo
User->>ShipCmd: /ship start (story)
ShipCmd->>Orchestrator: run orchestration
Orchestrator->>Architect: write architect plan
Architect->>User: await approval
User->>ShipCmd: approve
ShipCmd->>Implement: apply architect plan
Implement->>Review: create review report / PR
Review->>Implement: route fixes if critical
Review->>QA: on clear
QA->>Implement: route bugs if found
QA->>Repo: mark task complete
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Comment |
There was a problem hiding this comment.
Actionable comments posted: 6
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
plugins/ship-mate/skills/scan/SKILL.md (1)
218-219:⚠️ Potential issue | 🔴 Critical | ⚡ Quick winFix incomplete state.json update instruction.
Line 218 is missing closing backticks, leaving the code block open. This is a syntax error in the Markdown.
🐛 Proposed fix
Update `state.json` field `checkpoints.scan = "completed"`. +```🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/skills/scan/SKILL.md` around lines 218 - 219, The Markdown in SKILL.md leaves an open code block around the instruction "Update `state.json` field `checkpoints.scan = "completed"`" — add the missing closing triple backticks (```) after that line to properly terminate the code block so the file parses correctly; reference the `state.json` and `checkpoints.scan` text to locate the spot to close the block.
🧹 Nitpick comments (4)
plugins/ship-mate/agents/playwright.md (1)
147-160: 💤 Low valueConsider adding a Playwright iteration counter to state.json.
Line 156 mentions an anti-loop guard for the "2nd Playwright failure," but
state.jsonin ship.md only definesiteration.reviewanditeration.qa(ship.md lines 47-49). While the QA iteration cap provides an indirect guard (since Playwright failures flow through QA), an explicititeration.playwrightcounter would make the 2-iteration cap described here directly enforceable and easier to reason about.Optional: Add Playwright iteration tracking
In ship.md, add to the state.json schema:
"iteration": { "review": 0, - "qa": 0 + "qa": 0, + "playwright": 0 },Then in this file, explicitly increment and check it:
**Any test fails:** +- Increment `iteration.playwright` in state.json +- If `iteration.playwright >= 2`: set `flags.escalated = true` and escalate to human - Route failure details back to developer agent for fixing🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/agents/playwright.md` around lines 147 - 160, Add an explicit Playwright iteration counter to the state schema (iteration.playwright) and wire it into the Playwright flow: update the state.json schema to include iteration.playwright, increment iteration.playwright whenever Playwright runs, and change the anti-loop guard in the "Determine Outcome" logic that checks for the "2nd Playwright failure" to inspect iteration.playwright (escalate to human when >= 2) and reset or set checkpoints.playwright = "completed" and stage = "complete" on success; reference the symbols state.json, iteration.playwright, checkpoints.playwright, stage, and the Determine Outcome / Playwright failure handling code paths when making the changes.plugins/ship-mate/skills/scan/SKILL.md (1)
183-183: ⚖️ Poor tradeoffReconsider MERN-specific instructions.
The MERN stack receives special treatment with specific guardrails (Mongoose middleware, Express error handling, JWT storage, etc.), but no other stack gets equivalent detailed guidance. This creates inconsistency: a Django + React project or a Rails + Vue project won't receive stack-specific safety rules. Consider either:
- Generalizing this section to cover common patterns across multiple stacks, or
- Adding detection + custom sections for other popular stacks (Django, Rails, Laravel, etc.)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/skills/scan/SKILL.md` at line 183, The current special-case block that appends a "### MERN Stack Notes" section to AGENTS.md (triggered by MERN detection via package.json/requirements) creates inconsistency by only providing stack-specific safety guidance for MERN; either generalize that logic to produce a neutral "Stack-specific Notes" section with common cross-stack best practices (e.g., sanitize DB errors, central error handling pattern, secure token storage recommendations) instead of MERN-only rules, or extend detection to add analogous sections for other popular stacks (e.g., "### Django Notes", "### Rails Notes", "### Laravel Notes") when detected and populate each with appropriate guardrails; update the code that generates AGENTS.md (look for the MERN detection and the "### MERN Stack Notes" insertion) to implement the chosen approach and ensure package.json/requirements detection logic is reused/extended for other frameworks.plugins/ship-mate/agents/qa.md (2)
150-153: ⚡ Quick winClarify Medium bug handling.
The workflow states that Medium bugs "must be resolved" and routes back to implement, but the severity table (line 33) says Medium bugs "Block — must fix before QA sign-off". This is consistent, but could be clearer by explicitly stating that Medium bugs are treated like High bugs (blocking), not like Low bugs (non-blocking).
♻️ Proposed clarification
**If only Medium bugs found:** - Set `flags.qa_bugs_pending = true` -- Route back to implement for fixes (Medium bugs must be resolved) +- Route back to implement for fixes +- Medium bugs are blocking per severity table — all must be resolved before sign-off🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/agents/qa.md` around lines 150 - 153, Clarify that Medium bugs are blocking by updating the "If only Medium bugs found:" section to explicitly state Medium bugs are treated the same as High bugs (i.e., blocking and must be fixed before QA sign-off), keep the instruction to set flags.qa_bugs_pending = true and route back to implement for fixes, and add a brief cross-reference to the severity table entry for Medium to make the equivalence explicit.
164-168: 💤 Low valueConsider documenting the loop cap escalation mechanism.
The QA agent checks
iteration.qa >= 2but doesn't define what happens during escalation—it defers to "theshipskill will escalate to human". For better agent autonomy, consider either documenting the expected behavior here or at minimum linking to where the escalation is defined (presumably incommands/ship.md).🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/agents/qa.md` around lines 164 - 168, The QA doc mentions the loop cap check (iteration.qa >= 2) but doesn't explain what "ship skill will escalate to human" means; update the `plugins/ship-mate/agents/qa.md` section around the "Check QA Loop Cap" text to either (a) briefly describe the escalation behavior (what the `ship` skill does when iteration.qa >= 2: e.g., stops automated loops, adds an escalation flag, notifies a human, or opens a human review task) or (b) add a clear link/reference to the authoritative escalation implementation (e.g., the `ship` skill's escalation logic in commands/ship.md) so readers can find the exact behavior; reference `iteration.qa`, the `ship` skill, and `commands/ship.md` in the updated text.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@plugins/ship-mate/agents/qa.md`:
- Around line 145-148: Update the misleading text "If all Critical and High bugs
found" to "If any Critical or High bugs are found" and ensure the following
bullets remain consistent: set flags.qa_bugs_pending = true in state.json, print
the bug list to the developer agent for fixing, and note that the ship skill
handles routing back to implement; reference the existing phrase
"flags.qa_bugs_pending = true" and the "ship" skill when making the wording
change so the intent (trigger on presence of at least one Critical/High bug) is
clear.
In `@plugins/ship-mate/skills/scan/SKILL.md`:
- Around line 27-30: The fenced code block containing the plugin install
commands (the lines starting with "/plugin marketplace add
Lum1104/Understand-Anything..." and "/plugin marketplace add
mksglu/context-mode...") is missing a language specifier; update the opening
triple backticks to include a language (e.g., "```bash") so the block becomes
"```bash" immediately before those two command lines to satisfy markdown
linting.
- Around line 210-216: The fenced code block showing the "✅ Scan complete
([FULL/DELTA])" summary lacks a language specifier; update the opening fence in
SKILL.md for that block (the one containing "✅ Scan complete ([FULL/DELTA])",
"project-doc.md → updated", etc.) to include a language tag such as text (change
``` to ```text) so syntax highlighters treat it as plain text.
- Around line 14-17: Add a language specifier to the fenced code block in the
SKILL.md snippet containing the two plugin lines (the lines showing
"understand-anything → /plugin list | grep understand-anything" and
"context-mode → /plugin list | grep context-mode"); change the opening
triple-backtick to include a language such as bash or text (e.g., ```bash) so
the Markdown linter rule MD040 is satisfied while preserving the example output.
- Around line 195-203: The fenced code block that begins with "⚠️ Architectural
change detected in delta scan:" is missing a language specifier and triggers
markdown linting; update the opening fence from ``` to ```text so the block is
explicitly marked as plain text (i.e., change the opening triple-backticks for
the block containing "⚠️ Architectural change detected in delta scan:" to
include "text").
- Line 103: The documentation command `git diff HEAD~1 --name-only` is ambiguous
about the compared range; update the example in SKILL.md to explicitly compare
the previous commit to HEAD by replacing it with `git diff --name-only HEAD~1
HEAD` or alternatively `git show --name-only HEAD` for a concise single-commit
listing; edit the line containing the git command so the delta-scan instruction
clearly shows the intended comparison.
---
Outside diff comments:
In `@plugins/ship-mate/skills/scan/SKILL.md`:
- Around line 218-219: The Markdown in SKILL.md leaves an open code block around
the instruction "Update `state.json` field `checkpoints.scan = "completed"`" —
add the missing closing triple backticks (```) after that line to properly
terminate the code block so the file parses correctly; reference the
`state.json` and `checkpoints.scan` text to locate the spot to close the block.
---
Nitpick comments:
In `@plugins/ship-mate/agents/playwright.md`:
- Around line 147-160: Add an explicit Playwright iteration counter to the state
schema (iteration.playwright) and wire it into the Playwright flow: update the
state.json schema to include iteration.playwright, increment
iteration.playwright whenever Playwright runs, and change the anti-loop guard in
the "Determine Outcome" logic that checks for the "2nd Playwright failure" to
inspect iteration.playwright (escalate to human when >= 2) and reset or set
checkpoints.playwright = "completed" and stage = "complete" on success;
reference the symbols state.json, iteration.playwright, checkpoints.playwright,
stage, and the Determine Outcome / Playwright failure handling code paths when
making the changes.
In `@plugins/ship-mate/agents/qa.md`:
- Around line 150-153: Clarify that Medium bugs are blocking by updating the "If
only Medium bugs found:" section to explicitly state Medium bugs are treated the
same as High bugs (i.e., blocking and must be fixed before QA sign-off), keep
the instruction to set flags.qa_bugs_pending = true and route back to implement
for fixes, and add a brief cross-reference to the severity table entry for
Medium to make the equivalence explicit.
- Around line 164-168: The QA doc mentions the loop cap check (iteration.qa >=
2) but doesn't explain what "ship skill will escalate to human" means; update
the `plugins/ship-mate/agents/qa.md` section around the "Check QA Loop Cap" text
to either (a) briefly describe the escalation behavior (what the `ship` skill
does when iteration.qa >= 2: e.g., stops automated loops, adds an escalation
flag, notifies a human, or opens a human review task) or (b) add a clear
link/reference to the authoritative escalation implementation (e.g., the `ship`
skill's escalation logic in commands/ship.md) so readers can find the exact
behavior; reference `iteration.qa`, the `ship` skill, and `commands/ship.md` in
the updated text.
In `@plugins/ship-mate/skills/scan/SKILL.md`:
- Line 183: The current special-case block that appends a "### MERN Stack Notes"
section to AGENTS.md (triggered by MERN detection via package.json/requirements)
creates inconsistency by only providing stack-specific safety guidance for MERN;
either generalize that logic to produce a neutral "Stack-specific Notes" section
with common cross-stack best practices (e.g., sanitize DB errors, central error
handling pattern, secure token storage recommendations) instead of MERN-only
rules, or extend detection to add analogous sections for other popular stacks
(e.g., "### Django Notes", "### Rails Notes", "### Laravel Notes") when detected
and populate each with appropriate guardrails; update the code that generates
AGENTS.md (look for the MERN detection and the "### MERN Stack Notes" insertion)
to implement the chosen approach and ensure package.json/requirements detection
logic is reused/extended for other frameworks.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 21e56690-80e9-4c7c-9845-9a2261c84d5e
📒 Files selected for processing (13)
.claude-plugin/marketplace.jsonplugins/ship-mate/.claude-plugin/plugin.jsonplugins/ship-mate/.gitignoreplugins/ship-mate/agents/architect.mdplugins/ship-mate/agents/implement.mdplugins/ship-mate/agents/orchestrate.mdplugins/ship-mate/agents/playwright.mdplugins/ship-mate/agents/qa.mdplugins/ship-mate/agents/review.mdplugins/ship-mate/commands/setup.mdplugins/ship-mate/commands/ship.mdplugins/ship-mate/skills/scan/SKILL.mdplugins/ship-mate/stories/_template.md
📜 Review details
🧰 Additional context used
🪛 LanguageTool
plugins/ship-mate/agents/review.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e objective, constructive, and precise. You explain the why behind every finding....
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~92-~92: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...s from orchestrator-output.md tested? - Are tests testing behaviour, not implementa...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
plugins/ship-mate/agents/implement.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...s established patterns and conventions. You do not improvise scope, add features, o...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
plugins/ship-mate/agents/qa.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tematic, evidence-driven, and thorough. You test against requirements — you do not ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~75-~75: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e codes, payloads, and error responses. For FRONTEND tasks: test UI behaviour, stat...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
plugins/ship-mate/agents/architect.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ..." and "how" before any code is written. You are precise, thorough, and always refer...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
plugins/ship-mate/agents/playwright.md
[style] ~20-~20: This adverb was used twice in the sentence. Consider removing one of them or replacing them with a synonym.
Context: ...vers E2E browser automation only - Test ONLY the acceptance criteria from the curren...
(ADVERB_REPETITION_PREMIUM)
plugins/ship-mate/agents/orchestrate.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...-focused, and relentless about clarity. You translate ambiguous requirements into u...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🪛 markdownlint-cli2 (0.22.1)
plugins/ship-mate/commands/setup.md
[warning] 11-11: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 26-26: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 42-42: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 73-73: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 86-86: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 101-101: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
plugins/ship-mate/agents/implement.md
[warning] 47-47: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
plugins/ship-mate/skills/scan/SKILL.md
[warning] 14-14: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 27-27: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 195-195: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 210-210: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
plugins/ship-mate/commands/ship.md
[warning] 80-80: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 124-124: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 141-141: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 159-159: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 182-182: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
plugins/ship-mate/agents/playwright.md
[warning] 33-33: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🔇 Additional comments (13)
plugins/ship-mate/.claude-plugin/plugin.json (1)
1-21: Manifest metadata looks solid and release-ready.The plugin manifest is complete, coherent, and consistent with the plugin’s stated behavior.
.claude-plugin/marketplace.json (1)
1060-1072: Marketplace registration is clean and consistent.
ship-mateis correctly wired into the plugins array with matching metadata and source path.plugins/ship-mate/.gitignore (1)
1-17: LGTM!The ignore patterns correctly exclude pipeline runtime artifacts, local settings, and development reference files, aligning with the state management described in the ship and setup commands.
plugins/ship-mate/stories/_template.md (1)
1-24: LGTM!The template provides clear guidance for story authoring, with well-structured acceptance criteria and task checklist. The author notes effectively communicate pipeline constraints (task-type segregation, sequential processing, and scope boundaries) that align with the agent behavior defined in the ship command and agent specifications.
plugins/ship-mate/agents/review.md (1)
1-174: LGTM!The review agent specification is well-structured with a clear 3-tier taxonomy, comprehensive security checklist, and appropriate loop guards. The state management (setting
flags.review_critical_pending, incrementingiteration.review, and escalating after 2 iterations) correctly integrates with the ship command's pause-and-resume flow.plugins/ship-mate/agents/implement.md (1)
1-100: LGTM!The implement agent specification establishes strong guardrails: explicit plan deviation reporting (preventing silent failures), mandatory security rules with auth/PII halt conditions, and a comprehensive self-review checklist. The workflow correctly updates state to transition to the review stage and maintains consistency with the architect plan inputs.
plugins/ship-mate/agents/architect.md (1)
1-143: LGTM!The architect agent specification provides a thorough planning workflow with appropriate escalation triggers for high-risk changes (schema modifications, auth changes, API contracts). The plan template is comprehensive and actionable, requiring specific file paths and step-by-step instructions. The state checkpoint (
awaiting_approval) correctly integrates with the ship command's approval gate.plugins/ship-mate/commands/ship.md (1)
1-203: LGTM!The ship command establishes a well-structured state machine with comprehensive routing logic. The stage transitions, pause points, iteration caps, and state flag handling are all consistent with the agent specifications. The anti-loop guards (two-iteration caps for review and QA) provide appropriate escalation to prevent infinite loops while allowing reasonable retry attempts.
plugins/ship-mate/commands/setup.md (1)
1-145: LGTM!The setup command provides a clear, step-by-step installation workflow with appropriate user confirmations and prerequisite checks. The git repository check with optional initialization, the skip-if-exists logic for template copying, and the manual plugin installation approach all demonstrate good UX practices. The completion message effectively guides users to their next steps.
plugins/ship-mate/agents/playwright.md (1)
1-112: LGTM!The Playwright agent specification correctly implements FRONTEND-only gating, follows page object pattern best practices, and enforces good testing standards (
data-testidselectors, networkidle waits, no hardcoded credentials). The test structure with AC reference mapping provides clear traceability to acceptance criteria.plugins/ship-mate/agents/orchestrate.md (3)
72-104: LGTM! Well-structured orchestrator output template.The orchestrator-output.md template is comprehensive and clearly defines all the necessary fields for downstream agents (architect, developer, QA, playwright). The structure ensures unambiguous handoff with explicit task type, refined requirements, acceptance criteria, edge cases, error states, out-of-scope boundaries, assumptions, and security notes.
62-67: LGTM! Strong escalation triggers.The mandatory halt triggers provide good guardrails for the orchestrator: contradictory requirements, uncovered security implications, unclear acceptance criteria, and scope changes. These prevent the pipeline from proceeding with ambiguous or risky requirements.
39-47: ⚡ Quick winBinary FRONTEND/BACKEND decision is appropriate for this workflow — full-stack features use a separate command.
The
orchestrateagent processes ONE task at a time from a story file, and the binary decision is intentional for that context. Full-stack feature development is already handled by a separate command (plugins/full-stack-orchestration/commands/full-stack-feature.md) that orchestrates requirements gathering, database design, and coordinated backend/frontend implementation. No refactoring or additional task types are needed — the architecture separates single-task routing (orchestrate) from cross-layer feature orchestration (full-stack-feature).
wshobson
left a comment
There was a problem hiding this comment.
Thanks for the round-3 changes — the prior 3 blockers (command frontmatter, plugin-level CLAUDE.md, plugin-level docs/) all landed cleanly.
Required before merge (2 items):
plugins/ship-mate/agents/qa.md:145— change "If all Critical and High bugs found" to "If any Critical or High bugs are found". Current wording flips the trigger semantics. (CodeRabbit thread left open as the marker.)plugins/ship-mate/commands/setup.md— addargument-hint:to the frontmatter. Carryover from the 2026-05-02 review; ship.md has it, setup.md still doesn't.
Resolved as not required:
I've resolved the CodeRabbit threads for the 5 MD040 fenced-code-language warnings and the git diff HEAD~1 --name-only rephrase on skills/scan/SKILL.md. Please ignore those threads — they're cosmetic and not blocking this PR.
CodeRabbit also flagged an "unclosed code fence at SKILL.md:218" as Critical in its summary. That's a false positive — all 10 fences in the file pair correctly; the inline backticks in `state.json` on the last line confused its parser. No fix needed.
Other CodeRabbit summary nits (Playwright iteration counter, MERN generalization, Medium-bug wording, escalation cross-reference, LanguageTool sentence-beginning style flags) are likewise non-blocking — please ignore.
Once items 1 and 2 land, this is clear to merge.
- qa.md: fix trigger condition from "all Critical and High bugs found" to "any Critical or High bugs are found" (semantic logic error) - setup.md: add missing argument-hint frontmatter key to match convention used by ship.md and all other commands in the repo
|
Hi @wshobson, I have made the suggested changes. Could you please review them when you have time? Thanks! |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
plugins/ship-mate/agents/qa.md (1)
1-5: ⚡ Quick winConsider aligning the description with the recommended phrasing pattern.
The agent description is clear and detailed but doesn't follow the "Use PROACTIVELY when..." phrasing convention mentioned in the coding guidelines. This pattern helps users understand when the agent should be triggered.
📝 Suggested rewording
--- name: qa -description: QA Agent. Tests all acceptance criteria and edge cases from orchestrator-output.md. Generates a structured qa-report.md with pass/fail per criterion and bug triage. Loops back to implement if bugs found (max 2 iterations). +description: Use PROACTIVELY when testing acceptance criteria and edge cases from orchestrator-output.md. Generates a structured qa-report.md with pass/fail per criterion and bug triage. Loops back to implement if bugs found (max 2 iterations). model: sonnet ---As per coding guidelines, agent descriptions should include clear trigger conditions using 'Use PROACTIVELY when...' phrasing.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@plugins/ship-mate/agents/qa.md` around lines 1 - 5, Update the agent frontmatter for the qa agent (name: qa) to follow the guideline phrasing by adding a trigger line that starts "Use PROACTIVELY when..." and succinctly describes the situations to invoke this QA Agent (e.g., after orchestrator-output.md is produced or when validating acceptance criteria and edge cases); keep the existing description about generating qa-report.md and the loop/back-implement behavior but prepend or append a one-sentence proactive trigger using the exact "Use PROACTIVELY when..." pattern so the description conforms to the coding guidelines.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@plugins/ship-mate/agents/qa.md`:
- Around line 1-5: Update the agent frontmatter for the qa agent (name: qa) to
follow the guideline phrasing by adding a trigger line that starts "Use
PROACTIVELY when..." and succinctly describes the situations to invoke this QA
Agent (e.g., after orchestrator-output.md is produced or when validating
acceptance criteria and edge cases); keep the existing description about
generating qa-report.md and the loop/back-implement behavior but prepend or
append a one-sentence proactive trigger using the exact "Use PROACTIVELY
when..." pattern so the description conforms to the coding guidelines.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 23b77a57-b648-4cb6-90fc-69ec70303b32
📒 Files selected for processing (2)
plugins/ship-mate/agents/qa.mdplugins/ship-mate/commands/setup.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (5)
**/agents/*.md
📄 CodeRabbit inference engine (CLAUDE.md)
**/agents/*.md: Agent frontmatter must include: name, description (with trigger conditions), and model (opus|sonnet|haiku|inherit). Optional fields: color and tools.
Use model=opus for architecture, security, code review, and production coding tasks
Use model=inherit for complex tasks where the user should choose the model
Use model=sonnet for documentation, testing, debugging, and support tasks
Use model=haiku for fast operations, SEO, deployment, and simple tasks
Agent names and plugin names must use lowercase, hyphen-separated naming convention
Agent descriptions should include clear trigger conditions using 'Use PROACTIVELY when...' phrasing
Files:
plugins/ship-mate/agents/qa.md
{**/skills/*/SKILL.md,**/agents/*.md}
📄 CodeRabbit inference engine (CLAUDE.md)
Avoid EMPTY_DESCRIPTION anti-pattern: skill and agent descriptions must be at least 20 characters
Files:
plugins/ship-mate/agents/qa.md
**/*.md
📄 CodeRabbit inference engine (GEMINI.md)
Store skill definitions in skills//SKILL.md files, following the established structure for skill documentation
Files:
plugins/ship-mate/agents/qa.mdplugins/ship-mate/commands/setup.md
plugins/**
📄 CodeRabbit inference engine (GEMINI.md)
Organize all plugins in the plugins/ directory, following the structure documented in CLAUDE.md
Files:
plugins/ship-mate/agents/qa.mdplugins/ship-mate/commands/setup.md
**/commands/*.md
📄 CodeRabbit inference engine (CLAUDE.md)
Command frontmatter must include: description and argument-hint fields
Files:
plugins/ship-mate/commands/setup.md
🪛 LanguageTool
plugins/ship-mate/agents/qa.md
[style] ~9-~9: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...tematic, evidence-driven, and thorough. You test against requirements — you do not ...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
[style] ~75-~75: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...e codes, payloads, and error responses. For FRONTEND tasks: test UI behaviour, stat...
(ENGLISH_WORD_REPEAT_BEGINNING_RULE)
🪛 markdownlint-cli2 (0.22.1)
plugins/ship-mate/commands/setup.md
[warning] 12-12: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 27-27: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 43-43: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 74-74: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 87-87: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
[warning] 102-102: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🔇 Additional comments (4)
plugins/ship-mate/agents/qa.md (2)
145-148: The wording issue has been addressed.The previous review comment about changing "all" to "any" in the bug detection condition has been correctly implemented. The logic now properly reads "If any Critical or High bugs are found," which accurately reflects the intent to trigger on the presence of at least one Critical or High bug.
7-175: Excellent workflow structure and completeness.The QA agent specification is comprehensive and well-organized:
- Clear role boundaries and responsibilities
- Detailed severity classification with concrete pipeline actions
- Systematic 7-step workflow covering checklist building, test execution, reporting, and state management
- Appropriate iteration caps and escalation logic
- Mandatory security testing requirements
The structured template for
qa-report.mdand explicit routing conditions provide clear guidance for both AI agents and human reviewers.plugins/ship-mate/commands/setup.md (2)
1-4: Frontmatter complies with all requirements.The command frontmatter includes both required fields (
descriptionandargument-hint) with clear, descriptive content. Well done.
6-145: Well-structured setup workflow with appropriate safeguards.The setup command provides a clear, step-by-step installation flow with several good practices:
- User confirmation before making any changes
- Prerequisite validation (git repository)
- Existence checks to avoid overwriting user content
- Clear distinction between automated and manual steps (optional plugins)
- Comprehensive completion summary with actionable next steps
- Explicit documentation of human checkpoints in the pipeline
The fenced code blocks without language specifiers flagged by static analysis are intentionally unspecified—they represent user-facing output messages and file structure diagrams, not executable code. This is appropriate for documentation.
ShipMate — Multi-agent dev pipeline
Adds the
ship-mateplugin — a dev pipeline that takes a story file andruns it through a chain of agents (PM → architect → developer → reviewer
→ QA → Playwright) to get a feature shipped with proper guardrails.
Install:
/plugin marketplace add gh0sty02/ship-matethen/plugin install ship-mateWhat's included
/setup— installs the pipeline into a project, scans the codebase,generates an
AGENTS.mdtailored to that project/ship stories/foo.md— runs the full pipeline for a storyPlaywright (frontend only)
How it works
One human checkpoint per task — after the architect writes the plan,
before any code is written. Everything else runs autonomously with a
2-iteration cap on review and QA loops before escalating to human.
State is file-based so the pipeline survives session restarts.
Repo: https://github.com/gh0sty02/ship-mate