get-qodo-rules

Fetches org- and repo-level coding rules from the Qodo API before code generation tasks.

2|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/RADHA0-max/selfhealbackend --skill get-qodo-rules-radha0-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-qodo-rules
Source: https://github.com/RADHA0-max/selfhealbackend/tree/main/nanoclaw/.claude/skills/get-qodo-rules
Command: npx skills add https://github.com/RADHA0-max/selfhealbackend --skill get-qodo-rules-radha0-max

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Teams define coding standards, security requirements, and quality guidelines in Qodo, but AI-generated code often ignores them. This Skill loads those org- and repo-level rules into context before any code generation or modification, so output follows team conventions. ## Core Features & Use Cases - Scoped Rule Fetching: Derives the query scope from the git remote URL and module path, then retrieves universal, org, repo, and path-level rules from the Qodo platform API with full pagination. - Severity-Based Enforcement: Groups rules into ERROR, WARNING, and RECOMMENDATION tiers, requiring compliance comments for ERROR rules and explanations when WARNING rules are skipped. - Graceful Validation: Checks for a git repository, Qodo API key, and environment configuration, exiting with clear setup instructions when prerequisites are missing. - Use Case: Before asking the AI to implement a new feature in a monorepo module, run this Skill so the generated code complies with your team's security and style rules, with a report of which rules were applied. ## Quick Start Load the Qodo coding rules for this repository before we start writing any code.

Frequently Asked Questions about get-qodo-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load Qodo coding rules before generating code?

Invoke the Skill before any code generation or modification task. It reads your git remote to determine scope, fetches rules from the Qodo API, and prints them grouped by severity so the AI applies them during code generation.

What is required to fetch rules from the Qodo API?

You need to be inside a git repository with a parseable origin remote, plus an API key and environment name in ~/.qodo/config.json. The QODO_ENVIRONMENT_NAME environment variable overrides the config file value.

How are Qodo rule severity levels enforced during code generation?

ERROR rules must be followed with a compliance comment in the code. WARNING rules should be followed by default, with an explanation if skipped. RECOMMENDATION rules are considered only when appropriate.

Does the Skill work in monorepos with modules?

Yes. If the working directory is inside a modules/* subdirectory, the Skill uses that module path as the query scope, returning universal, org, repo, and path-level rules via prefix matching.

Why does the Qodo rules fetch fail with a 401 or 404 error?

A 401 means the API key is invalid or expired, while a 404 usually indicates a wrong QODO_ENVIRONMENT_NAME. Verify your credentials in ~/.qodo/config.json and confirm the environment name matches your Qodo setup.