← 返回 Skills 市场
openlark

Code Check

作者 OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
38
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install code-check
功能描述
Run project quality checks and security reviews, fixing all errors by priority until all pass.
使用说明 (SKILL.md)

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:
    • 🔴 Build-breaking errors (highest priority)
    • 🔴 Test failures
    • 🟡 Linting errors
    • 🟢 Warnings
  4. Re-run checks after each fix
  5. 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.

安全使用建议
Install this only if you want an agent to run your project's check commands and edit files to resolve reported issues. Review commands in unfamiliar repositories before using it, especially npm/yarn scripts, tests, build steps, and audit tools that may run code, consume time, or access the network.
能力评估
Purpose & Capability
The stated purpose is to run quality/security checks and fix reported errors; the instructions to run lint, test, type-check, audit, format, and build commands fit that purpose.
Instruction Scope
The skill clearly instructs an automated check-fix-recheck loop and limits edits to check-reported issues, but users should know that project-defined check commands can execute code and may change files.
Install Mechanism
The package contains only a single SKILL.md markdown file, with no executable installer, dependencies, or bundled scripts.
Credentials
Running project checks and formatters is proportionate for this purpose, but can be resource-intensive and may trigger network access through security audit tools or project scripts.
Persistence & Privilege
No persistence, credential access, background workers, privilege escalation, commits, or version changes are requested; the skill explicitly says not to commit code or change version numbers.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install code-check
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /code-check 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: automatic code quality and security check fixer. - Runs project quality and security checks across multiple languages (JS/TS, Python, Rust, Go, Swift). - Automatically analyzes errors and fixes issues in order of priority until all checks pass. - Supports linting, type checking, tests, security audits, formatting, and build checks. - Follows a strict loop: check → fix → re-check. - Only addresses errors reported by project checks; no code commits or version changes are made.
元数据
Slug code-check
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Code Check 是什么?

Run project quality checks and security reviews, fixing all errors by priority until all pass. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 38 次。

如何安装 Code Check?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install code-check」即可一键安装,无需额外配置。

Code Check 是免费的吗?

是的,Code Check 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Code Check 支持哪些平台?

Code Check 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Code Check?

由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。

💬 留言讨论