[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CC2DZ97AD0TB8XRB0EYY58":3,"skill-same:01M7CC2DZ97AD0TB8XRB0EYY58":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CC2DZ97AD0TB8XRB0EYY58","aircall-dev-flow",null,"Orchestrates Kento's per-ticket dev loop end-to-end in this session: Jira ticket → create\u002Freuse a git worktree → implement → debug in the browser → commit, push, open the MR → optionally watch the pipeline. Runs autonomously through setup and implementation, then STOPS at a readiness gate before shipping. Use when the user wants to start work on a ticket\u002Ffeature\u002Ffix, \"spin up a worktree and implement\", \"take this from ticket to MR\", or kick off the dev flow. Delegates each step to existing skills — it does not reimplement them. For work that maestro owns or should own, use `aircall-dev-flow-maestro`.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: aircall-dev-flow\ndescription: >\n  Orchestrates Kento's per-ticket dev loop end-to-end in this session: Jira\n  ticket → create\u002Freuse a git worktree → implement → debug in the browser →\n  commit, push, open the MR → optionally watch the pipeline. Runs autonomously\n  through setup and implementation, then STOPS at a readiness gate before\n  shipping. Use when the user wants to start work on a ticket\u002Ffeature\u002Ffix, \"spin\n  up a worktree and implement\", \"take this from ticket to MR\", or kick off the\n  dev flow. Delegates each step to existing skills — it does not reimplement\n  them. For work that maestro owns or should own, use `aircall-dev-flow-maestro`.\n---\n\n# Aircall Dev Flow\n\nOne orchestrator for the whole loop. It is **glue + sequencing**, not new behaviour:\neach step hands off to the dedicated skill\u002Ftool that already does it. Your job is\nto drive the sequence, make the optional-branch decisions, and **respect the gate**.\n\nThis is the plain flow: the worktree and its `.dev-flow.json` manifest are the only\nrecord of the work. If the ticket is tracked as a maestro task, or a virtuoso may be\nlive on it, use [`aircall-dev-flow-maestro`](..\u002Faircall-dev-flow-maestro\u002FSKILL.md)\ninstead — it adds an ownership check before phase 2 and `maestro adopt` after phase 6.\n\n## One MR, one branch - follow-up work never forks\n\nFollow-up work on an MR that already exists happens on **that MR's own branch, in that MR's own worktree**.\nNever cut a new branch, and never open a second MR, for a ticket that already has one.\nA review comment, a red pipeline, a broken test, a missed edge case: each is a commit pushed to the existing branch, which updates the open MR automatically.\nThe in-flight check at the top of phase 2 is what enforces this: run it before creating anything.\n\n## Autonomy contract — \"auto until the first gate\"\n\nRun **phases 1–4 autonomously** (ticket → worktree → implement → debug). Do **not**\nask for permission between them. Then **STOP at the gate** (phase 5) and ask the\nuser _\"is it good?\"_ before any commit\u002Fpush\u002FMR. Never cross the gate on your own.\n\n## Flow manifest (state — write at every phase)\n\nEach worktree carries a `.dev-flow.json` manifest so the flow is **resumable** (after\n`\u002Fclear`\u002F`\u002Fresume`), **visible across parallel sessions**, and feeds the merge-train.\nUpdate it with the bundled helper after every phase transition — never hand-write the JSON:\n\n```bash\nscripts\u002Fdev-flow-set.py phase=implementing\nscripts\u002Fdev-flow-set.py ticket.key=CI-5814 ticket.epic=csat ticket.storyPoints=3\nscripts\u002Fdev-flow-set.py slug=CI-5814-friendlypopup branch=react-doctor\u002FCI-5814-friendlypopup repo=aircall\u002Fdashboard-extensions\u002Fconversation-center-ext\nscripts\u002Fdev-flow-set.py gate.approved=true gate.verdict=\"ship it\"\nscripts\u002Fdev-flow-set.py mr.id=1070 mr.url=\u003CMR_URL>\nscripts\u002Fdev-flow-set.py pipeline.status=failed\n```\n\n`phase` vocabulary (in order): `scoped → worktree → implementing → debugging → gated → approved → shipped → watching → done`.\n\n**On resume:** if `.dev-flow.json` exists in the worktree, read it first and continue from `phase` instead of restarting. The board view across all worktrees\u002Frepos:\n\n```bash\nscripts\u002Fdev-flow-status.py            # set DEV_FLOW_ROOTS to scan all repos (aliased to `dfs`)\nscripts\u002Fdev-flow-status.py --ready    # gate-approved + green MR URLs (one per line, pipeable)\nscripts\u002Fdev-flow-status.py --merge    # same set, printed as a ready-to-run merge-train instruction\n```\n\n> Keep `.dev-flow.json` out of commits (it's local state) — add it to the repo's `.git\u002Finfo\u002Fexclude` or your global gitignore.\n\n## Phases\n\n**After each phase below, record it in the manifest** with `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py` (the field to set is noted per phase).\n\n### 1. Ticket (mandatory by default — explicit opt-out only)\n\n- If the user provides a Jira key\u002FURL: read it with the `jira` skill (`jira issue view \u003CKEY>`) to scope the work.\n- If the user explicitly says “no ticket”, skip ticket creation.\n- Otherwise, create a Jira ticket **before creating a branch, worktree, manifest, or source change**. Never infer “no ticket” merely because the user did not provide a Jira key.\n- Requests such as `fe-maintenance, size 1, fix` are ticket metadata, not permission to skip ticket creation:\n  1. `fe-maintenance` → resolve the relevant epic\u002Fcategory\u002Flabel using Jira conventions.\n  2. `size 1` → story points `1`.\n  3. `fix` → fix\u002Fbug classification reflected in the summary and issue description.\n- If the epic cannot be resolved uniquely, ask before implementation. Do not begin worktree creation until the ticket is scoped.\n- **Phase-order invariant:** phase 1 MUST complete and the Jira ticket MUST be created and verified before phase 2 starts. The agent MUST NOT create a branch, worktree, manifest, or source change before then.\n- If they want a _new_ ticket, create it and **always set these four fields** (Kento specifies them every time):\n  1. **Sprint** — the **current\u002Factive** sprint (project `CI`, board `4795`). ⚠️ The `jira` CLI **cannot** assign sprints here: it's configured for board `1260`, whose sprint endpoint 404s, so every `jira sprint list` variant fails. Get the active sprint from the REST agile API and create the issue via REST — see below.\n  2. **Assignee** — **Kento Monthubert** (account id `61623175d9820f0070f2d020`; or `jira me`). Always self-assigned.\n  3. **Epic** — link it to the **relevant epic** (e.g. csat, scorecard-template). Ask which if not obvious.\n  4. **Story points** — always set them; ask for the estimate if the user didn't give one.\n- Two disciplines, every time:\n  - **Dedup first** — check the epic for an existing ticket before creating, so you don't duplicate.\n  - **Batch gate** — when creating several, create **one** first, then **wait for the user's \"go\"** before the rest.\n- Capture the ticket key — it names the branch and seeds the MR title.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=scoped ticket.key=\u003CKEY> ticket.epic=\u003CEPIC> ticket.storyPoints=\u003CN>`\n\n**Verify the surface that ships, not a rehearsal of it.** A playground or storybook page\nthat renders the component directly does not exercise the branch a real page takes to get\nthere - the CI-6569 fix was \"proved\" that way twice and rejected twice. Reach the actual\nroute, and work out up front what data or filters make the change visible: real data often\nhas none of the rows you need, and finding the query string that produces them\n(`?user=\u003Cid>`, a filter combination, a seeded fixture) is part of the debugging, not a\ndetail to discover after claiming the gate.\n\n> **`dev-flow-set` is not a command.** It is a script at `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py`,\n> on nobody's PATH, under no shorter name. Write the path in full every time - phase 2 makes the\n> WORKTREE the working directory, so a relative or skill-relative path resolves next to the worktree\n> and every manifest write fails. And if you ever ask another agent to record a phase, give it that\n> path: a dispatched virtuoso is sandboxed, cannot see this skill, and cannot resolve \"the shared\n> dev-flow-set helper\" - one spent four minutes globbing two home roots for it and then hand-wrote\n> the JSON this skill forbids hand-writing.\n\n> **Creating the ticket (REST recipe — the CLI can't do sprints):** token is in the `$JIRA_API_TOKEN` env var (not the keychain).\n> Auth for ALL THREE steps below is `-u \"$(jira me):$JIRA_API_TOKEN\"` — the email comes from `jira me`,\n> **not** from `$USER_EMAIL`, which is unset in most\n> shells here (`jira me` is a local config read, ~20ms, so calling it per curl costs nothing).\n> Basic auth with an empty username returns `401`, which reads exactly like an expired\n> token: that misdiagnosis stopped a ticket being created and reported \"refresh your token\" to the\n> user, when the token was fine (maestro docs\u002Fpostmortem-ci-6569-user-column.md).\n> 1. Active sprint: `curl -u \"$(jira me):$JIRA_API_TOKEN\" \"https:\u002F\u002Faircall-product.atlassian.net\u002Frest\u002Fagile\u002F1.0\u002Fboard\u002F4795\u002Fsprint?state=active\"` → sprint id (e.g. `21043`).\n> 2. `POST https:\u002F\u002Faircall-product.atlassian.net\u002Frest\u002Fapi\u002F2\u002Fissue` with `fields`: `project.key=\"CI\"`, `issuetype.id=\"10002\"` (Task), `assignee.id=\"61623175d9820f0070f2d020\"`, `customfield_10014`=epic key (Epic Link), `customfield_10020`=sprint id (int), `customfield_10028`=story points (the CI create-screen field, **not** `customfield_10016`), `description` in wiki markup (`h2.`, `{{code}}`).\n> 3. Verify: `GET \u002Frest\u002Fapi\u002F2\u002Fissue\u002F\u003CKEY>?fields=summary,assignee,customfield_10014,customfield_10020,customfield_10028,status`.\n> 4. Dedup first: `jira issue list -q \"project = CI AND summary ~ '\u003Cterm>'\"`. The `jira` CLI is still fine for **reading** (`jira issue view \u003CKEY>`), just not for sprint-assigned creation.\n\n### 2. Worktree (create or reuse)\n\n**First, ask whether this ticket is already in flight - before creating anything.**\n\n```bash\nscripts\u002Fdev-flow-status.py | grep -i \u003CTICKET>   # any worktree already carrying a manifest\ngit worktree list | grep -i \u003CTICKET>            # any worktree on this repo\nglab mr list --search \u003CTICKET>                  # any MR already open for it\n```\n\nA hit in any of the three means the work already has a branch, a worktree and possibly an MR.\nIn that case **do not create a worktree and do not cut a branch**: `cd` into the existing\nworktree, read its `.dev-flow.json`, and continue from the `phase` recorded there.\nPushing to that branch updates the open MR automatically, which is the whole point.\n\nOnly when all three come back empty do you continue below.\n\nThen prefer, in this order:\n\n1. **A repo-local worktree-setup skill\u002Fscript** if the repo has one (look for a skill named like `\u003Crepo>-worktree`, a `scripts\u002Fworktree*`\u002F`scripts\u002Fnew-worktree*`\u002F`bin\u002Fwt*`, or a `Makefile`\u002F`package.json` setup target). Use it — it handles env\u002Finstall bootstrapping. **Check for this first, before reaching for native `git worktree add`.**\n2. **Reuse an existing worktree** if one already matches this ticket\u002FMR (check `git worktree list` and `\u003Crepo>\u002F.claude-worktrees\u002F`). Branches follow `\u003Carea>\u002F\u003CTICKET>-\u003Cslug>` (e.g. `react-doctor\u002FCI-5814-friendlypopup-transform`).\n3. **Native worktree** otherwise — create one named for the ticket, **then provision it explicitly** (see the ⚠️ box).\n\n> **⚠️ conversation-center-ext (dashboard-extensions\u002Fconversation-center-ext) — always provision, never bare.**\n> This repo carries `scripts\u002Fnew-worktree.sh` and `scripts\u002Fsetup-worktree.sh`. Provisioning copies gitignored-but-required files that `git worktree add` does **not** bring: `.env.local` (+ a unique `PORT`), `.claude\u002Fsettings.local.json`, a `node_modules` symlink (or background `pnpm install` when lockfiles differ), and `src\u002Fgraphql-env.d.ts` (gql-tada output — without it tsc\u002Fbiome emit a flood of false `never` errors).\n> - **Create via the script:** `scripts\u002Fnew-worktree.sh \u003Cname> [branch] [base]` (lands under `.claude\u002Fworktrees\u002F\u003Cname>` and auto-provisions).\n> - **If a worktree was created any other way** — bare `git worktree add` or the Agent tool's `isolation: worktree` — run the provisioner on it explicitly, idempotently: `bash \u003Crepo>\u002Fscripts\u002Fsetup-worktree.sh \u003Cworktree-path>`.\n> - **Why you can't rely on the hook:** `setup-worktree.sh` is wired as a PostToolUse hook in the *repo's* `.claude\u002Fsettings.json`. It only fires for sessions whose project root **is** that repo. From any out-of-repo session the hook never loads — so provisioning must be run by hand. Symptom of skipping it: missing `.env.local`, or a wall of GraphQL `never`-type errors.\n\nThen make that worktree the working directory for everything below — and write the manifest **there** (`--file \u003Cworktree>\u002F.dev-flow.json`, the default once you `cd` in).\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=worktree slug=\u003CSLUG> branch=\u003CBRANCH> repo=\u003Cowner\u002Frepo>`\n\n### 3. Implement\n\nDo the actual work in the worktree. Read the ticket + any linked spec; if there's\nan MR already, read **Cursor's bot comments** and the failing checks. This is normal\nagent work — no sub-skill.\n\n- **Targeted validation only:** Never run workspace-wide lint\u002Ftypecheck during development (`pnpm biome check .\u002Fsrc` and full `ts:check` are prohibited). Run `biome check \u003Cchanged-file>` and `jest \u003Ctarget-test-file>` strictly on modified files. Full-workspace checks belong to CI.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=implementing`\n### 4. Debug (when UI verification is needed)\n\n**Start the dev server with `portless`** — never a bare port. The proxy runs as a\nservice (already `portless service install`-ed), so there's nothing to start first.\nFrom the worktree, run the repo's dev script through the proxy: portless gives each\nworktree a **stable `.localhost` URL** (the branch name becomes a subdomain, so\nparallel tickets never collide on ports or cookies).\n\n```bash\nportless run                   # runs the repo's `dev` script through the proxy — run it in the background (long-lived)\nURL=$(portless get \u003Cproject>)  # -> https:\u002F\u002F\u003Cbranch>.\u003Cproject>.localhost (worktree prefix auto-applied)\n```\n\n`\u003Cproject>` is portless's inferred name (the `package.json` name \u002F repo dir); if\nunsure, `portless list` shows the active route. Wait until it's actually serving,\nthen hand `$URL` to the **`agent-browser-aircall-local`** skill (it auto-authenticates;\nalways `--session aircall-local`) to load it, snapshot, and verify the change\nrenders\u002Fbehaves correctly. Iterate against it until the behaviour is right.\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=debugging`\n\n### 5. ⛔ GATE — \"is it good?\"\n\n**STOP.** Summarise what changed and what you verified, then ask the user to confirm\nbefore shipping. Do not commit, push, or open an MR until they say go.\n\n- → manifest, on reaching the gate: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=gated`\n- → manifest, once the user says go: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=approved gate.approved=true gate.verdict=\"\u003Ctheir words>\"`\n\n### 6. Ship (only after the gate clears)\n\n- Commit and push the branch.\n- Open the MR via the **`gitlab-create-merge-request`** skill (first commit message\n  becomes the title, targets `main`, `--fill -y`). Reference the ticket key.\n- **Record the MR in the manifest immediately.** Here the manifest is the *only* record\n  that links this ticket to its branch, worktree and MR: leave `mr.url` unset and the\n  next session has nothing to find, and the in-flight check in phase 2 will happily let\n  it cut a second branch for work that already has one.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=shipped mr.id=\u003CID> mr.url=\u003CMR_URL>`\n\n### 7. Watch the pipeline (optional — only if the user asks to \"spy on the pipeline\")\n\nRun the bundled poller against the MR's branch:\n\n```bash\nscripts\u002Fwatch-pipeline.sh            # current branch\nscripts\u002Fwatch-pipeline.sh -b \u003Cbranch> -R \u003Cowner\u002Frepo>\n```\n\nIt polls `glab ci get` until the pipeline reaches a terminal state and prints\nfailing jobs if it fails. See [scripts\u002Fwatch-pipeline.sh](scripts\u002Fwatch-pipeline.sh).\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=watching`, then record the terminal result —\n  `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py pipeline.status=success phase=done` (or `pipeline.status=failed`, looping back to phase 3).\n\n### 8. Merge (handoff — only when the user asks to merge the ready batch)\n\nWhen the user says \"merge the ready ones\" (or similar): run `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-status.py --ready`\nto collect the gate-approved + green MR URLs, then **invoke the `aircall-merge-train`\nskill** on exactly those URLs. As each MR merges, mark it `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=done`\nin its worktree. Never reimplement merging here — `--merge` only emits the handoff;\n`aircall-merge-train` (supervised, human-gated) does the actual work.\n\n> Two entry points, same handoff: the **script** `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-status.py --merge` just\n> _prints_ the prompt (for the in-session skill path and for piping). The **`dfs` fish\n> wrapper**, when run interactively (`dfs --merge` in a real terminal), instead\n> _launches a supervised `claude` session_ seeded with that prompt — so you watch it\n> drive the train and answer the gates. It deliberately does **not** use `claude -p`\n> (headless), since merge-train is human-gated and merges to `main`. Piped\u002Fnon-tty\n> `dfs --merge` falls back to printing. Launcher is overridable via `DEV_FLOW_CLAUDE`.\n\n## Notes\n\n- This skill **delegates** — never reinvent ticket\u002FMR\u002Fbrowser steps; call the skills above.\n- Bundled code is only glue: `dev-flow-set.py` \u002F `dev-flow-status.py` (manifest) and `watch-pipeline.sh`. Everything else is native worktree, `jira`, `agent-browser-aircall-local`, and `gitlab-create-merge-request`. These three scripts are shared with `aircall-dev-flow-maestro`, which references them from here rather than carrying its own copies — so a change to the manifest format lands in both flows at once.\n- `.dev-flow.json` is the whole record here, which is why every phase writes it. `aircall-dev-flow-maestro` additionally keeps a maestro task record, so the branch\u002Fworktree\u002FMR stays addressable by any later session; if you find yourself wanting that, you picked the wrong skill.\n- For merging the approved MR afterwards, hand off to the `aircall-merge-train` skill.\n","# Aircall Dev Flow\n\nOne orchestrator for the whole loop. It is **glue + sequencing**, not new behaviour:\neach step hands off to the dedicated skill\u002Ftool that already does it. Your job is\nto drive the sequence, make the optional-branch decisions, and **respect the gate**.\n\nThis is the plain flow: the worktree and its `.dev-flow.json` manifest are the only\nrecord of the work. If the ticket is tracked as a maestro task, or a virtuoso may be\nlive on it, use [`aircall-dev-flow-maestro`](..\u002Faircall-dev-flow-maestro\u002FSKILL.md)\ninstead — it adds an ownership check before phase 2 and `maestro adopt` after phase 6.\n\n## One MR, one branch - follow-up work never forks\n\nFollow-up work on an MR that already exists happens on **that MR's own branch, in that MR's own worktree**.\nNever cut a new branch, and never open a second MR, for a ticket that already has one.\nA review comment, a red pipeline, a broken test, a missed edge case: each is a commit pushed to the existing branch, which updates the open MR automatically.\nThe in-flight check at the top of phase 2 is what enforces this: run it before creating anything.\n\n## Autonomy contract — \"auto until the first gate\"\n\nRun **phases 1–4 autonomously** (ticket → worktree → implement → debug). Do **not**\nask for permission between them. Then **STOP at the gate** (phase 5) and ask the\nuser _\"is it good?\"_ before any commit\u002Fpush\u002FMR. Never cross the gate on your own.\n\n## Flow manifest (state — write at every phase)\n\nEach worktree carries a `.dev-flow.json` manifest so the flow is **resumable** (after\n`\u002Fclear`\u002F`\u002Fresume`), **visible across parallel sessions**, and feeds the merge-train.\nUpdate it with the bundled helper after every phase transition — never hand-write the JSON:\n\n```bash\nscripts\u002Fdev-flow-set.py phase=implementing\nscripts\u002Fdev-flow-set.py ticket.key=CI-5814 ticket.epic=csat ticket.storyPoints=3\nscripts\u002Fdev-flow-set.py slug=CI-5814-friendlypopup branch=react-doctor\u002FCI-5814-friendlypopup repo=aircall\u002Fdashboard-extensions\u002Fconversation-center-ext\nscripts\u002Fdev-flow-set.py gate.approved=true gate.verdict=\"ship it\"\nscripts\u002Fdev-flow-set.py mr.id=1070 mr.url=\u003CMR_URL>\nscripts\u002Fdev-flow-set.py pipeline.status=failed\n```\n\n`phase` vocabulary (in order): `scoped → worktree → implementing → debugging → gated → approved → shipped → watching → done`.\n\n**On resume:** if `.dev-flow.json` exists in the worktree, read it first and continue from `phase` instead of restarting. The board view across all worktrees\u002Frepos:\n\n```bash\nscripts\u002Fdev-flow-status.py            # set DEV_FLOW_ROOTS to scan all repos (aliased to `dfs`)\nscripts\u002Fdev-flow-status.py --ready    # gate-approved + green MR URLs (one per line, pipeable)\nscripts\u002Fdev-flow-status.py --merge    # same set, printed as a ready-to-run merge-train instruction\n```\n\n> Keep `.dev-flow.json` out of commits (it's local state) — add it to the repo's `.git\u002Finfo\u002Fexclude` or your global gitignore.\n\n## Phases\n\n**After each phase below, record it in the manifest** with `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py` (the field to set is noted per phase).\n\n### 1. Ticket (mandatory by default — explicit opt-out only)\n\n- If the user provides a Jira key\u002FURL: read it with the `jira` skill (`jira issue view \u003CKEY>`) to scope the work.\n- If the user explicitly says “no ticket”, skip ticket creation.\n- Otherwise, create a Jira ticket **before creating a branch, worktree, manifest, or source change**. Never infer “no ticket” merely because the user did not provide a Jira key.\n- Requests such as `fe-maintenance, size 1, fix` are ticket metadata, not permission to skip ticket creation:\n  1. `fe-maintenance` → resolve the relevant epic\u002Fcategory\u002Flabel using Jira conventions.\n  2. `size 1` → story points `1`.\n  3. `fix` → fix\u002Fbug classification reflected in the summary and issue description.\n- If the epic cannot be resolved uniquely, ask before implementation. Do not begin worktree creation until the ticket is scoped.\n- **Phase-order invariant:** phase 1 MUST complete and the Jira ticket MUST be created and verified before phase 2 starts. The agent MUST NOT create a branch, worktree, manifest, or source change before then.\n- If they want a _new_ ticket, create it and **always set these four fields** (Kento specifies them every time):\n  1. **Sprint** — the **current\u002Factive** sprint (project `CI`, board `4795`). ⚠️ The `jira` CLI **cannot** assign sprints here: it's configured for board `1260`, whose sprint endpoint 404s, so every `jira sprint list` variant fails. Get the active sprint from the REST agile API and create the issue via REST — see below.\n  2. **Assignee** — **Kento Monthubert** (account id `61623175d9820f0070f2d020`; or `jira me`). Always self-assigned.\n  3. **Epic** — link it to the **relevant epic** (e.g. csat, scorecard-template). Ask which if not obvious.\n  4. **Story points** — always set them; ask for the estimate if the user didn't give one.\n- Two disciplines, every time:\n  - **Dedup first** — check the epic for an existing ticket before creating, so you don't duplicate.\n  - **Batch gate** — when creating several, create **one** first, then **wait for the user's \"go\"** before the rest.\n- Capture the ticket key — it names the branch and seeds the MR title.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=scoped ticket.key=\u003CKEY> ticket.epic=\u003CEPIC> ticket.storyPoints=\u003CN>`\n\n**Verify the surface that ships, not a rehearsal of it.** A playground or storybook page\nthat renders the component directly does not exercise the branch a real page takes to get\nthere - the CI-6569 fix was \"proved\" that way twice and rejected twice. Reach the actual\nroute, and work out up front what data or filters make the change visible: real data often\nhas none of the rows you need, and finding the query string that produces them\n(`?user=\u003Cid>`, a filter combination, a seeded fixture) is part of the debugging, not a\ndetail to discover after claiming the gate.\n\n> **`dev-flow-set` is not a command.** It is a script at `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py`,\n> on nobody's PATH, under no shorter name. Write the path in full every time - phase 2 makes the\n> WORKTREE the working directory, so a relative or skill-relative path resolves next to the worktree\n> and every manifest write fails. And if you ever ask another agent to record a phase, give it that\n> path: a dispatched virtuoso is sandboxed, cannot see this skill, and cannot resolve \"the shared\n> dev-flow-set helper\" - one spent four minutes globbing two home roots for it and then hand-wrote\n> the JSON this skill forbids hand-writing.\n\n> **Creating the ticket (REST recipe — the CLI can't do sprints):** token is in the `$JIRA_API_TOKEN` env var (not the keychain).\n> Auth for ALL THREE steps below is `-u \"$(jira me):$JIRA_API_TOKEN\"` — the email comes from `jira me`,\n> **not** from `$USER_EMAIL`, which is unset in most\n> shells here (`jira me` is a local config read, ~20ms, so calling it per curl costs nothing).\n> Basic auth with an empty username returns `401`, which reads exactly like an expired\n> token: that misdiagnosis stopped a ticket being created and reported \"refresh your token\" to the\n> user, when the token was fine (maestro docs\u002Fpostmortem-ci-6569-user-column.md).\n> 1. Active sprint: `curl -u \"$(jira me):$JIRA_API_TOKEN\" \"https:\u002F\u002Faircall-product.atlassian.net\u002Frest\u002Fagile\u002F1.0\u002Fboard\u002F4795\u002Fsprint?state=active\"` → sprint id (e.g. `21043`).\n> 2. `POST https:\u002F\u002Faircall-product.atlassian.net\u002Frest\u002Fapi\u002F2\u002Fissue` with `fields`: `project.key=\"CI\"`, `issuetype.id=\"10002\"` (Task), `assignee.id=\"61623175d9820f0070f2d020\"`, `customfield_10014`=epic key (Epic Link), `customfield_10020`=sprint id (int), `customfield_10028`=story points (the CI create-screen field, **not** `customfield_10016`), `description` in wiki markup (`h2.`, `{{code}}`).\n> 3. Verify: `GET \u002Frest\u002Fapi\u002F2\u002Fissue\u002F\u003CKEY>?fields=summary,assignee,customfield_10014,customfield_10020,customfield_10028,status`.\n> 4. Dedup first: `jira issue list -q \"project = CI AND summary ~ '\u003Cterm>'\"`. The `jira` CLI is still fine for **reading** (`jira issue view \u003CKEY>`), just not for sprint-assigned creation.\n\n### 2. Worktree (create or reuse)\n\n**First, ask whether this ticket is already in flight - before creating anything.**\n\n```bash\nscripts\u002Fdev-flow-status.py | grep -i \u003CTICKET>   # any worktree already carrying a manifest\ngit worktree list | grep -i \u003CTICKET>            # any worktree on this repo\nglab mr list --search \u003CTICKET>                  # any MR already open for it\n```\n\nA hit in any of the three means the work already has a branch, a worktree and possibly an MR.\nIn that case **do not create a worktree and do not cut a branch**: `cd` into the existing\nworktree, read its `.dev-flow.json`, and continue from the `phase` recorded there.\nPushing to that branch updates the open MR automatically, which is the whole point.\n\nOnly when all three come back empty do you continue below.\n\nThen prefer, in this order:\n\n1. **A repo-local worktree-setup skill\u002Fscript** if the repo has one (look for a skill named like `\u003Crepo>-worktree`, a `scripts\u002Fworktree*`\u002F`scripts\u002Fnew-worktree*`\u002F`bin\u002Fwt*`, or a `Makefile`\u002F`package.json` setup target). Use it — it handles env\u002Finstall bootstrapping. **Check for this first, before reaching for native `git worktree add`.**\n2. **Reuse an existing worktree** if one already matches this ticket\u002FMR (check `git worktree list` and `\u003Crepo>\u002F.claude-worktrees\u002F`). Branches follow `\u003Carea>\u002F\u003CTICKET>-\u003Cslug>` (e.g. `react-doctor\u002FCI-5814-friendlypopup-transform`).\n3. **Native worktree** otherwise — create one named for the ticket, **then provision it explicitly** (see the ⚠️ box).\n\n> **⚠️ conversation-center-ext (dashboard-extensions\u002Fconversation-center-ext) — always provision, never bare.**\n> This repo carries `scripts\u002Fnew-worktree.sh` and `scripts\u002Fsetup-worktree.sh`. Provisioning copies gitignored-but-required files that `git worktree add` does **not** bring: `.env.local` (+ a unique `PORT`), `.claude\u002Fsettings.local.json`, a `node_modules` symlink (or background `pnpm install` when lockfiles differ), and `src\u002Fgraphql-env.d.ts` (gql-tada output — without it tsc\u002Fbiome emit a flood of false `never` errors).\n> - **Create via the script:** `scripts\u002Fnew-worktree.sh \u003Cname> [branch] [base]` (lands under `.claude\u002Fworktrees\u002F\u003Cname>` and auto-provisions).\n> - **If a worktree was created any other way** — bare `git worktree add` or the Agent tool's `isolation: worktree` — run the provisioner on it explicitly, idempotently: `bash \u003Crepo>\u002Fscripts\u002Fsetup-worktree.sh \u003Cworktree-path>`.\n> - **Why you can't rely on the hook:** `setup-worktree.sh` is wired as a PostToolUse hook in the *repo's* `.claude\u002Fsettings.json`. It only fires for sessions whose project root **is** that repo. From any out-of-repo session the hook never loads — so provisioning must be run by hand. Symptom of skipping it: missing `.env.local`, or a wall of GraphQL `never`-type errors.\n\nThen make that worktree the working directory for everything below — and write the manifest **there** (`--file \u003Cworktree>\u002F.dev-flow.json`, the default once you `cd` in).\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=worktree slug=\u003CSLUG> branch=\u003CBRANCH> repo=\u003Cowner\u002Frepo>`\n\n### 3. Implement\n\nDo the actual work in the worktree. Read the ticket + any linked spec; if there's\nan MR already, read **Cursor's bot comments** and the failing checks. This is normal\nagent work — no sub-skill.\n\n- **Targeted validation only:** Never run workspace-wide lint\u002Ftypecheck during development (`pnpm biome check .\u002Fsrc` and full `ts:check` are prohibited). Run `biome check \u003Cchanged-file>` and `jest \u003Ctarget-test-file>` strictly on modified files. Full-workspace checks belong to CI.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=implementing`\n### 4. Debug (when UI verification is needed)\n\n**Start the dev server with `portless`** — never a bare port. The proxy runs as a\nservice (already `portless service install`-ed), so there's nothing to start first.\nFrom the worktree, run the repo's dev script through the proxy: portless gives each\nworktree a **stable `.localhost` URL** (the branch name becomes a subdomain, so\nparallel tickets never collide on ports or cookies).\n\n```bash\nportless run                   # runs the repo's `dev` script through the proxy — run it in the background (long-lived)\nURL=$(portless get \u003Cproject>)  # -> https:\u002F\u002F\u003Cbranch>.\u003Cproject>.localhost (worktree prefix auto-applied)\n```\n\n`\u003Cproject>` is portless's inferred name (the `package.json` name \u002F repo dir); if\nunsure, `portless list` shows the active route. Wait until it's actually serving,\nthen hand `$URL` to the **`agent-browser-aircall-local`** skill (it auto-authenticates;\nalways `--session aircall-local`) to load it, snapshot, and verify the change\nrenders\u002Fbehaves correctly. Iterate against it until the behaviour is right.\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=debugging`\n\n### 5. ⛔ GATE — \"is it good?\"\n\n**STOP.** Summarise what changed and what you verified, then ask the user to confirm\nbefore shipping. Do not commit, push, or open an MR until they say go.\n\n- → manifest, on reaching the gate: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=gated`\n- → manifest, once the user says go: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=approved gate.approved=true gate.verdict=\"\u003Ctheir words>\"`\n\n### 6. Ship (only after the gate clears)\n\n- Commit and push the branch.\n- Open the MR via the **`gitlab-create-merge-request`** skill (first commit message\n  becomes the title, targets `main`, `--fill -y`). Reference the ticket key.\n- **Record the MR in the manifest immediately.** Here the manifest is the *only* record\n  that links this ticket to its branch, worktree and MR: leave `mr.url` unset and the\n  next session has nothing to find, and the in-flight check in phase 2 will happily let\n  it cut a second branch for work that already has one.\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=shipped mr.id=\u003CID> mr.url=\u003CMR_URL>`\n\n### 7. Watch the pipeline (optional — only if the user asks to \"spy on the pipeline\")\n\nRun the bundled poller against the MR's branch:\n\n```bash\nscripts\u002Fwatch-pipeline.sh            # current branch\nscripts\u002Fwatch-pipeline.sh -b \u003Cbranch> -R \u003Cowner\u002Frepo>\n```\n\nIt polls `glab ci get` until the pipeline reaches a terminal state and prints\nfailing jobs if it fails. See [scripts\u002Fwatch-pipeline.sh](scripts\u002Fwatch-pipeline.sh).\n\n- → manifest: `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=watching`, then record the terminal result —\n  `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py pipeline.status=success phase=done` (or `pipeline.status=failed`, looping back to phase 3).\n\n### 8. Merge (handoff — only when the user asks to merge the ready batch)\n\nWhen the user says \"merge the ready ones\" (or similar): run `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-status.py --ready`\nto collect the gate-approved + green MR URLs, then **invoke the `aircall-merge-train`\nskill** on exactly those URLs. As each MR merges, mark it `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py phase=done`\nin its worktree. Never reimplement merging here — `--merge` only emits the handoff;\n`aircall-merge-train` (supervised, human-gated) does the actual work.\n\n> Two entry points, same handoff: the **script** `~\u002F.agents\u002Fskills\u002Faircall-dev-flow\u002Fscripts\u002Fdev-flow-status.py --merge` just\n> _prints_ the prompt (for the in-session skill path and for piping). The **`dfs` fish\n> wrapper**, when run interactively (`dfs --merge` in a real terminal), instead\n> _launches a supervised `claude` session_ seeded with that prompt — so you watch it\n> drive the train and answer the gates. It deliberately does **not** use `claude -p`\n> (headless), since merge-train is human-gated and merges to `main`. Piped\u002Fnon-tty\n> `dfs --merge` falls back to printing. Launcher is overridable via `DEV_FLOW_CLAUDE`.\n\n## Notes\n\n- This skill **delegates** — never reinvent ticket\u002FMR\u002Fbrowser steps; call the skills above.\n- Bundled code is only glue: `dev-flow-set.py` \u002F `dev-flow-status.py` (manifest) and `watch-pipeline.sh`. Everything else is native worktree, `jira`, `agent-browser-aircall-local`, and `gitlab-create-merge-request`. These three scripts are shared with `aircall-dev-flow-maestro`, which references them from here rather than carrying its own copies — so a change to the manifest format lands in both flows at once.\n- `.dev-flow.json` is the whole record here, which is why every phase writes it. `aircall-dev-flow-maestro` additionally keeps a maestro task record, so the branch\u002Fworktree\u002FMR stays addressable by any later session; if you find yourself wanting that, you picked the wrong skill.\n- For merging the approved MR afterwards, hand off to the `aircall-merge-train` skill.\n",{"name":5,"description":7},"main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add shenyimings\u002Fskillet --skill aircall-dev-flow",{"tool":38,"command":39},"bunx","bunx skills add shenyimings\u002Fskillet --skill aircall-dev-flow",{"tool":41,"command":42},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill aircall-dev-flow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"scripts\u002Fdev-flow-set.py","SCRIPT","脚本",2518,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow\u002Fscripts\u002Fdev-flow-set.py",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"scripts\u002Fdev-flow-status.py",8296,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow\u002Fscripts\u002Fdev-flow-status.py",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fwatch-pipeline.sh",2696,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fdev\u002Fsuspicious\u002Fkentoje__dotfiles__.agents__skills__aircall-dev-flow\u002Fscripts\u002Fwatch-pipeline.sh",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]