Plan and implement work described in a GitHub issue, including verification, documentation, and a PR that closes the issue.
日本語の概要は準備中です。原文の説明を表示しています。
Create GitHub pull requests using the gh CLI. Use when the user wants to create a new PR, submit code for review, or open a pull request. Trigger keywords - create PR, pull request, new PR, submit for review, code review.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Create pull requests on GitHub using the gh CLI.
gh CLI must be authenticated (gh auth status)CONTRIBUTING.md. Follow Branch Names in CONTRIBUTING.md for contributor branch names.If the branch changes gateway TOML parsing, [openshell.gateway] fields,
[openshell.drivers.<name>] fields, driver config defaults, or Helm rendering
of gateway.toml, verify that docs/how-it-works/gateways/configuration.mdx is updated
in the same branch. If the change affects user-facing compute-driver setup,
also update docs/how-it-works/sandboxes/runtimes.mdx or the relevant
deployment docs.
Use the sync-agent-infra skill's maintenance map to identify related skill updates when the branch changes behavior, commands, or development workflows. Run its full consistency check when the branch adds, removes, or renames skills or crates; changes workflow relationships or skill coverage; modifies issue or PR templates; or changes agent cross-references. Resolve any drift before creating the PR.
Use the verification guidance in CONTRIBUTING.md to select checks for the changed files and behavior. Guidance, skills, and template changes need applicable Markdown, YAML, link, and consistency checks. Run Rust or SDK suites when those components or their dependencies can be affected. Shared APIs, schemas, dependencies, and build changes may require broader checks even when component source files are unchanged.
mise run ci and mise run pre-commit are broad convenience tasks, not blanket PR prerequisites. Broaden validation only for a concrete remaining risk or failed check, and report what actually ran.
Before creating a PR, verify:
You're not on main - Never create PRs directly from main:
# Should NOT be "main"
git branch --show-current
Branch follows naming convention - Follow Branch Names in CONTRIBUTING.md, including the exceptions for generated branches and private security work.
# Example: feat/1234-add-pagination/octocat
git branch --show-current
Ensure your branch is pushed to the remote:
git push -u origin HEAD
Basic PR creation (opens editor for description):
gh pr create
With title and body:
gh pr create --title "PR title" --body "PR description"
PR titles must follow the conventional commit format:
<type>(<scope>): <description>
Types:
feat - New featurefix - Bug fixdocs - Documentation onlyrefactor - Code change that neither fixes a bug nor adds a featuretest - Adding or updating testschore - Maintenance tasks (CI, build, dependencies)perf - Performance improvementScope is typically the component name (e.g., evaluator, cli, sdk, jobs).
Examples:
feat(evaluator): add support for custom rubricsfix(jobs): handle timeout errors gracefullydocs(sdk): update authentication examplesrefactor(models): simplify deployment logicchore(ci): update Python version in pipelineEvery PR except an automated dependency update must close its own issue. Verify that the issue exists, remains open, and covers the PR scope. Automated dependency updates follow the exception in CONTRIBUTING.md. Use Closes #<issue-number> in the body so merge closes it:
gh pr create \
--title "fix(cli): validate empty requests" \
--body "## Summary
Validate empty request bodies.
## Related Issue
Closes #123
## Changes
- Return 400 instead of 500"
If the work needs multiple PRs, create a separate closable issue for each PR. A higher-level tracking issue may link the component issues, but no PR should close that tracking issue until all its work is complete. Follow SECURITY.md for vulnerability disclosure. First-time external contributors must be vouched before their PRs are accepted; the vouch check may close unvouched PRs. Check the current vouch process before opening a PR for an external contributor.
For work-in-progress that's not ready for review:
gh pr create --draft --title "WIP: New feature"
Default target is main. To target a different branch:
gh pr create --base "release-1.0"
PR descriptions must follow the project's PR template structure:
## Summary
<!-- 1-3 sentences: what this PR does and why -->
## Related Issue
<!-- Closes #NNN; this issue covers the scope of this PR -->
## Changes
<!-- Bullet list of key changes -->
## Testing
<!-- What testing was done? -->
- [ ] Checks appropriate to the affected code and behavior pass
- [ ] Unit tests added/updated (if applicable)
- [ ] E2E tests added/updated (if applicable)
## Checklist
- [ ] Follows Conventional Commits
- [ ] Commits are signed off (DCO)
Populate the testing checklist based on what was actually run. Check boxes for steps that were completed.
gh pr create \
--title "feat(cli): add pagination to sandbox list" \
--body "$(cat <<'EOF'
## Summary
Add `--page-size` and `--page-token` flags to `openshell sandbox list` for continuation-token pagination.
## Related Issue
Closes #456
## Changes
- Added `page_size` and `page_token` fields to the sandbox list API call
- Default page size is 100, max is 1,000
- Structured responses include `next_page_token`
## Testing
- [x] Relevant CLI format, lint, and unit checks pass
- [x] Unit tests added/updated
- [ ] E2E tests added/updated (if applicable)
## Checklist
- [x] Follows Conventional Commits
- [x] Commits are signed off (DCO)
EOF
)"
| Option | Description |
|---|---|
--title, -t | PR title (use conventional commit format) |
--body, -b | PR description |
--reviewer, -r | Request review from user |
--draft | Create as draft (WIP) |
--label, -l | Add label (can use multiple times) |
--base, -B | Target branch (default: main) |
--head, -H | Source branch (default: current) |
--web | Open in browser after creation |
The command outputs the PR URL and number.
Display the URL using markdown link syntax so it's easily clickable:
Created PR [#123](https://github.com/OWNER/REPO/pull/123)
If the user asks to wait for a green CI before posting the RFR, use this snippet to monitor the workflow run:
# Watch the latest workflow run for the current branch
gh run watch
Or poll manually:
RUN_ID=$(gh run list --branch "$(git branch --show-current)" --limit 1 --json databaseId --jq '.[0].databaseId')
gh run watch "$RUN_ID"
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Plan and implement work described in a GitHub issue, including verification, documentation, and a PR that closes the issue.
日本語の概要は準備中です。原文の説明を表示しています。
Maintain and validate OpenShell's build-only Windows MSVC lane for x64 and ARM64. Use when working on Windows compilation, `windows:*` mise tasks, unsupported Windows compute-driver contracts, or Windows build reports. This skill does not implement Docker, Kubernetes, Podman, VM, MXC driver, policy translation, MSI, service, or supervisor runtime support on Windows.
日本語の概要は準備中です。原文の説明を表示しています。
Create GitHub issues using the gh CLI. Use when the user wants to create a new issue, report a bug, request a feature, or create a task in GitHub. Trigger keywords - create issue, new issue, file bug, report bug, feature request, github issue.
日本語の概要は準備中です。原文の説明を表示しています。
Create OpenShell RFC proposals in rfc/ from a design request. Use when the user asks to write, draft, start, create, or update an RFC, Request for Comments, architecture proposal, API proposal, process proposal, or cross-cutting design proposal that should follow the OpenShell RFC process and template.
日本語の概要は準備中です。原文の説明を表示しています。
Investigate an OpenShell problem and create a structured issue with technical findings for human disposition.
日本語の概要は準備中です。原文の説明を表示しています。
Debug inference clients that use an attached provider and its native endpoint, including hosted APIs and host-local Ollama, vLLM, SGLang, TRT-LLM, LM Studio, or NIM. Use for provider attachment, endpoint policy, credential substitution, topology, and migration from the removed managed inference endpoint. Trigger keywords - debug inference, managed inference endpoint, local inference, ollama, lm studio, vllm, sglang, trtllm, NIM, inference failing, model server unreachable, credential_endpoint_mismatch, host.openshell.internal.
日本語の概要は準備中です。原文の説明を表示しています。