i18n/zh-TW/lint-and-validate/SKILL.md
自動品質控制、Lint 與靜態分析程序。每次程式碼修改後使用,確保語法正確性和專案標準。觸發關鍵字:lint、format、check、validate、types、static analysis。
npx skillsauth add tai-ch0802/skills-bundle lint-and-validateInstall 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.
必要: 每次程式碼變更後執行適當的驗證工具。在程式碼無錯誤之前不要完成任務。
npm run lint 或 npx eslint "path" --fixnpx tsc --noEmitnpm audit --audit-level=highruff check "path" --fix(快速且現代)bandit -r "path" -llmypy "path"npm run lint && npx tsc --noEmitlint 失敗:立即修復樣式或語法問題。tsc 失敗:在繼續之前修正型別不匹配。.eslintrc、tsconfig.json、pyproject.toml 並建議建立一個。嚴格規則: 未通過這些檢查的程式碼不應被提交或報告為「完成」。
| 腳本 | 用途 | 指令 |
|------|------|------|
| scripts/lint_runner.py | 統一 lint 檢查 | python scripts/lint_runner.py <project_path> |
| scripts/type_coverage.py | 型別覆蓋率分析 | python scripts/type_coverage.py <project_path> |
development
Unified testing skill — TDD workflow, unit/integration patterns, E2E/Playwright strategies. Replaces tdd-workflow + testing-patterns + webapp-testing.
testing
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
development
Spec-Driven Development (SDD): A structured workflow (Requirement -> Analysis -> Implementation) enforcing explicit documentation before coding.
development
Methodologies for System Analysis (SA), focusing on technical architecture, data flow modeling, and API design.