Claude Skill
thedaviddias/skill-check
skill-check是一个用于验证代理技能文件的TypeScript Linter工具,可检查skillmd文件中的错误,确保AI代理工作流的正确格式。
概览
仓库信息
安装这个 Skill
npx skill-check .Registry 信息
npx skill-check .npx skill-check check . --format json --no-security-scan > baseline.jsonnpx skill-check check . --baseline baseline.json --no-security-scannpx skill-check init --interactivenpx skill-check /path/to/repo
项目简介
一个用于验证和检查代理技能文件的Linter工具,确保它们遵循正确的格式和结构(Claude Skill)。
Linter for agent skill files
要点
- 验证技能文件的结构和格式
- 检查技能定义中的常见错误
- 支持skillmd文件的Lint检查
- 使用TypeScript构建,可靠性高
- 与AI代理工作流集成
使用场景
- 在部署前确保技能文件格式正确
- 在CI/CD流水线中对代理技能进行自动化质量检查
- 调试和修复技能定义错误
- 保持多个技能文件之间的一致性
README 摘要
# skill-check [](https://www.npmjs.com/package/skill-check) [](https://github.com/thedaviddias/skill-check/actions/workflows/ci.yml) [](LICENSE) `skill-check` validates agent skills with clear diagnostics, auto-fix support, quality scoring, and optional security scanning.  ## Quick Start ```bash npx skill-check . ``` ## Features - Validates `SKILL.md` structure, frontmatter, description quality, body limits, and local references. - Scores skills from 0-100 so teams can track quality improvements over time. - Supports deterministic `--fix` for safe formatting and metadata corrections. - Runs an integrated security scan (`agent-scan`) in the same CLI pipeline. - Accepts local paths and GitHub URLs (`https://github.com/<owner>/<repo>`). - Exports text, JSON, SARIF, HTML, and GitHub annotation formats. ## Install Options Global install via curl: ```bash curl -fsSL https://raw.githubusercontent.com/thedaviddias/skill-check/main/scripts/install.sh | bash ``` Install via Homebrew: ```bash brew tap thedaviddias/skill-check https://github.com/thedaviddias/skill-check brew install skill-check ``` ## Commands | Command | Description | |---|---| | `skill-check [path\|github-url]` | Shorthand for `skill-check check [path\|github-url]` | | `skill-check check [path\|github-url]` | Run validation (and optional security scan) | | `skill-check split-body [path]` | Preview/apply section-based body split into `references/*.md` | | `skill-check new <name>` | Scaffold a new skill directory with SKILL.md template | | `ski