Automated summary
Chains the commit of finished work, a direct fast-forward landing on main without a PR, and a rebuild/reinstall of Fleetwood.app followed by a relaunch, in one gesture.
Strengths
- States the three phases in order and delegates details to the /integrate-to-main and relaunch-app skills rather than reimplementing them
- Names the central trap: the redeploy phase must run from ~/projects/fleetwood, never from a task worktree
- Phase 2 checks are hard gates — a red typecheck or test stops the whole chain, redeploy included
- Verifies the outcome via bundle timestamp and live processes instead of trusting open's exit code
Limitations
- Tightly coupled to one setup: ~/projects/fleetwood and /Applications/Fleetwood.app paths plus pnpm monorepo commands
- Assumes the /integrate-to-main and relaunch-app skills exist; their logic is not contained here
- Skipping review means typecheck and tests are the only barrier between the work and main
Use it when finished work in a Fleetwood worktree must ship straight to the local app the user is watching.
Avoid it when a code review or a remote repository is required, or when the work is unrelated to the locally installed Fleetwood app.
Security analysis
CautionThis is a local developer workflow: git commit, fast-forward merge to main, typecheck/test, rebuild and reinstall a desktop app, relaunch and verify. No network exfiltration, no curl|sh, no secrets, no obfuscation. The notable risks are inherent to the task — it deliberately bypasses review and overwrites the live app bundle via install-app — but these are described transparently and gated behind failing-check stops, so caution rather than risky is appropriate.
- •Explicitly skips PR/code review and merges directly to local main (by design, but removes the human gate)
- •Uses destructive build tooling that rm -rf's the live /Applications/Fleetwood.app bundle; warns that running it from the wrong checkout installs the wrong branch's code
- •Runs osascript, pnpm build/install, open -a, and ps against the user's machine — powerful local tooling used for a legitimate dev workflow
- •Delegates to external skills (~/.claude/skills/integrate-to-main, relaunch-app) which are not shown here and would need separate review
Examples
commit this work, land it on main without a PR, then rebuild and relaunch Fleetwood so I can see itland this and restart the appcommit, merge to main, redeploy — and tell me which SHA the running app is built fromname: land-and-redeploy description: Take finished work in a fleetwood worktree all the way to the app Kilian is looking at — commit it, land it on main without a PR, rebuild and reinstall /Applications/Fleetwood.app, relaunch. Use for "commit then integrate to main then redeploy", "land this and restart the app", "ship this to my app", "commit, merge, redeploy".
Land it, then redeploy
One gesture, three phases, in this order and no other:
- Commit the work where it lives.
- Land it on
main— no PR, no review. This is/integrate-to-main. - Redeploy
/Applications/Fleetwood.appfrommain. This isrelaunch-app.
The two existing skills own the details and are the source of truth for them:
/integrate-to-main (global, ~/.claude/skills/) for phases 1–2, and
relaunch-app (this repo, beside this file) for phase 3. Read them — don't
reimplement them from this file. What this skill adds is the seam between them,
which is where the mistakes actually happen.
Skipping review is the point of this flow, not an oversight. That means the checks
in phase 2 are the only thing between the work and main, so they are not
optional and a red one stops the whole chain — including the redeploy. Landing a
broken build and then installing it over the app the user is watching is strictly
worse than stopping and saying so.
The seam that goes wrong
Phase 3 runs from ~/projects/fleetwood, not from where you did the work.
install-app builds from the cwd and overwrites the one app in /Applications, so
running it from a task worktree or a .agents/worktrees/ checkout installs that
branch's code — the code you just merged, but by accident and from the wrong
place, and with whatever uncommitted mess that tree still holds. After the merge,
move to the main checkout and stay there:
git -C ~/projects/fleetwood log --oneline -1 # your commit should be HEAD
cd ~/projects/fleetwood
main is checked out there and nowhere else, which is also why phase 2 merges with
git -C ~/projects/fleetwood merge --ff-only <branch> instead of checking main
out where you are.
The rest of the chain, briefly
| Phase | Command | Watch for |
|---|---|---|
| 1 | git add + git commit -F <file> | Zero commits ahead with everything uncommitted is the normal case here, not an error — commit first, then say so in the report. |
| 2 | pnpm typecheck && pnpm test, then merge --ff-only | Red stops the chain. Not fast-forwardable means main moved — ask, don't pick. |
| 2 | — | There is no remote. Nothing to push, and nothing to say about pushing. |
| 3 | osascript -e 'quit app "Fleetwood"' | Quit before installing: install-app rm -rfs the live bundle. |
| 3 | pnpm --filter @fleetwood/app install-app | ~20s, no sudo, no prompts. |
| 3 | open -a /Applications/Fleetwood.app | Exits 0 for a bundle that dies a second later — verify by process, not by open. |
Then re-verify: a fresh timestamp on
/Applications/Fleetwood.app/Contents/Resources/app/dist/main/index.cjs, and a
renderer process actually alive —
ps ax -o pid,command | grep '[F]leetwood.app' | cut -c1-90
Main + GPU + network + renderer helpers is healthy. Main alone means the window never came up: read the failure, don't call it shipped.
Report
Lead with the SHA on main, whether the checks were green, and that the installed
app is running the new code. Then flag, separately, anything the user would
reasonably have assumed and that isn't true — work that wasn't committed when they
thought it was, a check you couldn't run, a repo in the task that had nothing to
land.
Leave the branch and the worktree alone. Mention that they're still there and offer to clean up; never do it unasked.
When working from a task folder
~/projects/.agents/tasks/<slug>/ does not load this repo's .claude/, so this
skill won't be listed there — the user invoking it by name is the signal to open
this file and follow it anyway. Everything above still applies verbatim, including
the part where phase 3 leaves the task folder for ~/projects/fleetwood.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/commit-and-redeploy-fleetwood-mte1lgxq/download' --output '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md.part' && mv '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md.part' '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md' && test -s '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/land-and-redeploy' && cp -R '.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq' '.claude/skills/land-and-redeploy'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq'openskills read 'commit-and-redeploy-fleetwood-mte1lgxq'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.