fix(docs): repoint stale slash-commands link to code.claude.com - #345
Merged
Conversation
The Link Checker workflow has been failing on main, and this is the only error it reports: a 404 on https://docs.anthropic.com/claude-code/commands, cited from exact_dot_claude/docs/prds/daily-catchup.PRD.md. That path predates the docs reorganisation and no longer redirects. Verified the replacement resolves 200 and is the canonical destination — both docs.claude.com/en/docs/claude-code/slash-commands and the old docs.anthropic.com/en/docs/... form redirect to code.claude.com/docs/en/ slash-commands, so the final URL is used directly. That also matches the code.claude.com links already used in rules/claude-code-auto-mode.md. The two other docs.anthropic.com links in the repo use the /en/docs/ prefix and still redirect cleanly; the checker does not flag them, so they are left alone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017AF6S4A2q5ha5Yhk8duyMp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
One URL in
exact_dot_claude/docs/prds/daily-catchup.PRD.md:https://docs.anthropic.com/claude-code/commands→https://code.claude.com/docs/en/slash-commandsWhy
The Link Checker workflow has been failing on
main, and this 404 is the only error it reports. That path predates the docs reorganisation and no longer redirects.Verified the replacement rather than assuming it — all three candidate forms resolve to the same final URL:
docs.claude.com/en/docs/claude-code/slash-commandscode.claude.com/docs/en/slash-commandsdocs.anthropic.com/en/docs/claude-code/slash-commandscode.claude.com/docs/en/slash-commandscode.claude.com/docs/en/slash-commandsUsing the final destination avoids a redirect hop and matches the
code.claude.comlinks already inrules/claude-code-auto-mode.md.Left alone
The two other
docs.anthropic.comlinks in the repo (inexact_dot_claude/docs/blueprint-development/README.md) use the/en/docs/prefix and still redirect cleanly — the checker does not flag them.🤖 Generated with Claude Code
https://claude.ai/code/session_017AF6S4A2q5ha5Yhk8duyMp