mach10 icon indicating copy to clipboard operation
mach10 copied to clipboard

Rename issue-review-plan to issue-plan-review for consistent naming

Open LeanAndMean opened this issue 8 months ago • 2 comments

Summary

The plugin's compound command names follow inconsistent word-order conventions, making them harder to remember and potentially confusing. Specifically, issue-review-plan and pr-review-fix appear to use different naming patterns for the same structural concept.

Current Behavior

Compound commands use two different word-order patterns:

  • PR commands use {entity}-{noun}-{verb} — the noun scopes the verb:

    • pr-review-fix → fix findings from a review
    • pr-review-validate → validate findings from a review
    • pr-ci-fix → fix CI failures
    • pr-pre-merge → pre-merge checklist
  • Issue commands break this pattern:

    • issue-review-plan → review the plan (reads as {entity}-{verb}-{noun})

This means review acts as a scope/qualifier in the PR commands but as the action in the issue command.

Proposed Behavior

Rename issue-review-plan to issue-plan-review to align with the {entity}-{noun}-{verb} convention used by PR commands:

Current Proposed Meaning
issue-review-plan issue-plan-review review the implementation plan

This makes all compound commands follow a consistent pattern where the middle word scopes the final action word: pr-review-fix (fix a review), pr-review-validate (validate a review), issue-plan-review (review a plan).

Acceptance Criteria

  • [ ] issue-review-plan renamed to issue-plan-review (file, frontmatter, all internal references)
  • [ ] All cross-references updated (CLAUDE.md sync points, README, other commands that mention issue-review-plan)
  • [ ] Plugin version bumped per release process

Technical Notes

  • CLAUDE.md documents issue-review-plan in: command structure list, contributing-guide lookup sync, and plan marker sync sections
  • The command is referenced in other command files as a "next step" suggestion (e.g., after issue-plan)
  • README likely references the command name in the command table

LeanAndMean avatar Apr 02 '26 16:04 LeanAndMean

Implementation Plan

Stage 1: Rename command file and update all cross-references

Goal: Rename issue-review-plan to issue-plan-review across the entire codebase and bump the plugin version.

Changes:

  1. Rename file: commands/issue-review-plan.md -> commands/issue-plan-review.md

    • Update the H1 heading inside the file from "Issue Review Plan" to "Issue Plan Review"
  2. Update CLAUDE.md (3 sync points):

    • Line 25: Command structure list -- rename in the issue workflow line
    • Line 61: Contributing-guide lookup sync -- update filename reference
    • Line 62: Plan marker sync -- update all 3 filename references (2 consumer, 1 emitter)
  3. Update README.md (5 locations):

    • Line 154: Phase 3 command heading
    • Line 198: Session 3 example
    • Line 249: Command table entry
    • Line 292: Customizing section -- backtick reference
    • Line 295: Customizing section -- parenthetical reference
  4. Update commands/push.md:

    • Line 68: Session context signal -- rename in the signal list
  5. Update commands/issue-plan.md:

    • Line 165: Add /mach10:issue-plan-review as an optional next step before issue-implement
  6. Bump version in .claude-plugin/plugin.json

This is a single-stage plan -- all changes are mechanical text replacements with no dependencies between them, well within a single session's scope.


This plan will guide staged implementation via /mach10:issue-implement.

LeanAndMean avatar Apr 06 '26 18:04 LeanAndMean

Stage 1 complete

Renamed issue-review-plan to issue-plan-review across the entire codebase and bumped the plugin version.

Changes:

  • Renamed commands/issue-review-plan.md to commands/issue-plan-review.md (file + H1 heading)
  • Updated CLAUDE.md: command structure list, contributing-guide lookup sync, plan marker sync (3 edits)
  • Updated README.md: phase 3 heading, session example, command table, customizing section (5 edits)
  • Updated commands/push.md: session context signal list
  • Updated commands/issue-plan.md: added issue-plan-review as optional next step
  • Bumped version from 1.4.0 to 1.5.0 in plugin.json

Verification: Zero remaining references to issue-review-plan in the codebase.

Commit: 9e071c7

LeanAndMean avatar Apr 06 '26 18:04 LeanAndMean