con un clic
workspace-review-changes
Review code changes and generate review reports
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Review code changes and generate review reports
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Detect and suggest blocked tool commands from recent sessions
Use when the user wants to start working on a task, ticket, or feature. Triggered by: ticket URLs (Jira, GitHub Issues, Linear, etc.), task descriptions, or requests like 'work on this', 'implement X', 'fix X', 'これをすすめて', 'これやって'. IMPORTANT: Before creating a new workspace, ALWAYS run /workspace-list first to check if a workspace already exists for the same ticket/task. If one exists, use /workspace-execute or /workspace-show-status instead. Creates workspace with README, clones repos, and plans TODO items via agents.
Add, remove, or modify TODO items
Create or update pull requests for all repositories (draft by default)
Continue working on an existing workspace by executing TODO items. Implements code, runs tests, makes commits. Use when the user wants to resume or continue work on a previously initialized workspace, or after /workspace-init completes.
List all existing workspaces. Use to check if a workspace already exists for a given ticket or task before creating a new one with /workspace-init.
| name | workspace-review-changes |
| description | Review code changes and generate review reports |
This skill reviews code changes across all repositories in a workspace by delegating to the workspace-repo-review-changes agent for each repository. It collects all review results and provides a comprehensive summary.
Paths: Use relative paths from project root for all workspace file operations (see CLAUDE.md for details).
This skill receives $ARGUMENTS from the caller. Parse to extract:
workspace/{workspace-name} or just {workspace-name}workspace/feature-user-auth-20260116 or feature-user-auth-20260116If $ARGUMENTS is empty, abort with message:
Please specify a workspace. Example:
/workspace-review-changes workspace/feature-user-auth-20260116
Find all repository worktrees in the workspace:
./.claude/scripts/list-workspace-repos.sh {workspace-name}
For each repository:
Run the script to create a timestamped review directory. Important: Capture the output path from the Bash tool result and reuse it for all parallel agents to ensure consistency.
.claude/skills/workspace-review-changes/scripts/prepare-review-dir.sh {workspace-name}
The script outputs the created directory path to stdout (e.g., workspace/{workspace-name}/artifacts/reviews/20260116-103045). Use this path in subsequent steps.
For each repository in the workspace, launch both agents in parallel in background:
Task tool:
subagent_type: workspace-repo-review-changes
run_in_background: true
prompt: |
Workspace: {workspace-name}
Repository: {org/repo-path}
Base Branch: {base-branch}
Review Timestamp: {timestamp}
What the agent does (defined in agent, not by prompt):
Task tool:
subagent_type: workspace-repo-todo-verifier
run_in_background: true
prompt: |
Workspace: {workspace-name}
Repository: {org/repo-path}
Base Branch: {base-branch}
Review Timestamp: {timestamp}
What the agent does (defined in agent, not by prompt):
TODO-VERIFY-{org}_{repo}.md) to review directoryExample filenames: For repository github.com/sters/ai-workspace:
REVIEW-github.com_sters_ai-workspace.mdTODO-VERIFY-github.com_sters_ai-workspace.mdImportant: Launch ALL agents (both review and verification for all repos) in parallel in a single message. Pass the same {timestamp} value to all agents.
Do NOT wait for agents to complete. Proceed immediately to Step 4.
Report the launched agents to the user immediately.
User: Review the changes in my current workspace
Assistant: Let me review the workspace. First, I'll identify which workspace you're working in...
[Identifies 3 repositories, launches 6 agents (3 review + 3 verification) in background]
Launched 6 review agents in background for 3 repositories.
Review reports will be written to: workspace/feature-user-auth-20260116/artifacts/reviews/20260116-103045/
Use /workspace-show-status to monitor progress.
User: Review workspace/feature-login-fix-20260115
Assistant: I'll review the workspace/feature-login-fix-20260115 workspace...
[Identifies 2 repositories, launches 4 agents (2 review + 2 verification) in background]
Launched 4 review agents in background for 2 repositories.
Use /workspace-show-status to monitor progress.
After launching review agents, report directly to the user immediately (do NOT wait for agents to complete):
/workspace-show-status {workspace-name} to monitor progressWhen all per-repository background agents (review + verification) have completed (confirmed via <task-notification>):
Launch the workspace-collect-reviews agent in the background to aggregate results:
Task tool:
subagent_type: workspace-collect-reviews
run_in_background: true
prompt: |
Workspace: {workspace-name}
Review Timestamp: {timestamp}
When workspace-collect-reviews completes (via <task-notification>), display its response to the user. The response contains FINDINGS and TODO one-line summaries that give the user an overview of review results without opening the detailed report.
After displaying the findings summary, use AskUserQuestion to let the user choose the next action:
AskUserQuestion:
question: "What would you like to do next?"
header: "Next step"
options:
- label: "/workspace-create-or-update-pr (Recommended)"
description: "Create pull requests"
- label: "/workspace-show-status"
description: "Check detailed review results"
- label: "/workspace-execute"
description: "Continue executing TODO items if issues were found"
After the user selects an option, invoke the corresponding skill with the workspace name as argument. Do NOT invoke other skills automatically before asking.
workspace-repo-review-changes agent/) in repository paths with underscores (_) when generating filenames/workspace-show-status to monitor progress. Once all reviews are done, proceed to /workspace-create-or-update-pr.