بنقرة واحدة
review-nrf-code
Reviews changed code against team coding standards. Use after writing code in a nrf-* repository
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reviews changed code against team coding standards. Use after writing code in a nrf-* repository
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Fetch a Jira ticket's details (summary, description, acceptance criteria, testing notes) by ticket ID. Use whenever another skill or task needs to read a Jira ticket.
Create a new page and associated files by parsing a prototype page
Test a page in the browser against accessibility standards.
Conventions and file structure for quote journey pages in nrf-frontend. Read before creating or modifying any page under frontend/src/server/quote/. Covers the standard file structure (routes, get-view-model, form-validation, get-next-page), quoteController / quotePostController wiring, PRG validation flow, Nunjucks template conventions, Joi rules per input type, session cache helpers, and page/accessibility test patterns.
Fetch a Confluence page's details (title, space, version, labels, body HTML) by page ID or URL. Use whenever another skill or task needs to read a Confluence page.
Audit and fix the @openapi JSDoc annotations across all API route and controller files in frontend/ and backend/ so the Swagger documentation matches the actual endpoint implementations. Run for one or both sub-repos.
| name | review-nrf-code |
| description | Reviews changed code against team coding standards. Use after writing code in a nrf-* repository |
| run_as_subagent | true |
maingh pr diff <url> to get the changed files instead of git diffgh pr diff <url> --name-only to get the changed files, and gh pr diff <url> to read the diff content.git diff main...HEAD --name-only to list all files changed on the current branch vs main.git diff --name-only HEAD (unstaged changes) and git diff --name-only --cached (staged changes), and combine the results.*.test.js, *.acceptance.test.js).For each file with findings:
### path/to/file.js
**Blockers**
- Line 42: `logger.error('message')` — first param must be an error instance, not a string
**Suggestions**
- Line 10: function `doThing` has 4 primitive params — consider using an object param
If a file has no findings, omit it from the report.
End with a one-line summary: total files reviewed, total blockers, total suggestions.
If a GitHub PR URL was provided, after outputting the report ask the user whether they want to post it as a comment on the PR. If they confirm, post the report using gh pr comment <url> --body "<report>".
Note:
ghmay only be used forgh pr comment. Do not use any otherghsubcommands (e.g.gh pr diff,gh pr create,gh issue).
Return only the structured findings report and the one-line summary to the main agent. Do not include preamble, tool call narration, or explanation of steps taken.