skills/broken-link-check/SKILL.md
broken-link 偵測工具。掃描 .claude/ 目錄所有 Markdown 文件中的路徑引用,偵測失效連結。Use for: (1) 一次性掃描所有 broken links, (2) 搭配 /loop 定期監控, (3) 修改規則/方法論/代理人文件後驗證路徑完整性。Use when: user runs /broken-link-check, 或搭配 /loop 定期執行, 或發現 broken link 錯誤後。
npx skillsauth add tarrragon/claude broken-link-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
掃描 .claude/ 目錄下所有 Markdown 文件中的路徑引用,偵測失效連結。
.claude/ 目錄中的規則、方法論、代理人定義文件大量交叉引用彼此。
當文件被重命名或移動時,舊的引用路徑會變成 broken link。
此工具用於定期偵測此類問題,防止 broken links 長期未被發現。
/broken-link-check
/loop 1h /broken-link-check
執行 /broken-link-check 時,依序執行以下步驟:
使用 Glob 工具找出 .claude/ 目錄下所有 .md 文件:
.claude/**/*.md.claude/hook-logs/(日誌目錄,非文件)對每個文件,使用 Grep 找出所有路徑引用行。 偵測的路徑格式:
| 格式 | 範例 | 說明 |
|------|------|------|
| @.claude/path/file.md | @.claude/pm-rules/decision-tree.md | @ 前綴的絕對引用 |
| .claude/path/file.md | .claude/agents/incident-responder.md | 裸路徑絕對引用 |
| ../path/file.md | ../agents/lavender-interface-designer.md | 相對路徑引用 |
| ./path/file.md | ./references/detail.md | 當前目錄相對引用 |
排除以下不需要檢查的引用:
http:// 或 https:// 開頭(外部 URL)#section 開頭(錨點連結)``` 包圍的區塊)將引用轉換為實際文件系統路徑:
@.claude/path/file.md → 從專案根目錄的 .claude/path/file.md.claude/path/file.md → 從專案根目錄的 .claude/path/file.md../path/file.md → 相對於引用文件所在目錄向上一層解析./path/file.md → 相對於引用文件所在目錄解析對每個解析後的路徑使用 Glob 或 Read 工具確認是否存在。
broken-link-check 掃描結果
掃描範圍:.claude/ (N 個 .md 文件)
掃描時間:YYYY-MM-DD HH:MM
[有問題] N 個 broken links:
.claude/pm-rules/decision-tree.md:123
→ .claude/agents/system-analyst.md(不存在)
→ 建議:可能已重命名,搜尋相似文件
.claude/pm-rules/tdd-flow.md:45
→ .claude/project-templates/FLUTTER.md(不存在)
→ 建議:確認正確路徑
[正常] 所有其他 N 個引用路徑均存在
無問題時:
broken-link-check 掃描結果
掃描範圍:.claude/ (N 個 .md 文件)
掃描時間:YYYY-MM-DD HH:MM
[正常] 所有 N 個引用路徑均存在,無 broken links
發現 broken link 時,建議的修復步驟:
.claude/ 目錄(不掃描 docs/、ui/、server/ 等).claude/ 目錄(100+ 文件)掃描可能需要數分鐘Version: 1.0.0 Last Updated: 2026-03-08 Source: broken links 後置預防機制
development
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
development
Claude Code release notes 框架影響評估工具。比對 last-reviewed 版本篩出新版本,逐項分類(對框架有幫助 / 需評估 / 無影響 / 不適用),對採用項引導建 ANA + WRAP + spawn 落地。Use when: 執行 /release-notes 看到新版本、定期檢查 CC 更新、評估新功能對專案框架的影響時。Triggers: release notes, release-notes, CC 更新, claude code 更新, 版本更新評估, 新功能評估, 框架影響評估。
development
Assertion design judgment framework for flaky and design-quality issues. Use when writing tests, reviewing assertions, diagnosing flaky tests, or deciding if a timing/float/cache assertion is appropriate. Do NOT use for API syntax or refactoring.
tools
Chrome Extension 實機測試與 debug 工作流,以 chrome-devtools-mcp 為核心工具。Use when: (1) 完成功能後實機驗證 / manual test / 試看看 / 跑看看 / verify feature, (2) extension debug / popup 不作動 / content script 不注入 / service worker 報錯 / background 出問題, (3) 安裝 unpacked extension / load unpacked / 載入未封裝, (4) 看 console / 看 network / 看 log / view console / inspect requests, (5) 功能更新後重新載入 extension / rebuild reload / reload extension。涵蓋 Manifest V3 service worker / content script / popup / options page 的 chrome-devtools-mcp 工具呼叫流程。不取代 Puppeteer / Playwright 自動化 E2E(CI 用),定位為開發期手動驗證與 LLM-assisted debug。