원클릭으로
원클릭으로
Design MCP tools and gateway interfaces for the dotcontext server
Systematic bug investigation and root cause analysis
Review code quality, patterns, and best practices
Generate commit messages following conventional commits with scope detection
Generate and update technical documentation
Break down features into implementable tasks
| type | skill |
| name | PR Review |
| description | Review pull requests against team standards and best practices |
| skillSlug | pr-review |
| phases | ["R","V"] |
| generated | "2026-03-18T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Review pull requests for the @dotcontext/cli project against established patterns and quality standards.
Check which areas are affected:
# View changed files grouped by area
git diff main...HEAD --stat
Map changes to project layers:
src/services/mcp/ -- MCP server and gateway toolssrc/services/<domain>/ -- Service layer business logicsrc/generators/ -- Scaffold generationsrc/workflow/ -- PREVC workflow systemsrc/utils/ -- Shared utilitiessrc/index.ts -- CLI command definitions.context/ -- Documentation and scaffolding contentThis project uses Conventional Commits:
<type>(<scope>): <description>
Check that:
feat, fix, refactor, docs, test, chore)! suffix and BREAKING CHANGE: footersrc/services/index.ts barrel filescontextBuilder in AIContextMCPServer).describe() on every parametercreateJsonResponse/createErrorResponse from response.tsgatewayTools.ts barrelscaffoldVersion: "2.0.0")force flag is respected (skip existing when false)templates/ subdirectoryany types; use unknown + type guardsconsole.log in MCP server code (use process.stderr.write)path.join()/path.resolve(), never string concatenation# Run all tests
npm test
# Build check
npm run build
.test.ts filesjest.mock() for AI providers, fs)fs.mkdtemp) and cleaned up (afterEach)CLIInterface and TranslateFn provided where neededen and pt-BR in src/utils/i18n.tscommands.new.description)t() function, not hardcoded stringsCHANGELOG.md updated if the change is user-facingREADME.md updated if public CLI commands or MCP tools changed.context/docs/ updated if architecture changed significantlyNew types or handlers added in src/services/mcp/gateway/*.ts but not re-exported through gateway/index.ts and gatewayTools.ts.
MCP handlers that throw instead of returning createErrorResponse(). CLI commands that swallow errors silently.
.context/ directory does not exist?Renaming or removing an MCP tool action without a migration path. Always add new actions alongside old ones, then deprecate.
When creating PRs for this project:
## Summary
- What this PR does (1-3 bullet points)
## Changes
- List of key changes by file/area
## Test plan
- [ ] Unit tests pass: `npm test`
- [ ] Build succeeds: `npm run build`
- [ ] Manual verification: `npx tsx src/index.ts <command>`
- [ ] MCP tool tested (if applicable)