From 4eb952540d5039cffbfe17485541db000bbc0ecf Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Mon, 17 Nov 2025 21:49:55 -0800 Subject: [PATCH] fix(skills): fix the regexp in the update_docs.js script Evidently they changed the URL scheme in [llms.txt](https://docs.claude.com/llms.txt) has changed; `claude-code` is no longer in the URL. After this change, the script fetches 95 docs. --- skills/working-with-claude-code/scripts/update_docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/working-with-claude-code/scripts/update_docs.js b/skills/working-with-claude-code/scripts/update_docs.js index 1ed8627..8cf8421 100755 --- a/skills/working-with-claude-code/scripts/update_docs.js +++ b/skills/working-with-claude-code/scripts/update_docs.js @@ -14,7 +14,7 @@ const fs = require('fs'); const path = require('path'); const LLMS_TXT_URL = 'https://docs.claude.com/llms.txt'; -const CLAUDE_CODE_PATTERN = /https:\/\/docs\.claude\.com\/en\/docs\/claude-code\/[^\s)]+\.md/g; +const CLAUDE_CODE_PATTERN = /https:\/\/docs\.claude\.com\/en\/docs\/[^\s)]+\.md/g; const REFERENCES_DIR = path.join(__dirname, '..', 'references'); /**