[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KKWA85AMR12ZZAADA1WNKH":3,"skill-same:01M6KKWA85AMR12ZZAADA1WNKH":62},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M6KKWA85AMR12ZZAADA1WNKH","ns-flow-submit",null,"Submit or update the current Graphite stack by delegating to `ns flow gt submit`.","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\u002Fincubating\u002Fflow\u002Fns-flow-submit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"flow","submit","ns flow submit","update","Bash","stack","graphite","true","2026-11-10 10:12:30",false,"---\nname: ns-flow-submit\ndisable-model-invocation: true\ndescription: \"Submit or update the current Graphite stack by delegating to `ns flow gt submit`.\"\nallowed-tools:\n  - \"Bash(ns flow gt submit*)\"\n---\n\n# ns-flow-submit\n\nSubmit or update the current Graphite stack by delegating to the `ns flow gt submit` CLI. This is the cross-harness path for `\u002Fns:flow:gt:submit`; do not run a parallel hand-written `gt submit` sequence unless the CLI is unavailable and the user explicitly accepts the fallback.\n\n## When to use\n\nUse only when the user explicitly asks to submit or update the current Graphite stack\u002FPRs. This performs write-capable external effects through Graphite\u002FGitHub.\n\n## Workflow\n\nRun from the repository root:\n\n```bash\nns flow gt submit\n```\n\nThe CLI owns checkpointing, readiness\u002Frestack, Graphite submission, exact-scope post-submit PR reconciliation, and Assembled PR inventories for newly created PRs.\n\nIf the CLI says a restack is required:\n\n- in an interactive session, follow the CLI prompt;\n- in a non-interactive\u002Fheadless invocation, rerun only with explicit user approval:\n\n```bash\nns flow gt submit --restack\n```\n\nOrdinary submit leaves every PR that existed before the invocation untouched. After Graphite publishes, Flow re-queries GitHub for exactly the planned branches and uses those authoritative branch-keyed PR identities—not URLs parsed from Graphite output—to select newly created PRs. It prepares complete generated title\u002Fbody replacements for all selected PRs before any GitHub edit, then applies replacements sequentially. A preparation failure edits none; an edit failure stops and reports applied, failed, and not-attempted PRs.\n\nIf any planned branch has no open PR, multiple open PRs, malformed lookup data, a query failure, or a changed pre-existing identity, submit fails after publication but before inventory generation and edits no PR metadata. Repair the PR\u002Fhead-branch association and rerun `ns flow gt submit`; because the retry treats now-existing PRs as untouched, use `ns flow generate-pr-inventory` on any branch whose initial inventory was skipped.\n\nAn Assembled PR inventory is a best-effort mechanical account from the diff and commit headlines. It is produced without author steering, interview, or approval, so it is distinct from authored or co-authored rationale and may omit intent, rationale, constraints, or context not visible in that evidence. Flow adds this limit as a short italicized note, plus a footer naming the evidence inputs, invoking command, prompt source, and exact qualified model identity.\n\nTo widen the default new-only batch to every reconciled PR in the submitted scope — existing and new — run:\n\n```bash\nns flow gt submit --generate-pr-inventory\n```\n\nThe destructive confirmation occurs before checks, checkpointing, model resolution, or Graphite\u002FGitHub work. This replaces the complete title and body of every selected PR and removes all existing body content, including human-authored prose; there is no managed-region merging and no rollback. It requires a TTY confirmation, or `--yes`\u002F`-y` for explicit non-interactive approval. Flow prepares all replacements before the first edit, then applies them sequentially; a preparation failure edits none, while an apply failure stops and reports applied, failed, and not-attempted PRs.\n\nTo replace the complete title and body of only an existing current-branch PR, run:\n\n```bash\nns flow generate-pr-inventory\n```\n\nThat focused command confirms by default and accepts `--yes` for explicit non-interactive approval. The inventory prompt resolves through `NS_FLOW_PR_INVENTORY_PROMPT`, point `flow.submit.pr-inventory`, conventional path `.ns\u002Fprompts\u002Fflow.submit.pr-inventory.md`, then the built-in default. Model operation `flow.pr-inventory` defaults to `fast` when omitted. This is a clean breaking cutover: old `flow.pr-description` configuration is ignored and therefore falls through to `fast`; there is no compatibility alias.\n\n## Failure handling\n\nSurface CLI output directly, including any `AI interpretation` section and partial metadata-application report. Do not bypass checkpoint, Graphite submit, post-submit verification, or metadata failures. Do not fall back to raw `gt submit` unless the user explicitly asks after seeing the CLI failure.\n\n## Boundaries\n\n- It does not land\u002Fmerge PRs.\n- Ordinary submit edits titles\u002Fbodies only for PRs it creates.\n- Stack-wide replacement of existing PR metadata happens only under explicit `--generate-pr-inventory` authorization; never pass `--yes` on the user's behalf without their explicit approval.\n","# ns-flow-submit\n\nSubmit or update the current Graphite stack by delegating to the `ns flow gt submit` CLI. This is the cross-harness path for `\u002Fns:flow:gt:submit`; do not run a parallel hand-written `gt submit` sequence unless the CLI is unavailable and the user explicitly accepts the fallback.\n\n## When to use\n\nUse only when the user explicitly asks to submit or update the current Graphite stack\u002FPRs. This performs write-capable external effects through Graphite\u002FGitHub.\n\n## Workflow\n\nRun from the repository root:\n\n```bash\nns flow gt submit\n```\n\nThe CLI owns checkpointing, readiness\u002Frestack, Graphite submission, exact-scope post-submit PR reconciliation, and Assembled PR inventories for newly created PRs.\n\nIf the CLI says a restack is required:\n\n- in an interactive session, follow the CLI prompt;\n- in a non-interactive\u002Fheadless invocation, rerun only with explicit user approval:\n\n```bash\nns flow gt submit --restack\n```\n\nOrdinary submit leaves every PR that existed before the invocation untouched. After Graphite publishes, Flow re-queries GitHub for exactly the planned branches and uses those authoritative branch-keyed PR identities—not URLs parsed from Graphite output—to select newly created PRs. It prepares complete generated title\u002Fbody replacements for all selected PRs before any GitHub edit, then applies replacements sequentially. A preparation failure edits none; an edit failure stops and reports applied, failed, and not-attempted PRs.\n\nIf any planned branch has no open PR, multiple open PRs, malformed lookup data, a query failure, or a changed pre-existing identity, submit fails after publication but before inventory generation and edits no PR metadata. Repair the PR\u002Fhead-branch association and rerun `ns flow gt submit`; because the retry treats now-existing PRs as untouched, use `ns flow generate-pr-inventory` on any branch whose initial inventory was skipped.\n\nAn Assembled PR inventory is a best-effort mechanical account from the diff and commit headlines. It is produced without author steering, interview, or approval, so it is distinct from authored or co-authored rationale and may omit intent, rationale, constraints, or context not visible in that evidence. Flow adds this limit as a short italicized note, plus a footer naming the evidence inputs, invoking command, prompt source, and exact qualified model identity.\n\nTo widen the default new-only batch to every reconciled PR in the submitted scope — existing and new — run:\n\n```bash\nns flow gt submit --generate-pr-inventory\n```\n\nThe destructive confirmation occurs before checks, checkpointing, model resolution, or Graphite\u002FGitHub work. This replaces the complete title and body of every selected PR and removes all existing body content, including human-authored prose; there is no managed-region merging and no rollback. It requires a TTY confirmation, or `--yes`\u002F`-y` for explicit non-interactive approval. Flow prepares all replacements before the first edit, then applies them sequentially; a preparation failure edits none, while an apply failure stops and reports applied, failed, and not-attempted PRs.\n\nTo replace the complete title and body of only an existing current-branch PR, run:\n\n```bash\nns flow generate-pr-inventory\n```\n\nThat focused command confirms by default and accepts `--yes` for explicit non-interactive approval. The inventory prompt resolves through `NS_FLOW_PR_INVENTORY_PROMPT`, point `flow.submit.pr-inventory`, conventional path `.ns\u002Fprompts\u002Fflow.submit.pr-inventory.md`, then the built-in default. Model operation `flow.pr-inventory` defaults to `fast` when omitted. This is a clean breaking cutover: old `flow.pr-description` configuration is ignored and therefore falls through to `fast`; there is no compatibility alias.\n\n## Failure handling\n\nSurface CLI output directly, including any `AI interpretation` section and partial metadata-application report. Do not bypass checkpoint, Graphite submit, post-submit verification, or metadata failures. Do not fall back to raw `gt submit` unless the user explicitly asks after seeing the CLI failure.\n\n## Boundaries\n\n- It does not land\u002Fmerge PRs.\n- Ordinary submit edits titles\u002Fbodies only for PRs it creates.\n- Stack-wide replacement of existing PR metadata happens only under explicit `--generate-pr-inventory` authorization; never pass `--yes` on the user's behalf without their explicit approval.\n",{"name":5,"description":7,"allowed-tools":32,"disable-model-invocation":34},[33],"Bash(ns flow gt submit*)",true,"master","44a56f0d543f274b42239091b35fe4d23855f6b3","skills\u002Fincubating\u002Fflow\u002Fns-flow-submit",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":44,"prompt":54,"zipAvailable":34},[45,48,51],{"tool":46,"command":47},"npx","npx skills add nseng-ai\u002Fns --skill ns-flow-submit",{"tool":49,"command":50},"bunx","bunx skills add nseng-ai\u002Fns --skill ns-flow-submit",{"tool":52,"command":53},"pnpm","pnpm dlx skills add nseng-ai\u002Fns --skill ns-flow-submit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Fincubating\u002Fflow\u002Fns-flow-submit\u002FSKILL.md",[56],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",43,"https:\u002F\u002Fgithub.com\u002Fnseng-ai\u002Fns\u002Fblob\u002Fmaster\u002Fskills\u002Fincubating\u002Fflow\u002Fns-flow-submit\u002Fagents\u002Fopenai.yaml",[63,85,116,139,162,173],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":27},"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",[],[70,71,72,73,74,75,76,77,78,79,80,81,82,26,83,84],"pr","make","pr make accountable","design","why","reviewer","decisions","interview","intent","focus","shared","co","with","changes","pr body",{"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":96,"publishedAt":27},"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",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",[97,98,99,73,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"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":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":125,"publishedAt":27},"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",[122],{"categoryNo":123,"categoryName":124,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000008","测试与质量",[126,97,127,128,129,100,130,131,102,132,133,108,134,135,136,137,82,138],"testing","driven","fake driven testing","typescript fake driven testing","cli","memory","code","gateway","dependencies","tests","scenario","Adapters","in-memory",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":27},"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",[],[97,146,147,148,149,150,151,152,108,153,154,155,156,98,157,158,159,115,160,161],"ns typescript","test","guard","vitest","projects","editing","repo","enforcement","references","time","host","oxlint","import","native","alternatives","imports",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":27},"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",[],[97,169,98,170,171,172,26],"tripwire","ns typescript style tripwire","branch","diff",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":182,"publishedAt":27},"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",[179],{"categoryNo":180,"categoryName":181,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000023","Skill与智能体开发",[183,184,185,23,186,172,187,188,46,189,190,82,191,192,193,194,195,196,26,197],"management","skill management","github","remove","nested","manage","local","cat","ln","ls","mkdir","mv","readlink","rg","lock"]