skills/survey/SKILL.md
掃描專案結構並產出完整技術文件索引,供團隊成員與 AI 快速理解專案全貌。
npx skillsauth add CloudyWing/ai-dotfiles surveyInstall 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.
當使用者要求掃描專案、建立文件索引、補齊技術文件或盤點專案結構時,請套用本 Skill。
.md 的目錄):
docs/。| 面向 | 預設檔案 |
| --- | --- |
| 總覽 | _index.md |
| 技術棧 | tech-stack.md |
| 目錄結構 | directory-structure.md |
| 環境變數 | environment-variables.md |
| 架構設計 | architecture.md |
| 資料模型 | data-model.md |
| 業務流程 | business-flows.md |
| 頁面流向 | page-flows.md |
| API | api-endpoints.md |
| 驗證與權限 | auth-and-permissions.md |
| 前端狀態 | frontend-state.md |
| 部署與 CI/CD | deployment.md |
| 基礎設施機制 | infrastructure-patterns.md |
| 決策與債務 | decisions-and-debt.md |
不適用的面向在總索引標「不適用」,不產出對應檔案。
現有文件有缺口時,直接補充進原始檔案(Merge 模式),禁止另建 *-supplement.md 類附錄。
驗證交叉連結、靜態驗證 Mermaid 語法、確認總索引涵蓋所有已產出文件。
.local/、.env、bin/、obj/ 等敏感路徑(除非使用者明確授權)。tools
PowerShell 腳本撰寫規範:嚴格模式、錯誤處理、參數宣告、Verb-Noun 命名與 5.1 相容語法邊界。當撰寫或修改 `*.ps1` / `*.psm1` 腳本時自動套用。
tools
產生或補齊 .gitattributes,統一行尾處理、二進位識別與 lock files 標記,保留既有自訂偏好。
development
產生或補齊前端 Lint 設定(Prettier + ESLint Flat Config),統一格式化與程式碼品質規則,保留既有自訂偏好。
testing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously produced fact-check-report.md.