💻

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

小葱技能站7w4.net每天更新,海量AI技能等你发现。

  • 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
  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