peiyuanqi/work-like-me/land-work

Claude Code and agent skill by peiyuanqi/work-like-me

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Lands completed local task-branch or worktree changes directly on the remote default branch without a PR: verifies and commits the task, rebases for linear history, fast-forwards the local default branch, and pushes it. Use at an explicit delivery boundary when repo-local guidance or the user selects a direct-integration workflow. Not for ordinary task completion or review-based PR/MR submission (use swe:submit-work).

Install

npx vskill@latest install peiyuanqi/work-like-me/land-work

SKILL.md

The same SKILL.md was published earlier as peiyuanqi/work-like-me/land-work.

Land Work

Version: 1.2.0

Land verified work from a local task worktree onto the repository's default branch without publishing the task branch or creating a pull request. This is an explicit delivery operation: completing the implementation does not by itself grant permission to run it.

1. Confirm Direct-Integration Mode

  • Resolve the canonical remote URL and its default branch rather than assuming

origin or main.

  • Use direct integration only when repo-local guidance defines it or the user

explicitly chooses it for the current repository. Repository policy selects the workflow; it does not itself authorize a commit, merge, or push.

  • Decide the workflow from that guidance, never from the hosting provider,

account name, remote owner, repository visibility, or apparent maintainer count.

  • Use swe:submit-work when repo policy or the user selects review-based

delivery.

  • Keep the task branch local by default; pushing it is not an intermediate

step of this workflow.

2. Inspect Both Worktrees

From the repository root, inspect the task worktree, the default-branch worktree, and all linked worktrees:

bash
git status --short --branch
git remote -v
git worktree list --porcelain
git symbolic-ref --short refs/remotes/<remote>/HEAD
  • Identify the exact task branch, task worktree, default branch, and

integration worktree before mutating either checkout.

  • Treat every pre-existing staged, unstaged, and untracked change as

user-owned.

  • Require the default-branch integration worktree to be clean. If it isn't,

stop and report rather than stashing, resetting, cleaning, switching, or overwriting it.

  • Serialize delivery through the default branch. If another agent or process

is landing work, wait or stop rather than changing the branch concurrently.

  • If the completed work is already on the default branch, skip the branch

integration steps and use swe:finish-work for the explicitly requested checks, commit, and push.

3. Prepare and Commit the Task Locally

  1. Review the task worktree's staged and unstaged diffs and isolate the

intended change from unrelated files.

  1. Use swe:prepare-code-for-commit and run the proportional repo-defined tests

or build checks.

  1. Re-check the diff and run git diff --check.
  2. Use swe:git-commit-push in commit-only mode to create one cohesive

delivery commit by default. The task branch is not pushed.

  1. Require the task worktree to be clean before integration.

If required checks fail, stop before integration unless the user explicitly accepts the failure.

4. Synchronize and Rebase

Fetch the canonical remote immediately before integration:

bash
git fetch <remote> --prune

Then:

  1. Verify again that the remote default branch exists and the integration

worktree is clean.

  1. Compare the local default branch with <remote>/<default-branch>.
  2. If the local default branch is only behind, update it with a fast-forward.
  3. If it contains unexpected local-only commits or has diverged, stop and

report the commits instead of rewriting user-owned history.

  1. Rebase the task branch onto the updated local default branch when needed.

Resolve conflicts in the task worktree, preserving the intended behavior of both the new upstream work and the task.

  1. Re-run relevant verification after any rebase or conflict resolution.

Keep the history linear: no merge commits and no force-push.

5. Fast-Forward the Default Branch and Push

In the clean integration worktree, inspect the commits and diff being added, then:

bash
git merge --ff-only <task-branch>
git push <remote> <default-branch>
  • If the remote moves before the push, fetch again. Rebase only the known

current landing commits onto the new remote tip, rerun relevant verification, and retry a normal push. If that range is ambiguous, stop instead of rewriting history.

  • Never bypass branch protection. If repository policy rejects the direct

push, report the blocker and fall back to a PR only when the user requests it.

  • Verify that the remote default branch resolves to the landed commit before

reporting success.

6. Delegate Cleanup When Authorized

  • If the user included cleanup in the landing request, call swe:cleanup-work

only after verifying the landed commit on the remote default branch. Pass the exact task worktree, local task branch, canonical remote, default branch, and verified landed commit.

  • Call cleanup only from outside the target worktree. If this workflow is

running inside the task worktree, leave it intact and report cleanup as deferred to a caller running from the integration checkout after this task has ended.

  • Without a cleanup request, leave the task worktree and branch intact and

report them.

  • Keep removal inside swe:cleanup-work: successful delivery does not imply

cleanup permission, and cleanup covers only this task's worktree, not other completed worktrees.

Completion Report

Report the task branch and worktree, default branch and integration worktree, commit or commits landed, checks run, whether a rebase or conflict resolution was needed, the fast-forward result, pushed remote, remote verification, cleanup result or deferral reason, and any remaining local worktree or branch.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/peiyuanqi/work-like-me/land-work/badge)](https://verified-skill.com/skills/peiyuanqi/work-like-me/land-work)

Something wrong with this skill or its page? Tell us.