code-review
Skill0 starsChanged 5 months agoMITView on GitHub
Use when a repository pull-request review needs linked work-item or design-document context, including trigger-only validations that should skip shell or host-resource discovery and collect only missing review inputs.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing 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.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 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 repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-pentestSkill
- bitbucketSkill
- change-implementationSkill
- cloud-pentestSkill
- confluenceSkill
- delivery-metricsSkill
- deployment-verificationSkill
- fortifySkill
- gate-remediationSkill
- github-issueSkill
- githubSkill
- github-workflowSkill
- gitlabSkill
- incident-responseSkill
- jenkinsSkill
- jiraSkill
- knowledge-captureSkill
- monitor-checkSkill
- network-pentestSkill
- obsidianSkill
- pentestSkill
- release-orchestrationSkill
- repo-understandingSkill
- security-fix-guideSkill
- sonarqubeSkill
- sprint-kickoffSkill
- using-orbitSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
30 rules. 0 are common, 17 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Ask the user for all missing required inputs in a single plain-text message.
- Distinctive: line 46
Ask for all missing required inputs in a single plain-text message.
- Very specific: line 47
Prefer the smallest missing set that unblocks the selected review route.
- Very specific: line 48
Use normalized shared field names from ../using-orbit/references/common-input-contract.md whenever the input belongs to the shared …
- Distinctive: line 49
Avoid provider-specific aliases when the shared field name already expresses the same fact.
- Very specific: line 53
Read ../using-orbit/references/safety-rules.md, ../using-orbit/references/cli-patterns.md, and …
- Very specific: line 55
Treat ../using-orbit/references/ as the source of truth for shared review conventions instead of repeating those conventions in full here.
- Very specific: line 59
Follow the capability-based preflight protocol in ../using-orbit/references/safety-rules.md.
- Very specific: line 61
If tracker and docs providers are installed, use them for linked work-item and design-document checks.
- Very specific: line 62
If ci is installed and build-state clarification is needed, use it.
- Very specific: line 63
When the selected ci provider is github-workflow, prefer github-workflow build get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} …
- Distinctive: line 67
Use the repository capability for the active provider.
- Very specific: line 90
Use the provider that matches REPO_PROVIDER.
- Very specific: line 94
If no tracker provider is installed, skip linked work-item and AC coverage checks.
- Very specific: line 95
If no docs provider is installed, skip design-document consistency checks.
- Very specific: line 98
If a tracker provider is installed, use the shared provider linking strategy to resolve linked work items for the active repository …
- Distinctive: line 115
Use the provider-specific linked-work-item path only when the selected provider exposes it natively.
- Distinctive: line 122
If linked work items exist, read Story details:
- Distinctive: line 132
Check if AC exists: if the description contains none of "验收标准", "AC", "Acceptance Criteria", mark as "Story has no AC" and skip AC coverage …
- Very specific: line 134
If a docs provider is installed, search for linked design documents using the exact issue key phrase so unrelated pages that only share the …
- Distinctive: line 144
If found, read core content:
- Distinctive: line 151
If changed files > 20 or total diff lines > 500:
- Distinctive: line 155
Ask the user whether to continue with the remaining files
- Distinctive: line 159
Use the repository capability for the active provider to get diff anchor metadata.
- Distinctive: line 184
When AC exists, check each AC item: mark as implemented / not implemented
- Distinctive: line 195
If design documents are available, does it follow architecture constraints from the design document?
- Distinctive: line 209
Before posting, display a summary table of ALL planned line-level comments:
- Distinctive: line 216
Wait for user confirmation.
- Distinctive: line 228
Start with severity marker: 🚫 / 🔴 / 🟡 / 🟢
- Distinctive: line 231
If AC-related, reference the specific AC item
“Common” is measured: kept by at least 6 in 10 of the 175 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
AI Code Review
Perform a comprehensive code review on a repository pull request, combining available business context (linked work items and design documents) with code-level analysis, and post findings directly as PR comments.
Trigger-only routing guard: if the prompt already asks for a PR review, treat code-review as selected. Do not convert the turn into a host-platform or skill-installation audit. Do not probe local resource registries, editor state, or skill availability. If the user forbids shell, do not run shell commands even for local inspection. Ask only for missing review inputs such as REPO_PROVIDER, REPO_NAMESPACE, REPO_NAME, and PR_NUMBER.
Capability Dependencies
Required:
repo
Optional:
trackerdocsci
Inputs
| Variable | Required | Description | Example |
REPO_PROVIDER | Yes | Repository provider | bitbucket |
REPO_NAMESPACE | Yes | Repository namespace / project key | sample |
REPO_NAME | Yes | Repository name / slug | sample-repo |
PR_NUMBER | Yes | Pull request number | 16 |
Provider examples: bitbucket, github, gitlab.
Bitbucket example values: REPO_PROVIDER=bitbucket, REPO_NAMESPACE=sample, REPO_NAME=sample-repo, PR_NUMBER=16.
GitHub example values: REPO_PROVIDER=github, REPO_NAMESPACE=sample-org, REPO_NAME=sample-repo, PR_NUMBER=16.
GitLab example values: REPO_PROVIDER=gitlab, REPO_NAMESPACE=sample-group, REPO_NAME=sample-repo, PR_NUMBER=16.
Ask the user for all missing required inputs in a single plain-text message. Present the parameter table above and wait for their response. Do NOT use interactive selection prompts — these are free-text values (IDs, keys, slugs) that the user types directly.
Trigger-only validation mode: if the user explicitly says this is only a skill trigger test, follow ../using-orbit/references/safety-rules.md and ask only for the missing inputs from the table above. Do not ask for host platform, skill name, trigger entry, report language, or generic success criteria.
Missing-input collection rules
Ask for all missing required inputs in a single plain-text message.
Prefer the smallest missing set that unblocks the selected review route.
Use normalized shared field names from ../using-orbit/references/common-input-contract.md whenever the input belongs to the shared capability contract.
Avoid provider-specific aliases when the shared field name already expresses the same fact.
Before You Start
Read ../using-orbit/references/safety-rules.md, ../using-orbit/references/cli-patterns.md, and ../using-orbit/references/output-conventions.md for shared conventions that apply to all steps below.
Treat ../using-orbit/references/ as the source of truth for shared review conventions instead of repeating those conventions in full here.
Preflight Configuration Check
Follow the capability-based preflight protocol in ../using-orbit/references/safety-rules.md.
Resolve repo first.
If tracker and docs providers are installed, use them for linked work-item and design-document checks.
If ci is installed and build-state clarification is needed, use it.
When the selected ci provider is github-workflow, prefer github-workflow build get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number <RUN_ID> for run status clarification and github-workflow build console --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number <RUN_ID> for logs instead of inventing repo-provider-specific build status reads.
Step 1: Read PR Information and Diff
Use the repository capability for the active provider.
Bitbucket example:
bitbucket pr get --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}}
bitbucket pr changes --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}}
bitbucket pr diff --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}}GitHub example:
github pr get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}
github pr changes --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}
github pr diff --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}GitLab example:
gitlab pr get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}
gitlab pr changes --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}
gitlab pr diff --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}Use the provider that matches REPO_PROVIDER.
Step 2: Get Business Context
If no tracker provider is installed, skip linked work-item and AC coverage checks.
If no docs provider is installed, skip design-document consistency checks.
Record any skipped checks in the final review summary.
If a tracker provider is installed, use the shared provider linking strategy to resolve linked work items for the active repository provider.
Bitbucket example:
bitbucket jira pr-issues --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}}GitHub example:
Use the shared provider linking strategy for GitHub: explicit user context first, then issue-key extraction from PR title, body, branch names, and commits.GitLab example:
Use the shared provider linking strategy for GitLab: explicit user context first, then issue-key extraction from merge request title, description, branch names, and commits.Use the provider-specific linked-work-item path only when the selected provider exposes it natively.
If pr-issues returns empty (PR not linked to a work item):
- Skip AC coverage check; review code dimensions only (Bug / Security / Maintainability)
- Note in the PR summary comment: "⚠️ No linked work item — cannot check AC coverage. Recommend developers add a link."
- Skip design-document search that depends on linked work-item keys; go directly to Step 3
If linked work items exist, read Story details:
jira issue get --key <ISSUE_KEY>GitHub Issue example:
github-issue issue get --namespace <OWNER_OR_ORG> --repo <REPO> --number <ISSUE_NUMBER>Check if AC exists: if the description contains none of "验收标准", "AC", "Acceptance Criteria", mark as "Story has no AC" and skip AC coverage check in later steps.
If a docs provider is installed, search for linked design documents using the exact issue key phrase so unrelated pages that only share the numeric suffix do not count as a design-document match:
confluence search content --cql "text ~ '\"<ISSUE_KEY>\"'" --type page --limit 5Obsidian provider example:
obsidian content search --query "<ISSUE_KEY>"If found, read core content:
confluence page get --id <PAGE_ID> --expand body.storageStep 3: Large PR Tolerance
If changed files > 20 or total diff lines > 500:
- List all changed files with per-file change count
- Sort by change volume descending
- Prioritize reviewing the top 10 core files
- Ask the user whether to continue with the remaining files
Step 4: Get Line-Level Anchor Information
Use the repository capability for the active provider to get diff anchor metadata.
Bitbucket example:
bitbucket pr file-diff --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}} --path <FILE_PATH>GitHub example:
github pr get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}GitLab example:
gitlab pr get --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}}Record provider-native inline-comment context for the selected provider. For Bitbucket this includes fromHash, toHash, and diffType; for GitHub use the commit SHA and changed file metadata required by pr review-comment; for GitLab use the merge-request diff context plus file path and line information needed by pr review-comment.
Step 5: AI Analysis (Review Core)
Combine available business context (linked work items and design documents) with code changes. Review across five dimensions:
A. Business Logic Correctness
- Does the code correctly implement the linked work-item requirements when a
trackerprovider is available? - When AC exists, check each AC item: mark as implemented / not implemented
B. Potential Bugs
- Null pointer, out-of-bounds, resource leaks, concurrency issues
- Boundary condition handling
C. Security Risks
- SQL injection, XSS, hardcoded passwords, path traversal
- Sensitive data handling compliance
D. Design Consistency
- If design documents are available, does it follow architecture constraints from the design document?
- Naming, layering, interface design — does it match project conventions?
E. Maintainability
- Is the code clear and readable?
- Are there duplicate logic patterns that should be extracted?
Classify each finding by severity (see ../using-orbit/references/output-conventions.md):
🚫 Blocks merge / 🔴 Must fix / 🟡 Suggested improvement / 🟢 Optional optimization
Step 6: Post Line-Level Comments (requires user confirmation)
Follow ../using-orbit/references/safety-rules.md write confirmation protocol.
Before posting, display a summary table of ALL planned line-level comments:
| # | File | Line | Severity | Finding |
| 1 | path/to/file | 42 | 🔴 | Brief description |
| ... | ... | ... | ... | ... |
Wait for user confirmation. Only after confirmation, post each comment: Bitbucket example:
bitbucket pr review-comment --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}} --path <FILE_PATH> --line <LINE_NUMBER> --side new --line-type <ADDED|REMOVED|CONTEXT> --from-hash <FROM_HASH> --to-hash <TO_HASH> --diff-type <DIFF_TYPE> --text "<review comment>"GitHub example:
github pr review-comment --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}} --commit-id <COMMIT_SHA> --path <FILE_PATH> --line <LINE_NUMBER> --side RIGHT --text "<review comment>"Comment format:
- Start with severity marker: 🚫 / 🔴 / 🟡 / 🟢
- Describe the issue
- Provide fix suggestion or code example
- If AC-related, reference the specific AC item
Step 7: Post PR Summary Comment (requires user confirmation)
Follow ../using-orbit/references/safety-rules.md write confirmation protocol.
Display the full summary comment content first. Wait for user confirmation, then post: Bitbucket example:
bitbucket pr comment --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}} --text "<summary comment>"GitHub example:
github pr comment --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}} --text "<summary comment>"Summary comment format:
Include skipped checks whenever tracker, docs, or linked-context coverage was unavailable in this run.
## 🤖 AI Code Review Summary
**Change Overview**: <one-sentence summary>
**Review Scope**: Reviewed X / Y changed files <if partial, list skipped files: "Files not reviewed: file1, file2, ...">
**AC Coverage** (if no AC, note: "⚠️ Story has no AC, skipped AC coverage check, recommend adding AC")
- ✅ AC 1: <implemented>
- ✅ AC 2: <implemented>
- ❌ AC 3: <not implemented, reason>
**Skipped Checks** (only if applicable)
- <skipped check and reason>
**Review Findings**
- 🚫 Blocks merge: X items
- 🔴 Must fix: Y items
- 🟡 Suggested improvement: Z items
- 🟢 Optional optimization: W items
**Recommendation**: <merge / needs changes before re-review>Step 8: Update PR Description (requires user confirmation)
⚠️ This will REPLACE the existing PR description entirely, not append.
First read the current PR description (already fetched in Step 1 via pr get). Show the user both the current description and the proposed new description side by side before asking for confirmation.
Follow ../using-orbit/references/safety-rules.md write confirmation protocol.
Display the generated description first, then after confirmation:
Bitbucket example:
bitbucket pr update --project {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --id {{PR_NUMBER}} --description "<available business context + design rationale + change summary + impact scope>"GitHub example:
github pr update --namespace {{REPO_NAMESPACE}} --repo {{REPO_NAME}} --number {{PR_NUMBER}} --description "<available business context + design rationale + change summary + impact scope>"Use the provider that matches REPO_PROVIDER.
Output
- Line-level review comments on provider PRs (with fix suggestions)
- PR summary comment (AC coverage + review stats + merge recommendation)
- PR description auto-completion (business context + design rationale + change summary)
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.

