[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DESE6GKX6MYCDF7EWR9HSA":3,"skill-same:01M7DESE6GKX6MYCDF7EWR9HSA":63},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M7DESE6GKX6MYCDF7EWR9HSA","resolve-conflicts",null,"Use when resolving jj conflicts after rebase, squash, or merge — handles conflict markers, mergiraf automation, and file-by-file manual resolution, in place with `jj resolve -r` or in an isolated workspace","kejadlen\u002Fdotfiles","kejadlen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8639?v=4","01M7DEPV4SN2WBW50SBF2KG7D1","Alpha Chen","01M7DEPV5FBX0YWCBKEVHKT8E2",10,"MIT","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fresolve-conflicts\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: resolve-conflicts\ndescription: Use when resolving jj conflicts after rebase, squash, or merge — handles conflict markers, mergiraf automation, and file-by-file manual resolution, in place with `jj resolve -r` or in an isolated workspace\nargument-hint: [change-id]\nallowed-tools: [Bash(mkdir -p work), Bash(jj workspace add --name=resolve-* -r * work\u002Fresolve-*), Bash(cd work\u002Fresolve-*), Bash(jj status), Bash(jj resolve *), Bash(jj diff *), Bash(jj log *), Bash(jj op log *), Bash(jj op show *), Bash(jj squash *), Bash(jj abandon *), Bash(jj bookmark list), Bash(jj workspace remove resolve-*), Bash(jj workspace update-stale)]\n---\n\n# Resolve Conflicts\n\n`$ARGUMENTS`\n\nThis skill resolves conflicts without disturbing the main workspace's `@` —\nin place with `jj resolve -r` where that suffices (step 1a), otherwise in an\nisolated workspace (step 1b). Invoke the `jj-workspaces`\nskill for the general mechanics referenced below (workspace naming,\n`work\u002F` layout, sync behavior); the steps here are the conflict-specific\napplication of it, using the exact commands `allowed-tools` permits.\n\n## Step 0 — Check where the conflict came from\n\n**\"New conflicts appeared in 1 commits\" doesn't mean the command you just\nran caused them.** A conflict already sitting in the working copy — usually\nfrom a rebase someone ran in another terminal — gets carried into the new\nworking copy commit and reported as new. With a fileset, `jj commit` keeps\nthe named commit clean and leaves the conflict behind in `@`. Check\nprovenance before resolving anything:\n\n```\njj op log --limit 5                                # find the rebase that introduced it\njj op show \u003Cop-id>                                 # commits it marked (conflict)\njj log -r @ -T 'if(conflict, \"CONFLICT\", \"clean\")' # which commits are conflicted now\n```\n\n**A conflict can mean the commit is dead, not that there is a merge to\nmake.** After a `jj git fetch` plus a rebase onto the new trunk, a commit\nwhose work already landed as a squash merge comes back as a live conflicted\ncopy — the tell is two sides differing by a line or two with one of them\nmatching trunk exactly. The usual `jj abandon 'trunk():: & empty() & mine()'`\nsweep misses it whenever a later commit in the same pull request touched the\nsame line, because a cancelling pair leaves neither commit empty relative to\nits own parent. So check the tree, not the diff, before resolving anything:\n\n```\njj diff --from 'trunk()' --to \u003Crev> --stat    # `0 files changed` = trunk already has this tree\n```\n\nRun it over every mutable head rather than only the conflicted one, since one\nrebase produced all the siblings. When it comes back empty the resolution is\n`jj abandon`, and resolving the text instead is worse than slow — taking\neither side leaves the pair reverting each other, which `empty()` still will\nnot sweep. Confirm `jj bookmark list` first: abandoning drops a bookmark\npointing at the commit, and a later bare `jj git push` then tries to delete\nthat branch on the remote.\n\n**Conflicted `(divergent)` commits may be a stale copy of a branch another\nmachine already fixed.** When the other machine rebases and pushes a branch,\n`jj git fetch` brings in its clean commits. The local auto-rebase then\nrewrites the old local copies too, so every change exists twice: `\u002F0` is the\nlocal copy and conflicted, `\u002F1` came from the remote and is clean. The\nbookmark goes conflicted as well. Diff each pair. If the only difference is\nconflict markers, there is nothing to merge:\n\n```\njj diff --from \u003Cchange>\u002F1 --to \u003Cchange>\u002F0 --stat   # markers only = stale copy\njj bookmark set \u003Cbookmark> -r \u003Cbookmark>@origin    # take the remote tip\njj rebase -s mm -o \u003Cother-parent> -o \u003Cbookmark>    # repoint the megamerge\njj abandon \u003Ccommit ids of the \u002F0 copies>           # commit IDs: change IDs are ambiguous\n```\n\nCollect the `\u002F0` commit IDs up front with `jj log --no-graph -r\n'trunk()..\u003Ctip>\u002F0' -T 'commit_id.short() ++ \"\\n\"'`.\n\n## Step 1 — Pick the revision and the mechanism\n\nIf `$ARGUMENTS` contains a change ID, use it as the conflicted revision.\nOtherwise run `jj status` in the main workspace and use `@-` if it has\nconflicts; stop and ask the user for a change ID if it doesn't.\n\n**Anchor on the oldest conflicted commit, not `@-`.** A conflict inherited\nthrough ancestry shows up in every descendant, so `@-` is usually a symptom\nrather than the source. `jj status`'s hint points at a root (\"start by\ncreating a commit on top of the first conflicted commit\"), but it\n**under-reports when there is more than one** — it can name two while a third\ncommit holds conflicts no ancestor produced. Treat it as a starting point, not\nthe set. The discriminating check is to run `jj resolve --list -r \u003Crev>` over\nevery revision `jj log -r 'conflicts()'` lists, and compare: a commit whose\npaths are absent from its parent is its own root. Miss one and the resolution\nlooks like it is working — descendants clear, the count drops — and then the\nmegamerge keeps reporting conflicts you cannot trace. Fix the root and jj rebases the rest —\nstep 4's squash then reports `Existing conflicts were resolved or abandoned\nfrom N commits`. Resolving at `@-` instead leaves every ancestor conflicted.\n\n**When the conflict is in `@` itself, skip to step 3 and resolve in\nplace.** A rebase run while the working copy holds uncommitted work leaves\nthe conflict in `@`, not in a commit. `jj workspace add -r @` can't check\nout a revision that's already checked out, and the isolation buys nothing\nbecause there is no other `@` to protect. Edit the files directly and drop\nthe `-r @-` from every `jj resolve` in the steps below.\n\n**Try `jj resolve -r \u003Crev>` before adding a workspace.** It rewrites the\nnamed revision and rebases descendants in place, so `@` never moves — which\nis what a workspace was buying you. That makes it the right default when a\nmegamerge is checked out and `@` must stay put. A workspace only earns its\ncost when resolution needs a real checkout to work in: running the project's\ntooling, or hand-editing several files against a build.\n\nAlways pass `--tool` explicitly. A bare `jj resolve` launches the\ninteractive merge editor, which hangs a non-interactive Bash call.\n\n## Step 1a — Resolve in place with `jj resolve -r`\n\n`--tool :ours` and `--tool :theirs` take side #1 and side #2 whole, and they\nhandle a `2-sided conflict including 1 deletion` that mergiraf can't touch —\none command per file, no checkout:\n\n```\njj resolve -r \u003Crev> --tool :theirs \u003Cpath>    # side #2 wins; removes the file if that side deleted it\n```\n\nRead the sides off the materialized markers first (`jj file show -r \u003Crev>\n\u003Cpath>`) to learn which number is which: the `+++++++ \u003Cchange-id>` labelled\n`(rebased revision)` is your own commit's side.\n\n**\"Whole\" is the trap when the file survives on both sides.** `:ours` and\n`:theirs` replace the file with that side's entire content, so on a path where\nonly one hunk conflicted, a side predating a `jj git fetch` silently reverts\nevery other edit trunk made to it. Reserve them for a file whose intended result\nis \"absent\", and use the `cp` route below for one that survives. The marker names\nside #2's commit, so you can read exactly what `:theirs` would have written —\nstill reachable by commit id after the resolution, since the commit is hidden\nrather than gone:\n\n```\njj file show -r \u003Cside-2-commit-id> \u003Cpath> | diff - \u003Cpath>\n```\n\nWorth running once on any shared file. What it caught here was a repo-wide\n`* @owner` backstop line that side #2 still held at its pre-handover value —\nnothing in the conflict region, and it would have re-owned every path in the\nrepo. Either way, verify the resolution stayed scoped by diffing the fixed\ncommit against its own parent:\n\n```\njj diff --from \u003Cparent-of-rev> --to \u003Crev> --stat\n```\n\nOnly what the commit means to change should appear. Unrelated churn in a shared\nfile means a whole-file take ate someone else's edits — markers being gone does\nnot catch it.\n\n**No merge tool takes a type conflict**, `:ours` and `:theirs` included — a\nside that adds a symlink fails with \"Only conflicts that involve normal files\n(not symlinks, etc.) are supported.\" Recreate the winning side in the working\ncopy per step 3, then land it in the conflicted ancestor with `jj squash --into\n\u003Crev> \u003Cpath>`; the fileset keeps unrelated working-copy edits out, and jj\nrebases the descendants and reports `Existing conflicts were resolved or\nabandoned from N commits`.\n\nThat squash only works when `@`'s parent carries the same conflict as the\ntarget. When `@-` holds a different one at that path — `@` sits below a\nmegamerge or other descendants with their own sides — squashing applies\n`@-`→`@` onto the target and leaves it `3-sided`. `jj undo`, then open a step 1b\nworkspace on the target, recreate the side there, and run a bare `jj squash`.\n\nFor a file needing real merge judgment, resolve it as a temp file and hand\nthat to `cp` as a merge tool — the same in-place rewrite, but with content\nyou wrote:\n\n```\njj file show -r \u003Crev> \u003Cpath> > \u002Ftmp\u002Ffix              # materialized conflict markers\n# edit \u002Ftmp\u002Ffix — remove markers, write the merged content\njj resolve -r \u003Crev> --tool cpfix \\\n  --config 'merge-tools.cpfix.program=cp' \\\n  --config 'merge-tools.cpfix.merge-args=[\"\u002Ftmp\u002Ffix\", \"$output\"]' \\\n  \u003Cpath>\n```\n\nWork root-first: each resolution clears that path from every descendant, and\njj reports `Existing conflicts were resolved or abandoned from N commits`.\nWhen no conflicts remain, skip steps 2–4 entirely — there is nothing to\nsquash, because the revisions were rewritten directly.\n\n**Resolving the root can push a fresh conflict into a downstream\nmegamerge.** A merge commit whose tree recorded the old resolution goes\n`(conflict)` once its parents change, so a clean run at the root can be\nfollowed by `New conflicts appeared in N commits` naming the megamerge. That\nconflict is `3-sided` when the merge has three parents, and **no merge tool\ncan take it** — `:ours`, `:theirs`, and the `cp` trick all fail with \"has 3\nsides. At most 2 sides are supported.\" Resolve it by writing the file in the\nworking copy (the conflict materializes there through ancestry) and then\n`jj squash --into \u003Cmegamerge>`; that clears the megamerge and every\ndescendant without moving `@` off it.\n\nRun a bare `jj restore` first. After a rebase, `@` can hold diffs that only\nrelabel the markers, such as a dropped `(parents of rebased revision)`, and\n`jj st` reports those files as modified. When `@` holds uncommitted work, a\nbare restore discards it too — restore only the conflicted paths instead.\n\nWhen taking one side of a 3-sided materialization, don't splice the\n`+++++++` block in as-is — its region can overlap content that also appears\nafter `>>>>>>>`, so a literal copy duplicates lines. Reconstruct the intended\nfile from `jj file show -r \u003Cparent> \u003Cpath>` for each parent instead.\n\n`cp -p` rather than plain `cp` as the merge-tool program preserves the\nexecutable bit, which matters for any conflict jj labels `including an\nexecutable`.\n\n**Check generated files afterward.** A generated artifact that auto-merged\ncleanly is the classic stale-output trap: the text merged, but the generator\nwould emit something else. Re-run the generator and squash any diff into the\ncommit that owns it — and run it from the main workspace, never from\n`work\u002F`, where repo tooling reading `git ls-files` goes green-but-wrong.\n\n**A file neither side conflicted on can still be broken.** When one branch\ndeletes a data source and another adds code that reads it, the two changes\nnever touch the same lines, so `jj resolve --list` stays silent while the\nreader is left addressing fields that no longer exist. Nothing in the conflict\nmachinery catches this; a test that loads the deleted file is what surfaces it,\nas an unrelated-looking `ENOENT` at import time. Resolving it means writing an\nadapter, not merging text — so find the authority on the surviving shape rather\nthan inventing one. Comments saying a function \"mirrors\" some module name that\nmodule as the authority; read it. Land the fix with `jj squash --into \u003Crev>\n\u003Cpath>` on the commit that caused the break, which is the one that deleted the\nsource, not the one that added the reader.\n\n**Taking the deletion side loses whatever trunk added to the dying file.**\nWhen a branch retires a registry, config, or any single source of truth and\ntrunk kept editing it, `:theirs` is the correct resolution and still drops every\nentry trunk added in the meantime. No marker mentions it. Before taking the\ndeletion, diff the dying file's names against the union of names from every\nsurviving authority:\n\n```\njj file show -r 'trunk()' \u003Cdying-file> | jq -r '.\u003Centries>[].name' | sort > \u002Ftmp\u002Fwas\n# ...and the replacement authority's names, however it is discovered, into \u002Ftmp\u002Fnow\ncomm -23 \u002Ftmp\u002Fwas \u002Ftmp\u002Fnow      # present only in the dying file\n```\n\nEverything that prints is either a deliberate retirement or a silent drop, and\nonly the branch's intent tells them apart. The ones that bite are entries with\nno home in the replacement — a plugin sourced from a whole git repo has no\ndirectory for a directory-discovery scheme to find, so it survives only if\nsomething re-declares it. Land the re-declaration with `jj squash --into \u003Crev>`\non the commit that deleted the file, then re-run any generator that read it.\nAlso diff field-by-field for entries present on both sides with changed values;\nthe name set will not show those.\n\n**Compare against the authority, never against a generated artifact that\nfilters.** The name-set check only means anything when both sides are the full\nset. A generated manifest is often a *subset* by design — one per target\nharness, each carrying only the entries whose `tools`-style field names that\nharness — so diffing the authority against one of them prints every entry the\nfilter legitimately excluded. Sixteen entries read as silently dropped when\nnothing was. Compute the expected set with the same predicate the generator\nuses and compare against that instead:\n\n```\njq -r --arg h claude '.plugins[] | select((.tools \u002F\u002F [\"claude\",\"cursor\"]) | index($h)) | .name'   \u003Cauthority> | sort > \u002Ftmp\u002Fexp\n```\n\nThe default for a missing field is part of the predicate and branches change it,\nso read it off the generator rather than assuming. Run the comparison for every\nartifact the generator writes, not just the one you happen to care about — and\nwhen the tool ships a `validate` subcommand, it already encodes the predicate\ncorrectly, so reach for that first and use the hand-rolled diff to find out\n*which* entries moved.\n\n**Check the files that *didn't* conflict.** When a rebase turns a linear stack\ninto siblings under a merge — `jj rebase --insert-after 'trunk()'` on part of\nthe stack — content that used to arrive from an ancestor now arrives through\nthe merge, and jj unions both sides. Tables, lists, and JSON objects merge\ntextually clean and semantically wrong: two keys added at different offsets\nboth survive, so a rename recorded on one side leaves the old entry alive on\nthe other. `jj resolve --list` will not mention the file. Diff the merge\nagainst each parent for every path both siblings touched, and validate\nstructured files (`jq .`, the language's parser) rather than eyeballing the\ndiff. Fixes here belong in the merge commit — the sibling's base never had the\nline to remove — so hand-edit in the working copy and `jj squash --into \u003Cmerge>`.\n\n## Step 1b — Set up an isolated resolution workspace\n\nPer `jj-workspaces`' \"Create\" step, but anchored on the\nconflicted revision instead of trunk (skip adding it to `mm` —\nthis workspace's working-copy commit belongs directly on `\u003Cchange-id>`,\nnot on trunk):\n\n```\nmkdir -p work\njj workspace add --name=resolve-\u003Cchange-id> -r \u003Cchange-id> work\u002Fresolve-\u003Cchange-id>\ncd work\u002Fresolve-\u003Cchange-id>\n```\n\n`-r \u003Cchange-id>` makes the new workspace's working-copy commit a child of\n`\u003Cchange-id>` — the same relationship `jj new \u003Cchange-id>` would have\ncreated in the main workspace — but isolated in its own checkout. Run all\nremaining steps from inside `work\u002Fresolve-\u003Cchange-id>`.\n\n## Step 2 — Run mergiraf\n\nAttempt automatic resolution with mergiraf, targeting the conflicted parent:\n\n```\njj resolve --tool mergiraf -r @-\n```\n\nThe `-r @-` flag targets the conflicted parent rather than the working copy.\nAfter it runs, check what's left:\n\n```\njj resolve --list -r @-\n```\n\nIf the list is empty, all conflicts are resolved — skip to step 4.\n\n## Step 3 — Manual resolution loop\n\n**A type conflict has no markers to edit.** When one side changes a path's\ntype — a tracked file replaced by a symlink, say — `jj resolve --list` labels\nit `2-sided conflict including a symlink`, mergiraf has nothing textual to\nmerge, and the materialized file is a description rather than content:\n\n```\nConflict:\n  Removing file with id 401ff494… (\u003Cbase> \"…\" (parents of rebased revision))\n  Adding file with id 0f6b69c3… (\u003Cside> \"…\" (rebase destination))\n  Adding symlink with id c4563938… (\u003Cside> \"…\" (rebased revision))\n```\n\n`jj file show` refuses these with \"Path exists but is not a file.\" Read the\nintent from `jj diff --git -r \u003Cside> \u003Cpath>` instead, where the mode change\n(`100644` → `120000`) and the symlink target both appear, then recreate the\nwinning side by hand — `rm \u003Cpath> && ln -s \u003Ctarget> \u003Cpath>`. The Edit tool\ncannot write a symlink.\n\nOn the conflicted revision that diff prints the `Conflict:` description rather\nthan a mode change, so the symlink target isn't in it. Get the target from the\npre-rebase commit — `jj evolog -r \u003Crev>` names it, and `jj diff --git -r\n\u003Cold-commit-id> \u003Cpath>` on that hidden commit shows the real change. For\nscripting, evolog's template keyword is `commit`, not the log's `commit_id`:\n`jj evolog -r \u003Crev> --no-graph -T 'commit.commit_id().short() ++ \"\\n\"'`.\n\nFor each text file still listed by `jj resolve --list -r @-`:\n\n1. Read the file to see its conflict markers. jj's format differs from\n   git's, and jj has two marker styles. The default (`diff`) shows one\n   side as a diff against the base:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   %%%%%%% diff from: \u003Cbase commit>\n   \\\\\\\\\\\\\\        to: \u003Cside #1 commit>\n   -base line\n   +side #1 line\n   +++++++ \u003Cside #2 commit>\n   side #2 content\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   The `%%%%%%%` block is a diff (`-` base, `+` side) turning the base\n   into one side; the `+++++++` block is the other side's full content.\n   Apply the diff mentally or take one side, then delete every marker line\n   (`\u003C\u003C\u003C`, `%%%`, `\\\\\\`, `+++`, `>>>`).\n\n   The `snapshot` style (set via `ui.conflict-marker-style`) instead shows\n   every side and the base in full:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   +++++++ \u003Cside #1 commit>\n   side #1 content\n   ------- \u003Cbase commit>\n   base content\n   +++++++ \u003Cside #2 commit>\n   side #2 content\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   Here the `+++++++` sections are the sides and `-------` is the common\n   ancestor. Either way, remove all marker lines and keep the correct\n   merged content. Each label carries the commit's change ID and\n   description, which orients which side is which.\n\n   jj also emits a **diff-style** form where only one side is literal\n   content and the other is a diff from the base:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   +++++++ yuwoklmp 1056139b \"mm\" (rebase destination)\n   (full content of this side)\n   %%%%%%% diff from: yuwoklmp 80b2d213 \"mm\" (parents of rebased revision)\n   \\\\\\\\\\\\\\        to: omkzmwrk cc06fc10 (rebased revision)\n   -(lines the other side removed from the base)\n   +(lines the other side added)\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   The `%%%%%%%` section is **not** file content — deleting its markers\n   would splice `-`\u002F`+` prefixes into the file. Reconstruct each side with\n   `jj file show -r \u003Crev> \u003Cpath>` (the revisions are named in the marker\n   lines) and compare those instead of editing the hunks in place.\n\n2. Run `jj diff -r @-` for context on what each side was trying to\n   accomplish.\n\n3. Use the Edit tool to resolve the conflict — remove the markers and\n   write the correct merged content.\n\n4. Move to the next conflicted file.\n\nAfter editing all files, run `jj resolve --list -r @-` to confirm no\nconflicts remain in the parent.\n\n> The Read and Edit tools handle file-level resolution directly. They are not\n> restricted by `allowed-tools`, which only governs Bash commands.\n\n## Step 4 — Squash the resolution and clean up\n\nDo not run `jj squash` automatically. Prompt the user:\n\n> All conflicts are resolved. Run `jj squash` (from\n> `work\u002Fresolve-\u003Cchange-id>`) to fold the resolution back into\n> `\u003Cchange-id>`, or review the diff first with `jj diff`.\n\nOnce the user confirms the squash, `\u003Cchange-id>` is fixed up and the\nworkspace's working-copy commit is left empty. From the main workspace —\n`remove` deletes `work\u002Fresolve-\u003Cchange-id>`, so don't run it from inside —\nclean up per `jj-workspaces`' cleanup recipe, then sync so the main\nworkspace sees the resolved change:\n\n```\njj workspace remove resolve-\u003Cchange-id>\njj workspace update-stale\n```\n\n---\n\n> **Self-improving note:** This is a self-improving skill. If you used it and\n> it came up short — a new conflict marker format, an edge case with mergiraf,\n> a better resolution pattern — invoke the `self-improving-skills` skill and\n> follow it before you finish.\n","# Resolve Conflicts\n\n`$ARGUMENTS`\n\nThis skill resolves conflicts without disturbing the main workspace's `@` —\nin place with `jj resolve -r` where that suffices (step 1a), otherwise in an\nisolated workspace (step 1b). Invoke the `jj-workspaces`\nskill for the general mechanics referenced below (workspace naming,\n`work\u002F` layout, sync behavior); the steps here are the conflict-specific\napplication of it, using the exact commands `allowed-tools` permits.\n\n## Step 0 — Check where the conflict came from\n\n**\"New conflicts appeared in 1 commits\" doesn't mean the command you just\nran caused them.** A conflict already sitting in the working copy — usually\nfrom a rebase someone ran in another terminal — gets carried into the new\nworking copy commit and reported as new. With a fileset, `jj commit` keeps\nthe named commit clean and leaves the conflict behind in `@`. Check\nprovenance before resolving anything:\n\n```\njj op log --limit 5                                # find the rebase that introduced it\njj op show \u003Cop-id>                                 # commits it marked (conflict)\njj log -r @ -T 'if(conflict, \"CONFLICT\", \"clean\")' # which commits are conflicted now\n```\n\n**A conflict can mean the commit is dead, not that there is a merge to\nmake.** After a `jj git fetch` plus a rebase onto the new trunk, a commit\nwhose work already landed as a squash merge comes back as a live conflicted\ncopy — the tell is two sides differing by a line or two with one of them\nmatching trunk exactly. The usual `jj abandon 'trunk():: & empty() & mine()'`\nsweep misses it whenever a later commit in the same pull request touched the\nsame line, because a cancelling pair leaves neither commit empty relative to\nits own parent. So check the tree, not the diff, before resolving anything:\n\n```\njj diff --from 'trunk()' --to \u003Crev> --stat    # `0 files changed` = trunk already has this tree\n```\n\nRun it over every mutable head rather than only the conflicted one, since one\nrebase produced all the siblings. When it comes back empty the resolution is\n`jj abandon`, and resolving the text instead is worse than slow — taking\neither side leaves the pair reverting each other, which `empty()` still will\nnot sweep. Confirm `jj bookmark list` first: abandoning drops a bookmark\npointing at the commit, and a later bare `jj git push` then tries to delete\nthat branch on the remote.\n\n**Conflicted `(divergent)` commits may be a stale copy of a branch another\nmachine already fixed.** When the other machine rebases and pushes a branch,\n`jj git fetch` brings in its clean commits. The local auto-rebase then\nrewrites the old local copies too, so every change exists twice: `\u002F0` is the\nlocal copy and conflicted, `\u002F1` came from the remote and is clean. The\nbookmark goes conflicted as well. Diff each pair. If the only difference is\nconflict markers, there is nothing to merge:\n\n```\njj diff --from \u003Cchange>\u002F1 --to \u003Cchange>\u002F0 --stat   # markers only = stale copy\njj bookmark set \u003Cbookmark> -r \u003Cbookmark>@origin    # take the remote tip\njj rebase -s mm -o \u003Cother-parent> -o \u003Cbookmark>    # repoint the megamerge\njj abandon \u003Ccommit ids of the \u002F0 copies>           # commit IDs: change IDs are ambiguous\n```\n\nCollect the `\u002F0` commit IDs up front with `jj log --no-graph -r\n'trunk()..\u003Ctip>\u002F0' -T 'commit_id.short() ++ \"\\n\"'`.\n\n## Step 1 — Pick the revision and the mechanism\n\nIf `$ARGUMENTS` contains a change ID, use it as the conflicted revision.\nOtherwise run `jj status` in the main workspace and use `@-` if it has\nconflicts; stop and ask the user for a change ID if it doesn't.\n\n**Anchor on the oldest conflicted commit, not `@-`.** A conflict inherited\nthrough ancestry shows up in every descendant, so `@-` is usually a symptom\nrather than the source. `jj status`'s hint points at a root (\"start by\ncreating a commit on top of the first conflicted commit\"), but it\n**under-reports when there is more than one** — it can name two while a third\ncommit holds conflicts no ancestor produced. Treat it as a starting point, not\nthe set. The discriminating check is to run `jj resolve --list -r \u003Crev>` over\nevery revision `jj log -r 'conflicts()'` lists, and compare: a commit whose\npaths are absent from its parent is its own root. Miss one and the resolution\nlooks like it is working — descendants clear, the count drops — and then the\nmegamerge keeps reporting conflicts you cannot trace. Fix the root and jj rebases the rest —\nstep 4's squash then reports `Existing conflicts were resolved or abandoned\nfrom N commits`. Resolving at `@-` instead leaves every ancestor conflicted.\n\n**When the conflict is in `@` itself, skip to step 3 and resolve in\nplace.** A rebase run while the working copy holds uncommitted work leaves\nthe conflict in `@`, not in a commit. `jj workspace add -r @` can't check\nout a revision that's already checked out, and the isolation buys nothing\nbecause there is no other `@` to protect. Edit the files directly and drop\nthe `-r @-` from every `jj resolve` in the steps below.\n\n**Try `jj resolve -r \u003Crev>` before adding a workspace.** It rewrites the\nnamed revision and rebases descendants in place, so `@` never moves — which\nis what a workspace was buying you. That makes it the right default when a\nmegamerge is checked out and `@` must stay put. A workspace only earns its\ncost when resolution needs a real checkout to work in: running the project's\ntooling, or hand-editing several files against a build.\n\nAlways pass `--tool` explicitly. A bare `jj resolve` launches the\ninteractive merge editor, which hangs a non-interactive Bash call.\n\n## Step 1a — Resolve in place with `jj resolve -r`\n\n`--tool :ours` and `--tool :theirs` take side #1 and side #2 whole, and they\nhandle a `2-sided conflict including 1 deletion` that mergiraf can't touch —\none command per file, no checkout:\n\n```\njj resolve -r \u003Crev> --tool :theirs \u003Cpath>    # side #2 wins; removes the file if that side deleted it\n```\n\nRead the sides off the materialized markers first (`jj file show -r \u003Crev>\n\u003Cpath>`) to learn which number is which: the `+++++++ \u003Cchange-id>` labelled\n`(rebased revision)` is your own commit's side.\n\n**\"Whole\" is the trap when the file survives on both sides.** `:ours` and\n`:theirs` replace the file with that side's entire content, so on a path where\nonly one hunk conflicted, a side predating a `jj git fetch` silently reverts\nevery other edit trunk made to it. Reserve them for a file whose intended result\nis \"absent\", and use the `cp` route below for one that survives. The marker names\nside #2's commit, so you can read exactly what `:theirs` would have written —\nstill reachable by commit id after the resolution, since the commit is hidden\nrather than gone:\n\n```\njj file show -r \u003Cside-2-commit-id> \u003Cpath> | diff - \u003Cpath>\n```\n\nWorth running once on any shared file. What it caught here was a repo-wide\n`* @owner` backstop line that side #2 still held at its pre-handover value —\nnothing in the conflict region, and it would have re-owned every path in the\nrepo. Either way, verify the resolution stayed scoped by diffing the fixed\ncommit against its own parent:\n\n```\njj diff --from \u003Cparent-of-rev> --to \u003Crev> --stat\n```\n\nOnly what the commit means to change should appear. Unrelated churn in a shared\nfile means a whole-file take ate someone else's edits — markers being gone does\nnot catch it.\n\n**No merge tool takes a type conflict**, `:ours` and `:theirs` included — a\nside that adds a symlink fails with \"Only conflicts that involve normal files\n(not symlinks, etc.) are supported.\" Recreate the winning side in the working\ncopy per step 3, then land it in the conflicted ancestor with `jj squash --into\n\u003Crev> \u003Cpath>`; the fileset keeps unrelated working-copy edits out, and jj\nrebases the descendants and reports `Existing conflicts were resolved or\nabandoned from N commits`.\n\nThat squash only works when `@`'s parent carries the same conflict as the\ntarget. When `@-` holds a different one at that path — `@` sits below a\nmegamerge or other descendants with their own sides — squashing applies\n`@-`→`@` onto the target and leaves it `3-sided`. `jj undo`, then open a step 1b\nworkspace on the target, recreate the side there, and run a bare `jj squash`.\n\nFor a file needing real merge judgment, resolve it as a temp file and hand\nthat to `cp` as a merge tool — the same in-place rewrite, but with content\nyou wrote:\n\n```\njj file show -r \u003Crev> \u003Cpath> > \u002Ftmp\u002Ffix              # materialized conflict markers\n# edit \u002Ftmp\u002Ffix — remove markers, write the merged content\njj resolve -r \u003Crev> --tool cpfix \\\n  --config 'merge-tools.cpfix.program=cp' \\\n  --config 'merge-tools.cpfix.merge-args=[\"\u002Ftmp\u002Ffix\", \"$output\"]' \\\n  \u003Cpath>\n```\n\nWork root-first: each resolution clears that path from every descendant, and\njj reports `Existing conflicts were resolved or abandoned from N commits`.\nWhen no conflicts remain, skip steps 2–4 entirely — there is nothing to\nsquash, because the revisions were rewritten directly.\n\n**Resolving the root can push a fresh conflict into a downstream\nmegamerge.** A merge commit whose tree recorded the old resolution goes\n`(conflict)` once its parents change, so a clean run at the root can be\nfollowed by `New conflicts appeared in N commits` naming the megamerge. That\nconflict is `3-sided` when the merge has three parents, and **no merge tool\ncan take it** — `:ours`, `:theirs`, and the `cp` trick all fail with \"has 3\nsides. At most 2 sides are supported.\" Resolve it by writing the file in the\nworking copy (the conflict materializes there through ancestry) and then\n`jj squash --into \u003Cmegamerge>`; that clears the megamerge and every\ndescendant without moving `@` off it.\n\nRun a bare `jj restore` first. After a rebase, `@` can hold diffs that only\nrelabel the markers, such as a dropped `(parents of rebased revision)`, and\n`jj st` reports those files as modified. When `@` holds uncommitted work, a\nbare restore discards it too — restore only the conflicted paths instead.\n\nWhen taking one side of a 3-sided materialization, don't splice the\n`+++++++` block in as-is — its region can overlap content that also appears\nafter `>>>>>>>`, so a literal copy duplicates lines. Reconstruct the intended\nfile from `jj file show -r \u003Cparent> \u003Cpath>` for each parent instead.\n\n`cp -p` rather than plain `cp` as the merge-tool program preserves the\nexecutable bit, which matters for any conflict jj labels `including an\nexecutable`.\n\n**Check generated files afterward.** A generated artifact that auto-merged\ncleanly is the classic stale-output trap: the text merged, but the generator\nwould emit something else. Re-run the generator and squash any diff into the\ncommit that owns it — and run it from the main workspace, never from\n`work\u002F`, where repo tooling reading `git ls-files` goes green-but-wrong.\n\n**A file neither side conflicted on can still be broken.** When one branch\ndeletes a data source and another adds code that reads it, the two changes\nnever touch the same lines, so `jj resolve --list` stays silent while the\nreader is left addressing fields that no longer exist. Nothing in the conflict\nmachinery catches this; a test that loads the deleted file is what surfaces it,\nas an unrelated-looking `ENOENT` at import time. Resolving it means writing an\nadapter, not merging text — so find the authority on the surviving shape rather\nthan inventing one. Comments saying a function \"mirrors\" some module name that\nmodule as the authority; read it. Land the fix with `jj squash --into \u003Crev>\n\u003Cpath>` on the commit that caused the break, which is the one that deleted the\nsource, not the one that added the reader.\n\n**Taking the deletion side loses whatever trunk added to the dying file.**\nWhen a branch retires a registry, config, or any single source of truth and\ntrunk kept editing it, `:theirs` is the correct resolution and still drops every\nentry trunk added in the meantime. No marker mentions it. Before taking the\ndeletion, diff the dying file's names against the union of names from every\nsurviving authority:\n\n```\njj file show -r 'trunk()' \u003Cdying-file> | jq -r '.\u003Centries>[].name' | sort > \u002Ftmp\u002Fwas\n# ...and the replacement authority's names, however it is discovered, into \u002Ftmp\u002Fnow\ncomm -23 \u002Ftmp\u002Fwas \u002Ftmp\u002Fnow      # present only in the dying file\n```\n\nEverything that prints is either a deliberate retirement or a silent drop, and\nonly the branch's intent tells them apart. The ones that bite are entries with\nno home in the replacement — a plugin sourced from a whole git repo has no\ndirectory for a directory-discovery scheme to find, so it survives only if\nsomething re-declares it. Land the re-declaration with `jj squash --into \u003Crev>`\non the commit that deleted the file, then re-run any generator that read it.\nAlso diff field-by-field for entries present on both sides with changed values;\nthe name set will not show those.\n\n**Compare against the authority, never against a generated artifact that\nfilters.** The name-set check only means anything when both sides are the full\nset. A generated manifest is often a *subset* by design — one per target\nharness, each carrying only the entries whose `tools`-style field names that\nharness — so diffing the authority against one of them prints every entry the\nfilter legitimately excluded. Sixteen entries read as silently dropped when\nnothing was. Compute the expected set with the same predicate the generator\nuses and compare against that instead:\n\n```\njq -r --arg h claude '.plugins[] | select((.tools \u002F\u002F [\"claude\",\"cursor\"]) | index($h)) | .name'   \u003Cauthority> | sort > \u002Ftmp\u002Fexp\n```\n\nThe default for a missing field is part of the predicate and branches change it,\nso read it off the generator rather than assuming. Run the comparison for every\nartifact the generator writes, not just the one you happen to care about — and\nwhen the tool ships a `validate` subcommand, it already encodes the predicate\ncorrectly, so reach for that first and use the hand-rolled diff to find out\n*which* entries moved.\n\n**Check the files that *didn't* conflict.** When a rebase turns a linear stack\ninto siblings under a merge — `jj rebase --insert-after 'trunk()'` on part of\nthe stack — content that used to arrive from an ancestor now arrives through\nthe merge, and jj unions both sides. Tables, lists, and JSON objects merge\ntextually clean and semantically wrong: two keys added at different offsets\nboth survive, so a rename recorded on one side leaves the old entry alive on\nthe other. `jj resolve --list` will not mention the file. Diff the merge\nagainst each parent for every path both siblings touched, and validate\nstructured files (`jq .`, the language's parser) rather than eyeballing the\ndiff. Fixes here belong in the merge commit — the sibling's base never had the\nline to remove — so hand-edit in the working copy and `jj squash --into \u003Cmerge>`.\n\n## Step 1b — Set up an isolated resolution workspace\n\nPer `jj-workspaces`' \"Create\" step, but anchored on the\nconflicted revision instead of trunk (skip adding it to `mm` —\nthis workspace's working-copy commit belongs directly on `\u003Cchange-id>`,\nnot on trunk):\n\n```\nmkdir -p work\njj workspace add --name=resolve-\u003Cchange-id> -r \u003Cchange-id> work\u002Fresolve-\u003Cchange-id>\ncd work\u002Fresolve-\u003Cchange-id>\n```\n\n`-r \u003Cchange-id>` makes the new workspace's working-copy commit a child of\n`\u003Cchange-id>` — the same relationship `jj new \u003Cchange-id>` would have\ncreated in the main workspace — but isolated in its own checkout. Run all\nremaining steps from inside `work\u002Fresolve-\u003Cchange-id>`.\n\n## Step 2 — Run mergiraf\n\nAttempt automatic resolution with mergiraf, targeting the conflicted parent:\n\n```\njj resolve --tool mergiraf -r @-\n```\n\nThe `-r @-` flag targets the conflicted parent rather than the working copy.\nAfter it runs, check what's left:\n\n```\njj resolve --list -r @-\n```\n\nIf the list is empty, all conflicts are resolved — skip to step 4.\n\n## Step 3 — Manual resolution loop\n\n**A type conflict has no markers to edit.** When one side changes a path's\ntype — a tracked file replaced by a symlink, say — `jj resolve --list` labels\nit `2-sided conflict including a symlink`, mergiraf has nothing textual to\nmerge, and the materialized file is a description rather than content:\n\n```\nConflict:\n  Removing file with id 401ff494… (\u003Cbase> \"…\" (parents of rebased revision))\n  Adding file with id 0f6b69c3… (\u003Cside> \"…\" (rebase destination))\n  Adding symlink with id c4563938… (\u003Cside> \"…\" (rebased revision))\n```\n\n`jj file show` refuses these with \"Path exists but is not a file.\" Read the\nintent from `jj diff --git -r \u003Cside> \u003Cpath>` instead, where the mode change\n(`100644` → `120000`) and the symlink target both appear, then recreate the\nwinning side by hand — `rm \u003Cpath> && ln -s \u003Ctarget> \u003Cpath>`. The Edit tool\ncannot write a symlink.\n\nOn the conflicted revision that diff prints the `Conflict:` description rather\nthan a mode change, so the symlink target isn't in it. Get the target from the\npre-rebase commit — `jj evolog -r \u003Crev>` names it, and `jj diff --git -r\n\u003Cold-commit-id> \u003Cpath>` on that hidden commit shows the real change. For\nscripting, evolog's template keyword is `commit`, not the log's `commit_id`:\n`jj evolog -r \u003Crev> --no-graph -T 'commit.commit_id().short() ++ \"\\n\"'`.\n\nFor each text file still listed by `jj resolve --list -r @-`:\n\n1. Read the file to see its conflict markers. jj's format differs from\n   git's, and jj has two marker styles. The default (`diff`) shows one\n   side as a diff against the base:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   %%%%%%% diff from: \u003Cbase commit>\n   \\\\\\\\\\\\\\        to: \u003Cside #1 commit>\n   -base line\n   +side #1 line\n   +++++++ \u003Cside #2 commit>\n   side #2 content\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   The `%%%%%%%` block is a diff (`-` base, `+` side) turning the base\n   into one side; the `+++++++` block is the other side's full content.\n   Apply the diff mentally or take one side, then delete every marker line\n   (`\u003C\u003C\u003C`, `%%%`, `\\\\\\`, `+++`, `>>>`).\n\n   The `snapshot` style (set via `ui.conflict-marker-style`) instead shows\n   every side and the base in full:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   +++++++ \u003Cside #1 commit>\n   side #1 content\n   ------- \u003Cbase commit>\n   base content\n   +++++++ \u003Cside #2 commit>\n   side #2 content\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   Here the `+++++++` sections are the sides and `-------` is the common\n   ancestor. Either way, remove all marker lines and keep the correct\n   merged content. Each label carries the commit's change ID and\n   description, which orients which side is which.\n\n   jj also emits a **diff-style** form where only one side is literal\n   content and the other is a diff from the base:\n\n   ```\n   \u003C\u003C\u003C\u003C\u003C\u003C\u003C conflict 1 of 1\n   +++++++ yuwoklmp 1056139b \"mm\" (rebase destination)\n   (full content of this side)\n   %%%%%%% diff from: yuwoklmp 80b2d213 \"mm\" (parents of rebased revision)\n   \\\\\\\\\\\\\\        to: omkzmwrk cc06fc10 (rebased revision)\n   -(lines the other side removed from the base)\n   +(lines the other side added)\n   >>>>>>> conflict 1 of 1 ends\n   ```\n\n   The `%%%%%%%` section is **not** file content — deleting its markers\n   would splice `-`\u002F`+` prefixes into the file. Reconstruct each side with\n   `jj file show -r \u003Crev> \u003Cpath>` (the revisions are named in the marker\n   lines) and compare those instead of editing the hunks in place.\n\n2. Run `jj diff -r @-` for context on what each side was trying to\n   accomplish.\n\n3. Use the Edit tool to resolve the conflict — remove the markers and\n   write the correct merged content.\n\n4. Move to the next conflicted file.\n\nAfter editing all files, run `jj resolve --list -r @-` to confirm no\nconflicts remain in the parent.\n\n> The Read and Edit tools handle file-level resolution directly. They are not\n> restricted by `allowed-tools`, which only governs Bash commands.\n\n## Step 4 — Squash the resolution and clean up\n\nDo not run `jj squash` automatically. Prompt the user:\n\n> All conflicts are resolved. Run `jj squash` (from\n> `work\u002Fresolve-\u003Cchange-id>`) to fold the resolution back into\n> `\u003Cchange-id>`, or review the diff first with `jj diff`.\n\nOnce the user confirms the squash, `\u003Cchange-id>` is fixed up and the\nworkspace's working-copy commit is left empty. From the main workspace —\n`remove` deletes `work\u002Fresolve-\u003Cchange-id>`, so don't run it from inside —\nclean up per `jj-workspaces`' cleanup recipe, then sync so the main\nworkspace sees the resolved change:\n\n```\njj workspace remove resolve-\u003Cchange-id>\njj workspace update-stale\n```\n\n---\n\n> **Self-improving note:** This is a self-improving skill. If you used it and\n> it came up short — a new conflict marker format, an edge case with mergiraf,\n> a better resolution pattern — invoke the `self-improving-skills` skill and\n> follow it before you finish.\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":39},[25,26,27,28,29,30,31,32,33,34,35,36,37,38],"Bash(mkdir -p work)","Bash(jj workspace add --name=resolve-* -r * work\u002Fresolve-*)","Bash(cd work\u002Fresolve-*)","Bash(jj status)","Bash(jj resolve *)","Bash(jj diff *)","Bash(jj log *)","Bash(jj op log *)","Bash(jj op show *)","Bash(jj squash *)","Bash(jj abandon *)","Bash(jj bookmark list)","Bash(jj workspace remove resolve-*)","Bash(jj workspace update-stale)",[40],"change-id","main","54400d2fb3ebb925baf35311c647aaa31e7a5222","ai\u002Fskills\u002Fresolve-conflicts",0,"https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fkejadlen","https:\u002F\u002Fkejadlen.dev","2026-11-14 03:39:37",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add kejadlen\u002Fdotfiles --skill resolve-conflicts",{"tool":55,"command":56},"bunx","bunx skills add kejadlen\u002Fdotfiles --skill resolve-conflicts",{"tool":58,"command":59},"pnpm","pnpm dlx skills add kejadlen\u002Fdotfiles --skill resolve-conflicts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fresolve-conflicts\u002FSKILL.md",true,[],[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7DEVM19CB8GSCZV56PHA594","zoekt","Use when searching code across repositories — prefer zoekt over grep\u002Fripgrep for indexed code search. Covers indexing repos, search syntax, and query patterns.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fzoekt\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7DEVF10JKR56RSX30PZ8BNH","writing-for-accessibility","Use when writing documentation, alt text, diagrams, or any content that should be accessible to people with disabilities. Covers alt text, color contrast, inclusive language, and accessible visuals. Also use when reviewing documents for accessibility.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-for-accessibility\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7DEVA0Q63VMQWG32VN18XYB","writing-error-messages","Use when writing, reviewing, or improving error messages in code, CLI tools, APIs, or UIs. Covers identifying the cause, explaining the fix, and setting the right tone. Also use when error messages are vague, unactionable, or confusing.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-error-messages\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7DEV6GGF2H3FW3YCPWXRRT6","working-in-the-open","Use when making design decisions during implementation — routes rationale to the right venue (commits, task comments, code comments, or documentation) based on how durable the context needs to be","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fworking-in-the-open\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7DEV2XTM37B9S0QV8X9SNSW","web-standards","Use when writing or reviewing HTML, CSS, or browser JavaScript — covers semantic markup, native platform features over libraries, Baseline browser support, accessibility and APCA contrast, and optional validation with vnu, axe, and Lighthouse","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-standards\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7DETYVQNPNGXC094DT0PTDF","web-design","Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[]]