Synthèse automatique
Enchaîne en un seul geste le commit du travail, son intégration directe sur main en fast-forward (sans PR) et la reconstruction/réinstallation de l'application Fleetwood.app, puis sa relance.
Points forts
- Ordonne explicitement les trois phases et délègue les détails aux skills /integrate-to-main et relaunch-app au lieu de les réimplémenter
- Identifie le piège central : la phase de déploiement doit s'exécuter depuis ~/projects/fleetwood, jamais depuis un worktree de tâche
- Les vérifications de la phase 2 sont bloquantes : un typecheck ou un test rouge arrête toute la chaîne, y compris le redéploiement
- Contrôle le résultat par l'horodatage du bundle et les processus réellement vivants, plutôt que de se fier au code de sortie de open
Limites
- Très lié à un environnement précis : chemins ~/projects/fleetwood et /Applications/Fleetwood.app, commandes pnpm du monorepo
- Suppose que les skills /integrate-to-main et relaunch-app existent et sont à jour ; ce fichier ne contient pas leur logique
- L'absence de PR et de revue fait des seuls typecheck et tests le unique garde-fou avant main
À utiliser quand un travail terminé dans un worktree Fleetwood doit être livré directement dans l'application locale que l'utilisateur regarde.
À éviter dès qu'une revue de code ou un dépôt distant est requis, ou si le travail ne concerne pas l'application Fleetwood installée localement.
Analyse de sécurité
PrudenceThis 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
Exemples
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.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
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. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
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 doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq'openskills read 'commit-and-redeploy-fleetwood-mte1lgxq'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/commit-and-redeploy-fleetwood-mte1lgxq/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Configurer un canal de discussion avec SecretRefs
DevOps
Configurez des canaux de discussion avec des commandes non interactives, les secrets étant uniquement des SecretRefs. Couvre les étapes de collecte, modification, réparation et vérification.
Enquêter sur les échecs CI de ClickHouse
DevOps
Investigue un échec CI de ClickHouse de bout en bout à partir d'une URL de PR ou de rapport S3. Récupère les tests échoués, classe flaky vs vraie régression, et cherche des issues/fixes existants.
Revue de PR Ansible
DevOps
Examine une PR Ansible selon le processus standardisé du projet, incluant la validation des changelogs, la couverture de tests et le suivi des commentaires.