check
- Repo stars 1,024
- Author updated Live
- Author repo qshell
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @qiniu · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No special requirements
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: check
description: 开始时声明:"我正在使用 check skill 运行提交前检查。" 如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。 如果失败,列出 vet/staticch…
category: ai
runtime: no special runtime
---
# check output preview
## PART A: Task fit
- Use case: 开始时声明:"我正在使用 check skill 运行提交前检查。" 如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。 如果失败,列出 vet/staticcheck 报告的问题并给出修复建议。 如果任何步骤失败,停止并报告错误,给出修复建议。 有失败时列出具体错误和修复建议。 runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “执行步骤 / 步骤 1:代码格式化检查 / 步骤 2:静态检查” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “开始时声明:"我正在使用 check skill 运行提交前检查。" 如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。 如果失败,列出 vet/staticcheck 报告的问题并给出修复建议。 如果任何步骤失败,停止并报告错误,给出修复建议。 有失败时列出具体错误和修复建议。 runs entirely locally. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “执行步骤 / 步骤 1:代码格式化检查 / 步骤 2:静态检查” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “执行步骤 / 步骤 1:代码格式化检查 / 步骤 2:静态检查”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: check
description: 开始时声明:"我正在使用 check skill 运行提交前检查。" 如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。 如果失败,列出 vet/staticch…
category: ai
source: qiniu/qshell
---
# check
## When to use
- 开始时声明:"我正在使用 check skill 运行提交前检查。" 如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。 如果失败,列出 vet/staticcheck 报告的问题并给出修复建议。 如果任何…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “执行步骤 / 步骤 1:代码格式化检查 / 步骤 2:静态检查” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "check" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 执行步骤 / 步骤 1:代码格式化检查 / 步骤 2:静态检查
rules -> SKILL.md triggers / order / output contract
runtime -> no special runtime | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} 提交前检查
开始时声明:"我正在使用 check skill 运行提交前检查。"
执行步骤
步骤 1:代码格式化检查
gofmt -s -l .
如果有未格式化的文件,列出文件清单并提示运行 gofmt -s -w . 修复。
步骤 2:静态检查
make lint
如果失败,列出 vet/staticcheck 报告的问题并给出修复建议。
步骤 3:单元测试
make test
如果任何步骤失败,停止并报告错误,给出修复建议。
输出格式
全部通过时:
✓ gofmt — 通过
✓ lint — 通过
✓ test — 通过
有失败时列出具体错误和修复建议。
验收标准(统一)
- 输入前提:参数与上下文可解析;缺省参数按 skill 默认值执行,并在输出中注明。
- 产出要求:按 skill 约定的输出模板给出结果,并包含关键证据(命令、路径、链接或日志摘要)。
- 通过判定:主流程步骤已完成且无阻塞;若有未完成项,必须明确标注影响范围与下一步。
- 默认策略(非交互):需要确认但用户未及时响应时,采用"推荐默认值/最小风险项"继续;需要交互选择时优先推荐项。
- 阻塞升级:遇到权限、凭证、外部依赖缺失时立即停止该步骤,输出"阻塞点 + 已尝试 + 需要用户提供的信息"。
系统规范(AGENTS.md)
执行本 skill 时同时遵守 AGENTS.md 中的系统规范;与本 skill 冲突时以本 skill 为准。
Decide Fit First
Design Intent
How To Use It
Boundaries And Review