On this page
AI-generated README files can contain plausible-looking links that are outdated, unrelated, inaccessible, or entirely wrong. Before releasing, check links in an AI-generated README as you would any other unverified contribution: inspect both where each link leads and whether its destination supports the surrounding text.
This checklist covers links maintainers commonly ship, including documentation, downloads, issue trackers, badges, and external references. The commands below are illustrative; they were not executed for this article, and the relevant documentation could not be independently checked in this run.
Key Takeaways
- A successful HTTP response is an availability signal, not proof that a link is accurate, safe, or relevant.
- Check the final destination and its content, including any redirect chain, before approving a link.
- Verify download and issue-tracker links against trusted project configuration, not just the generated README.
- Treat authentication failures and automated-request blocks as unresolved until you can check the link through an appropriate access path.
- Review relative links and fragments in the rendered release context, not only in the source file.
Release-review checklist
Review the README as rendered, while also inspecting its Markdown source for image URLs, reference-style links, and embedded HTML that may be easy to miss.
- Documentation: Confirm each link opens the intended project, product, or API documentation. Check that the page applies to the release and that any section anchor reaches the intended section.
- Downloads and installation: Confirm links point to the intended release and platform. Compare the destination with trusted release metadata. Verify checksums or signatures against values obtained through a trusted, independent channel when the project provides them; do not execute a download merely to test the link.
- Issue tracker: Confirm the destination is the project's actual tracker and that readers can find the right place to report a problem. Check any prefilled issue-template links without submitting an issue.
- Badges: Check both the badge image URL and the destination reached by clicking it. Confirm the badge refers to the correct project and, where relevant, the correct branch or release. A displayed badge alone does not establish that its underlying status is current.
- External references: Read enough of each destination to confirm it supports the specific claim beside the link. Check that the author, project, or organization is the intended one—not merely a site with a similar name.
- Relative links and images: Check that referenced files are included in the release artifact and resolve from the published README's location. Check spelling, capitalization, and fragment identifiers in the environment readers will use.
- Sensitive information: Inspect URLs for access tokens, private paths, or query parameters that should not be published. Do not paste private URLs into third-party checking services without authorization.
Advertisement
Verify the destination and its relevance
For every substantive link, compare three things: the README's wording, the URL actually used by the link, and the content at the destination. Link text can say “installation guide” while pointing to a project home page, an unrelated repository, or an obsolete version of the guide.
For example, if a README says “See the installation guide for Linux packages,” check that the destination actually describes Linux packages for the release being shipped. A page that loads successfully but only describes a different product or platform should not pass review.
Inspect the hostname and path before opening an unfamiliar link. Then review the page in a browser or another appropriate client, paying attention to the final address. Compare important destinations with a trusted source you already have, such as the project's maintained release configuration or an independently confirmed project website. A plausible hostname or a working page is not, by itself, proof of ownership or safety.
Record the result as verified, needs correction, or unresolved, with a short reason and the reviewer responsible for follow-up. This distinction is useful when a link cannot be accessed before the release: an unresolved link is not a verified one.
Check HTTP responses and redirects
An HTTP status check can help locate broken links, but it cannot verify the page's accuracy or trustworthiness. A login page, generic error page, or unrelated page may return a successful response. Conversely, an error response does not always mean the link is wrong: access controls, rate limits, or automated-request restrictions may affect the check.
To inspect headers without automatically following redirects, replace the example URL below with a URL you are authorized to check:
curl --head --max-time 20 -- 'https://example.com/'
Look at the response status and, for a redirect, the Location header. Inspect the proposed destination before requesting it, then repeat the check on that destination if appropriate. Continue until you reach a final response, encounter a loop, or decide that a destination is unexpected. Some sites handle a HEAD request differently from a normal browser request, so an unexpected result warrants a browser check or a carefully scoped GET request.
Don't automatically follow an unknown redirect chain from a privileged machine or network: a destination could point to a local or internal service. Avoid sending credentials to an unfamiliar destination. If an approved automated checker follows redirects, review its network access and redirect handling as well as the URLs it reports.
Advertisement
Links that need access or block automation
- Authentication required: Use an authorized account to check the page in the intended reader context. Decide whether a public README should instead link to a public resource or clearly say that access is restricted.
- Automation blocked or rate-limited: Check the link manually when permitted, and record the automated check as inconclusive rather than passing it. Avoid repeatedly retrying a service that is limiting requests.
- Temporary server failure: Retry later or ask the destination's owner when appropriate. If the release cannot wait, remove or qualify the link rather than claiming it was verified.
For an automated link-checking workflow, review exceptions individually. A blanket allowlist for every authentication or network error can hide genuinely broken links.
Common Mistakes
- Approving every 2xx response. Check the content and final address as well as the status.
- Checking only the visible link text. Inspect the actual Markdown destination, including image sources and reference definitions.
- Assuming a redirect is harmless. Review each destination, especially if the hostname changes.
- Testing only in a local preview. Relative paths, assets, and anchors can behave differently in the published repository or release artifact.
- Treating an inaccessible page as correct. Mark it unresolved and use an authorized review path.
- Trusting a generated download URL because it resembles the official one. Confirm it against trusted release metadata before publishing.
Best Practices
Run link checks near the release candidate, then have a maintainer review the destination and relevance of links that matter to installation, support, security, and project claims. Repeat checks after README edits or changes to release assets. Keep a short record of exceptions and who approved them so an automated failure does not quietly become a permanent exemption.
Prefer stable, project-controlled destinations where appropriate, but still review them: ownership, access, and content can change. For external links, remove or revise claims that you cannot substantiate.
Conclusion
Treat every AI-generated README link as a claim to verify, not just a URL to ping. Checking destinations, redirects, access requirements, and page relevance before release gives readers a more dependable path to documentation, downloads, and support.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.