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

land

Land a ready branch - push, PR, pinned CI watch, squash-merge, issue verification, cleanup. Use for every PR landing; encodes the run-ID pinning and cleanup discipline.

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

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.0 KB

SKILL.md(원문)

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

Land a Branch

Take a committed branch through push → PR → CI → merge → cleanup. One invocation per branch; serialize when branches share files.

Arguments

  • $ARGUMENTS — branch name; optionally the worktree path holding it (default: search git worktree list).

Pre-flight

  1. pwd + git branch --show-current in the branch's checkout — CWD drift is real: finished background agents move the orchestrator's shell CWD. Anchor every command with explicit cd.
  2. Branch is committed and clean (git status --short empty).
  3. Merge current main in: git fetch origin main && git merge origin/main. On conflict in triage tables → union-of-flips; in tests → usually keep both.
  4. Re-gate after the merge: targeted tests for touched modules (cargo test --features cuda-index --lib <filter> with a private CARGO_TARGET_DIR), and the provenance lint:
    git diff origin/main...HEAD -- '*.rs' | python3 scripts/check_comment_provenance.py
    
    CI diffs the merge ref, so MOVED comment lines count as added — a local pass on the pre-merge diff can be a false negative.

Push and PR

  1. Push: git push origin <branch> (direct WSL usually works; on "could not read Username" fall back to powershell.exe -Command "cd C:\Projects\cqs; git push origin <branch>").
  2. Body to /mnt/c/Projects/cqs/pr_body.md (NEVER inline; must live on C: for Windows gh). Include closes #N for every issue the branch resolves. Delete the file after.
  3. powershell.exe -Command 'cd C:\Projects\cqs; gh pr create --head <branch> --title "..." --body-file pr_body.md'

CI — pin the run ID

gh pr checks --watch latches onto the PREVIOUS commit's completed run. Always:

sleep 50   # new run needs ~45s to register
powershell.exe -Command 'gh run watch $(gh run list -R jamie8johnson/cqs --branch <branch> --workflow CI --limit 1 --json databaseId --jq ".[0].databaseId") -R jamie8johnson/cqs --exit-status'

Background this (run_in_background) and do other work; the notification carries the exit code.

Merge and verify

  1. On green: powershell.exe -Command 'gh pr merge <N> -R jamie8johnson/cqs --squash --delete-branch', then confirm gh pr view <N> --json state == MERGED.
  2. Verify every linked issue actually closed (gh issue view <N> --json state); close manually with a PR pointer if GitHub missed it. "Partially addresses" PRs: comment the remaining scope on the issue instead.
  3. Cleanup: cd /mnt/c/Projects/cqs && git pull origin main --ff-only, git worktree remove <path> --force, git branch -D <branch>, cqs index (inotify misses bulk git ops on /mnt/c).

On CI failure

Read the failing job log before touching anything (gh run view <id> --log-failed). Provenance-lint failures → scrub audit IDs from comments (state the invariant instead). Don't retry CI blind.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

archeo

무료

Comment-archaeology sweep - find work items hiding in TODO/FIXME/for-now comments and plan-doc ledgers, judge them, file issues, queue trivial fixes. Good idle-loop activity.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

audit

무료

Run a multi-category code audit on the cqs codebase. Spawns parallel agents per batch.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

Run before modifying a function — impact + test-map + explain in one pass, presented as a modification checklist.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

Trust-boundary security audit of cqs — fans out unbiddable-auditor agents across 6 categories (RT-INJ/RT-FS/RT-RES/RT-DATA/RT-RELAY/RT-EXFIL), attacker mindset, run-the-attack PoC + regression guard.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

cqs

무료

Unified cqs CLI dispatcher — semantic code search, call graph navigation, impact analysis, quality tools, notes, and infrastructure. Use `/cqs <command> [args]` for any cqs operation.

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

jamie8johnson/cqs172026년 7월 14일 업데이트

jamie8johnson의 스킬 모두 보기

이 스킬의 문제 신고