get-qodo-rules

Fetch Qodo API coding rules for the current git repository, grouped by severity.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/webboty/flexclaw --skill get-qodo-rules-webboty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-qodo-rules
Source: https://github.com/webboty/flexclaw/tree/main/.claude/skills/get-qodo-rules
Command: npx skills add https://github.com/webboty/flexclaw --skill get-qodo-rules-webboty

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ensures generated or modified code follows organization and repository coding rules by fetching and applying Qodo platform rules before any code work begins, preventing non-compliant changes and missed security or style requirements.

Core Features & Use Cases

  • Repository-aware rule retrieval: Detects git origin and module path to query org-, repo-, and path-level rules.
  • Robust API handling: Reads API credentials from ~/.qodo/config.json or env vars, fetches all pages with pagination and error handling, and respects a safety page limit.
  • Policy-driven application: Groups rules by severity (ERROR, WARNING, RECOMMENDATION), prints a clear summary, and prescribes how each severity should be enforced or reported.
  • Use case: Before implementing a new feature or refactoring code, load Qodo rules so the AI-generated changes include required compliance comments and avoid disallowed patterns.

Quick Start

Invoke the skill to load Qodo rules before editing code by asking the assistant to "load qodo rules for this repository".

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 coding rules from Qodo before generating code in a git repository?

To load coding rules from Qodo, you invoke the skill to fetch org- and repo-level rules via the Qodo API. It automatically detects your git origin and module path to retrieve applicable compliance standards before you write or refactor code.

Do I need a config file to fetch Qodo API rules for my repository?

You need API credentials to fetch Qodo rules, which can be provided via a config file at ~/.qodo/config.json or the QODO_ENVIRONMENT_NAME environment variable. The skill reads these credentials to authenticate API requests for rule retrieval.

How does Qodo rule retrieval handle API pagination and errors?

Qodo rule retrieval handles API pagination by fetching all pages up to a safety limit and manages HTTP errors for common statuses. This ensures complete rule extraction without exceeding API constraints or crashing on standard HTTP failures.

What is the best way to enforce team code standards during AI code generation?

The best way to enforce team code standards is to load Qodo rules before editing code. The skill groups rules by severity (ERROR, WARNING, RECOMMENDATION) and prescribes enforcement actions, ensuring generated code complies with security and style requirements.

Can I retrieve module-level coding rules for a specific path in my repository?

Yes, you can retrieve module-level coding rules by detecting the git origin and module path. The skill queries org-, repo-, and path-level rules from the Qodo API to apply scoped compliance standards to specific directories.

Why are Qodo rules grouped by severity when fetched?

Qodo rules are grouped by severity (ERROR, WARNING, RECOMMENDATION) to prescribe how each category should be enforced or reported. This policy-driven approach ensures critical violations are blocked while recommendations are surfaced for review.