用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MisonL/Ling --skill lint-and-validate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | lint-and-validate |
| description | 自动质量控制、Lint 与静态分析流程。每次代码修改后使用,确保语法正确与项目规范一致。触发关键词:lint、format、check、validate、types、static analysis。 |
| allowed-tools | Read, Glob, Grep, Bash |
强制要求: 每次代码变更后必须运行相应校验工具。在代码无错误前,不得将任务视为完成。
npm run lint 或 npx eslint "path" --fixnpx tsc --noEmitnpm audit --audit-level=highruff check "path" --fix(快速且现代)bandit -r "path" -llmypy "path"npm run lint && npx tsc --noEmitlint 失败:立即修复风格或语法问题。tsc 失败:先修复类型不匹配,再继续流程。.eslintrc、tsconfig.json、pyproject.toml,并建议补齐配置。严格规则: 未通过上述检查的代码,不得提交,也不得标记为“完成”。
| 脚本 | 用途 | 执行命令 |
|---|---|---|
scripts/lint_runner.py | 统一 lint 检查 | python scripts/lint_runner.py <project_path> |
scripts/type_coverage.py | 类型覆盖率分析 | python scripts/type_coverage.py <project_path> |