Synthèse automatique
Prépare la documentation publique d'apple-fm pour une release majeure : aligner le README sur les fonctionnalités réellement livrées et vérifier les modes de démo avant capture des captures d'écran.
Points forts
- Définit une source de vérité explicite (tableau FR/NFR, API publique, USAGE du CLI, git log) au lieu de se fier au README existant
- Traite à la fois les fonctionnalités manquantes et les fonctionnalités supprimées encore vendues comme des bugs à corriger
- Inclut une étape de mise à jour du renderer de démos (domotion-svg) avant la revue, pour que la vérification porte sur ce qui sera réellement publié
- Rappelle clairement la limite de responsabilité : l'agent prépare, l'utilisateur capture les démos
Limites
- Fortement couplé au dépôt apple-fm : chemins codés en dur (docs/3-requirements.md, src/index.ts, scripts/lib/window.mjs) et non réutilisable tel quel ailleurs
- Suppose que les documents de requirements et le Hot Sheet sont à jour ; si ce n'est pas le cas, la revue du README part d'une base fausse
- Le skill se termine en plein milieu de l'étape de re-synchronisation du pipeline de démos, qui reste donc incomplètement spécifiée
À utiliser juste avant de taguer une release majeure d'apple-fm, quand le README et les démos ont divergé des fonctionnalités réellement livrées.
Ne pas l'utiliser pour un changement mineur sans impact sur les fonctionnalités visibles, ni pour un autre projet dont les chemins et documents de référence diffèrent.
Analyse de sécurité
PrudenceThe skill uses Bash and network access, but only for legitimate release-prep tasks: reading git history, querying the npm registry, bumping a dev-dependency, and running tests. There are no destructive commands (no rm -rf, no curl|sh), no credential/secret handling, no obfuscated payloads, and no instruction to disable safety. The only sharp edges are a real dependency upgrade and file edits, which warrant 'caution' rather than 'safe' because they perform privileged, state-changing operations.
- •Runs package-manager and network operations: `npm install --save-dev domotion-svg@latest`, `npm view`, `npm ls`, `npm test`, and a `curl` to registry.npmjs.org
- •Modifies project files (README.md, package.json, lockfile, scripts/demo.mjs, scripts/lib/*.mjs) via Edit/Write
- •Executes git history queries and test suite; no sandboxing guidance given
Exemples
Prep apple-fm for the next major release: refresh the README against the current feature set and review the demo modes so the screenshots are the right ones.Check apple-fm's README for drift — any shipped headline feature that isn't advertised, and any removed feature still being sold — and fix it.Compare our installed domotion-svg against the latest on npm, bump it if it's out of date, and re-sync the demo pipeline before we review the demos for the release.name: prep-major-release description: Prep apple-fm for a major release — refresh the README so it advertises the current feature set, and review/revise the demo modes (the user captures the screenshots) allowed-tools: Read, Grep, Glob, Bash, Edit, Write
Get apple-fm's public-facing material ready for a release: make the README compelling and accurate to the current feature set, and review the demo modes so the screenshots are the right ones. You do not capture the demos — you prepare everything and hand off; the user runs the capture.
What "ready for release" means
The README and demos are the first thing a prospective user sees. After a batch of changes they drift in two directions: a new headline feature ships but isn't advertised, or a removed feature is still being sold. Both are bugs here. The goal is a README that honestly and compellingly reflects what apple-fm does today.
Steps
-
Establish the current feature set (source of truth = code + requirements).
- Read
docs/3-requirements.md(the FR/NFR table with status markers) anddocs/ai/requirements-summary.md. Shipped FR/NFRs are what's advertisable; Partial ones can be mentioned with honest framing; Dropped/Removed ones must not appear in the README. - Read the public API (
src/index.ts) and the CLI surface (src/cliArgs.tsUSAGE) so command/flag examples in the README actually exist. - Skim recent history for what changed:
git log --oneline -30and the Hot Sheet completed tickets. Look specifically for added features (new FR, new flag, new export) and removed ones (afeat!/BREAKING CHANGE, a deleted module).
- Read
-
Review
README.mdagainst that set. Read it top to bottom and check:- Headline / tagline still true (e.g. the on-device / no-network claim — if a networked feature was added or removed, this line changes).
- "Why apple-fm" bullets cover the most important and interesting shipped
features. As of this writing those are: on-device & private (no key/cloud/network),
one-binary-three-shapes (
probe/generate/chat), guaranteed structured output (guided generation), long coherent chat (persistent session + auto-compaction + Esc interrupt), tool calling (permission-gated localread/bash), zero runtime deps, and future-proof (runtime model resolution). Add a bullet for any shipped headline feature that's missing; delete any that no longer ship. - CLI / Library examples match real flags and API (no removed flags, no invented ones).
- Every
<img>alt text still describes what the demo shows. - Install / platform-support / disclaimer / license still accurate.
- Tighten prose so it stays compelling and scannable — lead with the benefit, not the mechanism. Don't pad with an imageless section if a bullet does the job.
-
Upgrade the demo tooling (
domotion-svg) to the latest, if out of date. The demos are rendered with thedomotionCLI from thedomotion-svgdev-dependency, so a release should capture on the current renderer. Do this before reviewing/capturing demos so the review reflects what will actually ship.- Compare installed vs. latest:
npm ls domotion-svg(installed) againstnpm view domotion-svg version(latest — or, if the npm cache is unwritable in this environment,curl -s https://registry.npmjs.org/domotion-svg | ...reads thedist-tags.latest). If they match, skip the rest of this step. - If out of date, bump it:
npm install --save-dev domotion-svg@latest(updatespackage.json+ the lockfile). - Then re-sync the demo pipeline to the new renderer.
scripts/lib/window.mjsandscripts/lib/cast.mjsare pure string transforms keyed off domotion's output shape (a frame is<g class="f f-N">; the cast frame wraps a nested<svg>), and both are pinned by comment to a specific domotion version (search fordomotion 0.15and similar). A domotion upgrade can change that output shape and silently break the window-dressing / title-card compositing.- Run
npm test—tests/demo.test.tsexercises the transforms and is the first tripwire for shape drift. Fix any breakage inwindow.mjs/cast.mjsand their tests. - Update the version references in the docstrings/comments (
scripts/demo.mjs,scripts/lib/*.mjs, and this skill's examples) to the new version so they don't lie about which renderer they target. - Because the transform coupling is fragile and demo output is only truly verifiable against the real on-device model (the user's capture step), flag in your hand-off report that domotion was upgraded from X→Y and that the recaptured SVGs should be eyeballed for regressions.
- Run
- Compare installed vs. latest:
-
Review the demo modes in
scripts/demo.mjs(theDEMOSarray). Each entry is a{ slug, title{eyebrow,headline,subtitle}, cmd, capture }(thechatone is composed turn-by-turn). For each, decide: does it still showcase a current, compelling capability? Consider new / different / fewer:- New — a shipped feature with no demo that would demo well. Note that demos run the real on-device model (non-deterministic output), so a good demo is one whose value shows even with varying wording. Be wary of demos that depend on the model reliably doing something specific (e.g. calling a tool on cue) — those make flaky, embarrassing assets. Prefer prose in the README for those.
- Different — an existing demo's prompt/title/subtitle is stale or undersells the
feature; revise the
title/cmd/capturetext. - Fewer — a demo that's redundant or no longer interesting; remove it (and its
<img>from the README). - Edit
scripts/demo.mjsto make these changes. Keep each demo'sslugstable unless you intend to rename the output file (then update the README<img src>). - If you changed
scripts/demo.mjs, runnpm test—tests/demo.test.tscovers the pure demo-composition logic (buildChatFrames/parseChatTranscript).
-
Verify the non-capture changes.
npm run lint && npm run typecheck && npm testshould stay green (README is prose;demo.mjsis covered bydemo.test.ts). Fix any breakage before handing off. -
Hand off the capture — do NOT run it yourself. The demos are captured by
npm run demo(build +node scripts/demo.mjs), which runs the real on-device model and drives headless Chromium via domotion. Summarize for the user:- what you changed in the README and in the demo modes (added/removed/revised demos),
- whether you upgraded
domotion-svg(from X→Y) — if so, call it out so the user watches the recaptured SVGs for renderer regressions, - that they should now run
npm run demoto (re)capture all demo SVGs (always all — minor rendering details drift between captures), - the capture requirements: macOS 26+ Apple Silicon with the model ready, and
that model-loading is blocked by the command sandbox (it surfaces as
modelNotReadyeven though--probesays available) — so the capture must run unsandboxed / in a normal terminal.
Then stop and let the user capture. (Only run
npm run demoyourself if the user explicitly asks you to in this invocation.)
Don't
- Don't bump the project version in
package.json. The release flow (npm run release) derives the bump from conventional commits — afeat!:/BREAKING CHANGE:footer yields a major bump automatically. See docs/5-releasing.md. (This is separate from thedomotion-svgdev-dependency bump in step 3, which you should do.) - Don't capture demos unless explicitly asked — that's the user's step (it needs the on-device model + an unsandboxed run).
- Don't invent features. Everything advertised must trace to a Shipped FR/NFR or a real export/flag.
Report
End with: the README edits made (and why), any domotion-svg upgrade (X→Y, plus
any window.mjs / cast.mjs transform fixes it required), the demo-mode changes (added /
revised / removed, with the reasoning for any new-vs-prose call), the verify result
(lint/typecheck/test), and a clear "ready to capture — run npm run demo (unsandboxed)"
hand-off line.
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/prepare-apple-fm-for-major-release-msh3us2t/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/prepare-apple-fm-for-major-release-msh3us2t' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/prepare-apple-fm-for-major-release-msh3us2t/download' --output '.skill-downloads/prepare-apple-fm-for-major-release-msh3us2t/SKILL.md.part' && mv '.skill-downloads/prepare-apple-fm-for-major-release-msh3us2t/SKILL.md.part' '.skill-downloads/prepare-apple-fm-for-major-release-msh3us2t/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.
Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Grep, Glob, Bash, Edit, Write
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/prepare-apple-fm-for-major-release-msh3us2t/SKILL.md' && test -s '.skill-downloads/prepare-apple-fm-for-major-release-msh3us2t/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/prep-major-release' && cp -R '.skill-downloads/prepare-apple-fm-for-major-release-msh3us2t' '.claude/skills/prep-major-release'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/prepare-apple-fm-for-major-release-msh3us2t'openskills read 'prepare-apple-fm-for-major-release-msh3us2t'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/prepare-apple-fm-for-major-release-msh3us2t/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.
Rédaction de docs Supabase
Documentation
Rédigez, éditez et révisez le contenu de la documentation Supabase : guides, tutoriels, références et partiels. Suivez les guides de style et les règles de validation MDX/TOML.
Créer un enregistrement de décision d'architecture
Documentation
Créer un nouveau ADR avec numérotation séquentielle, l'enregistrer dans le graphe AgentDB et le lier aux ADR associés.
Mise à jour de plan avec recherche approfondie
Documentation
Met à jour un document de plan en lançant des sous-agents en parallèle pour analyser un sujet sur tous les passes du compilateur, puis consolide les résultats.