Code Review
Azure/Azurite
Review Azurite pull requests with service-aware checks for Blob, Queue, and Table behavior, API compatibility, tests, and release notes.
Analyzes recently modified code and creates pull requests with simplifications that improve clarity, consistency, and maintainability while preserving functionality
$ npx skills add Azure/azqr --skill code-simplifier -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Azure/azqr code-simplifier --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/Azure/azqr.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/code-simplifier .claude/skills/code-simplifier && 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 "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .claude/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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/Azure/azqr/tree/main/.agents/skills/code-simplifierType 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 Azure/azqr --skill code-simplifier -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Azure/azqr code-simplifier --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azqr.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/code-simplifier .agents/skills/code-simplifier && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .agents/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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 Azure/azqr --skill code-simplifier -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Azure/azqr code-simplifier --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azqr.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/code-simplifier .cursor/skills/code-simplifier && 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 "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .cursor/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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/Azure/azqr.git --path .agents/skills/code-simplifier--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 Azure/azqr --skill code-simplifier -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Azure/azqr code-simplifier --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azqr.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/code-simplifier .gemini/skills/code-simplifier && 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 "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .gemini/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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 Azure/azqr code-simplifierInstalls 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 Azure/azqr --skill code-simplifier -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Azure/azqr.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/code-simplifier .github/skills/code-simplifier && 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 "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .github/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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 Azure/azqr --skill code-simplifier -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Azure/azqr code-simplifier --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Azure/azqr.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/code-simplifier .opencode/skills/code-simplifier && 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 "code-simplifier" agent skill from https://github.com/Azure/azqr/tree/main/.agents/skills/code-simplifier into .opencode/skills/code-simplifier/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-simplifier", 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.
code-simplifierAnalyzes recently modified code and creates pull requests with simplifications that improve clarity, consistency, and maintainability while preserving functionality
Code Simplifier is an agent skill from Azure/azqr, published by the product's own GitHub organization. Analyzes recently modified code and creates pull requests with simplifications that improve clarity, consistency, and maintainability while preserving functionality
Its SKILL.md is about 2.9k 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 Code simplification and Pull requests. It works with Microsoft Azure. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3cf9f0a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitmakenpmcargomvngotsxjavaphppytestFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.
From 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.
Code Simplifier loads about 2.9k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 900 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 found no risky patterns in SKILL.md.
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 Azure/azqr at commit 3cf9f0a, republished under its MIT licence (© Azure). 900 words, ~2,905 tokens.
.claude/skills/code-simplifier/SKILL.md (or your agent's skills folder).Expert guidance for analyzing and simplifying recently modified code to improve clarity, consistency, and maintainability while preserving exact functionality.
This skill enables agents to:
Use this skill when:
Avoid over-simplification that could:
Identify files modified in the last 24 hours from all sources:
Option A: Local File Changes (filesystem-based)
# Find files modified in the last 24 hours (includes uncommitted changes)
find . -type f -mtime -1 -not -path './.git/*' -not -path './node_modules/*' -not -path './vendor/*'
# Or using git to find modified files (staged and unstaged)
git status --porcelain
# Find recently modified tracked files
git diff --name-only HEAD~10 # Adjust based on commit frequencyOption B: Git History (committed changes)
# Get yesterday's date in ISO format
YESTERDAY=$(date -d '1 day ago' '+%Y-%m-%d' 2>/dev/null || date -v-1d '+%Y-%m-%d')
# List recent commits
git log --since="24 hours ago" --pretty=format:"%H %s" --no-merges
# List files changed in recent commits
git log --since="24 hours ago" --name-only --pretty=format:"" | sort -uOption C: GitHub PRs and Commits (remote changes)
Use GitHub tools to:
Combine all sources to get a comprehensive list of recently modified files.
From all identified sources (local changes, commits, PRs):
.go, .js, .ts, .tsx, .jsx, .py, .rb, .java, .cs, .php, .cpp, .c, .rs, etc.)# Example: Combine filesystem and git changes, filter source files
{
find . -type f -mtime -1 -not -path './.git/*' 2>/dev/null
git log --since="24 hours ago" --name-only --pretty=format:"" 2>/dev/null
git diff --name-only 2>/dev/null
} | sort -u | grep -E '\.(go|js|ts|tsx|jsx|py|rb|java|cs|php|cpp|c|rs)$'If no files were changed in the last 24 hours (no local modifications, no commits, no merged PRs), exit gracefully:
✅ No code changes detected in the last 24 hours.
Code simplifier has nothing to process today.If files were changed (from any source: local edits, commits, or PRs), proceed to Phase 2.
Before simplifying, review the project's coding standards:
STYLE.md, CONTRIBUTING.md, README.md)For each changed file:
Make surgical, focused changes that preserve all original behavior. Use targeted edits rather than full file rewrites.
After making simplifications, run the project's test suite:
# Common test commands (adapt to the project)
make test # If Makefile exists
npm test # For Node.js projects
pytest # For Python projects
./gradlew test # For Gradle projects
mvn test # For Maven projects
cargo test # For Rust projects
go test ./... # For Go projectsIf tests fail:
Ensure code style is consistent:
# Common lint commands (adapt to the project)
make lint # If Makefile exists
npm run lint # For Node.js projects
pylint . || flake8 . # For Python projects
cargo clippy # For Rust projects
golangci-lint run # For Go projectsFix any linting issues introduced by the simplifications.
Verify the project still builds successfully:
# Common build commands (adapt to the project)
make build # If Makefile exists
npm run build # For Node.js projects
./gradlew build # For Gradle projects
mvn package # For Maven projects
cargo build # For Rust projects
go build ./... # For Go projectsOnly create a PR if:
If no improvements were made or changes broke tests, exit gracefully:
✅ Code analyzed from last 24 hours.
No simplifications needed - code already meets quality standards.Use this structure for the PR:
## Code Simplification - [Date]
This PR simplifies recently modified code to improve clarity, consistency, and maintainability while preserving all functionality.
### Files Simplified
- `path/to/file1.ext` - [Brief description of improvements]
- `path/to/file2.ext` - [Brief description of improvements]
### Improvements Made
1. **Reduced Complexity**
- [Specific example]
2. **Enhanced Clarity**
- [Specific example]
3. **Applied Project Standards**
- [Specific example]
### Changes Based On
Recent changes from:
- #[PR_NUMBER] - [PR title]
- Commit [SHORT_SHA] - [Commit message]
### Testing
- ✅ All tests pass (or indicate if no tests exist)
- ✅ Linting passes (or indicate if no linter configured)
- ✅ Build succeeds (or indicate if no build step)
- ✅ No functional changes - behavior is identical
### Review Focus
Please verify:
- Functionality is preserved
- Simplifications improve code quality
- Changes align with project conventions
- No unintended side effects
---
*Automated by Code Simplifier Agent*// Before
func process(data []Item) error {
if data != nil {
if len(data) > 0 {
for _, item := range data {
if item.Valid {
// process
}
}
}
}
return nil
}
// After
func process(data []Item) error {
if len(data) == 0 {
return nil
}
for _, item := range data {
if !item.Valid {
continue
}
// process
}
return nil
}// Before
const status = isError ? 'error' : isLoading ? 'loading' : isSuccess ? 'success' : 'idle';
// After
let status;
if (isError) {
status = 'error';
} else if (isLoading) {
status = 'loading';
} else if (isSuccess) {
status = 'success';
} else {
status = 'idle';
}# Before
def validate_user(user):
if user.name is None:
return False
if len(user.name) == 0:
return False
if user.email is None:
return False
if '@' not in user.email:
return False
return True
# After
def validate_user(user):
if not user.name:
return False
if not user.email or '@' not in user.email:
return False
return True// Before
func calc(d []int) int {
t := 0
for _, v := range d {
t += v
}
return t
}
// After
func calculateSum(values []int) int {
total := 0
for _, value := range values {
total += value
}
return total
}Exit gracefully without creating a PR if:
Before creating a PR, verify:
The agent MUST either:
© Azure, MIT. 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 .agents/skills/code-simplifier of Azure/azqr.
Open the folder on GitHubat commit 3cf9f0a
Code Simplifier 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 |
|---|---|---|---|---|---|---|
| Code Simplifier this skillAzure/azqr | 794 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Code ReviewAzure/Azurite | 2.3k | — | ~734 | Automated safety check: Pass | MIT | |
| Reviewtisfeng/Easydict | 15k | — | ~659 | Automated safety check: Pass | GPL-3.0 | |
| Azurite Pull Request ReviewAzure/AgentBaker | 157 | — | ~3.9k | Automated safety check: Pass | MIT | |
| Create PRmicrosoft/aspire | 6.3k | — | ~4k | Automated safety check: Pass | MIT | |
| Code ReviewAzure/sap-automation | 145 | — | ~7k | Automated safety check: Pass | MIT |
Azure/Azurite
Review Azurite pull requests with service-aware checks for Blob, Queue, and Table behavior, API compatibility, tests, and release notes.
tisfeng/Easydict
审查本地工作树、提交、range、文件或模块,找出有证据的缺陷。GitHub PR 审查使用 review-pr;代码清理使用 code-simplifier。
Azure/AgentBaker
Reviews Azurite pull requests with checks for Blob, Queue and Table API compatibility, auth paths, persistence, tests and changelog, ending in a fixed comment format.
microsoft/aspire
Create a pull request using the repository PR template. An agent skill from microsoft/aspire.
Azure/sap-automation
Review pull requests in the SAP Deployment Automation Framework.
kubernetes-sigs/cloud-provider-azure
Diagnose and unblock failed Dependabot pull requests in cloud-provider-azure by closing Kubernetes minor-version dependency bumps, classifying CI failures, syncing Go modules, retesting quota-flaked…
Azure/azqr
Create new skills, modify and improve existing skills, and measure skill performance.
Azure/azqr
Validate KQL (Kusto Query Language) files used in Azure Quick Review (azqr) against their recommendation definitions.
Azure/azqr
In-depth code review that fans out parallel subagents across review areas — CRITICAL after non-trivial development.
Azure/azqr
Expert guidance for developing and contributing to Azure Quick Review (azqr) - A Go-based CLI tool for Azure resource compliance analysis
Works with
Categories
Analyzes recently modified code and creates pull requests with simplifications that improve clarity, consistency, and maintainability while preserving functionality. Code Simplifier is an agent skill from Azure/azqr, published by the product's own GitHub organization.
Code Simplifier fits situations like: tasks that involve Code simplification; tasks that involve Pull requests.
Run `npx skills add Azure/azqr --skill code-simplifier -a claude-code`. Or copy the skill folder (.agents/skills/code-simplifier in Azure/azqr) into .claude/skills/code-simplifier in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Azure/azqr --skill code-simplifier -a codex`. Or copy the skill folder (.agents/skills/code-simplifier in Azure/azqr) into .agents/skills/code-simplifier 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 Azure/azqr --skill code-simplifier -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-simplifier, .gemini/skills/code-simplifier, .github/skills/code-simplifier and .opencode/skills/code-simplifier in your project.
Going by SKILL.md and its folder, Code Simplifier needs the command-line tools its instructions call (git, make, npm, cargo, mvn and go). Our summary lists: Python 3; Node.js.
SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Code Simplifier is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k 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 Code Simplifier: Code Review (Azure/Azurite, 2.3k stars), Review (tisfeng/Easydict, 15k stars), Azurite Pull Request Review (Azure/AgentBaker, 157 stars) and Create PR (microsoft/aspire, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Azure (a GitHub organization, an official publisher) maintains it in Azure/azqr, which has 794 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.
Source: Azure/azqr on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.