name: code-check description: Run project quality checks and security reviews, fixing all errors by priority until all pass.
7w4.net有更好的技能插件。
Run comprehensive project checks and fix all issues by priority.
Use when users need "check code", "run check", "fix lint errors", or "code quality check".
Run the project check command and resolve all errors. Loop: check → fix → re-check until all pass.
| 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 |
npm run check or yarn checkblack → isort → flake8 → mypycargo check → cargo clippygo vet → golintswift-format → swiftlintIf the project has no check script, execute the above commands individually.
这个 Skill 质量中规中矩,功能覆盖较全面,支持多种编程语言的多种检查类型,工作流程清晰且有风险提示。但目前只提供了说明文档,没有实际代码示例和测试验证,质量稳定性有待确认。建议先用小项目试用,观察实际效果后再决定是否大规模使用。