Coordinates PR landing by running specific Go and Svelte validation checks before squash-merging.
Install
mkdir -p .claude/skills/land-pacificstudio && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15443" && unzip -o skill.zip -d .claude/skills/land-pacificstudio && rm skill.zipInstalls to .claude/skills/land-pacificstudio
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Land an OpenASE PR by syncing with main, resolving conflicts, waiting for CI,Key capabilities
- →Ensure the PR is conflict-free with `origin/main`.
- →Keep current OpenASE validation and CI green.
- →Address human review feedback before merge.
- →Run repo-specific Go and Svelte validation checks.
How it works
The skill validates the PR against OpenASE-specific Go and Svelte checks, resolves conflicts with `origin/main`, addresses review feedback, and then squash-merges the PR. It uses a Python script to watch CI status.
Inputs & outputs
When to use land
- →Land OpenASE PR
- →Verify CI status
- →Merge OpenASE branch
About this skill
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
ghCLI 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 installnpm --prefix web run checknpm --prefix web run build
- Cross-cutting changes or uncertainty:
- Run all of the above before the final merge attempt.
Steps
- Locate the PR for the current branch.
- If the working tree has uncommitted intended changes, use the
commitskill and then thepushskill before proceeding. - Check mergeability and conflicts against
origin/main. - If conflicts exist, use the
pullskill to fetch and mergeorigin/main, resolve conflicts, rerun the applicable validation gate, then use thepushskill to publish the updated branch. - Review outstanding feedback:
- Top-level PR comments
- Inline review comments
- Review summaries /
CHANGES_REQUESTED
- 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.
- Reply to review threads before or alongside the corresponding code change so the record is clear.
- Watch CI and review state until the PR is ready:
- Preferred:
python3 .codex/skills/land/land_watch.py - Fallback:
gh pr checks --watchplus explicit review comment inspection withgh api.
- Preferred:
- If checks fail, inspect the failing run, fix the issue, rerun the applicable validation gate locally, commit, push, and restart the watch loop.
- 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 checksandgh 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.
When not to use it
- →When the PR is already merged or closed.
- →When there are uncommitted intended changes that are not yet committed.
- →When the branch is not mergeable and there is no concrete work to do.
Prerequisites
Limitations
- →Does not merge while actionable review comments remain unresolved.
- →Requires manual intervention if CI fails.
- →Does not enable auto-merge to bypass the manual validation loop.
How it compares
This skill integrates OpenASE-specific validation and review handling into the PR landing process, providing a tailored workflow compared to a generic PR merge.
Compared to similar skills
land side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| land (this skill) | 0 | 4mo | Review | Intermediate |
| push | 0 | 4mo | Review | Intermediate |
| update-go-version | 1 | 6mo | Review | Beginner |
| upgrade-deps | 0 | 2mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by PacificStudio
View all by PacificStudio →You might also like
push
PacificStudio
Push current branch changes to origin and create or update the corresponding
update-go-version
grafana
Update Go version across the Tempo codebase (go.mod, tools/go.mod, Dockerfile, CI workflows, tools image tag)
upgrade-deps
obot-platform
Upgrade dependencies and runtimes safely, run CI, and report higher-risk options.
qcc-release
yxhpy
Use for version release, GoReleaser automation, and publishing workflows in qcc_plus project
go
carapace-sh
>
testing-workflow
amo-tech-ai
Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.