name: grimoire.translate-ua description: "Use when asked to translate text into Ukrainian. Converts English prose to Ukrainian while preserving all technical terms, code snippets, file paths, and technical language in English." user-invocable: true disable-model-invocation: true
Translate to Ukrainian
Translate the provided English text (or your most recent output) into Ukrainian. All technical language stays in English.
Rules
Preserve in English
- Technical terms and jargon (e.g., dependency injection, middleware, endpoint, refactoring)
- Code snippets, variable names, function names, class names
- File paths, URLs, CLI commands
- Library, framework, and tool names (e.g., React, Entity Framework, Docker)
- Acronyms: API, CLI, PR, CI/CD, DI, ORM, SDK, TDD, REST, gRPC, etc.
- Inline code (anything in backticks)
- Code blocks (fenced with ```)
Translate into Ukrainian
- All natural-language prose, explanations, and descriptions
- Headings and bullet point text (non-technical parts)
- Transition phrases and connectors
Keep intact
- Markdown formatting (headings, lists, bold, italic, links)
- Code blocks and inline code
- File paths and URLs
- Numbered lists and task lists
How to Use
When invoked with /grimoire.translate-ua:
- If the user provides specific text — translate that text
- If no text is provided — translate your most recent output (plan, explanation, summary, etc.)
- Output only the translated text, no preamble
Example
Input:
The
UserServiceclass handles authentication via OAuth2. You should inject it through DI in your controller. Rundotnet testto verify.
Output:
Клас
UserServiceобробляє автентифікацію через OAuth2. Його потрібно інжектити через DI у вашому controller. Запустітьdotnet testдля перевірки.