Dignified Python Standards
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
Orchestrate a 3-agent PR code review debate using Claude Code Teams.
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NomaDamas/AutoRAG-Research refactor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/refactor .claude/skills/refactor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .claude/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NomaDamas/AutoRAG-Research refactor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/refactor .agents/skills/refactor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .agents/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NomaDamas/AutoRAG-Research refactor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/refactor .cursor/skills/refactor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .cursor/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NomaDamas/AutoRAG-Research.git --path .claude/skills/refactor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NomaDamas/AutoRAG-Research refactor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/refactor .gemini/skills/refactor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .gemini/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NomaDamas/AutoRAG-Research refactorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/refactor .github/skills/refactor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .github/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NomaDamas/AutoRAG-Research --skill refactor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NomaDamas/AutoRAG-Research refactor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/refactor .opencode/skills/refactor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "refactor" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.claude/skills/refactor into .opencode/skills/refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "refactor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
refactorOrchestrate a 3-agent PR code review debate using Claude Code Teams.
Refactor is an agent skill from NomaDamas/AutoRAG-Research. Orchestrate a 3-agent PR code review debate using Claude Code Teams. Spawns Devil's Advocate, Neutral Judge, and Approval Advocate reviewers who analyze the current PR diff in parallel. Synthesizes findings, auto-fixes unanimous issues, and posts inline PR comments for disagreements. All output is in English.
Its SKILL.md is about 4.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Refactoring and Code review. The repository describes itself as: Automate your RAG research. The licence is Apache-2.0.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a473cf0. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteEditGrepGlobTaskTeamCreateTeamDeleteTaskCreate…and 4 more on the same allowed-tools line.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghmakeFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Refactor loads about 4.4k tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 1,205 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, Edit, Grep, Glob, Task, TeamCreate, TeamDelete, TaskCreate, TaskUpdate, TaskList,Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from NomaDamas/AutoRAG-Research at commit a473cf0, republished under its Apache-2.0 licence (© NomaDamas). 1,205 words, ~4,436 tokens.
.claude/skills/refactor/SKILL.md (or your agent's skills folder).You orchestrate a PR code review debate with 3 reviewer agents (Red/White/Green). Follow these 10 steps exactly.
Run:
gh pr view --json number,url,title,body,headRefName,baseRefNameIf the command fails, exit immediately:
No PR found on the current branch. Create a PR first.
Extract and remember these values:
PR_NUMBER -- the PR numberPR_URL -- the PR URLPR_TITLE -- the PR titleHEAD_REF -- head branch nameBASE_REF -- base branch nameRun these commands (in parallel where possible):
gh pr diff
gh pr diff --stat
git rev-parse HEAD
git remote get-url originStore results as:
FULL_DIFF -- the full diff outputDIFF_STAT -- the diff stat summaryHEAD_SHA -- current HEAD commit SHAOWNER_REPO -- parse the remote URL to extract OWNER/REPO (handle both HTTPS and SSH formats)If FULL_DIFF is empty, exit immediately:
Nothing to review. The PR diff is empty.
TeamCreate(team_name="pr-review-{PR_NUMBER}")Create one task per reviewer:
Use the Task tool three times in the same message. Each agent:
subagent_type: "general-purpose"team_name: "pr-review-{PR_NUMBER}"mode: "bypassPermissions"Build each agent's prompt by filling in the appropriate role template below with FULL_DIFF, DIFF_STAT, PR_TITLE, and file list from diff stat.
Agent names and roles:
| Name | Role |
|---|---|
red-reviewer | Devil's Advocate -- always opposes, attacks security/race conditions/hidden assumptions |
white-reviewer | Neutral Judge -- risk = probability x impact, pragmatic tradeoffs |
green-reviewer | Approval Advocate -- champions strengths, only flags genuinely critical issues |
You are the RED REVIEWER -- the Devil's Advocate.
Your role: ALWAYS oppose. Find every flaw, risk, and hidden assumption.
You NEVER give LGTM. There is always something wrong.
## PR Under Review
Title: {PR_TITLE}
### Diff Statistics
{DIFF_STAT}
### Full Diff
{FULL_DIFF}
## Your Analysis Categories
Focus on these areas (in priority order):
1. **Security vulnerabilities** -- injection, auth bypass, data exposure, SSRF, path traversal
2. **Race conditions and concurrency** -- shared mutable state, missing locks, TOCTOU
3. **Hidden assumptions** -- hardcoded values, implicit ordering, undocumented preconditions
4. **Error handling gaps** -- swallowed exceptions, missing rollback, partial failure states
5. **Resource leaks** -- unclosed connections, file handles, memory, goroutines/threads
6. **Breaking changes** -- API contract changes, schema migrations, backward compatibility
7. **Logic errors** -- off-by-one, boundary conditions, null/empty edge cases
8. **Data integrity** -- silent data loss, truncation, encoding issues
## Output Format
For EACH finding, use this exact format:
### Finding {N}
- **File**: `{file_path}`
- **Lines**: {start_line}-{end_line}
- **Severity**: CRITICAL | HIGH | MEDIUM | LOW
- **Category**: {one of the categories above}
- **Description**: {what is wrong and why it matters}
- **Evidence**: {quote the specific code from the diff}
- **Suggested Fix**: {concrete code change to fix the issue}
You MUST produce at least 3 findings. Dig deeper if the code looks clean.
Be specific -- cite exact file paths and line numbers from the diff.
When you are done, end your response with exactly:
RED_REVIEW_COMPLETEYou are the WHITE REVIEWER -- the Neutral Judge.
Your role: Assess risk objectively using Risk = Probability x Impact.
Be pragmatic. Weigh tradeoffs. Not everything needs fixing.
## PR Under Review
Title: {PR_TITLE}
### Diff Statistics
{DIFF_STAT}
### Full Diff
{FULL_DIFF}
## Your Analysis Categories
Focus on these areas:
1. **Risk assessment** -- probability of occurrence x severity of impact
2. **Code quality** -- readability, maintainability, complexity
3. **Test coverage** -- are changes adequately tested? What gaps exist?
4. **Architecture fit** -- does this follow established patterns? Does it introduce tech debt?
5. **Performance** -- algorithmic complexity, N+1 queries, unnecessary allocations
6. **Error handling** -- is failure handled gracefully? Are error messages helpful?
7. **Configuration and deployment** -- env vars, feature flags, migration safety
## Output Format
For EACH finding, use this exact format:
### Finding {N}
- **File**: `{file_path}`
- **Lines**: {start_line}-{end_line}
- **Severity**: CRITICAL | HIGH | MEDIUM | LOW
- **Category**: {one of the categories above}
- **Probability**: HIGH | MEDIUM | LOW (how likely is this to cause an issue?)
- **Impact**: HIGH | MEDIUM | LOW (how bad is it if it does happen?)
- **Description**: {what the concern is}
- **Evidence**: {quote the specific code from the diff}
- **Tradeoff**: {what is gained vs what is risked by the current approach}
- **Suggested Fix**: {concrete code change, or "acceptable as-is" with reasoning}
Report findings honestly. If the code is genuinely good, say so and focus on minor improvements.
Be specific -- cite exact file paths and line numbers from the diff.
When you are done, end your response with exactly:
WHITE_REVIEW_COMPLETEYou are the GREEN REVIEWER -- the Approval Advocate.
Your role: Champion the PR's strengths. Advocate for approval.
Only flag issues that are GENUINELY CRITICAL (data loss, security breach, production outage).
Everything else is a strength or acceptable tradeoff.
## PR Under Review
Title: {PR_TITLE}
### Diff Statistics
{DIFF_STAT}
### Full Diff
{FULL_DIFF}
## Your Analysis Focus
Identify and articulate:
1. **Design strengths** -- good abstractions, clean interfaces, separation of concerns
2. **Code quality wins** -- readability, naming, documentation
3. **Pattern consistency** -- follows project conventions, reuses existing utilities
4. **Correctness** -- logic is sound, edge cases handled, tests cover key paths
5. **Positive impact** -- what value does this PR deliver?
## Output Format
### Strengths Section
For EACH strength, use this format:
### Strength {N}
- **File**: `{file_path}` (or "Overall" for cross-cutting strengths)
- **Category**: {one of the focus areas above}
- **Description**: {what is done well and why it matters}
- **Evidence**: {quote the specific code that demonstrates the strength}
### Critical Findings Section (ONLY if genuinely critical)
Only include findings that meet ALL of these criteria:
- Could cause data loss, security breach, or production outage
- Is not a matter of style or preference
- Cannot be safely addressed in a follow-up PR
For each critical finding (if any):
### Critical Finding {N}
- **File**: `{file_path}`
- **Lines**: {start_line}-{end_line}
- **Severity**: CRITICAL
- **Category**: {security | data-integrity | production-outage}
- **Description**: {what is critically wrong}
- **Evidence**: {quote the specific code from the diff}
- **Suggested Fix**: {concrete code change to fix the issue}
You MUST produce at least 3 strengths.
Be specific -- cite exact file paths and line numbers from the diff.
When you are done, end your response with exactly:
GREEN_REVIEW_COMPLETEApply the following synthesis algorithm:
Extract structured findings from each reviewer's response:
### Finding {N} blocks### Finding {N} blocks### Critical Finding {N} blocks (ignore ### Strength blocks for clustering; save strengths separately for the summary)Each parsed finding must have: file, lines (start-end), severity, category, description, evidence, suggested_fix, reviewer (red/white/green).
If a reviewer's response does not follow the expected format, skip parsing for that reviewer and flag it as unparseable.
Two findings belong to the same cluster if ALL of these conditions are met:
Condition 1: Same file path Exact string match on file path.
Condition 2: Overlapping or nearby line ranges Line ranges overlap OR are within 5 lines of each other.
Example: Lines 10-15 and Lines 18-20 -> same cluster (gap = 3, within 5). Example: Lines 10-15 and Lines 25-30 -> different clusters (gap = 10, exceeds 5).
Condition 3: Related category group The findings' categories belong to the same category group:
| Group | Categories |
|---|---|
| Security | security, assumption, hidden-assumption |
| Concurrency | race-condition, resource-leak, concurrency |
| Error Handling | error-handling, logic-error, error-handling-gaps |
| Performance | performance, algorithmic-complexity |
| Style | style, readability, consistency, code-quality |
| Testing | test-gap, test-coverage |
| Data Safety | breaking-change, data-integrity, data-safety |
| Architecture | architecture-fit, architecture, configuration |
If a category does not match any group, treat it as its own group (only clusters with exact category matches).
For each cluster, count the number of distinct reviewers who contributed findings:
| Reviewers in Cluster | Classification | Action |
|---|---|---|
| 3 (red + white + green) | Unanimous | Auto-fix |
| 2 (any combination) | Majority | Post PR comment |
| 1 (severity >= MEDIUM) | Significant Single | Post PR comment |
| 1 (severity = LOW) | Minor Single | Skip (do not post) |
For each cluster, select the finding to use as the "primary" for fix/comment:
From the Green Reviewer's response, extract the top 3 ### Strength blocks.
These are used in the summary comment (Step 8) and are NOT clustered with findings.
For each unanimous finding, in order:
Edit toolmake check to validate the fixmake check fails: revert the file with git checkout -- {file_path} and downgrade this finding to a PR comment insteadAfter all fixes are applied:
git add <list of fixed files>
git commit -m "fix: address unanimous review findings from /refactor"
git pushIf git push fails, inform the user to push manually.
For each finding classified as "PR comment" (majority or significant single), post an inline comment using the appropriate template below.
Run:
gh api repos/{OWNER_REPO}/pulls/{PR_NUMBER}/comments \
-f body='{FORMATTED_COMMENT}' \
-f path='{FILE_PATH}' \
-f line={LINE_NUMBER} \
-f commit_id='{HEAD_SHA}' \
-f side='RIGHT'If the gh api call fails for a specific comment, log the error and continue with remaining comments. Note failures in the summary.
Use when 2 out of 3 reviewers flagged the same issue.
**Code Review Debate** (2/3 reviewers flagged this)
:red_circle: **Devil's Advocate**: {red_description}
:white_circle: **Neutral Judge**: {white_description}
:green_circle: **Approval Advocate**: {green_perspective}
**Suggested Fix**: {neutral_judge_suggested_fix}
**Risk Level**: {severity} (Probability: {probability}, Impact: {impact})Notes:
{probability} and {impact} come from the White Reviewer. If White Reviewer is not in the cluster, omit the parenthetical.{neutral_judge_suggested_fix} comes from White Reviewer. If White is not in cluster, use Red Reviewer's fix.Use when only 1 reviewer flagged the issue but severity is MEDIUM or higher.
**Code Review Note** (1/3 reviewers flagged this)
**{reviewer_role}**: {description}
**Other reviewers**: No concerns raised.
**Severity**: {severity} | **Category**: {category}
**Suggested Fix**: {suggested_fix}Notes:
{reviewer_role} is one of: "Devil's Advocate", "Neutral Judge", "Approval Advocate"Suggested Fix if the finding includes one.Post a top-level PR comment using the template below:
gh api repos/{OWNER_REPO}/issues/{PR_NUMBER}/comments \
-f body='{SUMMARY_BODY}'## /refactor Code Review Summary
### Results
| Classification | Count | Action |
|----------------|-------|--------|
| Unanimous (3/3) | {unanimous_count} | Auto-fixed |
| Majority (2/3) | {majority_count} | Inline comment |
| Single (>= MEDIUM) | {significant_single_count} | Inline comment |
| Single (LOW) | {minor_single_count} | Skipped |
| **Total findings** | **{total_count}** | |
### Auto-Fixed Issues
{If unanimous_count > 0, list each:}
- `{file_path}`: {short_description} (lines {start}-{end})
{If unanimous_count == 0:}
No issues were unanimously identified for auto-fix.
### Inline Comments Posted
{If comment_count > 0, list each:}
- `{file_path}:{line_number}`: {short_description} ({classification})
{If comment_count == 0:}
No inline comments were posted.
### Top Strengths (from Approval Advocate)
1. {strength_1_description}
2. {strength_2_description}
3. {strength_3_description}
### Reviewer Verdicts
- :red_circle: **Devil's Advocate**: {red_one_line_verdict}
- :white_circle: **Neutral Judge**: {white_one_line_verdict}
- :green_circle: **Approval Advocate**: {green_one_line_verdict}
---
*Generated by `/refactor` -- 3-agent code review debate*Notes:
gh api failed for any inline comment, add a section:### Failed Comments
- `{file_path}:{line}`: {error_reason}git push failed after auto-fix, add:### Note
Auto-fix commit was created locally but could not be pushed. Run `git push` manually.Send shutdown requests to all 3 agents:
SendMessage(type="shutdown_request", recipient="red-reviewer")
SendMessage(type="shutdown_request", recipient="white-reviewer")
SendMessage(type="shutdown_request", recipient="green-reviewer")After all agents have shut down:
TeamDelete()Print a final summary to the console. No emojis. Include:
Example output:
/refactor complete.
Auto-fixed: 3 findings (committed and pushed)
PR comments: 5 inline comments posted
Skipped: 2 low-severity findings
PR: https://github.com/owner/repo/pull/123| Scenario | Action |
|---|---|
| No PR found | Exit with message |
| Empty diff | Exit with message |
| Agent timeout (5 min) | Proceed with available results |
make check fails after fix | Revert file, downgrade to PR comment |
gh api comment fails | Log error, continue, note in summary |
| Agent response unparseable | Include raw text in summary, skip for clustering |
git push fails | Inform user to push manually |
© NomaDamas, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/refactor of NomaDamas/AutoRAG-Research.
Open the folder on GitHubat commit a473cf0
Refactor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Refactor this skillNomaDamas/AutoRAG-Research | 149 | — | ~4.4k | Automated safety check: Notes | Apache-2.0 | |
| Dignified Python Standardsdocling-project/docling | 68k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Clean Code GuardamElnagdy/guard-skills | 1.3k | 2 repos | ~4.3k | Automated safety check: Pass | MIT | |
| Maintainable Code for iPolloWorkDevin-AXIS/iPolloWork | 6.7k | — | ~2.7k | Automated safety check: Pass | Custom licence | |
| Cyclomatic Complexitysaurabhkumar8112/cyclomatic-complexity-skill | 405 | — | ~761 | Automated safety check: Pass | Apache-2.0 | |
| Code Review Graph Navigatorhandsontable/handsontable | 22k | — | ~939 | Automated safety check: Pass | Custom licence |
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
amElnagdy/guard-skills
Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.
Devin-AXIS/iPolloWork
A code-change gate for the iPolloWork repository: search and reuse first, keep one source of truth, justify every new file or dependency, and audit the change.
saurabhkumar8112/cyclomatic-complexity-skill
Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension.
handsontable/handsontable
Queries a pre-built, Tree-sitter-based code graph of the whole monorepo instead of grepping call chains, for exploring, debugging, refactoring or reviewing code.
luoling8192/software-design-philosophy-skill
Software design philosophy guide based on John Ousterhout's "A Philosophy of Software Design." Use this skill during: code reviews, architecture discussions, API design, module decomposition…
NomaDamas/AutoRAG-Research
Query AutoRAG-Research pipeline results using natural language.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom generation pipeline plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom data ingestor plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom evaluation metric plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom retrieval pipeline plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Process [APPROVE] and [IGNORE] replies on /refactor review threads.
Categories
Orchestrate a 3-agent PR code review debate using Claude Code Teams. Refactor is an agent skill from NomaDamas/AutoRAG-Research. Orchestrate a 3-agent PR code review debate using Claude Code Teams.
Refactor fits situations like: tasks that involve Refactoring; tasks that involve Code review.
Run `npx skills add NomaDamas/AutoRAG-Research --skill refactor -a claude-code`. Or copy the skill folder (.claude/skills/refactor in NomaDamas/AutoRAG-Research) into .claude/skills/refactor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NomaDamas/AutoRAG-Research --skill refactor -a codex`. Or copy the skill folder (.claude/skills/refactor in NomaDamas/AutoRAG-Research) into .agents/skills/refactor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NomaDamas/AutoRAG-Research --skill refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor, .gemini/skills/refactor, .github/skills/refactor and .opencode/skills/refactor in your project.
Going by SKILL.md and its folder, Refactor needs the command-line tools its instructions call (git, gh and make). Its frontmatter pre-approves these tools: Bash, Read, Write, Edit, Grep, Glob, Task, TeamCreate, TeamDelete, TaskCreate, TaskUpdate, TaskList, TaskGet, SendMessage.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Refactor is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.4k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Refactor: Dignified Python Standards (docling-project/docling, 68k stars), Clean Code Guard (amElnagdy/guard-skills, 1.3k stars), Maintainable Code for iPolloWork (Devin-AXIS/iPolloWork, 6.7k stars) and Cyclomatic Complexity (saurabhkumar8112/cyclomatic-complexity-skill, 405 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NomaDamas (a GitHub organization) maintains it in NomaDamas/AutoRAG-Research, which has 149 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on August 9, 2026.
Source: NomaDamas/AutoRAG-Research on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.