en un clic
update-package
// Expert package update assistant for OpenShift Console. Update packages safely with automated testing, building, and fixing.
// Expert package update assistant for OpenShift Console. Update packages safely with automated testing, building, and fixing.
Generate React Testing Library tests following OCP Console best practices
Audit all Claude Code skills for stale references, broken paths, and deprecated tool names
Comprehensive local code review using both Claude AI and CodeRabbit AI before pushing changes to GitHub. This command analyzes your local changes and provides actionable feedback without posting anything to GitHub.
Automated QA verification for OpenShift Console PRs. Builds and runs the console on both main and the PR branch, captures before/after screenshots and GIFs via Playwright MCP, then posts a side-by-side comparison as a GitHub PR comment. Use when the user asks to verify a PR, QA changes, capture visual proof, or show before/after evidence.
Debug and fix failing Playwright e2e tests with MCP-assisted diagnosis. Use when user says "playwright test failing", "fix e2e test", "debug spec", or provides a failing .spec.ts file, e2e directory, or Playwright tag.
Migrate a Cypress test file to Playwright following Console's architecture. Use when user says "migrate", "convert cypress", "port to playwright", or provides a .cy.ts or .feature file path.
| name | update-package |
| description | Expert package update assistant for OpenShift Console. Update packages safely with automated testing, building, and fixing. |
| argument-hint | [package-name] |
Update the specified package to its reasonably latest stable version or to the version specified by the user, ensuring builds and tests pass through automated fixing of breaking changes.
package.json for current version (dependencies/devDependencies/resolutions)yarn npm info <package> --json | jq -r '.["dist-tags"].latest' to find latest version; compare with current version; determine if update is neededpackage.json and resolutions; run yarn install; report peer dependency warningsyarn build; capture all errors with file paths and line numbersyarn test; capture failures, deprecations, stack tracesyarn build and yarn test - verify both pass<package> <old> → <new>Update <package> from <old> to <new>
- Updated package.json and yarn.lock
- Fixed <N> build errors
- Fixed <N> test failures
- Breaking changes: <summary>
Code Standards:
STYLEGUIDE.md, AGENTS.md, and other relevant documentationPackage Update Rules:
Special Cases:
packages/*; build from frontend directory✓ Package updated in package.json + yarn.lock
✓ yarn build passes
✓ yarn test passes
✓ Breaking changes fixed
✓ Committed with descriptive message
User: /update-package @patternfly/react-core
Assistant: Current version: 6.2.2, Latest: 6.3.0
Before I proceed, do you have:
1. Migration guide URL? (optional)
2. Changelog/release notes URL? (optional)
3. Known breaking changes? (optional)
User: Yes, https://github.com/patternfly/patternfly-react/releases/tag/v6.3.0
Assistant: [Fetches and analyzes release notes]
Found breaking changes:
- hideTitle prop → isHeaderHidden
- NavList moved to @patternfly/react-core/deprecated
Proceeding with update...
[Updates package, builds, fixes errors using migration info, tests, commits]