Skip to content

fix(docs): repoint stale slash-commands link to code.claude.com - #345

Merged
laurigates merged 1 commit into
mainfrom
fix/stale-slash-commands-link
Jul 28, 2026
Merged

fix(docs): repoint stale slash-commands link to code.claude.com#345
laurigates merged 1 commit into
mainfrom
fix/stale-slash-commands-link

Conversation

@laurigates

Copy link
Copy Markdown
Owner

What

One URL in exact_dot_claude/docs/prds/daily-catchup.PRD.md:

https://docs.anthropic.com/claude-code/commandshttps://code.claude.com/docs/en/slash-commands

Why

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:

Candidate Result
docs.claude.com/en/docs/claude-code/slash-commands 200 → code.claude.com/docs/en/slash-commands
docs.anthropic.com/en/docs/claude-code/slash-commands 200 → code.claude.com/docs/en/slash-commands
code.claude.com/docs/en/slash-commands 200 (final)

Using the final destination avoids a redirect hop and matches the code.claude.com links already in rules/claude-code-auto-mode.md.

Left alone

The two other docs.anthropic.com links in the repo (in exact_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

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
@github-actions github-actions Bot added documentation Improvements or additions to documentation claude size/xs labels Jul 28, 2026
@laurigates
laurigates merged commit e3fb578 into main Jul 28, 2026
8 checks passed
@laurigates
laurigates deleted the fix/stale-slash-commands-link branch July 28, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude documentation Improvements or additions to documentation size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant