check

GitHub

执行代码验证门禁,包括格式化、静态检查和单元测试。支持指定包或全量运行,确保任务完成前代码质量达标。

.claude/skills/check/SKILL.md Giskard-AI/giskard-oss

Trigger Scenarios

用户输入/check命令 需要验证代码格式和测试通过

Install

npx skills add Giskard-AI/giskard-oss --skill check -g -y
More Options

Non-standard path

npx skills add https://github.com/Giskard-AI/giskard-oss/tree/main/.claude/skills/check -g -y

Use without installing

npx skills use Giskard-AI/giskard-oss@check

指定 Agent (Claude Code)

npx skills add Giskard-AI/giskard-oss --skill check -a claude-code -g -y

安装 repo 全部 skill

npx skills add Giskard-AI/giskard-oss --all -g -y

预览 repo 内 skill

npx skills add Giskard-AI/giskard-oss --list

SKILL.md

Frontmatter
{
    "name": "check",
    "description": "Run the giskard-oss verification gate (format, check, unit tests) for a package",
    "disable-model-invocation": true
}

check

Run the giskard-oss verification gate that AGENTS.md mandates before any task is "done":

make format && make check && make test-unit PACKAGE=<affected-lib>

Usage

/check <package> — run the full gate scoped to one lib's unit tests.

/check — run the gate; unit tests cover all libs (slower).

<package> is a directory under libs/: giskard-agents, giskard-checks, giskard-core, giskard-llm, giskard-scan.

What to run

With a package:

make format && make check && make test-unit PACKAGE=<package>

Without a package:

make format && make check && make test-unit

format and check are repo-wide and take no PACKAGE. Only test-unit is scoped.

Notes

  • Run the three steps as one && chain so a failure stops the gate early.
  • Report failures with the command's output — do not claim the gate passed unless every step exited 0.
  • make format mutates files (ruff format + check --fix); show the resulting diff if anything changed.

Version History

  • 8aafe58 Current 2026-07-25 04:51

Same Skill Collection

.claude/skills/fix-cve/SKILL.md
.claude/skills/giskard-oss-quality-gate/SKILL.md
.claude/skills/setup-env/SKILL.md
.cursor/skills/giskard-checks-new-check/SKILL.md
.cursor/skills/giskard-oss-pr-ready/SKILL.md

Metadata

Files
0
Version
39f4bb2
Hash
cd035a5b
Indexed
2026-07-25 04:51

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 00:36
浙ICP备14020137号-1 $mapa de visitantes$