[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KM0P5TRD82MSY938NJ7F0K":3,"skill-same:01M6KM0P5TRD82MSY938NJ7F0K":84},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":63,"updatedAt":64,"install":65,"resources":77},"01M6KM0P5TRD82MSY938NJ7F0K","code-just-the-stack",null,"Run `just` across the current Graphite stack from bottom to top, fixing failures with separate commits, restacking as you go, and submitting when green.","nseng-ai\u002Fns","nseng-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273792438?v=4","01M6KKN105A07WPV2TZKZXZGQF","nseng.ai","01M6KKN14MDSR9VF9739AWXG8M",2,"MIT","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Fcode\u002Fcode-just-the-stack\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"code","code just the stack","just","stack","Bash","commits","git branch","branch","read","write","green","across","as","cp","graphite","with","you","top","true","run","2026-11-10 10:12:30",false,"---\nname: code-just-the-stack\ndisable-model-invocation: true\ndescription: \"Run `just` across the current Graphite stack from bottom to top, fixing failures with separate commits, restacking as you go, and submitting when green.\"\nallowed-tools:\n  - \"Bash(git status*)\"\n  - \"Bash(git branch*)\"\n  - \"Bash(gt *)\"\n  - \"Bash(just *)\"\n  - \"Bash(ns flow cp*)\"\n  - \"Bash(slot *)\"\n  - Read\n  - Edit\n  - Write\n  - Grep\n  - Glob\n---\n\n# code-just-the-stack\n\nRun the user-facing `just-the-stack` workflow: validate the current Graphite stack path from bottom to top with `just`, fix failures on the branch where they occur, create separate checkpoint-style fix commits, restack descendants as needed, and submit the stack once every branch is green.\n\nInvocation authorizes validating, fixing, restacking, and `gt submit --no-interactive` for the current stack. It does **not** authorize guessing across sibling stacks, carrying a dirty worktree, weakening checks, or freeing other occupied slots without confirmation.\n\n## Related skills\n\n- Use `code-graphite` for the Graphite navigation mental model.\n- For `just` failures, follow the `code-just-fix` posture: fix root causes; never weaken checks.\n- For conflict-heavy or ambiguous restacks, use `code-gt-restack-resolve` or `code-resolve-merge-conflicts`; do not invent conflict policy here.\n- For separate fix commits, use `ns flow cp`; do not hand-roll checkpoint commits or amend\u002Fsquash unless the user explicitly asks for a different commit mode.\n\n## Workflow\n\nFor any `gt` navigation\u002Frestack command below: use `--no-interactive`; if this installed Graphite rejects the flag, retry once without it; stop if Graphite opens or requires an interactive prompt.\n\n1. **Preflight**\n   - Run `git status --short`. If it is non-empty, stop and ask the user to clean, stash, or checkpoint first.\n   - Record the starting branch with `git branch --show-current` for the final report.\n   - Confirm Graphite tracking with plumbing such as `gt parent --no-interactive`, or by attempting `gt bottom`. If Graphite reports the branch is untracked or parentage is unknown, stop and ask the user to track or switch branches; do not run `gt track` for them.\n   - Record the expected stack path once with `ns slot gt exec stack-branches --format json`; use it to bound the step-2 branch set and to name every branch in the final report.\n\n2. **Enter the bottom of this stack path**\n   - Run `gt bottom` to switch to the branch closest to trunk in the current Graphite stack path.\n   - The branch set is the path reached by repeated `gt up` from this bottom branch through the Graphite top, inclusive. Do not validate sibling stacks merely because they appear in `gt ls`.\n\n3. **Validate each branch bottom-to-top**\n   - Record the current branch with `git branch --show-current`.\n   - Run `just`.\n   - If `just` passes, record that branch as passed.\n   - If `just` fails, inspect the failure, edit the root cause, and rerun `just` after each fix. Stop if the fix requires a product\u002Fdesign choice; otherwise continue diagnosing and report any unresolved failure accurately.\n   - When a branch required edits and now passes, run `ns flow cp` on that same branch to create a separate checkpoint-style fix commit. Capture the printed commit summary. If `ns flow cp` refuses because the worktree is clean, record that no commit was needed; for any other refusal, stop and report stdout\u002Fstderr.\n\n4. **Restack after every fix commit**\n   - After a fix commit, run `gt restack --no-interactive`.\n   - If restack fails because an in-scope branch is checked out in another slot, ask before running `ns slot gt free-stack`. Only retry restack after the user authorizes slot freeing.\n   - If restack enters a conflict\u002Frebase state, use `code-gt-restack-resolve` from the current state.\n   - After restack, verify `git status --short` is clean before continuing.\n\n5. **Move upward**\n   - Run `gt up --no-interactive`.\n   - If Graphite reports that you are already at the top of the stack, the loop is complete.\n   - If Graphite reports ambiguous children or prompts for a choice, stop and ask the user; do not guess a sibling branch.\n\n6. **Submit only after every branch is green**\n   - After the top branch has passed, run `gt submit --no-interactive`.\n   - If submit fails because of remote divergence, branch protection, missing metadata, or a Graphite safety refusal, stop and report the exact command\u002Foutput. Do not force-push, bypass checks, or change submit mode unless the user explicitly instructs you.\n\n## Final report\n\nReport a branch-by-branch table or bullets with:\n\n- status for each branch: `passed`, `fixed`, `committed`, `restacked`, or `blocked`;\n- any `ns flow cp` commit summaries;\n- the `gt submit --no-interactive` result and any PR updates Graphite reports;\n- the current branch at the end;\n- unresolved blockers or user decisions needed.\n","# code-just-the-stack\n\nRun the user-facing `just-the-stack` workflow: validate the current Graphite stack path from bottom to top with `just`, fix failures on the branch where they occur, create separate checkpoint-style fix commits, restack descendants as needed, and submit the stack once every branch is green.\n\nInvocation authorizes validating, fixing, restacking, and `gt submit --no-interactive` for the current stack. It does **not** authorize guessing across sibling stacks, carrying a dirty worktree, weakening checks, or freeing other occupied slots without confirmation.\n\n## Related skills\n\n- Use `code-graphite` for the Graphite navigation mental model.\n- For `just` failures, follow the `code-just-fix` posture: fix root causes; never weaken checks.\n- For conflict-heavy or ambiguous restacks, use `code-gt-restack-resolve` or `code-resolve-merge-conflicts`; do not invent conflict policy here.\n- For separate fix commits, use `ns flow cp`; do not hand-roll checkpoint commits or amend\u002Fsquash unless the user explicitly asks for a different commit mode.\n\n## Workflow\n\nFor any `gt` navigation\u002Frestack command below: use `--no-interactive`; if this installed Graphite rejects the flag, retry once without it; stop if Graphite opens or requires an interactive prompt.\n\n1. **Preflight**\n   - Run `git status --short`. If it is non-empty, stop and ask the user to clean, stash, or checkpoint first.\n   - Record the starting branch with `git branch --show-current` for the final report.\n   - Confirm Graphite tracking with plumbing such as `gt parent --no-interactive`, or by attempting `gt bottom`. If Graphite reports the branch is untracked or parentage is unknown, stop and ask the user to track or switch branches; do not run `gt track` for them.\n   - Record the expected stack path once with `ns slot gt exec stack-branches --format json`; use it to bound the step-2 branch set and to name every branch in the final report.\n\n2. **Enter the bottom of this stack path**\n   - Run `gt bottom` to switch to the branch closest to trunk in the current Graphite stack path.\n   - The branch set is the path reached by repeated `gt up` from this bottom branch through the Graphite top, inclusive. Do not validate sibling stacks merely because they appear in `gt ls`.\n\n3. **Validate each branch bottom-to-top**\n   - Record the current branch with `git branch --show-current`.\n   - Run `just`.\n   - If `just` passes, record that branch as passed.\n   - If `just` fails, inspect the failure, edit the root cause, and rerun `just` after each fix. Stop if the fix requires a product\u002Fdesign choice; otherwise continue diagnosing and report any unresolved failure accurately.\n   - When a branch required edits and now passes, run `ns flow cp` on that same branch to create a separate checkpoint-style fix commit. Capture the printed commit summary. If `ns flow cp` refuses because the worktree is clean, record that no commit was needed; for any other refusal, stop and report stdout\u002Fstderr.\n\n4. **Restack after every fix commit**\n   - After a fix commit, run `gt restack --no-interactive`.\n   - If restack fails because an in-scope branch is checked out in another slot, ask before running `ns slot gt free-stack`. Only retry restack after the user authorizes slot freeing.\n   - If restack enters a conflict\u002Frebase state, use `code-gt-restack-resolve` from the current state.\n   - After restack, verify `git status --short` is clean before continuing.\n\n5. **Move upward**\n   - Run `gt up --no-interactive`.\n   - If Graphite reports that you are already at the top of the stack, the loop is complete.\n   - If Graphite reports ambiguous children or prompts for a choice, stop and ask the user; do not guess a sibling branch.\n\n6. **Submit only after every branch is green**\n   - After the top branch has passed, run `gt submit --no-interactive`.\n   - If submit fails because of remote divergence, branch protection, missing metadata, or a Graphite safety refusal, stop and report the exact command\u002Foutput. Do not force-push, bypass checks, or change submit mode unless the user explicitly instructs you.\n\n## Final report\n\nReport a branch-by-branch table or bullets with:\n\n- status for each branch: `passed`, `fixed`, `committed`, `restacked`, or `blocked`;\n- any `ns flow cp` commit summaries;\n- the `gt submit --no-interactive` result and any PR updates Graphite reports;\n- the current branch at the end;\n- unresolved blockers or user decisions needed.\n",{"name":5,"description":7,"allowed-tools":44,"disable-model-invocation":56},[45,46,47,48,49,50,51,52,53,54,55],"Bash(git status*)","Bash(git branch*)","Bash(gt *)","Bash(just *)","Bash(ns flow cp*)","Bash(slot *)","Read","Edit","Write","Grep","Glob",true,"master","44a56f0d543f274b42239091b35fe4d23855f6b3","skills\u002Finternal\u002Fcode\u002Fcode-just-the-stack",0,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns","https:\u002F\u002Fgithub.com\u002Fnseng-ai","Keeping the clankers in check: Nonslop Engineering for AI","2026-10-02 12:48:53",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":56},[67,70,73],{"tool":68,"command":69},"npx","npx skills add nseng-ai\u002Fns --skill code-just-the-stack",{"tool":71,"command":72},"bunx","bunx skills add nseng-ai\u002Fns --skill code-just-the-stack",{"tool":74,"command":75},"pnpm","pnpm dlx skills add nseng-ai\u002Fns --skill code-just-the-stack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Fcode\u002Fcode-just-the-stack\u002FSKILL.md",[78],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Fcode\u002Fcode-just-the-stack\u002Fagents\u002Fopenai.yaml",[85,106,132,151,174,184],{"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":39},"01M6KM3VZ7JC4S6R4KATJ368EH","pr-make-accountable","Interview a PR author to establish shared understanding of intent and design decisions, then co-author the What \u002F Why \u002F Changes PR body with opt-in Requested reviewer focus.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Fpublic\u002Fprs\u002Fpr-make-accountable\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,34,37,104,105],"pr","make","pr make accountable","design","why","reviewer","decisions","interview","intent","focus","shared","co","changes","pr body",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6KM3NZCZ86VJ91RSVTRGTJW","typescript-style","Opinionated style guide for strict, portable TypeScript. Use when writing, designing, or reviewing TypeScript: type design, boundary validation, error handling, module architecture, and review discipline.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Ftypescript-style\u002FSKILL.md",[],[113,114,115,95,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131],"typescript","style","typescript style","writing","review","architecture","core","error handling","system","Rules","README","use","error-handling","study","module","error","case-study","style guide","for",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":39},"01M6KM3HNY4WY42KMYRPS6KEJZ","typescript-fake-driven-testing","TypeScript fake-driven testing architecture. Use when writing or reviewing TS code with external dependencies, gateway interfaces, real adapters, in-memory fakes, or CLI scenario tests.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Ftypescript-fake-driven-testing\u002FSKILL.md",[],[139,113,140,141,142,116,143,144,118,19,145,124,146,147,148,149,34,150],"testing","driven","fake driven testing","typescript fake driven testing","cli","memory","gateway","dependencies","tests","scenario","Adapters","in-memory",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":39},"01M6KM3AXC2539PENYVZJYKCP9","ns-typescript","TypeScript overlay for ns-style projects. Use when editing or reviewing TS in this repo: tsconfig baseline, pnpm\u002FVitest\u002Foxlint\u002Foxfmt\u002Fnative tsc commands, relative .ts imports, workspace subpath exports, and the exactOptionalPropertyTypes spread idiom. Repo-specific enforcement (test lanes, time seams, style guard) lives in the host repo's AGENTS.md.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Fns-typescript\u002FSKILL.md",[],[113,158,159,160,161,162,163,164,124,165,166,167,168,114,169,170,171,131,172,173],"ns typescript","test","guard","vitest","projects","editing","repo","enforcement","references","time","host","oxlint","import","native","alternatives","imports",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":39},"01M6KM36Y5KZ5V48M58MT42AHM","ns-typescript-style-tripwire","Invoke the ns TypeScript style Tripwire against a supplied diff or current branch.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Ftypescript\u002Fns-typescript-style-tripwire\u002FSKILL.md",[],[113,181,114,182,26,183,37],"tripwire","ns typescript style tripwire","diff",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":39},"01M6KM313HANS0AV181X37ZM45","skill-management","Manage skills with `npx skills`: add, edit, remove, rename, update, or list skills (local or GitHub), and the nested `skills\u002F\u003Cdisposition>\u002F...\u002F\u003Cname>\u002F` \u002F flat `.agents\u002Fskills\u002F` layout conventions.","https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Finternal\u002Fskill-system\u002Fskill-management\u002FSKILL.md",[],[191,192,193,23,194,183,195,196,68,197,198,34,199,200,201,202,203,204,37,205],"management","skill management","github","remove","nested","manage","local","cat","ln","ls","mkdir","mv","readlink","rg","lock"]