get-qodo-rules

Load Qodo coding rules by severity before generating or modifying code.

85|23|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/DingyangLyu/MatClaw --skill get-qodo-rules-dingyanglyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-qodo-rules
Source: https://github.com/DingyangLyu/MatClaw/tree/main/.claude/skills/get-qodo-rules
Command: npx skills add https://github.com/DingyangLyu/MatClaw --skill get-qodo-rules-dingyanglyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ensures code generation and modification adhere to repository and organization coding standards by loading Qodo-hosted rules before any code work begins, preventing inconsistent or non-compliant changes.

Core Features & Use Cases

  • Repository and module scope detection: Extracts scope from git remotes and working directory to query org, repo, and path-level rules.
  • Robust rule retrieval: Validates Qodo configuration and API key, fetches all paginated rule pages with error handling, and groups rules by severity (ERROR, WARNING, RECOMMENDATION).
  • Enforcement guidance: Prints a clear summary of loaded rules, explains how to apply each severity level, and requires compliance comments for ERROR rules during code changes.

Quick Start

Please load Qodo rules for the current repository and working directory scope before generating or editing 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 editing code in a git repository?

To load Qodo coding rules before editing code, validate your local Qodo configuration and API key, then fetch all paginated rule pages using your git remote and working directory scope. This automatically groups rules by severity and applies ERROR-level compliance comments.

What are Qodo coding rules and when do I need to fetch them for refactoring?

Qodo coding rules are organization- and repository-level standards enforced before code generation or refactoring. You need to fetch them when starting implementation, writing, editing, or reviewing code to prevent non-compliant changes and ensure adherence to repository standards.

How do I apply severity levels when enforcing Qodo repository rules?

Qodo rules are grouped by severity: ERROR, WARNING, and RECOMMENDATION. You must enforce ERROR-level rules by adding compliance comments during code changes, while applying WARNING and RECOMMENDATION levels as guidance for modifying or generating code.

Does the Qodo rules fetcher support module-level scope detection for modules directories?

Yes, Qodo rule loading supports module-level scope detection specifically for modules/* paths. It extracts scope from git remotes and your working directory to query organization, repo, and path-level rules accurately before code generation begins.

Why does fetching Qodo rules fail when my API key or configuration is invalid?

Fetching Qodo rules fails without valid local configuration and API key because the retrieval process requires authentication to fetch all paginated rule pages. Validate your Qodo setup first to ensure proper error handling and rule grouping by severity.

Can I use Qodo rule loading for code review workflows in git?

Yes, you can use Qodo rule loading for code review workflows within a git repository. It fetches org, repo, and module-level rules before reviewing code, enforcing ERROR-level rules with compliance comments to ensure modifications meet standards.