Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Drop stale label-noting instructions from CLAUDE.md and review-pr skill (#4654)

Jeremiah Lowin9ea5a4072846
diff --git a/.claude/skills/review-pr/SKILL.md b/.claude/skills/review-pr/SKILL.md
index 93d0ebbf8..ae37ee33a 100644
--- a/.claude/skills/review-pr/SKILL.md
+++ b/.claude/skills/review-pr/SKILL.md
@@ -96,12 +96,9 @@ Codex sometimes re-posts old comments that reference code you've already fixed (
## Labels β€” never apply or invent them
-**Do not apply labels to PRs or issues programmatically, and never create new ones.** Labeling is the maintainer's call (and is often automated). Two hard rules:
+**Do not apply labels to PRs or issues programmatically, and never create new ones.** Issues and PRs in this repo are auto-labeled by a bot based on title, body, and code changes β€” there's no fixed canonical list to match against, and GitHub's "add labels" API auto-creates any label name that doesn't already exist, so a typo or guessed name silently pollutes the repo's label list with a stray, uncolored duplicate. There is no MCP tool to delete a label, so a mistaken creation can only be cleaned up by hand in repo settings.
-- **Never invent a label.** GitHub's "add labels" API *auto-creates* any label name that doesn't already exist β€” so a typo or a guessed name silently pollutes the repo's label list with a stray, uncolored duplicate. Adding `breaking` (which does not exist) creates it alongside the real `breaking change` label.
-- **Use only labels that already exist.** If you genuinely need to confirm a label, look it up first (`get_label` / the repo's label list) and match the exact name. The canonical names here are specific β€” e.g. the breaking-change label is **`breaking change`**, not `breaking`; enhancements is **`enhancements`**, features is **`features`**, bugs is **`bugs`**.
-
-When a change warrants a label (e.g. it's breaking), **say so in the PR body and let the maintainer apply the label** rather than applying it yourself. There is no MCP tool to delete a label, so a mistaken creation can only be cleaned up by hand in repo settings β€” the cost of guessing is high and one-directional.
+Don't call out a "suggested" or "appropriate" label in the PR body either β€” the bot doesn't read it, and it just adds noise.
## When a PR is ready
diff --git a/CLAUDE.md b/CLAUDE.md
index e900cc9c7..1aff501e2 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -60,7 +60,7 @@ When modifying MCP functionality, changes typically need to be applied across al
- Prek hooks are required (run automatically on commits)
- Never amend commits to fix prek failures
-- Never apply labels manually or invent new ones β€” the GitHub API auto-creates any unknown label name, polluting the repo's label list. Note the appropriate label in the PR body and let the maintainer/automation apply it. Canonical names: `bugs`, `breaking change`, `enhancements`, `features` (it's `breaking change`, not `breaking`). See the review-pr skill.
+- Never apply labels manually or invent new ones β€” issues and PRs are auto-labeled by a bot based on title/body/code changes. Don't note a "suggested" or "appropriate" label anywhere in the PR body either. See the review-pr skill.
- Improvements = enhancements (not features) unless specified
- **NEVER** force-push on collaborative repos
- **ALWAYS** run prek before PRs