跳到正文
cccskills
免费在 GitHub 公开

skill-check

Use when the user wants to validate, lint, or audit agent skill files (SKILL.md). Use when they say "validate these skills," "check this repo's skills," "lint SKILL.md files," or "audit skills in [repo URL]." Run skill-check locally or against a cloned GitHub repo and summarize findings.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

skill-check

Validate agent skill files (SKILL.md) using the skill-check tool. Support both local paths and GitHub repos.

Installation

Ensure skill-check is available before running checks:

  • No install (recommended for one-off or agent use): npx skill-check — uses npm to run the latest version; requires Node.js and network on first run.
  • Global install (curl): curl -fsSL https://raw.githubusercontent.com/thedaviddias/skill-check/main/scripts/install.sh | bash — installs a global skill-check binary.
  • Homebrew: brew tap thedaviddias/skill-check https://github.com/thedaviddias/skill-check then brew install skill-check.

If the user has not installed skill-check, use npx skill-check so no prior install is needed. To confirm the tool is available, run npx skill-check rules and expect a list of built-in rule IDs.

When to use

  • User asks to validate, lint, or check skill files
  • User provides a local path (e.g. ~/.cursor/skills, ./skills, or a repo root)
  • User provides a GitHub repo URL and wants skills in that repo validated

Local validation

  1. Run skill-check against the given path:
    • Quick lint only: npx skill-check check <path> --no-security-scan --format json
    • Full check (includes security scan): npx skill-check check <path> --format json
  2. Parse the JSON output to get diagnostics (ruleId, severity, message, file, line).
  3. Summarize results for the user: number of skills found, errors vs warnings, and any suggested fixes.

Use --format json when you need to parse output programmatically. Use default text format when showing output directly to the user.

GitHub repo validation

  1. Clone the repo shallowly into a temp directory, e.g. git clone --depth 1 <url> /tmp/skill-check-<short-hash> (or use a system temp path).
  2. Run npx skill-check check /tmp/skill-check-<hash> (with --format json if you will parse results).
  3. Report findings to the user.
  4. Remove the temp directory when done.

Commands reference

  • npx skill-check check [path] — run validation (+ optional security scan). Default path is .
  • npx skill-check check [path] --no-security-scan — lint only, skip security scan
  • npx skill-check check [path] --format json — machine-readable output with quality scores
  • npx skill-check check [path] --format github — GitHub Actions ::error / ::warning annotations
  • npx skill-check check [path] --format html --no-open — self-contained HTML report
  • npx skill-check check [path] --fix — auto-fix supported findings
  • npx skill-check check [path] --fix --interactive — prompt before each fix (TTY only)
  • npx skill-check check [path] --baseline baseline.json — compare against previous run
  • npx skill-check new <name> — scaffold a new skill directory
  • npx skill-check watch [path] — re-run on file changes
  • npx skill-check diff <pathA> <pathB> — compare diagnostics between two directories
  • npx skill-check rules — list all built-in rules with severity and fixable status
  • npx skill-check rules <id> — show detail for a specific rule
  • npx skill-check report [path] — generate a markdown health report

Interpreting results

  • error — spec or rule violation; should be fixed.
  • warn — recommendation; may be acceptable depending on context.
  • suggestion — every diagnostic includes an actionable suggestion text.
  • quality score — 0-100 per skill, weighted across frontmatter (30%), description (30%), body (20%), links (10%), file (10%).
  • duplicates — duplicates.name / duplicates.description warnings when multiple skills share the same name or description.
  • Exit code 0 means no errors; non-zero means validation failed or security scan found issues.

Testing this skill

To verify this skill and the skill-check CLI work:

  1. Check CLI is available: Run npx skill-check rules. You should see a list of built-in rules (e.g. frontmatter.required, body.max_tokens, etc.).
  2. Validate this repo's skills: From the skill-check repo root, run npx skill-check check skills/ --no-security-scan. Expect one skill (skills/skill-check/SKILL.md) and zero diagnostics (PASS).
  3. Scaffold a test skill: Run npx skill-check new test-skill --dir /tmp. Verify /tmp/test-skill/SKILL.md was created, then npx skill-check check /tmp/test-skill --no-security-scan should pass.
  4. Optional — validate with security scan: Run npx skill-check check skills/ (no --no-security-scan). Requires mcp-scan or uv/pipx for the security scan step.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

Use when starting creative work (features, components, functionality, or behavior changes) to clarify user intent, requirements, and design before implementation.

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

github-gh

免费

Interact with GitHub using the `gh` CLI. Use when managing issues, PRs, workflow runs, or advanced API queries via `gh issue`, `gh pr`, `gh run`, and `gh api`.

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

Use when implementing features or fixing bugs with strict Test-Driven Development (TDD). Activate for coding tasks that require new functionality, refactoring, or comprehensive test coverage, especially when the user mentions TDD or Test Driven Development.

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

Replace with description of the skill and when Claude should use it.

中文简介正在准备中。当前显示原文说明。

thedaviddias/skill-check1942026年5月19日 更新

查看 thedaviddias 的全部技能

报告此技能的问题