with one click
update-instruction
// Create, update, or manage universal-ai-config instruction templates. Handles finding existing instructions, deciding whether to create or modify, and writing the template.
// Create, update, or manage universal-ai-config instruction templates. Handles finding existing instructions, deciding whether to create or modify, and writing the template.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | update-instruction |
| description | Create, update, or manage universal-ai-config instruction templates. Handles finding existing instructions, deciding whether to create or modify, and writing the template. |
| userInvocable | false |
Instructions are persistent context and rules that apply to AI conversations, scoped by file patterns or always-on.
List files in <%= instructionTemplatePath() %>/ and read their frontmatter (description, globs) to understand what each covers and its scope.
Look for instructions that already cover the same topic or a closely related topic. Consider:
globs and purpose align best with the user's intentIf no existing instruction fits, investigate the project to decide where the instruction belongs:
alwaysApply: trueglobs matching only the relevant files/directoriesExample: The user says "feature flags should be loaded from env vars." Feature flags might appear in 10 places across the codebase, but if only the API layer loads them from config, the right scope is globs: ["src/api/**"] rather than alwaysApply: true.
description:
claude: Claude-specific description
copilot: Copilot-specific description
default: Default description
.md file in <%= instructionTemplatePath() %>/ with a descriptive name (e.g. error-handling.md)descriptionSee the Instructions section in <%= instructionPath('uac-template-guide') %> for the complete field reference. Key fields: description, globs, alwaysApply, excludeAgent.
alwaysApply vs globsalwaysApply: true for project-wide conventions that should always be activeglobs to scope instructions to specific file types or directories (e.g. ["src/api/**"] for API-specific rules)---
description: TypeScript coding conventions
globs: ["**/*.ts", "**/*.tsx"]
---
Follow these TypeScript conventions:
- Use strict mode
- Prefer interfaces over type aliases for object shapes
- Use explicit return types on exported functions