搜索

PythonReactSEOPDF
GitHub Skill

manage-skill

Manage Claude Code skills. Use this when user wants to create, edit, update, delete a skill.

d-issy☆ 4 仓库 Stars0 仓库 Forks

安装与使用

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

查看来源 ↗使用指南

技能说明

Manage Skill

Purpose

Execute the Workflow and Report sections to manage Claude Code skills.

Variables

  • IS_DOTFILES: true if current repo is dotfiles, otherwise false
  • SCOPE:
    • if IS_DOTFILES, then ask user (user-level/project-local)
    • if not IS_DOTFILES, then project-local
  • SKILLS_DIR:
    • if user-level then files/claude/skills
    • if project-local then .claude/skills
  • SETTINGS_FILE:
    • if user-level then files/claude/settings.json
    • if project-local then .claude/settings.local.json

Workflow

  1. Determine the operation (create, edit, or delete) from user's request
  2. Execute the operation:
    • If create, then:
      • If requirements unclear, then ask using AskUserQuestion: skill name, purpose, tool restrictions
      • If IS_DOTFILES, then ask scope (user-level/project-local)
      • Create SKILLS_DIR/[skill-name]/SKILL.md
      • Follow the format in format.md, see basic-structure.md for template
    • If edit, then:
      • Locate SKILLS_DIR/[skill-name]
      • Read and modify SKILL.md or supporting files as requested
    • If delete, then:
      • Confirm with user before deletion
      • Remove SKILLS_DIR/[skill-name]
  3. Update SETTINGS_FILE permissions as needed

Report

Inform the user:

  • The operation performed and skill location
  • For user-level: remind to run Nix to deploy
  • For project-local: immediately available in the current project

使用示例

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

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

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

GitHub ↗

chat Comments (0)

chat_bubble_outline

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