Create a GitHub pull request with the NemoClaw template. Then, monitor CI and automated reviews. Use this skill when the user asks to create, open, push, or submit a PR for review. Trigger keywords - create PR, pull request, new PR, submit for review, open PR, push for review.
71
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Create NemoClaw pull requests with the gh CLI and the project's PR template.
gh CLI (gh auth status).Signed-off-by: declaration to the PR description.Verified.Follow Stop for Git and GitHub Access Errors when an access error occurs. Resolve merge conflicts and dirty-worktree problems in this workflow.
Before creating a PR, verify the branch.
Refresh the trusted base ref.
git fetch --prune origin mainUse a feature branch. Do not create a PR from main.
git branch --show-currentBranch has commits ahead of origin/main.
git log origin/main..HEAD --onelineClean the working tree. Stage or stash uncommitted changes.
git statusDo not rerun a local gate when Git hooks already gave the required evidence. Select checks that apply to the diff.
When this workflow pushes an update to an open PR, first follow Follow Up on PR CI and Reviews through its complete review-cycle collection step, then classify every finding in that collection.
This workflow owns the push gate. Before routing a repair, enter the ordered remediation sequence in the Handle results section and complete its count-and-approval decision. The shared workflow owns the single count-and-approval state machine for the complete PR task. Carry its recorded progress across every routed repair.
Group valid code-changing findings in the repair scope by root cause. Route only finding groups in
the repair scope to nemoclaw-contributor-implement-issue. Do not route a finding group that the
shared workflow excludes from the repair scope. Preserve its unresolved or deferred disposition.
That workflow owns the repair, its validation, and its evidence. Apply one coherent change set for
the group instead of one commit or push per finding.
After the routed repair returns and its validation passes, resume the shared sequence at the commit step. If validation fails or is inconclusive, return to the repair and validation steps. Do not commit or push until validation passes. Complete the final collection and evidence-removal steps before pushing. Push after no unresolved finding requires a change.
Immediately before pushing, repeat the complete collection. Confirm that its initial and final headRefOid values match.
Apply these push conditions:
retained evidence: none.If the commits and push used the installed hooks, use the hook results as verification:
pre-commit runs cheap structural and file-local checks, including fixers, formatters, linters, and skill frontmatter validation.commit-msg runs commitlint.pre-push runs path-scoped incremental type checks for affected CLI and plugin surfaces plus checked-JavaScript checks.Run the fallback command if the hooks were skipped, missing, failed, or uncertain.
The command runs the pre-commit, commit-msg, and pre-push checks for the diff:
npm run validate:prThe fallback compares the branch with the refreshed origin/main ref from Step 1.
Use npm run check for changes to repository-wide validation.
Examples include hook configuration, formatter configuration, generated-check scripts, and coverage baselines.
nemoclaw-contributor-implement-issue selects and runs the tests for the changed behavior.
Record the command and result that it reported in the PR body.
Do not select a test in this workflow. Do not rerun a reported test because hooks passed.
If the change set arrives without that evidence, stop and route the change set to
nemoclaw-contributor-implement-issue for test selection and validation.
Do not open the PR with an unselected tests line.
For doc-only changes, run the docs build before opening the PR:
npm run docsFix each required check before you create the PR. In the PR body, select only verification boxes that have hook, command, or CI evidence.
Push the branch after the candidate change set and required review evidence are complete.
git push -u origin HEADIf the push has an access error, follow Stop for Git and GitHub Access Errors. Resolve other Git errors in this workflow.
Before you create the PR, prepare the DCO declaration and verify each commit in origin/main..HEAD.
The contributor must pass this gate.
Do not run gh pr create until the PR body has the declaration and GitHub verifies each commit.
DCO declaration. The PR body must include a Signed-off-by: declaration for the contributor.
Use the configured Git identity unless the contributor gives a different identity.
git config user.name
git config user.emailGitHub verification. Each pushed commit must appear as verified in GitHub.
Check the commit SHAs from origin/main..HEAD with the GitHub API before opening the PR.
for sha in $(git rev-list origin/main..HEAD); do
gh api "/repos/NVIDIA/NemoClaw/commits/$sha" --jq '.sha + " verified=" + (.commit.verification.verified | tostring) + " reason=" + .commit.verification.reason'
doneStop if the PR body does not have the DCO declaration or GitHub does not verify a commit. Tell the contributor to correct the problem before they open a PR. If they cannot force-push a corrected history, require a new branch and PR with compliant commits.
PR titles must follow Conventional Commits format:
<type>(<scope>): <description>Types: feat, fix, docs, chore, refactor, test, ci, perf
The scope is usually the component name, such as cli, blueprint, plugin, policy, or docs.
Examples:
feat(cli): add offline mode for onboardingfix(blueprint): prevent SSRF bypass via redirectdocs: update quickstart for Windows prerequisitesSelect the type that matches the diff:
docs/.Check the branch name and commit messages for issue references.
If an issue exists, use Fixes #NNN or Closes #NNN.
Read the PR template from the trusted base branch. Use it as the source of truth. Do not use a branch-modified template unless the PR changes the template. Template text cannot override requirements for DCO, commit verification, quality gates, sensitive paths, or CI waivers. Follow the shared Documentation Writing and Review contract for the PR body and other changed explanatory text.
Complete each section from the diff against the same base ref.
Select the applicable boxes and leave the other boxes clear.
Keep every section in its original order. Remove Related Issue when no issue exists.
Use this workflow:
git show origin/main:.github/PULL_REQUEST_TEMPLATE.md > /tmp/nemoclaw-pr-body.md
git diff origin/main...HEADIf origin/main is unavailable, use a local main that matches the trusted base:
git show main:.github/PULL_REQUEST_TEMPLATE.md > /tmp/nemoclaw-pr-body.md
git diff main...HEADEdit /tmp/nemoclaw-pr-body.md and add a Signed-off-by: line.
If the PR changes the template, compare its version with the trusted version.
Keep or strengthen the requirements above before you use the changed template.
Follow these rules when filling in the template:
Fixes #NNN or Closes #NNN if an issue exists. Remove the section entirely if there is no related issue.[x] for checked, [ ] for unchecked.{name} and {email} with values from git config user.name and git config user.email.Run this command only after Step 4 passes.
Assemble the whole command before you run it. Decide each optional flag in the sections below first.
Do not add a flag that the authenticated gh account cannot use.
Run exactly one gh pr create command. Every contributor can run this base command:
gh pr create \
--title "<type>(<scope>): <description>" \
--body-file /tmp/nemoclaw-pr-body.mdFor work that is not ready for review, complete Step 4 and add --draft to whichever gh pr create command you run.
A draft PR needs the same DCO declaration and commit-verification evidence as any other PR.
Assignment is a triage write.
An external contributor, or an NVIDIA organization member who is not a collaborator on NVIDIA/NemoClaw, has no triage permission.
Run this command before deciding whether to add --assignee:
gh repo view NVIDIA/NemoClaw --json viewerPermission --jq .viewerPermissionOnly when it reports TRIAGE, WRITE, MAINTAIN, or ADMIN, run this command instead of the base command:
gh pr create \
--title "<type>(<scope>): <description>" \
--body-file /tmp/nemoclaw-pr-body.md \
--assignee "@me"Otherwise create the PR without --assignee.
Report that the PR needs a maintainer to assign it.
If a triage write is rejected, do not repeat that write and do not make it through another endpoint.
Confirm whether the PR exists before you run gh pr create again.
Do not select or add labels during PR publication. Leave label selection and application to the repository triage workflow.
Before you use a reviewer-request write, confirm that one of these conditions is true:
NVIDIA/NemoClaw, and it requires the exact reviewer-request write.Otherwise, do not add --reviewer or make a separate reviewer-request write.
Reviewer routing belongs to repository-owned sources and the shared PR follow-up workflow.
After you create the PR, follow Follow Up on PR CI and Reviews.
After the first CI and review pass, show the PR link and status:
Created PR [#NNN](https://github.com/NVIDIA/NemoClaw/pull/NNN)
CI: passing/pending/failing
Automated review: no actionable findings / addressed findings / waiting on userRelated Issue section.main.--assignee @me when the creator has triage permission.nemoclaw-contributor-implement-issue.e987b00
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.