con un clic
review-prs
// Review pull requests for code quality, security, and Zowe conformance. Use when reviewing PRs, examining code changes, checking branch differences, or when the user asks for a code review.
// Review pull requests for code quality, security, and Zowe conformance. Use when reviewing PRs, examining code changes, checking branch differences, or when the user asks for a code review.
Write and maintain Vitest unit tests and WDIO/Cucumber end-to-end tests in the Zowe Explorer monorepo. Use when adding, updating, debugging, or reviewing tests, when working with `*.unit.test.ts` files, `__tests__/__unit__/` or `__tests__/__e2e__/` directories, `.feature` files, step definitions, page objects, mock factories (`mockCreators/`), `MockedProperty`, `jest-mock-vscode`, `vitest.config`, `wdio.conf`, or running `pnpm test` / `pnpm test:e2e` in `packages/zowe-explorer/`, `packages/zowe-explorer-api/`, or `packages/zowe-explorer-ftp-extension/`.
Audit pull requests for breaking changes in the Zowe Explorer monorepo. Examines PR descriptions, review comments, and diffs to identify API and behavioral breaking changes, with special sensitivity to packages/zowe-explorer-api. Reconciles labels with user confirmation. Use when asked to audit breaking changes, check for breaking changes, or review a set of PRs for breaking impact.
Refactor, deduplicate, and improve TypeScript code quality in the Zowe Explorer monorepo. Use when refactoring or checking code quality in packages/zowe-explorer/ and packages/zowe-explorer-api/.
Review code changes for functional correctness and regressions in Zowe Explorer. Focuses on tree view actions, filesystem APIs, and extension initialization. Use when validating a completed feature, bug fix, or refactor before merging or release.
Use the Zowe Explorer Development CLI (zedc) ONLY when the user explicitly mentions or requests "zedc". Provides sandboxed testing, environment setup, and package management.
| name | review-prs |
| description | Review pull requests for code quality, security, and Zowe conformance. Use when reviewing PRs, examining code changes, checking branch differences, or when the user asks for a code review. |
Expert reviewer for Zowe Explorer codebase focusing on security, quality, and API compatibility.
git diff main...HEAD 2>$nullgit diff --name-only main...HEAD 2>$nullthen/catch blocks or awaited where applicable@deprecatedMainframeInteraction.*, Types.*)AuthUtils.errorHandling() patternZoweLogger with appropriate levels and contextZoweTreeNode, actions in separate classesUse severity levels for all findings:
🔴 **Critical** - Must fix before merge
[Issue description and location]
Suggested fix: [specific recommendation]
🟡 **Suggestion** - Should consider improving
[Issue description and why it matters]
🟢 **Nice to have** - Optional enhancement
[Minor improvement opportunity]
# Get PR commits
git log main..HEAD --oneline 2>$null
# View full diff
git diff main...HEAD 2>$null
Ask clarifying questions if the PR's purpose is unclear.
# Run linting
pnpm lint
# Run tests
pnpm test
# Check for type errors
pnpm build
For each changed file, check:
Security
API Changes
Code Quality
Structure your review as:
## PR Review Summary
### Overview
[Brief description of what the PR does]
### Critical Issues (must fix)
[List or "None found"]
### Suggestions
[List of improvements]
### Nice to Have
[Optional enhancements]
### Questions
[Any clarifications needed]
@deprecated on removed APIscatch blocks without loggingAuthUtils.errorHandling() wrapper