with one click
get-agentic-blade-metrics
Get agentic metrics for the `razorpay/blade` repo.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Get agentic metrics for the `razorpay/blade` repo.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Add React Native support (.native.tsx files) to Blade components that currently only have web implementations. Use when user says "add native support to {Component}", "migrate {Component} to native", or "/migrate-to-rn".
Resolve PR review comments by pushing code fixes or replying with explanations. Use when a PR has review comments that need to be auto-resolved.
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.
Perform a task end-to-end when intent is set to 'perform-task-end-to-end' by checking existence of GITHUB__RZP_SWE_AGENT_APP__APP_ID environment variable in the session.
Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues. Use when a PR has failing CI or other sanity problems that need to be auto-fixed.
Create a pull request ready for review with conventional commit message and structured PR body targeting master branch
| name | get-agentic-blade-metrics |
| description | Get agentic metrics for the `razorpay/blade` repo. |
| disable-model-invocation | true |
Run fetch-metrics.mjs to collect all metrics:
Note: the script is relative to the root of the git repo.
node .github/scripts/fetch-metrics.mjs [days]
The script outputs the full markdown report. Then:
=== Summary ===
| Metric | Value | Description of Metric |
|---|---|---|
| Metric 1: % PRs with auto-approval label | {Percentage of PRs with ✨ Agentic Merge Ready ✨ label} | Percentage of PRs that received the ✨ Agentic Merge Ready ✨ label |
| Submetric 1: % of comments on PRs (by human) | {Comments by human / Total comments} | Percentage of review comments made by human contributors |
| Submetric 2: % comments marked as resolved (by agent) | {Comments with "resolved by agent" mentioned} | Percentage of comments that were resolved by agent |
=== PRs Metric ===
| Metric | Value | Description of Metric |
|---|---|---|
| Total Number of PRs | {Total PRs in timespan} | Total number of PRs opened in the given timespan |
| PRs raised (by agent) | {PRs raised by agent} | PRs raised by rzp-slash or rzp-slash-public user / app |
| PRs raised (by human) | {PRs raised by human} | Total PRs minus PRs raised by agent |
| % of PRs raised (by human) | {PRs raised by human / Total PRs} | Percentage of PRs opened by human contributors |
| % of PRs raised (by agent) | {PRs raised by agent / Total PRs} | Percentage of PRs opened by agent |
| Total PRs auto-approved | {Percentage of PRs with ✨ Agentic Merge Ready ✨ label} | Percentage of PRs that have the ✨ Agentic Merge Ready ✨ label |
| Time to Merge (Average) | {Average time from PR creation to merge} | Average time from PR creation to merge; excludes "update version" PRs |
| Time to Merge (Median) | {Median time from PR creation to merge} | Median time from PR creation to merge; excludes "update version" PRs |
=== Review Metric ===
Note: exclude all comments by changeset-bot, github-actions, codesandbox-ci bots in all the metrics below as they are not applicable. PRs with the Ignore - Test PR label are excluded from all calculations.
| Metric | Value | Description of Metric |
|---|---|---|
| Total comments on PRs | {Total comments on all PRs in timespan} | Total number of review comments across all PRs in the timespan |
| Comments on PRs (by agent) | {Comments by agent} | Comments by rzp-slash, rzp-slash-public, or rzp-slash-reviewer user/app |
| Comments on PRs (by human) | {Total comments minus comments by agent} | Total comments minus comments made by agent |
| % of comments on PRs (by human) | {Comments by human / Total comments} | Percentage of review comments made by human contributors |
| % of comments on PRs (by agent) | {Comments by agent / Total comments} | Percentage of review comments made by agent |
| % of comments marked as resolved (by agent) | {Comments with "resolved by agent" mentioned} | Percentage of comments where "resolved by agent" is mentioned in the comment |