get-qodo-rules

Fetch Qodo coding rules from the API and output a severity-grouped summary.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Ensures code generation and modification comply with organization and repository coding rules by loading Qodo-hosted rules before any code writing, refactoring, or review task, preventing rule violations and security oversights.

Core Features & Use Cases

  • Scope detection: detects git remote and working directory to derive query scope (org, repo, or path/module) for targeted rule queries.
  • Configuration validation: checks for API key and environment name in ~/.qodo/config.json or environment variables and provides setup guidance if missing.
  • Paginated fetching and robust error handling: retrieves up to 100 pages of rules, handles HTTP status errors (401, 403, 404, 429, 5xx) and network issues with clear user messages.
  • Formatted output and enforcement guidance: groups rules by severity (ERROR, WARNING, RECOMMENDATION), prints a structured summary, and prescribes enforcement actions and reporting expectations.
  • Use Case: run this before asking the assistant to write, refactor, or review code so all generated changes adhere to team standards and security requirements.

Quick Start

Load Qodo coding rules for the current repository and print the formatted rules summary.

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 organization coding rules before generating or refactoring code in a git repository?

To load organization coding rules before refactoring code, fetch repository and organization standards via the Qodo API. This validates your API key and environment, then retrieves team guidelines to ensure all code modifications comply with security and structural requirements.

What coding rules and compliance standards apply to my repository before writing new code?

Coding rules and compliance standards for your repository are fetched from the Qodo API, grouped by severity levels like ERROR and WARNING. This structured summary provides enforcement guidance to ensure generated code adheres to team standards.

How do I configure my Qodo API key and environment for fetching repository rules?

Configure your Qodo API key and environment name in ~/.qodo/config.json or via environment variables. The fetching process validates this configuration before retrieving rules, providing clear setup guidance if credentials are missing.

How many pages of coding rules can I fetch from the Qodo API for a large repository?

You can fetch up to 100 pages of coding rules from the Qodo API for a large repository. The process handles pagination automatically and includes HTTP error handling for status codes like 401, 403, 429, and 5xx to ensure complete rule retrieval.

Why does my Qodo API request fail when fetching coding rules for my git remote?

Your Qodo API request may fail due to HTTP status errors like 401 unauthorized, 403 forbidden, 404 not found, 429 rate limits, or 5xx server issues. The fetch process handles these network errors and missing configurations with clear user messages.

Does fetching Qodo coding rules work with code review workflows inside a git repository?

Yes, fetching Qodo coding rules works with code review workflows inside a git repository. It detects your git remote and working directory to derive query scope, ensuring all reviewed code modifications follow organizational security and compliance standards.