[DOCS] Dead link on /en/prompt-library. Common workflows link 404s

Open Beginner friendly
#111,658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
markdown
Domain
documentation

Research direction

Start at the "Make it stick" link under the "Catch issues before formal review" section of the prompt-library page, and at the "skills" section link, then find the source where these links are written as /docs/en/.... Search the docs source for other /docs/en/ links, since the issue suggests they are affected too. Done when the common-workflows and skills links resolve without a 404, no /docs/docs/ path remains, and any lint check you add flags that pattern.

Written by the indexing model from the issue text.

Description

area:docs bug documentation
Documentation Type

Broken links

Documentation Location

https://code.claude.com/docs/en/prompt-library

Section/Topic

Catch issues before formal review > Make it stick link

Current Documentation

No response

What's Wrong or Missing?

Some internal links in the docs are broken because they have a duplicated /docs/ path segment. For example, the link meant for "common workflows" resolves to:

https://code.claude.com/docs/docs/en/common-workflows

instead of:

https://code.claude.com/docs/en/common-workflows

Visiting the broken URL returns a 404 page. The "skills" section link has the same problem. It looks like the links are written as /docs/en/... and then get the /docs base path prepended a second time.

I saw this on: https://code.claude.com/docs/en/prompt-library

Suggested Improvement

Fix the link targets so they resolve to the correct URLs:

"common workflows" should link to https://code.claude.com/docs/en/common-workflows (or the relative path /en/common-workflows, depending on how the site prepends its base path).
The "skills" section link should get the same fix, so it points to https://code.claude.com/docs/en/skills or whatever the correct skills page is.

It would also help to search the rest of the docs for other links that start with /docs/en/. They are probably affected too, and a lint check that flags /docs/docs/ URLs would stop this from coming back.

Impact

Medium - Makes feature difficult to understand

Additional Context

No response

Dominant language
TypeScript
Stars
156k
Forks
25k
Avg merge
16h 19m
Merged PRs (30d)
5

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.