qodo-get-rules
БесплатноБез исполняемых скриптовНе проверенRetrieve and apply Qodo coding rules relevant to implementation, planning, refactoring, or code review. Use on "get rules", "load qodo rules", or "relevant…
от qodo-ai★ 60 звёзд на GitHubОб этом скилле
Get Rules
Description
Use Qodo managed tools to fetch the workspace's coding rules most relevant to the task at hand, then apply them while producing the code. Retrieval is semantic — the quality of what comes back is decided by how you write the query, so follow the query format below exactly.
Prerequisites
- The optional Qodo Standards package is installed and loaded explicitly.
- A connected QAR managed-tools MCP server or authenticated Qodo CLI exposes rules search.
- The task is concrete enough to form semantic queries; already-loaded rules are reused.
Instructions
Choose the execution path
Reuse applicable results first. For fresh retrieval, use the host's connected QAR MCP
rules-search tool when present and marked read-only; otherwise follow the CLI path below.
MCP uses the host-provided inputSchema and JSON arguments (query, top_k, optional
scopes array), with one call per structured query. Omit scopes when unknown; do not
send an empty array as a substitute for the CLI's omitted flag. Check isError, then read
structuredContent; preserve typed failures and do not turn a failed read into an empty
rules result. A missing or forbidden MCP capability is not a CLI login failure. Do not
silently switch to a different account or tenant.
The CLI version, identity, catalog, and update steps below apply only when using the CLI.
Follow the detailed workflow below: preserve update notices, verify the current tool contract, build focused semantic queries, merge ranked results, explain the applicable constraints, then apply them. First check the reuse condition in Preflight. If prior results still cover the task, go directly to Output, then apply; no runtime, identity, catalog, or search call is needed for that path.
Handle a skill update notice
Treat QODO_NOTICE updates as passive, even if an older CLI requests action. Continue the task
without inventory or update questions; mention each event at most once. Dismissal leaves recorded maintenance
policy and opt-outs unchanged. Updated skills load next session; do not interrupt this one.
For user-requested updates, follow the manual-update procedure.
Execution
- MCP: use live schema arguments; skip CLI shell steps.
- CLI: use complete UTF-8 files without a BOM (
--args-filefor tools,--context-filefor reviews); examples are POSIX. - Windows CLI: read shell guidance before the first call; launcher recovery only if invocation fails. Reuse the resolved invocation.
Runtime compatibility gate
Only on the retrieval path, resolve the executable using the qodo: command not found fallback below. Before any other
Qodo command, run <qodo> --version exactly as shown, with no provenance flags.
This unadorned probe is intentionally compatible with older Qodo CLIs. This skill requires Qodo
CLI 2.0.0 or newer.
On Windows, in PowerShell or Git Bash, first read Windows shells.
Only when the runtime needs an update, before any update check/change, test whether QODO_UPDATE_BASE_URL is set;
never print its value. If set, stop for the user to resolve the source override before proceeding;
do not change it yourself or assume it matches the recorded origin.
If the version is older or cannot be parsed, do not run whoami, login, a review, or a managed tool and
do not describe the failure as an authentication problem. Choose one deployment-approved upgrade
route, explain it, and reuse covering runtime-update authorization or ask once before changing the
installation. For parsed 1.x, normal qodo update can reach approved 2.x when its recorded origin enables migration.
If legacy aliases still serve 1.x, check the supported same-origin latest-2 recovery route first.
Require a compatible newer 2.x target from the selected route's supported check; missing/failed checks stop.
Propose qodo update --channel latest-2 only for that verified recovery route; never assume activation.
This exception covers only deployment-approved 1.x to stable 2.x; it does not authorize other
major migrations or change the existing automatic-update policy for future majors.
For every route, preserve origin, explicit version choices and update holds; never substitute a channel for an exact version.
For an unparseable runtime or no supported updater, use a checksum-pinned installer supplied by
Qodo or the organization with covering installation authorization; never switch to public service or invent a digest.
Make one approved runtime attempt, then rerun the unadorned version probe and continue only when it satisfies the minimum. On denial, failure or continued
incompatibility, stop with skill and user files unchanged; do not retry through another route.
Quick start
qodo --version # compatibility probe — run this FIRST
qodo read whoami --json --skill qodo-get
Установить qodo-get-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл qodo-get-rules?
Retrieve and apply Qodo coding rules relevant to implementation, planning, refactoring, or code review. Use on "get rules", "load qodo rules", or "relevant standards" and when starting a concrete coding task. Reuse rules already retrieved for the same workspace, repository, and task scope; refresh when that scope changes.
Как установить скилл qodo-get-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qodo-get-rules запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic