본문으로 건너뛰기
cccskills
무료GitHub에 공개

pr

Create a feature branch, commit changes, push, and open a PR against iopsystems/rezolus

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Create a PR from the current uncommitted changes. Handles branching, committing, pushing, and opening the PR against the upstream repo.

Arguments

The skill accepts an optional branch name argument:

  • If provided, use it as the branch name (e.g., /pr fix-socket-perms)
  • If not provided, generate a descriptive kebab-case branch name from the changes

Steps

  1. Verify prerequisites:

    • Working directory must have uncommitted changes (staged or unstaged)
    • Must not already be on a feature branch with unpushed commits for a different change
    git status
    git diff
    git diff --staged
    

    If there are no changes, stop and tell the user.

  2. Analyze the changes:

    • Read the diff to understand what changed
    • Check recent commit messages for style conventions:
      git log --oneline -10
      
  3. Create feature branch:

    • If currently on main, create a new branch:
      git checkout -b <branch-name>
      
    • If already on a feature branch, use the current branch
  4. Sync docs version label (idempotent — runs every PR):

    ./scripts/sync-docs-version.sh
    

    Updates site/docs/*.html's sidebar version label to the latest stable release tag. If it modifies any file, include the change in the same commit. If nothing changes, no-op.

  5. Stage and commit:

    • Stage the relevant changed files by name (avoid git add -A)
    • Write a commit message following the repo's conventional commit style (type(scope): description)
    • Common types: feat, fix, refactor, chore, docs, test
    • Include Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> trailer
    • Use a HEREDOC for the commit message
  6. Push to origin:

    git push -u origin <branch-name>
    
  7. Open PR against upstream:

    • The upstream repo is iopsystems/rezolus
    • The fork remote is origin (determine the owner from git remote -v)
    • Use gh pr create with --repo iopsystems/rezolus and --head <fork-owner>:<branch-name>
    gh pr create \
      --repo iopsystems/rezolus \
      --head <fork-owner>:<branch-name> \
      --draft \
      --title "<conventional commit style title>" \
      --body "$(cat <<'EOF'
    ## Summary
    <1-3 bullet points describing the changes>
    
    ## Test plan
    <bulleted checklist of testing done or needed>
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    EOF
    )"
    
  8. Report the PR URL to the user.

Version bumps

Non-release PRs must never bump the major, minor, or patch version. Instead, bump only the pre-release revision number in Cargo.toml:

  • Format: <major>.<minor>.<patch>-alpha.<revision>
  • Example: 5.8.3-alpha.0 → 5.8.3-alpha.1 → 5.8.3-alpha.2
  • Increment the revision (-alpha.N) by 1 from the current main branch version
  • Check the current main branch version before committing:
    git show main:Cargo.toml | grep '^version'
    

Notes

  • Keep PR titles under 70 characters
  • PR title should follow the same conventional commit format as the commit message
  • If cargo clippy, cargo test, or cargo fmt --check haven't been run yet during this session, run them before committing
  • Never force push or amend existing commits
  • The fork owner can be determined from the origin remote URL (e.g., git@github.com:brayniac/rezolus → brayniac)
  • PRs are created as drafts by default. Mark ready via GitHub UI or gh pr ready

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write or update the CLI `--help` text and README section for a new or changed rezolus feature (a subcommand, flag, mode, or behavior change), then prove the help is usable by dispatching a fresh subagent that has never seen the code. Use this whenever you add or change how rezolus is invoked — new `rezolus <subcommand>`, new flags/args on an existing mode, renamed options, or changed defaults — and any time the user says the help/README is thin, stale, confusing, or "an agent couldn't figure this out." Treats help text as an interface under test, not prose.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

Use when starting or picking up a non-trivial effort (feature, investigation, perf probe, refactor, migration) in a shared repo where teammates or future agents must coordinate or hand off; when a repo has no durable in-tree record of decisions and dead-ends; when you're about to drop a well-measured negative result; or when bootstrapping a journal from a repo's commit history.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

Tag and push a prerelease from the current Cargo.toml version. Use when the user wants to cut an alpha/beta/rc prerelease. Aborts on stable versions (no `-` in version string) and if the tag already exists.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

release

무료

Create a release PR with version bump and changelog update

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

Use when reviewing a Rezolus sampler change before merge — a new sampler, a change to an existing sampler's probes/refresh/metrics, or core changes that affect samplers; or whenever a sampler's overhead, cadence, or data source is in question.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

Investigate a Rezolus performance recording (.parquet, .rez, .dendro) through the rezolus MCP server. Discovery before query, verdicts and marks written back, links to the viewer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

iopsystems/rezolus2772026년 10월 20일 업데이트

iopsystems의 스킬 모두 보기

이 스킬의 문제 신고