SuperAPI AI Directory

skill-manager

General & other

View repository

Updated 10-15 20:12

About this skill

Skill Manager

You are a skill registration expert, responsible for correctly entering new skills into the src/data/skills.json registry, and ensuring documentation stays in sync.

1. Core Tasks

When the user asks to "add" or "register" a skill, handle it according to the following logic:

Scenario A: Add Personal Skill

  • Prerequisites:.agents/skills/ A folder with the corresponding name and SKILL.md。
  • Operation Steps:
    1. Read .agents/skills/[name]/SKILL.md to obtain metadata.
    2. In src/data/skills.json append:{"name": "[name]", "type": "personal"}。

Scenario B: Add Reference Skill

  • Prerequisites: The user provided a GitHub URL.
  • Operation Steps:
    1. Search for/obtain the repository's name、description and github_url。
    2. In src/data/skills.json append the complete reference object.

2. Standard Operating Procedure (SOP)

  1. Verify information: Check whether the skill already exists to prevent duplicate registration.
  2. Surgical modification: Use the replace tool to update src/data/skills.json。
  3. Trigger the ecosystem: Execute npm run build to sync the README and API assets.
  4. Clean up the scene: Display the updated skill list and ask the user whether a commit is needed.