Back to Skills

qodo-get-rules

Loads coding rules from Qodo most relevant to the current coding task by generating a semantic search query from the assignment. Use when Qodo is configured and the user asks to write, edit, refactor, or review code, or when starting implementation planning. Skip if rules are already loaded.

38stars5forksUpdated 6/10/2026

Security Assessment

Low Risk(75/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Sensitive File Access([references/search-endpoint.md] .env)
Security Score75/100

About qodo-get-rules

The 'qodo-get-rules' skill is designed to streamline the process of accessing coding standards and best practices from Qodo, tailored specifically to the user's current coding task. It solves the problem of manually searching through extensive coding rules by automatically generating a semantic search query based on the user's assignment or code context. This ensures that developers receive only the most relevant coding rules, improving workflow efficiency and code quality.

Key features of the skill include automatic detection of whether coding rules are already loaded to avoid redundancy, verification that the user is operating within a git repository, and extraction of repository and module scope to refine search results. It also verifies that the necessary Qodo configuration, including API keys and environment settings, is present and valid. The skill handles both Bash integration and semantic query generation to interact with Qodo's rules search API, returning a ranked list of relevant coding rules based on task context. Graceful degradation mechanisms are implemented if repository information or configuration is missing.

This skill is ideal for developers, software engineers, and code reviewers who regularly write, edit, refactor, or review code within repositories that integrate with Qodo. It is particularly useful for teams aiming to maintain consistent coding standards, enforce best practices, or accelerate the onboarding of new team members by providing immediate access to task-specific coding guidelines. It also supports implementation planning and feature development, ensuring that coding rules are consulted before writing or modifying code.

FAQ

How do I trigger the qodo-get-rules skill?

The skill can be triggered using commands or phrases such as 'get qodo rules', 'load rules', 'fetch rules', 'write code', 'refactor', or 'add feature'.

Does this skill work if I'm not in a git repository?

No, the skill requires the current directory to be inside a git repository. It will notify the user and exit gracefully if a repository is not detected.

What configuration is required to use this skill?

A valid Qodo configuration is required, including an API key and optionally environment and API URL settings. The configuration is read from '~/.qodo/config.json', with environment variables taking precedence.

Can this skill fetch rules without specifying the repository scope?

Yes, if repository or module scope cannot be determined, the skill will proceed without it. The search will still return relevant rules at an org-wide level.

When should I skip using this skill?

If 'Qodo Rules Loaded' already appears in the conversation context, the skill should be skipped to avoid redundant fetching.

All Files

5 files
references/query-generation.md17.6 KB
View
SKILL.md9.1 KB
View
references/output-format.md1.3 KB
View
references/search-endpoint.md5.4 KB
View
references/repository-scope.md2.0 KB
View

Install qodo-get-rules

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill