搜索

PythonReactSEOPDF
GitHub Skill

cc-lint

Performs quick structural validation of Claude Code customizations against the Agent Skills spec. Checks YAML frontmatter and required fields along with naming conventions and file organization. Also validates settings.json health. Use when linting or reviewing any customization for correctness.

philoserf☆ 9 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Reference Files

Detailed evaluation guidance:


Focus Areas

  • YAML Frontmatter Validation - Required fields, syntax correctness, field values
  • Markdown Structure - Organization, readability, formatting consistency
  • Portability - Spec conformance, cross-agent compatibility
  • Description Quality - Clarity, completeness, trigger phrase coverage
  • File Organization - Naming conventions, directory placement, reference structure
  • Progressive Disclosure - Context economy, reference file usage
  • Integration Patterns - Compatibility with existing customizations, settings.json health

Approach

When evaluating a Claude Code customization, this skill follows a systematic process:

  1. Check for skill-validator CLI — Run which skill-validator to detect availability
  2. If available and target is a skill: Run skill-validator check <path> as a structural baseline. Parse its output for structure, frontmatter, link, content, and contamination results. Use these as the foundation for the report rather than duplicating the mechanical checks manually.
  3. If unavailable or target is not a skill: Fall back to manual validation — read and parse target file(s) to extract structure and content
  4. Validate YAML frontmatter for required fields and correct syntax
  5. Apply type-specific validation criteria (agent/skill/command/hook/output-style)
  6. Assess context economy and progressive disclosure usage
  7. Verify spec-standard frontmatter (no non-standard fields)
  8. Check integration with settings.json and other customizations
  9. Generate structured report with specific findings and recommendations
  10. Prioritize issues by severity (correctness > clarity > effectiveness)

Steps 4-8 are always performed regardless of whether skill-validator is available. The CLI handles mechanical checks; this skill adds subjective analysis (description quality, integration patterns, clarity assessment).

Detailed criteria, process steps, and examples are available in the reference files above.

Tools Used

This skill uses read-only tools for analysis:

  • Read - Examine file contents
  • Grep - Search for patterns across files
  • Glob - Find files by pattern
  • Bash - Execute read-only commands (ls, wc, stat, skill-validator, etc.)

No files are modified during evaluation.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!