一键导入
update-ai-config
Create, update, or manage AI configuration templates. Analyzes what the user needs and delegates to the appropriate template-specific skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, update, or manage AI configuration templates. Analyzes what the user needs and delegates to the appropriate template-specific skill.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
First example skill for add-skill tests
Second example skill with a non-kebab name
Validate uac's assumptions about supported AI tools (Claude Code, Copilot, Cursor, etc.) against current upstream documentation and produce a written report of drift — renamed fields, new events, deprecated features, schema changes — so the user can plan follow-up changes. Does not modify source code.
Import existing AI tool configurations (from Claude, Copilot, Cursor, or Codex) into universal-ai-config templates. Converts target-specific files into universal templates.
Draft a pull request description from either the current chat session or the full feature branch (committed + uncommitted). Use when the user asks to write a PR description, prep a PR, or summarize changes for review.
Create, update, or manage universal-ai-config agent templates. Handles finding existing agents, deciding whether to create or modify, and writing the template.
| 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. |
IMPORTANT: This project uses universal-ai-config (uac). All AI configuration lives in the <%= config.templatesDir %>/ directory as universal templates. NEVER edit generated target-specific files (e.g. .claude/, .github/copilot-instructions.md, .cursor/, .codex/, AGENTS.md at root, .agents/skills/) directly — those are overwritten on every uac generate run. Always modify the source templates in <%= config.templatesDir %>/.
When the user wants to add or change AI configuration for this project, follow these steps:
Read the template guide at <%= instructionPath('uac-template-guide') %> to understand the available template types and when to use each.
Based on the user's request, decide which type of template to work with:
Examples:
If the intent is ambiguous, ask the user to clarify before proceeding.
Read the detailed guide for the chosen template type and follow its instructions:
<%= skillPath('update-instruction') %><%= skillPath('update-skill') %><%= skillPath('update-agent') %><%= skillPath('update-hook') %><%= skillPath('update-mcp') %>These skills primarily create or modify files inside <%= config.templatesDir %>/. They may also modify files in directories listed under additionalTemplateDirs in the config — but only with explicit user confirmation, since those are shared templates that may affect other projects. Never edit generated output files in .claude/, .cursor/, .github/, .codex/, AGENTS.md at root, .agents/skills/, or similar target-specific directories — those are regenerated from templates and any direct changes will be lost.
This project may have additional template directories configured via additionalTemplateDirs. To find them, search the project root for all config files matching universal-ai-config.* (e.g. universal-ai-config.config.ts, universal-ai-config.overrides.config.ts, and any other variants) and read the additionalTemplateDirs field from each. If the user asks to update a template that doesn't exist in the main templates directory, or explicitly refers to shared/global/external templates:
universal-ai-config.* config files in the project root to find additionalTemplateDirs paths<%= config.templatesDir %>/ directory, ask the user for explicit confirmation — these are shared templates that may affect other projectsEvery token in a template costs model attention — ~60% of instruction tokens are typically removable without degrading output quality. When writing or editing any template, apply these rules:
Run uac generate to regenerate target-specific config files and verify the output.