[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EQZFXFQ7GZKVB0EFKWEB8X":3,"skill-same:01M7EQZFXFQ7GZKVB0EFKWEB8X":47},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M7EQZFXFQ7GZKVB0EFKWEB8X","new-home",null,"Set up a repo's first home - its state directory, its T3 Code project, its table in jbus's config, what it lacks for jbus to merge in it, and its home thread. It finishes a home that was started by hand, and does only what is missing. Use for \u002Fnew-home \u003Crepo>.","JoshuaHayesWasHere\u002Fjstack","JoshuaHayesWasHere","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78288453?v=4","01M7EQPZP0GDYN3SYY9SZZHFJE","Joshua Hayes","01M7EQPZPQKJDZR99NG512A8X2",1,"MIT","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fnew-home\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: new-home\ndescription: Set up a repo's first home - its state directory, its T3 Code project, its table in jbus's config, what it lacks for jbus to merge in it, and its home thread. It finishes a home that was started by hand, and does only what is missing. Use for \u002Fnew-home \u003Crepo>.\ndisable-model-invocation: true\ncard: \"Run the pipeline | 8 | Sets up a repo's first home in five steps: its state directory, its T3 Code project, its table in jbus's config, what it lacks for a merge, and its home thread. | Reach for it when a repo gets its first home, or one was started by hand. | op: the operator\"\n---\n\n# new-home\n\n`\u002Fnew-home \u003Crepo>` sets up the first home of a repo, from any thread. `\u003Crepo>` is the repo's path, or its folder name under `~\u002Frepos`. It is typed, never loaded by itself.\n\nA repo's first home needs five things, and a first home has no thread to type `\u002Fhome` in until the second is there. This skill does the five in order, each once. For each it tells the user one line, as the step prints it or says it: `done`, `already`, or `needs you: \u003Ca command or one sentence>`. Run again on a repo where some of it is done, it does what is missing and says `already` for the rest.\n\nThis thread does not become the home.\nIt starts no crewmate and no scout, makes no scheduled task and no webhook, and writes no file but the two of step 1 and the two of step 4, a branch with the repo's check workflow and its `fresh-check`: jbus's config is written by `jbus project add`, the git hooks are linked by `jinstall --repo`, and the three other switches of a repo are the user's.\n\n## 1. The repo and its state directory\n\nRun this with everything typed after `\u002Fnew-home` in place of `\u003Cthe text after \u002Fnew-home>`, or nothing when nothing was typed after it:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nthe_text() {\n    cat \u003C\u003C 'THE_TEXT_ENDS_HERE'\n\u003Cthe text after \u002Fnew-home>\nTHE_TEXT_ENDS_HERE\n}\ntyped=$(the_text)\nword=$(printf '%s\\n' \"$typed\" | awk 'NF {print $(1); exit}')\ncase $word in\n'~') at=$HOME ;;\n'~\u002F'*) at=$HOME\u002F${word#??} ;;\n*\u002F*) at=$word ;;\n*) at=$HOME\u002Frepos\u002F$word ;;\nesac\ncommon=$(git -C \"$at\" rev-parse --path-format=absolute --git-common-dir 2> \u002Fdev\u002Fnull)\nC=${common%\u002F.git}\nR=${C##*\u002F}\nH=~\u002F.local\u002Fstate\u002Fhome\u002F$R\nfilled=yes\ncase $typed in\n'\u003Cthe text after '*) filled= ;;\nesac\nif [ -z \"$filled\" ]; then\n    echo \"not filled in: put what was typed after \u002Fnew-home in place of the placeholder, or nothing\"\nelif [ -z \"$word\" ]; then\n    echo \"needs a repo: type \u002Fnew-home \u003Crepo>, a repo's path or its folder name under ~\u002Frepos. Nothing is done.\"\nelif [ -z \"$common\" ] || [ \"$C\" = \"$common\" ]; then\n    echo \"not a git repository: $at is no checkout of one. Nothing is done.\"\nelif [ \"${R#_}\" != \"$R\" ]; then\n    echo \"not a repo's home: a folder named $R under ${H%\u002F*} is a party's, as an expert's is. Nothing is done.\"\nelse\n    printf 'repo: %s\\ncheckout: %s\\nstate: %s\\n' \"$R\" \"$C\" \"$H\"\n    if [ -f \"$H\u002Fplan.md\" ]; then\n        echo \"1 state directory: already, $H has its plan.md\"\n    elif mkdir -p \"$H\" && touch \"$H\u002Fplan.md\"; then\n        echo \"1 state directory: done, made $H\"\n    else\n        echo \"1 state directory: needs you: mkdir -p $H\"\n    fi\n    id=$(awk 'NF {print $(1); exit}' \"$H\u002Fhome-id\" 2> \u002Fdev\u002Fnull)\n    echo \"home-id: ${id:-none}\"\nfi\n```\n\nOn `needs a repo`, `not a git repository` or `not a repo's home`, tell the user that line and stop: nothing was made. Otherwise keep the `repo:`, `checkout:` and `home-id:` lines for the steps below. The checkout is the repo's main checkout, also when the path typed is one of its worktrees.\n\nThe directory is made as the home skill's first-home step makes it, with the same line: an empty `plan.md`.\n`plan.md` is what says a home has started, so the home this skill launches is not told it is the first.\n`merge-seen` and `home-id` are the home's to write.\n\n## 2. The T3 Code project\n\nFind the project whose checkout is the repo, with the `t3-code` server's `t3_project_list` (if your harness defers it, load it first), called with `{\"limit\": 100}`. It is the entry whose `workspaceRoot` is the `checkout:` line, and its `id` is the T3 project id of the steps below. A reply with a `nextCursor` has more: ask again with that as `cursor` until it is found or the list ends. When it is found, the line is `2 T3 project: already, \u003Cid>`.\n\nWhen no entry has that checkout, make one with `t3_project_create`, called with `{\"title\": \"\u003Crepo>\", \"workspaceRoot\": \"\u003Cthe checkout>\"}`. The line is `2 T3 project: done, \u003Cid>`, with the `id` of the reply. In a session with neither tool, the line is `2 T3 project: needs you: add \u003Cthe checkout> as a project in T3 Code, then type \u002Fnew-home \u003Crepo> again`, and steps 3 and 5 are not done: each needs the id.\n\n## 3. The project's table in jbus's config\n\nThis block is the one registration there is: the home skill's start runs it too, for a repo whose home started with no project in jbus's config (\"On the bus\" in `skills\u002Fhome\u002Fwhen-a-home-starts.md`).\nRun it with the `checkout:` line of step 1 and the id of step 2 in place of the words in angle brackets:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nC='\u003Cthe checkout>'\nP='\u003Cthe T3 project id>'\ncase $C$P in\n'' | *'\u003C'* | *'>'*)\n    echo \"not filled in: put the checkout step 1 printed and the T3 project id of step 2 in place of the placeholders\" ;;\n*)\n    if ! command -v jbus > \u002Fdev\u002Fnull; then\n        echo \"3 jbus project: needs you: sh install.sh in the checkout that holds this skill, jbus is not on PATH\"\n    else\n        said=$(jbus project add \"${C##*\u002F}\" --checkout \"$C\" --project-id \"$P\" 2>&1)\n        case $said in\n        'added: '*) echo \"3 jbus project: done, ${said#added: }\" ;;\n        'refused: the config already has this project') echo \"3 jbus project: already, jbus's config has its table\" ;;\n        'refused: no config at '*) echo \"3 jbus project: needs you: set jbus up once for the machine, as features\u002Fjbus\u002Fdocs\u002Fjbus.md \\\"Set up jbus\\\" says, then type \u002Fnew-home ${C##*\u002F} again\" ;;\n        *) echo \"3 jbus project: needs you: jbus project add said \\\"$said\\\"\" ;;\n        esac\n        if jq -e '.token.access_token' \"${JBUS_CONFIG_DIR:-$HOME\u002F.config\u002Fjbus}\u002Ft3.json\" > \u002Fdev\u002Fnull 2>&1; then\n            echo \"3 jbus sign-in: already, jbus holds a T3 Code token\"\n        else\n            echo \"3 jbus sign-in: needs you: jbus t3 login, every go is your word and jbus reads it from T3 Code\"\n        fi\n    fi\n    if ! command -v jinstall > \u002Fdev\u002Fnull; then\n        echo \"3 git hooks: needs you: sh install.sh in the checkout that holds this skill, jinstall is not on PATH\"\n    elif hooked=$(jinstall --repo \"$C\" 2>&1); then\n        echo \"3 git hooks: done, $(printf '%s\\n' \"$hooked\" | command grep -c '^ok ') ok in $C\u002F.git\u002Fhooks\"\n    else\n        echo \"3 git hooks: needs you: jinstall --repo $C said:\"\n        printf '%s\\n' \"$hooked\" | command grep -v '^ok '\n    fi ;;\nesac\n```\n\nThe sign-in line says `needs you` while jbus holds no T3 Code token: with none, jbus reads no go of the user's, so no row of the project launches on a go and none merges.\n`jbus t3 login` asks the user to approve it in T3 Code, so this skill never runs it.\n`jinstall --doctor` says the same once the project is added: the sign-in is then a `hard` need.\n\n`jinstall --repo` links jleak's `pre-push` and `commit-msg` hooks into the repo's main checkout, and keeps the repo in the list `jinstall --check` and the doctor read.\nA run on a repo that has them already links nothing and says `done` all the same.\nA hook of the repo's own is never written over: the `needs you` line names it, with the line that runs jstack's hook from it.\n\n`jbus project add` is the only thing that writes the config: it keeps the file as it was beside it, leaves every other table as it is, and prints no value of any key.\nNever open, print or edit that file here.\nThe project's name in jbus is the repo's folder name, which is also the name of its state directory.\nEach pass of jbus is a new run that loads the config, so the next pass works the new project and no unit is restarted: the `done` line says so.\n\nIt never writes `home-thread`, here or at a home's start: a repo it adds is one jbus merges for, unless the user has put an id in that switch by hand.\n\n## 4. What the repo lacks for a merge\n\njmerge merges a pull request once a check named `check` has passed on it, and `fresh-check` holds the repo's check command, which a crewmate runs and `jbus queue add` holds a brief's check line to.\nThis step writes either one that is missing, and names what only the user can do.\nRun it with the `checkout:` line of step 1 in place of `\u003Cthe checkout>`, and the repo's check command in place of `\u003Cthe check command>`: the one the repo's own instructions name (its `README`, `CLAUDE.md` or `AGENTS.md`, its `package.json`'s `test` script), or `none` where it names none.\nWhere its `Makefile` has a `check` target, the block takes `make check` itself, so leave the placeholder as it is there:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nT=$(realpath ~\u002F.claude\u002Fskills\u002Fnew-home\u002F..\u002F..\u002Ftemplates 2> \u002Fdev\u002Fnull)\nC='\u003Cthe checkout>'\nthe_command() {\n    cat \u003C\u003C 'THE_COMMAND_ENDS_HERE'\n\u003Cthe check command>\nTHE_COMMAND_ENDS_HERE\n}\nK=$(the_command | awk 'NF {print; exit}')\nif command grep -qs '^check:' \"$C\u002FMakefile\"; then K='make check'; fi\ncase $C in\n'' | *'\u003C'* | *'>'*)\n    echo \"not filled in: put the checkout step 1 printed in place of the placeholder\" ;;\n*)\n    case $K in\n    '' | '\u003Cthe check '*)\n        echo \"not filled in: put the repo's check command in place of the placeholder in the_command, or none where the repo names none\" ;;\n    *)\n    H=~\u002F.local\u002Fstate\u002Fhome\u002F${C##*\u002F}\n    lacks=0\n    told=0\n    need() {\n        lacks=$((lacks + 1))\n        printf '4 to merge: needs you: %s\\n' \"${1}\"\n    }\n    say() {\n        told=$((told + 1))\n        printf '4 to merge: %s\\n' \"${1}\"\n    }\n    unnamed=\n    nameless() {\n        if [ -z \"$unnamed\" ]; then\n            unnamed=yes\n            need \"the repo names no check command: give it one, such as a check target in its Makefile, then type \u002Fnew-home again\"\n        fi\n    }\n    reports() {\n        command grep -qsE 'pull_request([^_]|$)' \"${1}\" && awk '\n            function close_job() {\n                if (id != \"\" && !matrix && (name == \"check\" || (name == \"\" && id == \"check\"))) found = 1\n                id = \"\"\n            }\n            \u002F^jobs:[[:space:]]*$\u002F {jobs = 1; at = -1; next}\n            jobs && \u002F^[^[:space:]#]\u002F {close_job(); jobs = 0}\n            jobs && NF && $(1) !~ \u002F^#\u002F {\n                match($(0), \u002F^ *\u002F)\n                if (at \u003C 0) at = RLENGTH\n                if (RLENGTH == at) {close_job(); id = $(1); sub(\u002F:.*\u002F, \"\", id); name = \"\"; matrix = 0; next}\n                if (RLENGTH == at + 2 && $(1) == \"name:\") {\n                    name = $(0); sub(\u002F^[^:]*:[[:space:]]*\u002F, \"\", name); sub(\u002F[[:space:]]+#.*$\u002F, \"\", name)\n                    gsub(\u002F[\"\\047]\u002F, \"\", name); sub(\u002F[[:space:]]+$\u002F, \"\", name)\n                }\n                if ($(1) == \"matrix:\") matrix = 1\n            }\n            END {close_job(); exit !found}' \"${1}\"\n    }\n    default=\n    sha=\n    if ! git -C \"$C\" remote get-url origin > \u002Fdev\u002Fnull 2>&1; then\n        need \"git -C $C remote add origin \u003Cthe repo's address at GitHub>, it has no remote named origin, then type \u002Fnew-home again for the check workflow\"\n    else\n        asked=$(git -C \"$C\" ls-remote --symref origin HEAD 2> \u002Fdev\u002Fnull)\n        default=$(printf '%s\\n' \"$asked\" | awk '$(1) == \"ref:\" && $(3) == \"HEAD\" {sub(\u002F^refs\\\u002Fheads\\\u002F\u002F, \"\", $(2)); print $(2); exit}')\n        sha=$(printf '%s\\n' \"$asked\" | awk '$(1) != \"ref:\" && $(2) == \"HEAD\" {print $(1); exit}')\n        if [ -z \"$default\" ] || [ -z \"$sha\" ]; then\n            need \"git -C $C push -u origin \u003Cthe default branch>, origin names no default branch yet or could not be asked, then type \u002Fnew-home again for the check workflow\"\n        fi\n    fi\n    checked=\n    for flow in \"$C\"\u002F.github\u002Fworkflows\u002F*.yml \"$C\"\u002F.github\u002Fworkflows\u002F*.yaml; do\n        if [ -f \"$flow\" ] && reports \"$flow\"; then checked=$flow; break; fi\n    done\n    flow=.github\u002Fworkflows\u002Fcheck.yml\n    if [ -z \"$checked\" ] && [ -n \"$sha\" ]; then\n        tmp=$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fnew-home.XXXXXX\")\n        if ! git -C \"$C\" cat-file -e \"$sha^{commit}\" 2> \u002Fdev\u002Fnull; then\n            need \"git -C $C fetch origin, then type \u002Fnew-home again: $default's tip is not in the checkout, and the check workflow is built on it\"\n        else\n            git -C \"$C\" ls-tree --name-only \"$sha\" .github\u002Fworkflows\u002F | command grep -E '\\.ya?ml$' > \"$tmp\u002Fnames\"\n            while IFS= read -r one; do\n                if git -C \"$C\" show \"$sha:$one\" > \"$tmp\u002Fflow\" 2> \u002Fdev\u002Fnull && reports \"$tmp\u002Fflow\"; then checked=$default:$one; break; fi\n            done \u003C \"$tmp\u002Fnames\"\n        fi\n        if [ -n \"$checked\" ] || [ \"$lacks\" -gt 0 ]; then\n            :\n        elif [ \"$K\" = none ]; then\n            nameless\n        elif git -C \"$C\" rev-parse -q --verify refs\u002Fheads\u002Fjstack-check > \u002Fdev\u002Fnull; then\n            if git -C \"$C\" cat-file -e \"refs\u002Fheads\u002Fjstack-check:$flow\" 2> \u002Fdev\u002Fnull; then\n                say \"already, branch jstack-check adds $flow: push it and merge it as the repo's first pull request\"\n            else\n                need \"the branch jstack-check is not this skill's, it has no $flow: rename it, then type \u002Fnew-home again\"\n            fi\n        elif git -C \"$C\" cat-file -e \"$sha:$flow\" 2> \u002Fdev\u002Fnull; then\n            need \"$default's $flow has no job that reports a check named check: give it one, as the template $T\u002Fcheck.yml does\"\n        elif [ ! -f \"$T\u002Fcheck.yml\" ]; then\n            need \"sh install.sh in the checkout that holds this skill, the template check.yml of new-home is not installed\"\n        else\n            t=$(cat \"$T\u002Fcheck.yml\")\n            mark=$(printf '\u003C%s>' 'the check command')\n            q=$(printf '%s' \"$K\" | sed \"s\u002F'\u002F''\u002Fg\")\n            printf '%s\\n' \"${t%%\"$mark\"*}$q${t#*\"$mark\"}\" > \"$tmp\u002Fcheck.yml\"\n            if blob=$(git -C \"$C\" hash-object -w \"$tmp\u002Fcheck.yml\" 2> \"$tmp\u002Fsaid\") &&\n                GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" read-tree \"$sha\" 2>> \"$tmp\u002Fsaid\" &&\n                GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" update-index --add --cacheinfo \"100644,$blob,$flow\" 2>> \"$tmp\u002Fsaid\" &&\n                tree=$(GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" write-tree 2>> \"$tmp\u002Fsaid\") &&\n                made=$(git -C \"$C\" commit-tree --no-gpg-sign -p \"$sha\" -m \"ci: add the check workflow jmerge merges on\" \"$tree\" 2>> \"$tmp\u002Fsaid\") &&\n                git -C \"$C\" update-ref -m \"new-home: the check workflow\" refs\u002Fheads\u002Fjstack-check \"$made\" \"\" 2>> \"$tmp\u002Fsaid\"; then\n                say \"done, branch jstack-check adds $flow over $default, a job named check that runs $K: push it and merge it as the repo's first pull request\"\n            else\n                need \"git could not commit $flow on a branch jstack-check: $(awk 'NF {print; exit}' \"$tmp\u002Fsaid\")\"\n            fi\n        fi\n    fi\n    if [ -s \"$H\u002Ffresh-check\" ]; then\n        :\n    elif [ \"$K\" = none ]; then\n        nameless\n    elif [ -d \"$H\" ] && printf '%s\\n' \"$K\" 2> \u002Fdev\u002Fnull > \"$H\u002Ffresh-check\"; then\n        say \"done, wrote $K to $H\u002Ffresh-check, the repo's check command, which a crewmate runs and jbus queue add holds a brief's check line to\"\n    else\n        need \"echo '$K' > $H\u002Ffresh-check, the one line that names the repo's check command\"\n    fi\n    if [ \"$lacks\" -eq 0 ] && [ \"$told\" -eq 0 ]; then\n        echo \"4 to merge: already, it has origin, a default branch, a workflow with a check named check, and fresh-check\"\n    fi\n    there() { if [ -e \"$H\u002F${1}\" ]; then echo there; else echo absent; fi; }\n    holds=empty\n    if [ -n \"$(cat \"$H\u002Fhome-thread\" 2> \u002Fdev\u002Fnull | tr -d '[:space:]')\" ]; then holds='an id'; fi\n    echo \"switches, the user's alone: off is $(there off) (\u002Fnohome repo), merge-off is $(there merge-off) (\u002Fnohome merge), home-thread holds $holds (a home's thread id on one line of $H\u002Fhome-thread, written by hand)\" ;;\n    esac ;;\nesac\n```\n\nEach `needs you` line is something only the user does: tell it as printed and do none of it.\nThe default branch and its tip are asked of origin itself, as `jmerge` asks them, so this step needs the network.\nA workflow counts when it runs on `pull_request` and one of its jobs reports a check named exactly `check`, as `jmerge` waits for: a job whose `name:` is `check`, or a job with the id `check` and no `name:`, and no `matrix:`, which adds the matrix values to the name.\nThe workflow is read in the checkout as it is, on whatever branch is checked out there, and then on the tip of origin's default branch.\n\nWhere neither has one, the block commits `.github\u002Fworkflows\u002Fcheck.yml`, made from `$T\u002Fcheck.yml` with the check command in it, on a new branch `jstack-check` over that tip.\nThe file calls the repo standard's shared check workflow at a pinned tag, which runs the check command alone until the repo adds a `.repo-standard.yml`.\nIt commits with git's plumbing and a scratch index, so the checkout's files, its index and the branch checked out there stay as they were, and it signs nothing.\nIt pushes nothing: the user pushes the branch and merges its pull request, the repo's first, and the check runs on that pull request already.\nA runner that lacks the toolchain the command needs fails that check: the template's head says where a setup step goes.\nA branch `jstack-check` that is there already is never written over.\n\nWhere `fresh-check` is missing or empty, the block writes the check command there, and never changes one that has a line.\n`off`, `merge-off` and `home-thread` are the user's three switches for a repo: the line names them, and this skill writes none of them.\n\n## 5. The home's thread\n\nA home has one thread, so look for it before launching one. List the project's threads that are not settled, with `t3_thread_list` (if your harness defers it, load it first), called with `{\"projectId\": \"\u003Cthe T3 project id>\", \"settled\": false, \"limit\": 100}`. A reply with a `nextCursor` has more: ask again with that as `cursor` until the list ends. The title is no filter here: a home started by hand may have any title.\n\nThe home is there when one of these holds, and then the line is `5 home thread: already, [home: \u003Crepo>](t3-thread:\u002F\u002Fv1\u002F\u003Cits threadId>)` and nothing is launched:\n\n- the `home-id:` line of step 1 is an id, and a thread of the list has that id;\n- a thread of the list is titled exactly `home: \u003Crepo>`: a home launched a moment ago that has not written its `home-id` yet, or one whose `home-id` was lost.\n\nOtherwise launch the home in the project's root checkout, with `t3_thread_launch`, called with `{\"projectId\": \"\u003Cthe T3 project id>\", \"title\": \"home: \u003Crepo>\", \"workspaceStrategy\": {\"type\": \"root\"}, \"message\": \"\u002Fhome\"}`.\n\nBefore this launch, run `uv run --project \u003Cthe checkout that holds this skill> jroles home`. When it prints a JSON object, that line is the `\u003Cmodel selection>`, and the `t3_thread_launch` call is `{\"projectId\": \"\u003Cthe T3 project id>\", \"title\": \"home: \u003Crepo>\", \"workspaceStrategy\": {\"type\": \"root\"}, \"message\": \"\u002Fhome\", \"modelSelection\": \u003Cmodel selection>}`, which starts the home on the model the role map names. When it prints nothing, or a line on stderr that says why the map gives no model, the call is the one above.\n\nThe line is `5 home thread: done, [home: \u003Crepo>](t3-thread:\u002F\u002Fv1\u002F\u003Cits threadId>)`. The new thread writes its own id to `home-id` at its start: write nothing there. A launch has no retry key. If the call fails or its reply is lost, ask `t3_thread_list` again before launching again, so there are never two. In a session with no `t3_thread_launch`, the line is `5 home thread: needs you: open a new thread in the project \u003Crepo> and type \u002Fhome`.\n\n## The end\n\nGive the user the lines, in order: step 1's, step 2's, step 3's two, each of step 4's and step 5's, then the `switches` line.\nAdd nothing a line does not say.\nThis thread is done: the home is the thread step 5 names.\n","# new-home\n\n`\u002Fnew-home \u003Crepo>` sets up the first home of a repo, from any thread. `\u003Crepo>` is the repo's path, or its folder name under `~\u002Frepos`. It is typed, never loaded by itself.\n\nA repo's first home needs five things, and a first home has no thread to type `\u002Fhome` in until the second is there. This skill does the five in order, each once. For each it tells the user one line, as the step prints it or says it: `done`, `already`, or `needs you: \u003Ca command or one sentence>`. Run again on a repo where some of it is done, it does what is missing and says `already` for the rest.\n\nThis thread does not become the home.\nIt starts no crewmate and no scout, makes no scheduled task and no webhook, and writes no file but the two of step 1 and the two of step 4, a branch with the repo's check workflow and its `fresh-check`: jbus's config is written by `jbus project add`, the git hooks are linked by `jinstall --repo`, and the three other switches of a repo are the user's.\n\n## 1. The repo and its state directory\n\nRun this with everything typed after `\u002Fnew-home` in place of `\u003Cthe text after \u002Fnew-home>`, or nothing when nothing was typed after it:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nthe_text() {\n    cat \u003C\u003C 'THE_TEXT_ENDS_HERE'\n\u003Cthe text after \u002Fnew-home>\nTHE_TEXT_ENDS_HERE\n}\ntyped=$(the_text)\nword=$(printf '%s\\n' \"$typed\" | awk 'NF {print $(1); exit}')\ncase $word in\n'~') at=$HOME ;;\n'~\u002F'*) at=$HOME\u002F${word#??} ;;\n*\u002F*) at=$word ;;\n*) at=$HOME\u002Frepos\u002F$word ;;\nesac\ncommon=$(git -C \"$at\" rev-parse --path-format=absolute --git-common-dir 2> \u002Fdev\u002Fnull)\nC=${common%\u002F.git}\nR=${C##*\u002F}\nH=~\u002F.local\u002Fstate\u002Fhome\u002F$R\nfilled=yes\ncase $typed in\n'\u003Cthe text after '*) filled= ;;\nesac\nif [ -z \"$filled\" ]; then\n    echo \"not filled in: put what was typed after \u002Fnew-home in place of the placeholder, or nothing\"\nelif [ -z \"$word\" ]; then\n    echo \"needs a repo: type \u002Fnew-home \u003Crepo>, a repo's path or its folder name under ~\u002Frepos. Nothing is done.\"\nelif [ -z \"$common\" ] || [ \"$C\" = \"$common\" ]; then\n    echo \"not a git repository: $at is no checkout of one. Nothing is done.\"\nelif [ \"${R#_}\" != \"$R\" ]; then\n    echo \"not a repo's home: a folder named $R under ${H%\u002F*} is a party's, as an expert's is. Nothing is done.\"\nelse\n    printf 'repo: %s\\ncheckout: %s\\nstate: %s\\n' \"$R\" \"$C\" \"$H\"\n    if [ -f \"$H\u002Fplan.md\" ]; then\n        echo \"1 state directory: already, $H has its plan.md\"\n    elif mkdir -p \"$H\" && touch \"$H\u002Fplan.md\"; then\n        echo \"1 state directory: done, made $H\"\n    else\n        echo \"1 state directory: needs you: mkdir -p $H\"\n    fi\n    id=$(awk 'NF {print $(1); exit}' \"$H\u002Fhome-id\" 2> \u002Fdev\u002Fnull)\n    echo \"home-id: ${id:-none}\"\nfi\n```\n\nOn `needs a repo`, `not a git repository` or `not a repo's home`, tell the user that line and stop: nothing was made. Otherwise keep the `repo:`, `checkout:` and `home-id:` lines for the steps below. The checkout is the repo's main checkout, also when the path typed is one of its worktrees.\n\nThe directory is made as the home skill's first-home step makes it, with the same line: an empty `plan.md`.\n`plan.md` is what says a home has started, so the home this skill launches is not told it is the first.\n`merge-seen` and `home-id` are the home's to write.\n\n## 2. The T3 Code project\n\nFind the project whose checkout is the repo, with the `t3-code` server's `t3_project_list` (if your harness defers it, load it first), called with `{\"limit\": 100}`. It is the entry whose `workspaceRoot` is the `checkout:` line, and its `id` is the T3 project id of the steps below. A reply with a `nextCursor` has more: ask again with that as `cursor` until it is found or the list ends. When it is found, the line is `2 T3 project: already, \u003Cid>`.\n\nWhen no entry has that checkout, make one with `t3_project_create`, called with `{\"title\": \"\u003Crepo>\", \"workspaceRoot\": \"\u003Cthe checkout>\"}`. The line is `2 T3 project: done, \u003Cid>`, with the `id` of the reply. In a session with neither tool, the line is `2 T3 project: needs you: add \u003Cthe checkout> as a project in T3 Code, then type \u002Fnew-home \u003Crepo> again`, and steps 3 and 5 are not done: each needs the id.\n\n## 3. The project's table in jbus's config\n\nThis block is the one registration there is: the home skill's start runs it too, for a repo whose home started with no project in jbus's config (\"On the bus\" in `skills\u002Fhome\u002Fwhen-a-home-starts.md`).\nRun it with the `checkout:` line of step 1 and the id of step 2 in place of the words in angle brackets:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nC='\u003Cthe checkout>'\nP='\u003Cthe T3 project id>'\ncase $C$P in\n'' | *'\u003C'* | *'>'*)\n    echo \"not filled in: put the checkout step 1 printed and the T3 project id of step 2 in place of the placeholders\" ;;\n*)\n    if ! command -v jbus > \u002Fdev\u002Fnull; then\n        echo \"3 jbus project: needs you: sh install.sh in the checkout that holds this skill, jbus is not on PATH\"\n    else\n        said=$(jbus project add \"${C##*\u002F}\" --checkout \"$C\" --project-id \"$P\" 2>&1)\n        case $said in\n        'added: '*) echo \"3 jbus project: done, ${said#added: }\" ;;\n        'refused: the config already has this project') echo \"3 jbus project: already, jbus's config has its table\" ;;\n        'refused: no config at '*) echo \"3 jbus project: needs you: set jbus up once for the machine, as features\u002Fjbus\u002Fdocs\u002Fjbus.md \\\"Set up jbus\\\" says, then type \u002Fnew-home ${C##*\u002F} again\" ;;\n        *) echo \"3 jbus project: needs you: jbus project add said \\\"$said\\\"\" ;;\n        esac\n        if jq -e '.token.access_token' \"${JBUS_CONFIG_DIR:-$HOME\u002F.config\u002Fjbus}\u002Ft3.json\" > \u002Fdev\u002Fnull 2>&1; then\n            echo \"3 jbus sign-in: already, jbus holds a T3 Code token\"\n        else\n            echo \"3 jbus sign-in: needs you: jbus t3 login, every go is your word and jbus reads it from T3 Code\"\n        fi\n    fi\n    if ! command -v jinstall > \u002Fdev\u002Fnull; then\n        echo \"3 git hooks: needs you: sh install.sh in the checkout that holds this skill, jinstall is not on PATH\"\n    elif hooked=$(jinstall --repo \"$C\" 2>&1); then\n        echo \"3 git hooks: done, $(printf '%s\\n' \"$hooked\" | command grep -c '^ok ') ok in $C\u002F.git\u002Fhooks\"\n    else\n        echo \"3 git hooks: needs you: jinstall --repo $C said:\"\n        printf '%s\\n' \"$hooked\" | command grep -v '^ok '\n    fi ;;\nesac\n```\n\nThe sign-in line says `needs you` while jbus holds no T3 Code token: with none, jbus reads no go of the user's, so no row of the project launches on a go and none merges.\n`jbus t3 login` asks the user to approve it in T3 Code, so this skill never runs it.\n`jinstall --doctor` says the same once the project is added: the sign-in is then a `hard` need.\n\n`jinstall --repo` links jleak's `pre-push` and `commit-msg` hooks into the repo's main checkout, and keeps the repo in the list `jinstall --check` and the doctor read.\nA run on a repo that has them already links nothing and says `done` all the same.\nA hook of the repo's own is never written over: the `needs you` line names it, with the line that runs jstack's hook from it.\n\n`jbus project add` is the only thing that writes the config: it keeps the file as it was beside it, leaves every other table as it is, and prints no value of any key.\nNever open, print or edit that file here.\nThe project's name in jbus is the repo's folder name, which is also the name of its state directory.\nEach pass of jbus is a new run that loads the config, so the next pass works the new project and no unit is restarted: the `done` line says so.\n\nIt never writes `home-thread`, here or at a home's start: a repo it adds is one jbus merges for, unless the user has put an id in that switch by hand.\n\n## 4. What the repo lacks for a merge\n\njmerge merges a pull request once a check named `check` has passed on it, and `fresh-check` holds the repo's check command, which a crewmate runs and `jbus queue add` holds a brief's check line to.\nThis step writes either one that is missing, and names what only the user can do.\nRun it with the `checkout:` line of step 1 in place of `\u003Cthe checkout>`, and the repo's check command in place of `\u003Cthe check command>`: the one the repo's own instructions name (its `README`, `CLAUDE.md` or `AGENTS.md`, its `package.json`'s `test` script), or `none` where it names none.\nWhere its `Makefile` has a `check` target, the block takes `make check` itself, so leave the placeholder as it is there:\n\n```sh\nif [ -n \"${ZSH_VERSION:-}\" ]; then emulate sh; fi\nT=$(realpath ~\u002F.claude\u002Fskills\u002Fnew-home\u002F..\u002F..\u002Ftemplates 2> \u002Fdev\u002Fnull)\nC='\u003Cthe checkout>'\nthe_command() {\n    cat \u003C\u003C 'THE_COMMAND_ENDS_HERE'\n\u003Cthe check command>\nTHE_COMMAND_ENDS_HERE\n}\nK=$(the_command | awk 'NF {print; exit}')\nif command grep -qs '^check:' \"$C\u002FMakefile\"; then K='make check'; fi\ncase $C in\n'' | *'\u003C'* | *'>'*)\n    echo \"not filled in: put the checkout step 1 printed in place of the placeholder\" ;;\n*)\n    case $K in\n    '' | '\u003Cthe check '*)\n        echo \"not filled in: put the repo's check command in place of the placeholder in the_command, or none where the repo names none\" ;;\n    *)\n    H=~\u002F.local\u002Fstate\u002Fhome\u002F${C##*\u002F}\n    lacks=0\n    told=0\n    need() {\n        lacks=$((lacks + 1))\n        printf '4 to merge: needs you: %s\\n' \"${1}\"\n    }\n    say() {\n        told=$((told + 1))\n        printf '4 to merge: %s\\n' \"${1}\"\n    }\n    unnamed=\n    nameless() {\n        if [ -z \"$unnamed\" ]; then\n            unnamed=yes\n            need \"the repo names no check command: give it one, such as a check target in its Makefile, then type \u002Fnew-home again\"\n        fi\n    }\n    reports() {\n        command grep -qsE 'pull_request([^_]|$)' \"${1}\" && awk '\n            function close_job() {\n                if (id != \"\" && !matrix && (name == \"check\" || (name == \"\" && id == \"check\"))) found = 1\n                id = \"\"\n            }\n            \u002F^jobs:[[:space:]]*$\u002F {jobs = 1; at = -1; next}\n            jobs && \u002F^[^[:space:]#]\u002F {close_job(); jobs = 0}\n            jobs && NF && $(1) !~ \u002F^#\u002F {\n                match($(0), \u002F^ *\u002F)\n                if (at \u003C 0) at = RLENGTH\n                if (RLENGTH == at) {close_job(); id = $(1); sub(\u002F:.*\u002F, \"\", id); name = \"\"; matrix = 0; next}\n                if (RLENGTH == at + 2 && $(1) == \"name:\") {\n                    name = $(0); sub(\u002F^[^:]*:[[:space:]]*\u002F, \"\", name); sub(\u002F[[:space:]]+#.*$\u002F, \"\", name)\n                    gsub(\u002F[\"\\047]\u002F, \"\", name); sub(\u002F[[:space:]]+$\u002F, \"\", name)\n                }\n                if ($(1) == \"matrix:\") matrix = 1\n            }\n            END {close_job(); exit !found}' \"${1}\"\n    }\n    default=\n    sha=\n    if ! git -C \"$C\" remote get-url origin > \u002Fdev\u002Fnull 2>&1; then\n        need \"git -C $C remote add origin \u003Cthe repo's address at GitHub>, it has no remote named origin, then type \u002Fnew-home again for the check workflow\"\n    else\n        asked=$(git -C \"$C\" ls-remote --symref origin HEAD 2> \u002Fdev\u002Fnull)\n        default=$(printf '%s\\n' \"$asked\" | awk '$(1) == \"ref:\" && $(3) == \"HEAD\" {sub(\u002F^refs\\\u002Fheads\\\u002F\u002F, \"\", $(2)); print $(2); exit}')\n        sha=$(printf '%s\\n' \"$asked\" | awk '$(1) != \"ref:\" && $(2) == \"HEAD\" {print $(1); exit}')\n        if [ -z \"$default\" ] || [ -z \"$sha\" ]; then\n            need \"git -C $C push -u origin \u003Cthe default branch>, origin names no default branch yet or could not be asked, then type \u002Fnew-home again for the check workflow\"\n        fi\n    fi\n    checked=\n    for flow in \"$C\"\u002F.github\u002Fworkflows\u002F*.yml \"$C\"\u002F.github\u002Fworkflows\u002F*.yaml; do\n        if [ -f \"$flow\" ] && reports \"$flow\"; then checked=$flow; break; fi\n    done\n    flow=.github\u002Fworkflows\u002Fcheck.yml\n    if [ -z \"$checked\" ] && [ -n \"$sha\" ]; then\n        tmp=$(mktemp -d \"${TMPDIR:-\u002Ftmp}\u002Fnew-home.XXXXXX\")\n        if ! git -C \"$C\" cat-file -e \"$sha^{commit}\" 2> \u002Fdev\u002Fnull; then\n            need \"git -C $C fetch origin, then type \u002Fnew-home again: $default's tip is not in the checkout, and the check workflow is built on it\"\n        else\n            git -C \"$C\" ls-tree --name-only \"$sha\" .github\u002Fworkflows\u002F | command grep -E '\\.ya?ml$' > \"$tmp\u002Fnames\"\n            while IFS= read -r one; do\n                if git -C \"$C\" show \"$sha:$one\" > \"$tmp\u002Fflow\" 2> \u002Fdev\u002Fnull && reports \"$tmp\u002Fflow\"; then checked=$default:$one; break; fi\n            done \u003C \"$tmp\u002Fnames\"\n        fi\n        if [ -n \"$checked\" ] || [ \"$lacks\" -gt 0 ]; then\n            :\n        elif [ \"$K\" = none ]; then\n            nameless\n        elif git -C \"$C\" rev-parse -q --verify refs\u002Fheads\u002Fjstack-check > \u002Fdev\u002Fnull; then\n            if git -C \"$C\" cat-file -e \"refs\u002Fheads\u002Fjstack-check:$flow\" 2> \u002Fdev\u002Fnull; then\n                say \"already, branch jstack-check adds $flow: push it and merge it as the repo's first pull request\"\n            else\n                need \"the branch jstack-check is not this skill's, it has no $flow: rename it, then type \u002Fnew-home again\"\n            fi\n        elif git -C \"$C\" cat-file -e \"$sha:$flow\" 2> \u002Fdev\u002Fnull; then\n            need \"$default's $flow has no job that reports a check named check: give it one, as the template $T\u002Fcheck.yml does\"\n        elif [ ! -f \"$T\u002Fcheck.yml\" ]; then\n            need \"sh install.sh in the checkout that holds this skill, the template check.yml of new-home is not installed\"\n        else\n            t=$(cat \"$T\u002Fcheck.yml\")\n            mark=$(printf '\u003C%s>' 'the check command')\n            q=$(printf '%s' \"$K\" | sed \"s\u002F'\u002F''\u002Fg\")\n            printf '%s\\n' \"${t%%\"$mark\"*}$q${t#*\"$mark\"}\" > \"$tmp\u002Fcheck.yml\"\n            if blob=$(git -C \"$C\" hash-object -w \"$tmp\u002Fcheck.yml\" 2> \"$tmp\u002Fsaid\") &&\n                GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" read-tree \"$sha\" 2>> \"$tmp\u002Fsaid\" &&\n                GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" update-index --add --cacheinfo \"100644,$blob,$flow\" 2>> \"$tmp\u002Fsaid\" &&\n                tree=$(GIT_INDEX_FILE=\"$tmp\u002Findex\" git -C \"$C\" write-tree 2>> \"$tmp\u002Fsaid\") &&\n                made=$(git -C \"$C\" commit-tree --no-gpg-sign -p \"$sha\" -m \"ci: add the check workflow jmerge merges on\" \"$tree\" 2>> \"$tmp\u002Fsaid\") &&\n                git -C \"$C\" update-ref -m \"new-home: the check workflow\" refs\u002Fheads\u002Fjstack-check \"$made\" \"\" 2>> \"$tmp\u002Fsaid\"; then\n                say \"done, branch jstack-check adds $flow over $default, a job named check that runs $K: push it and merge it as the repo's first pull request\"\n            else\n                need \"git could not commit $flow on a branch jstack-check: $(awk 'NF {print; exit}' \"$tmp\u002Fsaid\")\"\n            fi\n        fi\n    fi\n    if [ -s \"$H\u002Ffresh-check\" ]; then\n        :\n    elif [ \"$K\" = none ]; then\n        nameless\n    elif [ -d \"$H\" ] && printf '%s\\n' \"$K\" 2> \u002Fdev\u002Fnull > \"$H\u002Ffresh-check\"; then\n        say \"done, wrote $K to $H\u002Ffresh-check, the repo's check command, which a crewmate runs and jbus queue add holds a brief's check line to\"\n    else\n        need \"echo '$K' > $H\u002Ffresh-check, the one line that names the repo's check command\"\n    fi\n    if [ \"$lacks\" -eq 0 ] && [ \"$told\" -eq 0 ]; then\n        echo \"4 to merge: already, it has origin, a default branch, a workflow with a check named check, and fresh-check\"\n    fi\n    there() { if [ -e \"$H\u002F${1}\" ]; then echo there; else echo absent; fi; }\n    holds=empty\n    if [ -n \"$(cat \"$H\u002Fhome-thread\" 2> \u002Fdev\u002Fnull | tr -d '[:space:]')\" ]; then holds='an id'; fi\n    echo \"switches, the user's alone: off is $(there off) (\u002Fnohome repo), merge-off is $(there merge-off) (\u002Fnohome merge), home-thread holds $holds (a home's thread id on one line of $H\u002Fhome-thread, written by hand)\" ;;\n    esac ;;\nesac\n```\n\nEach `needs you` line is something only the user does: tell it as printed and do none of it.\nThe default branch and its tip are asked of origin itself, as `jmerge` asks them, so this step needs the network.\nA workflow counts when it runs on `pull_request` and one of its jobs reports a check named exactly `check`, as `jmerge` waits for: a job whose `name:` is `check`, or a job with the id `check` and no `name:`, and no `matrix:`, which adds the matrix values to the name.\nThe workflow is read in the checkout as it is, on whatever branch is checked out there, and then on the tip of origin's default branch.\n\nWhere neither has one, the block commits `.github\u002Fworkflows\u002Fcheck.yml`, made from `$T\u002Fcheck.yml` with the check command in it, on a new branch `jstack-check` over that tip.\nThe file calls the repo standard's shared check workflow at a pinned tag, which runs the check command alone until the repo adds a `.repo-standard.yml`.\nIt commits with git's plumbing and a scratch index, so the checkout's files, its index and the branch checked out there stay as they were, and it signs nothing.\nIt pushes nothing: the user pushes the branch and merges its pull request, the repo's first, and the check runs on that pull request already.\nA runner that lacks the toolchain the command needs fails that check: the template's head says where a setup step goes.\nA branch `jstack-check` that is there already is never written over.\n\nWhere `fresh-check` is missing or empty, the block writes the check command there, and never changes one that has a line.\n`off`, `merge-off` and `home-thread` are the user's three switches for a repo: the line names them, and this skill writes none of them.\n\n## 5. The home's thread\n\nA home has one thread, so look for it before launching one. List the project's threads that are not settled, with `t3_thread_list` (if your harness defers it, load it first), called with `{\"projectId\": \"\u003Cthe T3 project id>\", \"settled\": false, \"limit\": 100}`. A reply with a `nextCursor` has more: ask again with that as `cursor` until the list ends. The title is no filter here: a home started by hand may have any title.\n\nThe home is there when one of these holds, and then the line is `5 home thread: already, [home: \u003Crepo>](t3-thread:\u002F\u002Fv1\u002F\u003Cits threadId>)` and nothing is launched:\n\n- the `home-id:` line of step 1 is an id, and a thread of the list has that id;\n- a thread of the list is titled exactly `home: \u003Crepo>`: a home launched a moment ago that has not written its `home-id` yet, or one whose `home-id` was lost.\n\nOtherwise launch the home in the project's root checkout, with `t3_thread_launch`, called with `{\"projectId\": \"\u003Cthe T3 project id>\", \"title\": \"home: \u003Crepo>\", \"workspaceStrategy\": {\"type\": \"root\"}, \"message\": \"\u002Fhome\"}`.\n\nBefore this launch, run `uv run --project \u003Cthe checkout that holds this skill> jroles home`. When it prints a JSON object, that line is the `\u003Cmodel selection>`, and the `t3_thread_launch` call is `{\"projectId\": \"\u003Cthe T3 project id>\", \"title\": \"home: \u003Crepo>\", \"workspaceStrategy\": {\"type\": \"root\"}, \"message\": \"\u002Fhome\", \"modelSelection\": \u003Cmodel selection>}`, which starts the home on the model the role map names. When it prints nothing, or a line on stderr that says why the map gives no model, the call is the one above.\n\nThe line is `5 home thread: done, [home: \u003Crepo>](t3-thread:\u002F\u002Fv1\u002F\u003Cits threadId>)`. The new thread writes its own id to `home-id` at its start: write nothing there. A launch has no retry key. If the call fails or its reply is lost, ask `t3_thread_list` again before launching again, so there are never two. In a session with no `t3_thread_launch`, the line is `5 home thread: needs you: open a new thread in the project \u003Crepo> and type \u002Fhome`.\n\n## The end\n\nGive the user the lines, in order: step 1's, step 2's, step 3's two, each of step 4's and step 5's, then the `switches` line.\nAdd nothing a line does not say.\nThis thread is done: the home is the thread step 5 names.\n",{"card":24,"name":5,"description":7,"disable-model-invocation":25},"Run the pipeline | 8 | Sets up a repo's first home in five steps: its state directory, its T3 Code project, its table in jbus's config, what it lacks for a merge, and its home thread. | Reach for it when a repo gets its first home, or one was started by hand. | op: the operator",true,"main","daff051d2674b46e2eb8a333bbd3f3e40f8d1cea","features\u002Fhome\u002Fskills\u002Fnew-home",0,"https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere","Software Engineer @ Markel\r\n","2026-11-15 11:25:06",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":25},[36,39,42],{"tool":37,"command":38},"npx","npx skills add JoshuaHayesWasHere\u002Fjstack --skill new-home",{"tool":40,"command":41},"bunx","bunx skills add JoshuaHayesWasHere\u002Fjstack --skill new-home",{"tool":43,"command":44},"pnpm","pnpm dlx skills add JoshuaHayesWasHere\u002Fjstack --skill new-home","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fhome\u002Fskills\u002Fnew-home\u002FSKILL.md",[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7ERF9GXMY62V7QTVAR6G8DG","no-key","A skill its skills.json lists as hidden that a model may still call by itself, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fno-key\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7ERF83ZG3XKJ2SB8MJHCZ8H","fake-skill","A FAKE skill in a FAKE tree, named for its folder until the test renames the folder.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fnamed-tree\u002Fskills\u002Ffake-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7ERF698RV4VF8QCDF8H8DA4","extra-key","A skill its skills.json does not list as hidden that a model still cannot call, kept broken so the lint is seen to catch it.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ftesting\u002Ftests\u002Ffixtures\u002Fskills\u002Fextra-key\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7ERF2V8N73X9T0Y9PJ4SFV6","unslop","Cut AI tells from writing. Use when the user says text reads like AI, asks to unslop it, or before prose ships to people.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7EREWM67WX934XKABM4XCSZ","technical-writing","Write or review docs, READMEs, RFCs, PR descriptions and commit messages to a layered standard: Diataxis structure, Google developer style, STE rules and Global English.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwriting\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7EREMHJS9JY10AM5EKVX3GP","why","Find why code is the way it is, from its history and every evidence source this session can query, with citations. Use for 'why does X work this way', 'why did we pick Y', regressions and postmortems. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002FJoshuaHayesWasHere\u002Fjstack\u002Fblob\u002Fmain\u002Ffeatures\u002Fwhy\u002FSKILL.md",[],[]]