SuperAPI AI Directory

yy-check-skill-compliance

General & other

View repository

Updated 10-15 20:09

About this skill

yy-check-skill-compliance

Description

Scan skills/ and skills-internal/ all skills under the directories, check compliance item by item according to the acceptance checklist of skills/yy-create-skill , and output a list of non-compliant items for the user to confirm fixes.

Use Cases

  • Need to batch-verify whether all skills comply with the specification
  • Perform acceptance checks after skill creation or updates
  • Regularly check the compliance of skill directories

Should not trigger:

  • Just viewing the content of a certain skill
  • Creating or updating skills (should use yy-create-skill)
  • Checking files in non-skill directories

Instructions

Step 1. Scan skill directories

Traverse skills/ and skills-internal/ directories, and collect all skill directories containing SKILL.md :

Decision Branches:

  • Directory exists and contains SKILL.md: Record as a skill to be checked
  • Directory exists but has no SKILL.md: Record as a structural anomaly (missing required file)
  • Directory does not exist: Skip

Step 2. Read the checking standards

Read the acceptance checklist of skills/yy-create-skill/SKILL.md as the source of checking standards:

  • Read ## 指令 in ### 步骤 7. 验收 check items
  • Read the acceptance checklist of resources/skill-guide.md for supplementary details
  • Do not copy check items into this skill, always use yy-create-skill as the authoritative source

Step 3. Check item by item

For each skill directory, check item by item according to the acceptance checklist read in Step 2.

Recording Rules:

  • Passed items: Do not record
  • Failed items: Record the skill name, check item, and specific problem description

Step 4. Output the check results

## 检查结果

### 扫描统计

- skills/ 目录下技能数量: [数量]
- skills-internal/ 目录下技能数量: [数量]
- 检查通过: [数量] 个
- 存在问题: [数量] 个

### 问题清单

| 技能名称 | 检查项   | 问题描述   |
| -------- | -------- | ---------- |
| [技能名] | [验收项] | [具体问题] |

### 修复建议

请确认需要修复的问题(回复编号,多个用逗号分隔):

1. [技能名称] - [问题摘要]
2. [技能名称] - [问题摘要]
   ...
3. 暂不修复

Step 5. Perform fixes

According to the problem list confirmed by the user, call the yy-create-skill skill to fix the corresponding skills:

Decision Branches:

  • User chooses to fix: Call yy-create-skill one by one for the selected skills to fix
  • User chooses not to fix for now: End the process
  • User does not reply: Wait for confirmation, do not execute automatically

Notes

  • The checking standards use skills/yy-create-skill as the authoritative source; do not copy check items into this skill
  • Fix operations are completed by calling the yy-create-skill skill; do not directly modify skill files
  • Only check skills under the skills/ and skills-internal/ directories