💻

Code Check

👤 openlark 📦 v1.0.0 ⭐ 4.3 ⬇️ 370 下載
💻 開發程式設計 免費

📖 技能介紹


name: code-check description: Run project quality checks and security reviews, fixing all errors by priority until all pass.


Code Quality & Security Checks

Run comprehensive project checks and fix all issues by priority.

Use Cases

Use when users need "check code", "run check", "fix lint errors", or "code quality check".

Core Task

Run the project check command and resolve all errors. Loop: check → fix → re-check until all pass.

Important Rules

  • Do not commit any code
  • Do not change version numbers
  • Only fix issues identified by checks

Check Types

Type Description JS/TS Python Rust Go
Lint Code style & syntax ESLint flake8 clippy golint
Type Check Type errors tsc mypy cargo check go vet
Tests Failing cases jest/vitest pytest cargo test go test
Security Vulnerability detection npm audit bandit cargo audit govulncheck
Formatting Style consistency prettier black rustfmt gofmt
Build Compilation errors tsc --noEmit cargo check go build

Workflow

  1. Run the check command
  2. Analyze output for errors and warnings
  3. Fix by priority:
  4. 🔴 Build-breaking errors (highest priority)
  5. 🔴 Test failures

    7w4.net提供免費和付費技能下載。

  6. 🟡 Linting errors
  7. 🟢 Warnings
  8. Re-run checks after each fix
  9. Continue until all checks pass

Multi-Project Types

  • JavaScript/TypeScript: npm run check or yarn check
  • Python: blackisortflake8mypy
  • Rust: cargo checkcargo clippy
  • Go: go vetgolint
  • Swift: swift-formatswiftlint

If the project has no check script, execute the above commands individually.

🤖 AI 評測

這個 Skill 質量中規中矩,功能覆蓋較全面,支援多種程式語言的多種檢查型別,工作流程清晰且有風險提示。但目前只提供了說明文件,沒有實際程式碼示例和測試驗證,質量穩定性有待確認。建議先用小專案試用,觀察實際效果後再決定是否大規模使用。

📊 多維度評分

適應性4.8
規範性4
有效性4.4
可靠性4
可信度4.5

📁 包含檔案 (3 個)

📄 SKILL.md 1.7 KB
📄 _meta.json 129 B
📄 skill-card.md 1.9 KB