Educational code review that ensures you understand the changes before approving.
From cortexnpx claudepluginhub jsvitolo/cortex-plugins --plugin cortexThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Educational code review that ensures you understand the changes before approving.
git branch --show-currentgh pr view --json number,title,state 2>/dev/null$ARGUMENTS
Conduct an interactive educational code review with the following flow:
If a PR number is provided in arguments, use that. Otherwise, detect from current branch:
# If PR number provided:
gh pr diff <number>
# If no number, get current branch PR:
gh pr diff
Break the diff into meaningful chunks:
Skip trivial changes (whitespace, imports only, etc).
Display the code snippet with context:
📝 **Chunk 1/N: [Brief description]**
File: `path/to/file.go`
\`\`\`diff
[the actual diff]
\`\`\`
Provide a clear explanation:
Example:
"Este código verifica se o arquivo CLAUDE.md já tem as regras do Cortex. Se a string 'REGRAS OBRIGATÓRIAS' não existir, ele adiciona a seção completa no final do arquivo. Isso garante que projetos existentes recebam todas as regras sem perder o conteúdo original."
Use AskUserQuestion:
âť“ Entendeu essa parte?
Options:
- "Sim, entendi" → Go to quiz
- "Não entendi, explica melhor" → Provide more detailed explanation, then ask again
Create a multiple choice question about what was just explained:
đź§ Quiz: [Question about the code]
Options:
- [Correct answer]
- [Plausible but wrong answer]
- [Another wrong answer]
- "NĂŁo sei, me explica"
If correct:
If wrong:
If "NĂŁo sei":
After all chunks reviewed:
## đź“‹ Review Summary
**PR:** #[number] - [title]
**Chunks reviewed:** N
**Quiz score:** X/Y correct
### Changes Understood:
- [List of key changes the user now understands]
### Ready to approve?
Use AskUserQuestion:
gh pr review --approve