.cursor/skills/review-changes/SKILL.md
Review blade PRs by fetching diff, checking CI status, and getting Storybook URL. Use when reviewing PRs, checking PR status, or getting preview links for razorpay/blade PRs.
npx skillsauth add razorpay/blade review-changesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review PRs in the razorpay/blade repository by fetching the diff, checking CI status, and extracting the Storybook preview URL.
gh) must be installed and authenticatedagent-browser command must be installed (if ShouldReviewUI is true)https://patch-diff.githubusercontent.com/raw/razorpay/blade/pull/{PR_NUMBER}.diff
(Ignore the lock file changes from diff)
Fetch status checks once and extract both CI status and Storybook URL:
gh pr checks {PR_NUMBER} --repo razorpay/blade
Use the following command (replace {JOB_ID} with the job id from the previous gh pr checks output):
gh run view --job {JOB_ID} --repo razorpay/blade
agent-browser --help on docs on how to use itagent-browser close to close any earlier opened browser instancesagent-browser open {storybook_url} --headed (if ShouldRunHeadedBrowser is true)
agent-browser closeiframe.html url of storybook
https://61c19ee8d3d282003ac1d81c-rzqbxanzgn.chromatic.com/?path=/story/components-datepicker--date-picker-presets-with-display-format-compact this story can be opened as an iframe in https://61c19ee8d3d282003ac1d81c-rzqbxanzgn.chromatic.com/iframe.html?args=&id=components-datepicker--date-picker-presets-with-display-format-compact&viewMode=story{storybook_base_url}/svelte/ routeReport the flows / features that were tested, if they are working as expected or not, and the issues found.
Analyze the diff for:
The subagent should return all the gathered information. Then in the main chat strictly following the output format mentioned in references/output-format.md
testing
This rule helps in writing and running unit tests for components of blade design system
documentation
Generate bi-weekly announcement posts for Blade Design System updates by analyzing changelog entries from the past two weeks
development
This rule helps in writing API decisions for new components of blade design system
tools
Visually verify component changes in Storybook using the agent-browser CLI tool