Merged
Conversation
The agentdocsspec checker flagged missing cache headers on .md and .txt files. Add Cache-Control: public, max-age=300 to match the HTML pages.
The agentdocsspec checker flagged the llms.txt directive as "buried deep (past 50%)" because the rehype plugin injected it into the Starlight content area, after the header, nav, and sidebar. Move the directive to the Banner component (top of <main>) and add a <link rel="help"> in <head>. Remove the now-unused rehype plugin.
When built with a versioned base path (e.g. /0.2/), the llms.txt title now reads "ICP CLI Documentation (v0.2)" instead of the generic title.
Point agents to the skills discovery endpoint so they can find and install specialized IC development skills (icp-cli, canister security, ICRC ledger, etc.) alongside the documentation.
raymondk
approved these changes
Mar 19, 2026
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.
Summary
Addresses issues flagged by
npx afdocs check:Cache-Control: public, max-age=300for.mdand.txtfiles (previously had no cache headers)<main>) and a<link rel="help">in<head>llms.txtso agents can find and install specialized skillsNot addressed