AgentSkillsCN

update-ai-config

创建、更新或管理 AI 配置模板。根据用户需求进行分析,并将任务委派给相应的模板专属技能。

SKILL.md
--- frontmatter
name: update-ai-config
description: Create, update, or manage AI configuration templates. Analyzes what the user needs and delegates to the appropriate template-specific skill.

Manage AI Config Templates

When the user wants to add or change AI configuration for this project, follow these steps:

1. Understand the Request

Read the template guide at .universal-ai-config/instructions/uac-template-guide.md to understand the available template types and when to use each.

2. Determine the Template Type

Based on the user's request, decide which type of template to work with:

  • Persistent context, rules, or guidelines → Use /update-instruction
  • Repeatable task, workflow, or slash command → Use /update-skill
  • Specialized AI persona with restricted tools → Use /update-agent
  • Automatic lifecycle automation (on events) → Use /update-hook

3. Delegate

Invoke the appropriate skill with the user's requirements. If the intent is ambiguous, ask the user to clarify before proceeding. For example:

  • "Add a rule about error handling" → /update-instruction
  • "Create a deploy workflow" → /update-skill
  • "Set up a code reviewer" → /update-agent
  • "Run linting after file edits" → /update-hook