nanocoai/nanoclaw/.claude/skills/get-qodo-rules/SKILL.md
get-qodo-rules
Loads org- and repo-level coding rules from Qodo before code tasks begin, ensuring all generation and modification follows team standards. Use before any code generation or modification task when rules are not already loaded. Invoke when user asks to write, edit, refactor, or review code, or when starting implementation planning.
- Source repository stars
- 30,427
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-08-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
Loads org- and repo-level coding rules from Qodo before code tasks begin, ensuring all generation and modification follows team standards. Use before any code generation or modification task when rules are not already loaded.
Not for
- Re-running when rules are loaded - Check for "Qodo Rules Loaded" in context first
- Missing compliance comments on ERROR rules - ERROR rules require a comment documenting compliance
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/nanocoai/nanoclaw --skill ".claude/skills/get-qodo-rules"Inspect the Agent Skill "get-qodo-rules" from https://github.com/nanocoai/nanoclaw/blob/8d04fde18fe071ce0b4870dc3094b66e2a29dcfe/.claude/skills/get-qodo-rules/SKILL.md at commit 8d04fde18fe071ce0b4870dc3094b66e2a29dcfe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6.
Check that the current directory is inside a git repository. If not, inform the user that a git repository is required and exit gracefully.Extract the repository scope from the git origin remote URL. If no remote is found, exit silently. If the URL cannot be parsed, inform the user and exit gracefully.Detect module-level scope: if inside a modules/ subdirectory, use it as the query scope; otherwise use repository-wide scope. - 02
Step 1: Check if Rules Already Loaded
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6.
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6. - 03
Step 2: Verify working in a git repository
See repository scope detection for details.
Check that the current directory is inside a git repository. If not, inform the user that a git repository is required and exit gracefully.Extract the repository scope from the git origin remote URL. If no remote is found, exit silently. If the URL cannot be parsed, inform the user and exit gracefully.Detect module-level scope: if inside a modules/ subdirectory, use it as the query scope; otherwise use repository-wide scope. - 04
Step 3: Verify Qodo Configuration
Check that the required Qodo configuration is present. The default location is /.qodo/config.json.
API key: Read from /.qodo/config.json (APIKEY field). If not found, inform the user that an API key is required and provide setup instructions, then exit gracefully.Environment name: Read from /.qodo/config.json (ENVIRONMENTNAME field), with QODOENVIRONMENTNAME environment variable taking precedence. If not found, inform the user that an API key is required and provide setup instru…Check that the required Qodo configuration is present. The default location is /.qodo/config.json. - 05
Step 4: Fetch Rules with Pagination
See pagination details for the full algorithm and error handling.
Fetch all pages from the API (50 rules per page) until no more results are returned.On each page, handle HTTP errors and exit gracefully with a user-friendly message.Accumulate all rules across pages into a single list.
Permission review
Static risk signals and limitations
Network access
The documentation includes network, browsing, or remote request actions.
Fetch all pages from the API (50 rules per page) until no more results are returned.Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 85/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 30,427 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- nanocoai/nanoclaw
- Skill path
- .claude/skills/get-qodo-rules/SKILL.md
- Commit
- 8d04fde18fe071ce0b4870dc3094b66e2a29dcfe
- License
- MIT
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
Get Qodo Rules Skill
Description
Fetches repository-specific coding rules from the Qodo platform API before code generation or modification tasks. Rules include security requirements, coding standards, quality guidelines, and team conventions that must be applied during code generation. Use before any code generation or modification task when rules are not already loaded. Invoke when user asks to write, edit, refactor, or review code, or when starting implementation planning. Skip if "Qodo Rules Loaded" already appears in conversation context
Workflow
Step 1: Check if Rules Already Loaded
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6.
Step 2: Verify working in a git repository
- Check that the current directory is inside a git repository. If not, inform the user that a git repository is required and exit gracefully.
- Extract the repository scope from the git
originremote URL. If no remote is found, exit silently. If the URL cannot be parsed, inform the user and exit gracefully. - Detect module-level scope: if inside a
modules/*subdirectory, use it as the query scope; otherwise use repository-wide scope.
See repository scope detection for details.
Step 3: Verify Qodo Configuration
Check that the required Qodo configuration is present. The default location is ~/.qodo/config.json.
- API key: Read from
~/.qodo/config.json(API_KEYfield). If not found, inform the user that an API key is required and provide setup instructions, then exit gracefully. - Environment name: Read from
~/.qodo/config.json(ENVIRONMENT_NAMEfield), withQODO_ENVIRONMENT_NAMEenvironment variable taking precedence. If not found, inform the user that an API key is required and provide setup instructions, then exit gracefully.
Step 4: Fetch Rules with Pagination
- Fetch all pages from the API (50 rules per page) until no more results are returned.
- On each page, handle HTTP errors and exit gracefully with a user-friendly message.
- Accumulate all rules across pages into a single list.
- Stop after 100 pages maximum (safety limit).
- If no rules are found after all pages, inform the user and exit gracefully.
See pagination details for the full algorithm and error handling.
Step 5: Format and Output Rules
- Print the "📋 Qodo Rules Loaded" header with repository scope, scope context, and total rule count.
- Group rules by severity and print each non-empty group: ERROR, WARNING, RECOMMENDATION.
- Each rule is formatted as:
- **{name}** ({category}): {description} - End output with
---.
See output format details for the exact format.
Step 6: Apply Rules by Severity
| Severity | Enforcement | When Skipped |
|---|---|---|
| ERROR | Must comply, non-negotiable. Add comment documenting compliance (e.g., # Following Qodo rule: No Hardcoded Credentials) | Explain to user and ask for guidance |
| WARNING | Should comply by default | Briefly explain why in response |
| RECOMMENDATION | Consider when appropriate | No action needed |
Step 7: Report
After code generation, inform the user about rule application:
- ERROR rules applied: List which rules were followed
- WARNING rules skipped: Explain why
- No rules applicable: Inform: "No Qodo rules were applicable to this code change"
- RECOMMENDATION rules: Mention only if they influenced a design decision
How Scope Levels Work
Determines scope from git remote and working directory (see Step 2):
Scope Hierarchy:
- Universal (
/) - applies everywhere - Org Level (
/org/) - applies to organization - Repo Level (
/org/repo/) - applies to repository - Path Level (
/org/repo/path/) - applies to specific paths
Configuration
See ~/.qodo/config.json for API key setup. Set QODO_ENVIRONMENT_NAME env var or ENVIRONMENT_NAME in config to select environment.
Common Mistakes
- Re-running when rules are loaded - Check for "Qodo Rules Loaded" in context first
- Missing compliance comments on ERROR rules - ERROR rules require a comment documenting compliance
- Forgetting to report when no rules apply - Always inform the user when no rules were applicable, so they know the rules system is active
- Not in git repo - Inform the user that a git repository is required and exit gracefully; do not attempt code generation
- No API key - Inform the user with setup instructions; set
QODO_API_KEYor create~/.qodo/config.json - No rules found - Inform the user; set up rules at app.qodo.ai
Alternatives
Compare before choosing
ruvnet/RuView
github-code-review
Comprehensive GitHub code review with AI-powered swarm coordination
dotnet/skills
grade-tests
Grades a specified set of test methods individually and produces a concise table mapping each test (fully-qualified name) to a letter grade (A–F), a score band, and a one-line note — designed to be posted as a PR comment. Use when the caller wants per-test feedback on a curated list of methods (for example, the new or modified tests in a pull request), not a suite-wide audit. Polyglot: .NET, Python, TS/JS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. Input is a list of test methods (or
ruvnet/ruflo
github-code-review
Comprehensive GitHub code review with AI-powered swarm coordination
alibaba/open-code-review
open-code-review
Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply fixes when requested. With appropriate review rules, can detect various types of issues including bugs, security vulnerabilities, performance problems, and code quality concerns.