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

land

Land an OpenASE PR by syncing with main, resolving conflicts, waiting for CI, addressing review feedback, and squash-merging when green.

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

PacificStudio/openase스타 269(GitHub 269 + cccskills 0)
연동 도구GitHub

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.1 KB
  • land_watch.py19.1 KB

SKILL.md(원문)

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

Land

Goals

  • Ensure the PR is conflict-free with origin/main.
  • Keep the current OpenASE validation and CI green.
  • Address human review feedback before merge.
  • Squash-merge the PR once checks pass.
  • Do not yield while the branch is mergeable and there is still concrete work to do.

Preconditions

  • gh CLI is authenticated.
  • You are on the PR branch with a clean working tree, or you are prepared to commit/push outstanding intended changes first.

Validation Gate

Use the repo's actual Go + Svelte checks instead of Symphony's Elixir flow.

  • Go/backend changes or unclear scope:
    • PATH="$PWD/.tooling/go/bin:/home/yuzhong/.local/go1.26.1/bin:$PATH" go test ./...
    • ./scripts/ci/lint.sh
  • Frontend changes under web/ or unclear scope:
    • npm --prefix web install
    • npm --prefix web run check
    • npm --prefix web run build
  • Cross-cutting changes or uncertainty:
    • Run all of the above before the final merge attempt.

Steps

  1. Locate the PR for the current branch.
  2. If the working tree has uncommitted intended changes, use the commit skill and then the push skill before proceeding.
  3. Check mergeability and conflicts against origin/main.
  4. If conflicts exist, use the pull skill to fetch and merge origin/main, resolve conflicts, rerun the applicable validation gate, then use the push skill to publish the updated branch.
  5. Review outstanding feedback:
    • Top-level PR comments
    • Inline review comments
    • Review summaries / CHANGES_REQUESTED
  6. Before implementing review feedback, confirm it does not conflict with the task's intent. If you disagree, respond with concise rationale and only ask the user if product intent is genuinely ambiguous.
  7. Reply to review threads before or alongside the corresponding code change so the record is clear.
  8. Watch CI and review state until the PR is ready:
    • Preferred: python3 .codex/skills/land/land_watch.py
    • Fallback: gh pr checks --watch plus explicit review comment inspection with gh api.
  9. If checks fail, inspect the failing run, fix the issue, rerun the applicable validation gate locally, commit, push, and restart the watch loop.
  10. When all checks are green and outstanding feedback is resolved or answered, squash-merge using the PR title/body.

Commands

# Ensure branch and PR context
branch=$(git branch --show-current)
pr_number=$(gh pr view --json number -q .number)
pr_title=$(gh pr view --json title -q .title)
pr_body=$(gh pr view --json body -q .body)

# Check mergeability and conflicts
mergeable=$(gh pr view --json mergeable -q .mergeable)
if [ "$mergeable" = "CONFLICTING" ]; then
  echo "Run the pull skill, resolve conflicts, rerun checks, then push." >&2
  exit 1
fi

# Go validation
PATH="$PWD/.tooling/go/bin:/home/yuzhong/.local/go1.26.1/bin:$PATH" go test ./...
./scripts/ci/lint.sh

# Frontend validation
npm --prefix web install
npm --prefix web run check
npm --prefix web run build

# Preferred watcher
python3 .codex/skills/land/land_watch.py

# Failing CI investigation examples
gh pr checks
gh run list --branch "$branch"
gh run view <run-id> --log

# Squash merge
gh pr merge --squash --subject "$pr_title" --body "$pr_body"

Review Handling

  • Treat human review comments and blocking review states as merge blockers until they are fixed or explicitly answered with rationale.
  • Prefer replying inline for inline feedback and on the PR conversation for top-level feedback.
  • Keep the PR title and body aligned with the final merged scope if review expands or narrows the work.
  • Do not merge while there are unaddressed correctness concerns.

Failure Handling

  • If CI fails, inspect logs with gh pr checks and gh run view --log, then fix locally and rerun the watch.
  • If the PR head changes remotely, sync the branch, rerun the applicable validation gate, and continue.
  • If mergeability is UNKNOWN, wait and re-check.
  • Do not enable auto-merge just to bypass the manual validation loop.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Diagnose and strengthen a repository's harness layer: AGENTS.md rules, knowledge layout, architecture boundaries, lint and type gates, API and generated-client contracts, test scaffolding, structured logging, and technical-debt tracking. Use when Codex needs to audit drift-prone semantics that are repeated across code, docs, schemas, generated artifacts, frontend/backend boundaries, or CI, then design or implement guardrails with progressive disclosure and zero-tolerance contract checks.

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

PacificStudio/openase2692026년 8월 9일 업데이트

commit

무료

Create a well-formed git commit from current changes using session history for rationale and summary; use when asked to commit, prepare a commit message, or finalize staged work.

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

PacificStudio/openase2692026년 8월 9일 업데이트

commit

무료

Write concise Conventional Commit messages that match the actual scope of the change.

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

PacificStudio/openase2692026년 8월 9일 업데이트

create-pr

무료

Prepare a crisp pull request summary with scope, validation, and rollout notes.

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

PacificStudio/openase2692026년 8월 9일 업데이트

Clarify ambiguous requests with a focused, Socratic interview before planning or implementation.

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

PacificStudio/openase2692026년 8월 9일 업데이트

Create or update a branch-scoped Coolify review environment with one command, and delete it with one command. Use when a ticket must deploy a preview before human review, while keeping the workflow simple and fast.

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

PacificStudio/openase2692026년 8월 9일 업데이트

PacificStudio의 스킬 모두 보기

이 스킬의 문제 신고