worktree-lifecycle SKILL.md skillA

worktree-lifecycle from nanosite-ai/nanoflow is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nanosite-ai/nanoflow/worktree-lifecycle@git:20261012.79d0bdb

Pins git:20261012.79d0bdb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nanosite-ai/nanoflow
Path
skills/worktree-lifecycle/SKILL.md
Versions recorded
3
Latest version
git:20261012.79d0bdb, committed Oct 12, 2026
First version recorded
Oct 7, 2026
Size
3,814 bytes
Repository stars
14
License
MIT

Run every task as ticket → its own git worktree + branch on its own ports → PR → merge → teardown, with nanoflow. Use when starting, continuing, opening a PR for, or finishing any code task in a repo that has .claude/nanoflow.json or the nanoflow CLI.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Worktree lifecycle

Every task gets **its own ticket, git worktree, branch and PR**. The main checkout stays on the main branch,
so several tasks (and several agent sessions) can run side by side, each on its own ports, sharing one
database and one set of secrets. `nanoflow` (alias `nf`) does each step as one command, so you never
hand-roll a `gh`/`git` sequence.

## 1. Kick off: before reading or editing code

```bash
nf task start <issue#>                 # claim an existing issue
nf task start --new "<plain title>"    # or create it first (--type bug, --definition "…")
nf task start ED-712 --type fix        # tickets in Jira (ticket.tracker: "jira"; once: install acli, nf jira login)
```

One command: issue → board **In progress** → worktree `../<repo>-<ticket>-<slug>` on branch
`feat/<ticket>-<slug>`, on the next free port slot → session + terminal title `#<ticket> · <branch> · <short>`
→ an opening comment on the issue. Then `cd` into the printed worktree and do **all** the work there.

Never edit in the main checkout, and never commit to the main branch.

## 2. Work

| Need | Command |
|---|---|
| This worktree's ports and URLs | `nf env` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nanosite-ai/nanoflow/worktree-lifecycle@sha256:7a9d524214d2109c

The line at the top of this page pins the label git:20261012.79d0bdb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bzoiqrl66plpnyka.svg)](https://markdownregistry.com/a/art_bzoiqrl66plpnyka)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Oct 7, 2026 and Oct 12, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261012.79d0bdb latest2026-10-12 79d0bdb 3,814 BA view · diff
git:20261011.38b5aac2026-10-11 38b5aac 3,634 BA view · diff
git:20261007.050f6df2026-10-07 050f6df 3,517 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3814 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nanosite-ai/nanoflow · 14 stars · license MIT · pushed 2026-10-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bzoiqrl66plpnyka
GET https://markdownregistry.com/api/v1/resolve?ref=nanosite-ai/nanoflow/worktree-lifecycle
GET https://markdownregistry.com/api/v1/blob/7a9d524214d2109c6c5c0c30e15dc8c5c1bb103d62d253368ed2498c2ea71185

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nanosite-ai/nanoflow

fix-bug SKILL.md skill
nanosite-ai/nanoflow · skills/fix-bug/SKILL.md · Fix a bug by reproducing it with a failing test first, finding the root cause, and watching the same test pass. Use for…
git:20261007.050f6df · audit A · 14 stars
pr-screenshots SKILL.md skill
nanosite-ai/nanoflow · skills/pr-screenshots/SKILL.md · Verify a visual change in a real browser with the Playwright MCP and attach before/after screenshots to its PR. Use…
git:20261007.050f6df · audit A · 14 stars
wrap-up-summary SKILL.md skill
nanosite-ai/nanoflow · skills/wrap-up-summary/SKILL.md · End a task with a short recap and a structured status footer (worktree, branch, PR, ticket, done, local URL, next…
git:20261007.050f6df · audit A · 14 stars

Every file in nanosite-ai/nanoflow

Browse by kind, by grade A, or by owner.