소스 정보
- 저장소
- iopsystems/rpc-perf
- 최근 소스 활동
- 2026년 3월 19일 18:04
- 감지된 SKILL.md 언어
- 영어
- 스타
- 31
- 포크
- 15
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/iopsystems/rpc-perf --skill pr명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | pr |
| description | Prepare outstanding commits on a feature branch for a pull request to upstream |
Prepare a pull request from the current feature branch. This skill collects all commits on the current branch that are ahead of upstream/main, generates a PR title and description summarizing the changes, and creates the PR against upstream.
The skill accepts optional arguments:
/pr Add support for TLS client certs)Example: /pr or /pr Fix saturation search convergence
Verify prerequisites:
main branch (should be on a feature branch)upstream remote must existorigin remote must existBRANCH=$(git branch --show-current)
if [ "$BRANCH" = "main" ]; then
echo "Error: Must be on a feature branch, not main"
exit 1
fi
git remote get-url upstream >/dev/null 2>&1 || { echo "Error: 'upstream' remote not found"; exit 1; }
git remote get-url origin >/dev/null 2>&1 || { echo "Error: 'origin' remote not found"; exit 1; }
Run cargo fmt and amend the last commit if formatting changes are needed:
cargo fmt
if [ -n "$(git status --porcelain)" ]; then
git add -u
git commit --amend --no-edit
fi
After this step, the working directory must be clean. If there are still uncommitted changes (non-formatting), stop and tell the user to commit or stash them first.
Sync with upstream:
git fetch upstream
git fetch origin
Identify commits for the PR:
upstream/mainupstream/mainMERGE_BASE=$(git merge-base upstream/main HEAD)
git log --oneline ${MERGE_BASE}..HEAD
git diff ${MERGE_BASE}..HEAD --stat
If there are no commits ahead of upstream/main, stop and tell the user there is nothing to submit.
Generate PR title and description:
## Summary section with 1-3 bullet points describing the changes## Changes section listing the commits## Test plan section with a checklist of testing suggestionsPresent the title and body to the user for review before creating the PR.
Push the feature branch to origin:
BRANCH=$(git branch --show-current)
git push -u origin ${BRANCH}
Create the PR against upstream:
BRANCH=$(git branch --show-current)
gh pr create \
--repo "$(git remote get-url upstream | sed 's/.*github.com[:/]\(.*\)\.git/\1/' | sed 's/.*github.com[:/]\(.*\)/\1/')" \
--head "$(git remote get-url origin | sed 's/.*github.com[:/]\(.*\)\.git/\1/' | sed 's/.*github.com[:/]\(.*\)/\1/' | cut -d/ -f1):${BRANCH}" \
--base main \
--title "${PR_TITLE}" \
--body "${PR_BODY}"
Report the PR URL to the user.
upstream remote: Add it with git remote add upstream <repo-url>origin remote: This is your fork. Add with git remote add origin <fork-url>brew install gh or see https://cli.github.com/gh auth login