Skip to content
Skills Library
Programming · Automation

lab-update

/lab-update

Update a byolab lab to a newer release without touching the owner's work. Use when the owner asks to update, upgrade, pull the latest byolab, or asks what changed in a new version.

Repository
byolab ↗
Licence
MIT
Last repository change
01.11.2026

Assessment and security

96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content31 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Update a byolab lab to a newer release without touching the owner's work. Use when the owner asks to update, upgrade, pull the latest byolab, or asks what changed in a new version.

Original author description

Update a byolab lab to a newer release without touching the owner's work. Use when the owner asks to update, upgrade, pull the latest byolab, or asks what changed in a new version.

How it works

SKILL.md has no level-two headings · 55 lines, 507 words

SKILL.md preview
---
name: lab-update
description: Update a byolab lab to a newer release without touching the owner's work. Use when the owner asks to update, upgrade, pull the latest byolab, or asks what changed in a new version.
---

# Updating

<context>

A lab starts as a copy of byolab and becomes the owner's own, so an update is a patch, not a reinstall. Releases are git tags (`v0.1.0`, `v0.2.0`) on `https://github.com/jal-co/byolab`. `CHANGELOG.md` lists every change and marks it **Automatic**, **Action**, or **Optional**. The owner's current version is `version` in `package.json`.

</context>

<rules>

Never overwrite the owner's files. These are theirs, and an update MUST NOT change them unless a changelog **Action** says exactly how and the owner agrees:

- `TASTE.md`, `GRID.md`, `LEDGER.md`
- `src/specimens/*/`, `src/drafts/*/`, `src/films/*/`
- `src/index.css` (their theme)
- anything they have edited in `src/components/ui/` or `.agents/skills/`

Everything else (`scripts/`, `src/film/`, `src/lab/`, `src/anatomy/`, `vite/`, and the registry files `src/specimens/index.ts`, `src/specimens/kinds.ts`, `src/films/index.ts`) is the engine and comes from upstream.

</rules>

<workflow>

1. **Check the tree is clean** with `git status --porcelain`. If it isn't, ask the owner to commit or stash first, because a patch on top of uncommitted work is hard to undo.
2. **Fetch releases:**
   ```bash
   git remote get-url byolab 2>/dev/null || git remote add byolab https://github.com/jal-co/byolab.git
   git fetch byolab --tags --force
   git tag -l 'v*' --sort=-v:refname | head -5
   ```
   `FROM` is `v` plus `version` in `package.json`. `TO` is the newest tag, or the one the owner named. If they're equal, say they're up to date and stop.
3. **Read what changed:** `git show $TO:CHANGELOG.md`, from the `FROM` entry up to `TO`. Summarize it for the owner in a few lines, listing every **Action** and **Optional** item, and ask before applying. Updating is their call.
4. **Branch:** `git switch -c update/$TO`.
5. **Apply engine changes** as a three-way patch, which works whether the lab was cloned or made from the GitHub template:
   ```bash
   git diff $FROM $TO -- . \
     ':(exclude)TASTE.md' ':(exclude)GRID.md' ':(exclude)LEDGER.md' \
     ':(exclude)CHANGELOG.md' ':(exclude)README.md' ':(exclude)src/index.css' \
     ':(exclude,glob)src/specimens/*/**' ':(exclude,glob)src/drafts/*/**' ':(exclude,glob)src/films/*/**' \
     ':(exclude,glob)docs/**' ':(exclude,glob).agents/skills/**' \
     ':(exclude)package.json' ':(exclude)pnpm-lock.yaml' \
     | git apply --3way
   ```
   Files that conflict are left with `<<<<<<< ours` / `>>>>>>> theirs` markers; `git diff --name-only --diff-filter=U` lists them.
   Then copy `CHANGELOG.md`, `README.md`, and `docs/` from `$TO` with `git checkout $TO -- CHANGELOG.md README.md docs`.
6. **Dependencies:** compare `git show $FROM:package.json` with `git show $TO:package.json`. Apply only the dependency and script changes, keep the owner's own additions, set `version` to the new number, then `pnpm install`.
7. **Skills:** for each `.agents/skills/*` that changed upstream, check whether the owner edited it (`git diff $FROM -- <path>`). If they didn't, take the new one with `git checkout $TO -- <path>`. If they did, show both and ask.
8. **Resolve conflicts** from step 5 by keeping the owner's intent and upstream's fix, and tell them about each one.
9. **Do the Action items** the owner agreed to, one at a time, checking each against their own specimens and films.
10. **Verify:** `pnpm typecheck`, `pnpm lint`, `pnpm build`, `pnpm lab grid` and `pnpm lab check` on one kept specimen and its film, then open the lab and look at it.
11. **Hand over:** commit on the `update/$TO` branch, list what changed and anything that needs their eyes, and let them merge it.

</workflow>

Versions

The database has no other skills named lab-update.

Database snapshot: 13.11.2026 · package version ed45f72a4a81 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 86lab-start
    Show a new owner around their byolab lab and get them to their first judged component. Use when someone asks "what do I do", "how does this work", "help", "get me started", or opens the lab for the first time.
  • 96lab-ideas
    Propose new component ideas for a byolab design lab, weighted by the owner's past keeps and tosses, then build the one they pick. Use for "give me ideas", "what should I make", or a daily generation run.
  • 100upgrade
    Pull a newer version of the tateru workflow into a project that was cloned from it, without touching the project's own plan, state, or code. Use when the user asks to upgrade or update tateru, get the latest commands or hooks, pull workflow fixes from upstream, or asks "is my…
  • 100update-kit
    Update the kit's own files to the latest release without touching the creator's files. Use when the creator says "update the kit", "get the latest version", "is there a new version", "check for updates", "upgrade the kit" or "apply the update".
  • 100upgrade-microbus
    TRIGGER when the user asks to upgrade the project to a newer or the latest version of Microbus, or to update the framework. Each Microbus release ships this one self-contained skill; it applies that release's single-version migration, then chains to the next release's copy of…
  • 100app-upgrades
    Upgrade a Falcon Foundry app that was installed from a template to a newer version of that template, in place. TRIGGER when user asks to "upgrade an app", "update an app installed from a template", "pull the latest template into my app", "update a sample app installed in my CID…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.