Perform comprehensive code reviews of GitLab merge requests, providing actionable feedback on code quality, security, performance, and best practices.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiongitlab-code-reviewExecute the skills CLI command in your project's root directory to begin installation:
Fetches gitlab-code-review from dedalus-erp-pas/foundation-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate gitlab-code-review. Access via /gitlab-code-review in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
5
total installs
5
this week
2
GitHub stars
0
upvotes
Run in your terminal
5
installs
5
this week
2
stars
Perform comprehensive code reviews of GitLab merge requests, providing actionable feedback on code quality, security, performance, and best practices.
This skill is configured for a self-hosted GitLab instance:
Activate this skill when:
IMPORTANT: Always confirm project_id before reviewing merge requests
Always provide constructive feedback framed as questions, not directives
Only review changes introduced in the merge request, not unrelated code
If a merge request IID is provided (e.g., "review !123" or "review MR 123"):
glab mr view <iid>If a GitLab issue ID is provided (e.g., "review #456"):
glab issue view <iid> to understand contextglab mr list --search "<issue reference>"If no MR is specified (e.g., just "review"):
glab mr list --state openedSelf-hosted GitLab Instance: https://gitlab-erp-pas.dedalus.lan
Use glab mr view <iid> to retrieve:
diff_refs (base_sha, head_sha, start_sha) for accurate diff comparisonExtract key information:
Project: namespace/project
MR: !123 - "Feature: Add user authentication"
Author: @username
Source: feature/auth -> Target: main
Status: Open | Pipeline: Passed | Approvals: 1/2
Use glab mr diff <iid> to retrieve:
Pagination: If many files changed, the diff output may be large — review it in sections.
For complex changes, use git show <ref>:<file_path> to:
Parameters:
<ref>: Use the source branch or head_sha from diff_refs<file_path>: Path to the fileUse git log --oneline <source_branch> to list commits, then use git show <sha> to:
Use glab api /projects/:id/merge_requests/:iid/discussions to:
Use glab ci list and glab ci view <pipeline_id> to:
If pipeline failed, use glab ci trace <job_id> to understand failures.
Conduct a thorough review of only the changes introduced in this merge request.
Create a structured code review report with:
Executive Summary: High-level overview of changes and overall assessment
Statistics:
Strengths: What was done well
Issues by Priority:
Detailed Findings: For each issue include:
Security Review: Specific security considerations
Performance Review: Performance implications
Testing Recommendations: What tests should be added
Documentation Needs: What documentation should be updated
CRITICAL: Ask user before adding comments to the MR
If user wants to add feedback directly to the MR:
Use glab mr note <iid> --message "<comment>" to add a general comment:
<iid>: MR internal ID<comment>: Comment content in MarkdownUse glab api POST /projects/:id/merge_requests/:iid/discussions for code-specific feedback with:
body: Discussion contentposition: Object with diff position details:
base_sha: From diff_refshead_sha: From diff_refsstart_sha: From diff_refsnew_path: File pathnew_line: Line number for new codeold_path: File path (for modifications)old_line: Line number for removed codeFrame all feedback as questions, not commands. This encourages dialogue and respects the author's context.
❌ Don't write:
✅ Do write:
# Code Review: !{MR_IID} - {MR_TITLE}
## Executive Summary
{Brief overview of changes and overall assessment}
## Merge Request Details
- **Project**: {project_path}
- **Author**: @{author}
- **Source Branch**: {source_branch} → **Target**: {target_branch}
- **Pipeline Status**: {status}
- **Approvals**: {current}/{required}
## Statistics
| Metric | Count |
|--------|-------|
| Files Changed | {count} |
| Lines Added | +{additions} |
| Lines Removed | -{deletions} |
| Commits | {commit_count} |
## Strengths
- {strength_1}
- {strength_2}
## Issues Found
### 🔴 Critical
{critical_issues_or_none}
### 🟡 Important
{important_issues_or_none}
### 🟢 Suggestions
{suggestions_or_none}
## Security Review
{security_findings}
## Performance Review
{performance_findings}
## Testing Recommendations
- {test_recommendation_1}
- {test_recommendation_2}
## Documentation Needs
- {doc_need_1}
## Verdict
{APPROVED | CHANGES_REQUESTED | NEEDS_DISCUSSION}
User: Review !42 in namespace/project
Assistant actions:
1. glab mr view 42 — fetch MR details
2. glab mr diff 42 — get file changes
3. glab api /projects/:id/merge_requests/42/discussions — check existing feedback
4. glab ci list — check CI status
5. Analyze changes and generate report
6. Present review to user
7. Ask if user wants comments added to the MR
User: Review the MR for issue #123
Assistant actions:
1. glab issue view 123 — fetch issue details
2. glab mr list --search "#123" — find related MRs
3. Present found MRs and ask user to confirm
4. Proceed with code review workflow
User: Show me open merge requests to review
Assistant actions:
1. glab mr list --state opened — list open MRs
2. Present list with key details (title, author, pipeline status)
3. Ask user which MR to review
Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
asyrafhussin/agent-skills
shadcn/improve
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
ailabs-393/ai-labs-claude-skills
Useful defaults in gitlab-code-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
gitlab-code-review is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in gitlab-code-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
gitlab-code-review is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
gitlab-code-review reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for gitlab-code-review matched our evaluation — installs cleanly and behaves as described in the markdown.
Solid pick for teams standardizing on skills: gitlab-code-review is focused, and the summary matches what you get after install.
gitlab-code-review has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in gitlab-code-review — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
gitlab-code-review fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 26