miles990/claude-domain-skills/consistency-checker
Claude Code and agent skill by miles990/claude-domain-skills
Trust tier 3
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
內容一致性檢查器 — 確保程式碼、文檔、多來源之間保持一致
Install
npx vskill@latest install miles990/claude-domain-skills/consistency-checkerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as miles990/claude-domain-skills/consistency-checker.
Consistency Checker v1.0.0
確保內容一致性:程式碼風格 → 文檔同步 → 跨 Repo 同步 → AI 輸出驗證
快速使用
四大檢查模組
| 模組 | 用途 | 觸發時機 | |
|---|---|---|---|
| code-consistency | 命名、風格、API 一致性 | 開發中、PR 前 | |
| doc-consistency | 文檔與程式碼同步 | 變更後、PR 前 | |
| cross-repo-sync | 多 Repo 內容同步 | 跨專案更新時 | |
| output-consistency | AI 輸出前後一致性 | 生成內容後 |
執行流程
模組 1: 程式碼一致性 (code-consistency)
檢查項目
| 項目 | 說明 | |
|---|---|---|
| 命名規則 | 變數、函數、類別命名是否符合專案慣例 | |
| 程式碼風格 | 縮排、括號、分號等格式 | |
| API 一致性 | 相似功能的 API 設計是否一致 | |
| 錯誤處理 | Error 類別、錯誤訊息格式 | |
| Import 順序 | 引入順序是否符合慣例 |
執行
模組 2: 文檔一致性 (doc-consistency)
檢查項目
| 項目 | 說明 | |
|---|---|---|
| README 同步 | README 描述是否與實際功能一致 | |
| API 文檔 | API 文檔是否與實作一致 | |
| SKILL.md | version、description 是否正確 | |
| 註解同步 | 函數註解是否與實作一致 | |
| 範例程式碼 | 文檔中的範例是否能執行 |
執行
模組 3: 跨 Repo 同步 (cross-repo-sync)
檢查項目
| 項目 | 說明 | |
|---|---|---|
| 版本同步 | 多個 Repo 的版本是否一致 | |
| 共享檔案 | 相同檔案內容是否同步 | |
| 設定同步 | 設定檔是否一致 | |
| 依賴同步 | 共同依賴版本是否一致 |
執行
同步流程
模組 4: AI 輸出一致性 (output-consistency)
檢查項目
| 項目 | 說明 | |
|---|---|---|
| 前後矛盾 | 同一對話中的陳述是否矛盾 | |
| 事實一致 | 引用的事實是否正確 | |
| 指令一致 | 建議的指令是否真實存在 | |
| 格式一致 | 輸出格式是否統一 |
執行
重點:指令驗證
在建議指令前,務必先透過 context7 查詢官方文檔確認指令存在。
整合使用場景
場景 1: 開發中
場景 2: PR 前
場景 3: 跨 Repo 同步
場景 4: AI 輸出驗證
擴展資源
- 完整範例與模板 → extended/examples.md
- CLAUDE.md 配置範例 → extended/examples.md#claude-md-配置範例
為什麼重要
- 防止不一致 — 程式碼、文檔、多來源保持同步
- 減少錯誤 — 提前發現潛在問題
- 提升品質 — 統一風格和規範
- 建立信任 — AI 輸出經過驗證更可靠
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmethodology/consistency-checker/skills/consistency-checker/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/miles990/claude-domain-skills/consistency-checker)