mcpField
A
antv-skills-maintainer

antv-skills-maintainer

github.com/antvisAgent workflows5161.2k installsUpdated 5w ago
Repository

About antv-skills-maintainer

An internal skill for maintaining the AntV skills repository. After code changes, it keeps the README skill list and marketplace plugin entries aligned with the skill directories and metadata.

Key features

  1. 01Check skill directories against README.md
  2. 02Sync descriptions with frontmatter
  3. 03Update marketplace.json plugin entries
  4. 04Check stale entries and JSON validity

Use cases

  1. 01Update repository listings after adding a skill
  2. 02Sync metadata after changing a description
  3. 03Remove stale entries when retiring a skill

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/antvis/chart-visualization-skills --skill antv-skills-maintainer

After installing, type/antv-skills-maintainerin Claude Code to confirm it loaded.

Details

From the project README

AntV Skills Maintainer

This skill ensures that all documentation and configuration files remain in sync whenever a skill is added or updated in this repository.

Important

The antv-skills-maintainer skill is internal-only — it is used solely for this repository's iteration workflow. Do not add it to README.md "Available Skills" or .claude-plugin/marketplace.json. Only user-facing skills should appear in those files.

When to Apply

Apply this skill automatically after every code change — especially when:

  • A new skill directory is added under skills/
  • An existing skill's SKILL.md is modified (name, description, capabilities)
  • A skill is removed or deprecated

What to Keep in Sync

1. README.md — "Available Skills" Section

The ## Available Skills section in README.md must list every skill under skills/ with:

  • An appropriate emoji icon
  • The skill name (bold, matching the directory name)
  • A one-line description matching the skill's SKILL.md frontmatter description field
  • A short paragraph elaborating on the skill's capabilities

Format:

- 🔧 **skill-name**: One-line description from SKILL.md frontmatter.

`Skill Display Name` elaboration paragraph...

Steps:

  1. Scan skills/ directory to list all available skills.
  2. Read each skill's SKILL.md frontmatter (name, description).
  3. Compare with the current ## Available Skills section in README.md.
  4. Add entries for new skills, update entries for changed skills, remove entries for deleted skills.
  5. Preserve the section's existing formatting style.
2. .claude-plugin/marketplace.json — Plugins Array

The plugins array in .claude-plugin/marketplace.json must contain an entry for every skill under skills/.

Entry format:

{
  "name": "skill-name",
  "description": "Description from SKILL.md frontmatter.",
  "source": "./",
  "strict": false,
  "skills": [
    "./skills/skill-name"
  ]
}

Steps:

  1. Scan skills/ directory to list all available skills.
  2. Read each skill's SKILL.md frontmatter (name, description).
  3. Compare with the current plugins array in .claude-plugin/marketplace.json.
  4. Add entries for new skills, update description for changed skills, remove entries for deleted skills.
  5. Keep the JSON properly formatted and valid.

Execution Checklist

After any skill-related code change, run through this checklist:

  • All skill directories in skills/ are listed in README.md under ## Available Skills
  • All skill descriptions in README.md match the corresponding SKILL.md frontmatter
  • All skill directories in skills/ have a corresponding entry in .claude-plugin/marketplace.json
  • All description fields in marketplace.json match the corresponding SKILL.md frontmatter
  • No stale entries exist in either README.md or marketplace.json for removed skills
  • marketplace.json remains valid JSON after changes

Comments

Markdown supported