relax-github-workflow
Skill647 starsChanged 59 days agoApache-2.0View on GitHub
Prepare and publish Relax GitHub contributions, create or update pull requests, and address review feedback. Use when opening a PR, choosing a contribution branch, publishing changes, following up on a review, or organizing dependent Relax PRs. Connects commit and CI workflows.
- Commits and pushes
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this workflow for contributions to redai-studio/Relax.
- Very specific: line 34
Use the user's explicitly requested branch name.
- Distinctive: line 43
When publication is authorized, push to the selected remote and create the PR with explicit repository, base and head.
- Distinctive: line 51
Read back the PR title, body, head and base.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Relax GitHub workflow
Use this workflow for contributions to redai-studio/Relax. Publishing stays within the user's request; preparing a change does not itself authorize a push, PR, or merge.
Identify the repository and branch
Inspect the working tree, remotes, authenticated account, and target repository permissions:
git status -sb
git remote -v
gh api user --jq .login
gh api repos/redai-studio/Relax --jq '{default_branch, permissions}'Suggested remote names are upstream for redai-studio/Relax and origin for your fork (<your-org-name>):
upstream https://github.com/redai-studio/Relax.git (fetch)
upstream https://github.com/redai-studio/Relax.git (push)
origin https://github.com/<your-org-name>/Relax.git (fetch)
origin https://github.com/<your-org-name>/Relax.git (push)Choose the remote for redai-studio/Relax and the push destination by their URLs, rather than assuming the remote names above; leave unrelated files and worktrees alone. For an existing PR, verify its head repository, branch and SHA before editing or publishing an update.
- Base new contributions on the current
mainofredai-studio/Relax, unless the task needs another base or a stack layer. - Publish ordinary contributions from a personal fork, even with write access to
redai-studio/Relax. Push personal branches directly toredai-studio/Relaxonly when needed, such as for shared development or gh-stack. - Use the user's explicitly requested branch name. When none is specified and pushing directly to
redai-studio/Relax, name the branch<name>/<type>/<description>. Use the contributor's chosen name or GitHub login for<name>and the commit type for<type>. - For a fork, branch names are unrestricted;
<type>/<description>is recommended when the user has not specified a name.
Fetch the remote for redai-studio/Relax before creating the branch. Use a separate worktree when it helps preserve ongoing work.
Prepare and publish a PR
- Implement the requested change and verify the affected behavior. Use git-commit to stage only intended files, run pre-commit, and commit.
- Read
.github/PULL_REQUEST_TEMPLATE.md. Preserve its headings and checkboxes. Explain the background and problem, resulting behavior, and validation in enough detail for a reviewer without the task history. Link relevant PRs, issues, and public documentation; do not include internal or intranet links. Mark only checks actually completed. Use a Conventional Commits title; Relax squash merges use the PR title as the resulting commit subject. When publication is authorized, push to the selected remote and create the PR with explicit repository, base and head. Prepare a body file so multiline content is passed intact:
git push --set-upstream <push-remote> HEAD gh pr create --repo redai-studio/Relax --base <base-branch> \ --head <head-branch-or-owner:branch> --title '<type>: <description>' --body-file <body-file>- Read back the PR title, body, head and base. Check the published diff before advancing review; report the PR URL and verification results. For an update, verify that the remote PR head matches the intended commit.
Use a Draft PR while work is still in progress. Mark it ready when it is ready for review. Use relax-github-ci to inspect required checks and investigate failures. Required checks and the repository's review requirements determine merge readiness; an optional check failure does not by itself block merging.
Address review feedback
Read the original review thread and the affected code. Apply reasonable findings, or explain a disagreement with evidence. Verify the fix, publish the intended update, and follow up in the original thread within the user's authorization. Reuse the existing thread for the same issue and avoid repeating settled findings.
Dependent PRs
For dependent changes, consider using gh-stack to split the work into cohesive, independently reviewable PRs.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agentic-rolloutSkill
- code-reviewSkill
- create-training-scriptSkill
- creating-skillsSkill
- debug-hangSkill
- relax-dev-debugSkill
- doc-writerSkill
- git-commitSkill
- model-integrationSkill
- nemo-gym-recipe-integrationSkill
- opd-tuningSkill
- perf-doctorSkill
- redaccel-to-relaxSkill
- relax-github-ciSkill
- sglang-upgradeSkill
- ssh-ray-clusterSkill
- sync-githubSkill
- verl-to-relaxSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

