review
Skill308 starsChanged 8 months agoMITView on GitHub
Autonomous PR review — reads diff, cross-references knowledge base, posts inline comments, and leaves an overall verdict.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- joi-fairshare/agentic-workflowtheir own version, first seen Oct 5, 2026
- kurofune/claudittheir own version, first seen Oct 5, 2026
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use cso, plan-devex-review and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 11 projects that use this
seek888Skillplan-devex-review
Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".
Also in 9 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 5 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 11 projects that use this
Kit4SomeSkillunfreeze
Also in 12 projects that use this
AICreator-WindSkilldesign-consultation
设计合作伙伴工具。构建完整设计系统,提供专业设计建议。
Also in 12 projects that use this
- +1 more from seek888
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- garrytan/gstack★ 143ksame name
- anthropics/claude-for-legal★ 9.6ksame name
- vercel/eve★ 5.5ksame name
- microsoft/FluidFramework★ 4.9ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- dzhng/jevgrep★ 2.3ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- skyllwt/AutoSci★ 1.7ksame name
- nagisanzenin/engram★ 1.4ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- architectureSkill
- create-prSkill
- debug-agentSkill
- fix-dependenciesSkill
- knowledge-syncSkill
- pac-cli-updateSkill
- security-alertsSkill
- workitemSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 39
If last sync was > 7 days ago or file missing: run /knowledge-sync inline, then continue.
- Distinctive: line 96
Check the diff for:
- Very specific: line 98
No flat minimatch@^3.x override — causes infinite npm resolution loop
- Very specific: line 102
No new direct dependency that should be in bundleDependencies
- Distinctive: line 110
No corresponding merged main PR exists with the same changes
- Distinctive: line 112
Verify the paired main PR exists:
- Distinctive: line 123
Run in parallel to inform the review:
- Distinctive: line 163
No secrets, tokens, or credentials committed
“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Agent — Autonomous PR Review
Reads a PR diff, cross-references the full knowledge base, posts inline comments on specific issues, and leaves an overall verdict. Zero user input required.
Invoke as:
/review <pr-number-or-url>— review a specific PR/review— review the open PR on the current branch
For creating PRs use /create-pr. For CLI version bumps use /pac-cli-update.
Core rule: never ask, always decide
| Condition | Action |
| Line-level issue (wrong pattern, bug risk, breaking change) | Post inline comment on that line |
| File-level concern (missing test, architecture violation) | Post inline comment on first line of file |
| Overall concern (security, missing checklist item) | Add to overall review body |
| No issues in a section | Skip the section — don't pad the review |
Step 1 — Sync knowledge if stale
grep "## Last sync" memory/ado-knowledge.md 2>/dev/null | tail -1If last sync was > 7 days ago or file missing: run /knowledge-sync inline, then continue.
Step 2 — Resolve PR and classify type
# Resolve PR number, head SHA, base branch, changed files
gh pr view <number-or-url> --json number,title,body,headRefOid,baseRefName,author,url 2>&1
gh pr checks <number-or-url> 2>&1
gh pr view <number-or-url> --json baseRefName,files,author \
--jq '{base:.baseRefName, author:.author.login, files:[.files[].path]}' 2>&1Capture: PR_NUMBER, HEAD_SHA, BASE_BRANCH.
Classify the PR type — determines which checks run:
| Changed files | PR type | Checks |
nuget.json + extension/overview.md only | PAC CLI bump | Step 3a |
package.json + package-lock.json only | npm dep update | Step 3b |
package.json + ALL task.json files | Node target update | Step 3b + Step 5 |
src/tasks/*/index.ts or selective task.json | Feature / new input | Step 5 (full) |
Base = release/stable (any type) | Release branch PR | Step 3c first, then type check |
Step 3 — Type-specific checks (run the section matching the PR type)
3a — PAC CLI bump checks (nuget.json changed)
# Verify both packages have the same version
node -e "
const n = require('./nuget.json');
const vers = n.packages.map(p => p.version);
console.log('versions:', [...new Set(vers)].join(', '));
console.log(vers.every(v => v === vers[0]) ? 'OK: match' : 'MISMATCH');
" 2>&1
# Verify the version exists on nuget.org
curl -s "https://api.nuget.org/v3-flatcontainer/microsoft.powerapps.cli/index.json" \
| node -e "const d=JSON.parse(require('fs').readFileSync('/dev/stdin','utf8')); \
const v=require('./nuget.json').packages[0].version; \
console.log(d.versions.includes(v)?'nuget: found':'nuget: NOT FOUND')" 2>&1Request changes immediately if:
nuget.jsonpackages have mismatched versions- Version does not exist on nuget.org
overview.mdhas no entry for the new version{{NextReleaseVersion}}placeholder was removed fromoverview.md
3b — npm dependency checks (package.json changed)
Check the diff for:
- No flat
minimatch@^3.xoverride — causes infinite npm resolution loop ajvoverride stays at^6.x— v8 breaks ESLint- New overrides are at minimum required version (not over-pinned)
inBundle: trueentries inpackage-lock.jsonchanges are intentional (overrides can't reach them)- No new direct dependency that should be in
bundleDependencies
3c — Release/stable branch checks (base == release/stable)
Release PRs must be version bumps only. Request changes immediately if:
- Contains
.tslogic changes (not just version string changes) - Adds new dependencies not present in the corresponding
mainPR - No corresponding merged
mainPR exists with the same changes
Verify the paired main PR exists:
gh search prs --repo microsoft/powerplatform-build-tools \
--state merged --base main "<version-or-keyword>" 2>&1Step 4 — Research context
Run in parallel to inform the review:
# Find similar past PRs (2-3 keywords from PR title)
gh search prs --repo microsoft/powerplatform-build-tools \
--state merged --limit 8 "<keyword1> <keyword2>" 2>&1
# For top matches, read the body:
gh pr view <past-pr-number> --json title,body,mergedAt 2>&1Also check memory/ado-knowledge.md for related ADO work items.
Skip ADO query for pure PAC CLI or dependency PRs — rarely adds value.
Step 5 — File-level review (feature/bug fix PRs, or any PR touching src/)
Fetch the full diff:
gh pr diff <PR_NUMBER> 2>&1For each changed file apply:
| File pattern | What to check |
src/tasks/*/index.ts | tl.getInput() used correctly; errors reach tl.setResult(TaskResult.Failed, ...); no pac args assembled here |
src/tasks/*/task.json | Input names unchanged (renaming breaks customer pipelines); type correct; required set correctly |
src/host/BuildToolsHost.ts | ALL 32 tasks affected — flag blast radius |
src/params/auth/getCredentials.ts | All four auth types still work: UsernamePassword, SPN, ManagedIdentity, WorkloadIdentity |
src/params/auth/getEnvironmentUrl.ts | 4-level fallback preserved: task input → pipeline variable → connection → default |
extension/task-metadata.json | LIVE GUIDs must never change |
extension/extension-manifest.json | Publisher and extension ID must not change |
gulp/pack.mjs | tar imported via createRequire, not ESM import |
test/unit-test/** | New behaviour is tested; mocks use rewiremock |
Security (every PR):
- No secrets, tokens, or credentials committed
- No
--no-verifyor commit hook bypasses
Architecture alignment:
- Pipeline logic stays in build-tools; pac CLI arg construction stays in cli-wrapper
- New tasks follow IIFE →
isRunningOnAgent()→main()→ cli-wrapper pattern
Known failure patterns from knowledge base:
- WhoAmI locale failure (ADO #4846644): flag any change near
whoAmIor locale handling - AAD/OAuth authority (ADO #4863652):
resolveCloudInstance()map must be preserved - PVA import failure (IcM 604312672): pac CLI version bumps should reference changelog
Step 6 — Post inline comments
HEAD_SHA=$(gh pr view <PR_NUMBER> --json headRefOid --jq .headRefOid)
gh api repos/microsoft/powerplatform-build-tools/pulls/<PR_NUMBER>/comments \
--method POST \
--field body="<comment>" \
--field commit_id="$HEAD_SHA" \
--field path="<file-path>" \
--field line=<line-number> \
--field side="RIGHT" 2>&1Format: ⚠️ <risk> / 🚨 Breaking: <impact> / 💡 Suggestion: / ❓ <question>
Max 15 inline comments — consolidate minor points into the overall review body.
Step 7 — Post overall review and verdict
gh pr review <PR_NUMBER> --comment --body "$(cat <<'EOF'
## Review
**Reviewed by:** Claude Code (autonomous review agent)
**PR type:** <PAC CLI bump / npm dep update / feature / release branch>
**Similar PRs:** <titles + numbers, or "none">
**ADO context:** <relevant items, or "none">
### Breaking changes
<task.json, GUID, or interface changes — or "None detected">
### Security
<!-- Omit if no findings -->
### Architecture
<!-- Omit if no findings -->
### Dependencies
<!-- Omit if package files unchanged -->
### Suggestions
<!-- Omit if none -->
### Verdict
**✅ Approve** / **🔄 Request changes** / **💬 Comment** — <one line reason>
EOF
)" 2>&1
# Then execute the verdict:
gh pr review <PR_NUMBER> --approve 2>&1
# or
gh pr review <PR_NUMBER> --request-changes --body "<blocker>" 2>&1Verdict decision table
| Condition | Verdict |
| LIVE GUID changed | Request changes — critical breaking |
task.json input renamed | Request changes — breaks customer pipelines |
| Secret/credential in diff | Request changes — security |
| CI failing on non-functional-test step | Request changes |
release/stable PR has logic changes | Request changes — version bumps only on release branch |
release/stable PR missing paired main PR | Request changes |
nuget.json package version mismatch | Request changes — CLI update incomplete |
| PAC CLI version not on nuget.org | Request changes — version doesn't exist |
| Only non-blocking suggestions | Approve with inline suggestions |
| PAC CLI bump verified clean | Approve |
| No findings | Approve |
| Intent unclear | Comment |
Never:
- Approve a PR with a LIVE GUID change, renamed input, or committed secret
- Block a PR because functional tests fail locally (expected — require live credentials)
- Re-flag
ellipticLOW vuln (known accepted risk, no patch exists)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

