You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,3 +17,11 @@ This repository stores reusable AI workflows and supporting documentation.
17
17
- Treat `prompts/` as the canonical place for workflows meant to be pasted into Codex, GPT, or other tools without Claude slash commands.
18
18
- When the user asks to address PR review comments outside Claude slash commands, follow `prompts/address-review.md`.
19
19
- README is the human discovery surface. Update it whenever you add or rename a reusable asset.
20
+
21
+
## Canonical Source for Shared Commands
22
+
23
+
This repo is the single source of truth for shared commands (especially `/address-review`). Other repos copy these commands into their `.claude/commands/` directory.
24
+
25
+
**For agents working in consuming repos:** If you need to update a shared command like `/address-review`, do NOT edit the local copy. Instead, update the canonical version in this repo and re-sync using `bin/sync-commands`.
26
+
27
+
**For agents working in this repo:** When updating a shared command, keep it generic — no project-specific logic. Project-specific behavior belongs in the consuming repo's `CLAUDE.md` or `AGENTS.md`.
Copy file name to clipboardExpand all lines: README.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ For project-level sharing, copy to your project's `.claude/commands/` or `.claud
30
30
31
31
| Command | Description |
32
32
|---------|-------------|
33
-
|[`/address-review`](commands/address-review.md)| Fetch GitHub PR review comments and create todos to address them|
33
+
|[`/address-review`](commands/address-review.md)| Fetch GitHub PR review comments, triage them, create todos for must-fix items, reply to comments, and resolve addressed threads|
34
34
|[`/review-all-prs`](commands/review-all-prs.md)| Review all open PRs or a specific PR, post reviews to GitHub |
35
35
|[`/self-review`](commands/self-review.md)| Comprehensive self-review of uncommitted changes before creating a PR |
36
36
|[`/merge-commit-msg`](commands/merge-commit-msg.md)| Generate a structured merge commit message from PR changes |
@@ -79,6 +79,7 @@ Starter templates for new projects:
79
79
80
80
| Script | Description |
81
81
|--------|-------------|
82
+
|[`bin/sync-commands`](bin/sync-commands)| Sync commands from this repo into a target project's `.claude/commands/`|
82
83
|[`bin/chrome-mcp`](bin/chrome-mcp)| Launch Chrome with a separate profile for MCP browser debugging |
83
84
|`bin/set-review-instructions`| Initialize file-by-file review with instructions and changed file list |
84
85
|`bin/print-git-diff`| Print diff, before/after, and review instructions for a single file |
@@ -95,6 +96,55 @@ Starter templates for new projects:
95
96
|[Claude Code Review](.github/workflows/claude-code-review.yml)| Automatic PR review on open/sync |
96
97
|[Claude Code](.github/workflows/claude.yml)| Respond to `@claude` mentions in issues/PRs |
97
98
99
+
## Syncing Commands to Your Project
100
+
101
+
This repo is the canonical source for shared commands like `/address-review`. To keep a project in sync:
0 commit comments