[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CF7JR3VHPZN90BG94CKEHS":3,"skill-same:01M6CF7JR3VHPZN90BG94CKEHS":162},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6CF7JR3VHPZN90BG94CKEHS","write-functional",null,"Write code in functional style — pure core, effects at edges, composition over mutation.","usurobor\u002Fcnos","usurobor","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182342826?v=4","01M6CEXJCRMYD8HB2315FGB1Q8","Peter Lisovin","01M6CEXJH2RW04GQ2SNXY40F5S",9,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.eng\u002Fskills\u002Feng\u002Fwrite-functional\u002FSKILL.md",[],[19,20,21,22,23,24,25],"write","write functional","core","code","immutable","Composition","how","2026-11-10 10:12:30",false,"---\nname: write-functional\ndescription: Write code in functional style — pure core, effects at edges, composition over mutation.\ngoverning_question: How do we write code with a pure core, effects at the edges, and composition replacing mutation?\ntriggers: [functional, pure, immutable, composition, algebraic]\nscope: task-local\n---\n\n# Write Functional\n\n> This skill is a domain specialization of the core `write` skill\n> (`cnos.core\u002Fskills\u002Fwrite\u002FSKILL.md`). It applies the verb-and-style\n> convention: `write` governs writing acts in general; `write-functional`\n> narrows that to writing code in functional style.\n\n## Core Principle\n\n**Pure core, effects at edges.**\n\nBusiness logic is pure functions. I\u002FO, state, and time live at the boundary. The pure core is trivially testable; the effectful shell is thin and auditable.\n\n## 1. Purity\n\n### 1.1 Isolate Effects (see also: code §2.3)\n\n```\n❌ parse_and_write(path)           -- mixed\n✅ content |> parse |> write       -- separated\n```\n\n### 1.2 Return, Don't Mutate\n\n```\n❌ let count = ref 0 in ... incr count\n✅ let rec loop acc = ... loop (acc + 1)\n```\n\n### 1.3 Localize Mutable State\n\nWhen mutation is necessary (e.g., parsers), contain it:\n\n```ocaml\n(* State doesn't escape — API is pure *)\ntype state = { src: string; mutable pos: int }\nlet parse s =\n  let st = { src = s; pos = 0 } in\n  parse_value st  (* returns Result, no state leaks *)\n```\n\n**Case study: `cn_json.ml`** — full JSON parser using localized mutable `pos`.\nAPI is `parse : string -> (t, string) result` — pure. Internally uses\n`{ src; mutable pos }` for efficient single-pass parsing. Errors return\nposition info: `Error (sprintf \"expected X at pos %d\" st.pos)`.\n\n## 2. Composition\n\n### 2.1 Pipelines Over Sequences\n\n```\n❌ let a = f x in let b = g a in h b\n✅ x |> f |> g |> h\n```\n\n### 2.2 Small Functions That Compose\n\n```\n❌ process_everything(input)\n✅ input |> validate |> transform |> emit\n```\n\n### 2.3 Map\u002FFilter\u002FFold Over Loops\n\n```\n❌ for i = 0 to n do ... done\n✅ List.map f items\n✅ List.filter_map extract items   (* filter + map in one pass *)\n✅ List.fold_left combine init items\n```\n\n## 3. Types as Constraints\n\n### 3.1 Closed Sum Types\n\nMake invalid states unrepresentable:\n\n```ocaml\n❌ type status = string\n✅ type status = Pending | Active | Closed\n```\n\n### 3.2 Semantic Newtypes\n\n```ocaml\n❌ let send (to_: string) (msg: string) = ...\n✅ type peer_id = PeerId of string\n   let send (PeerId to_) (msg: string) = ...\n```\n\n### 3.3 Result Over Exceptions\n\n```ocaml\n❌ raise (Parse_error \"unexpected\")\n✅ Error (Printf.sprintf \"expected X at pos %d\" pos)\n```\n\n### 3.4 Option Over Null Checks\n\n```ocaml\n❌ if x = \"\" then ... else ...\n✅ match find key map with Some v -> ... | None -> ...\n```\n\n## 4. Error Handling\n\n### 4.1 Explicit Error Paths\n\n```ocaml\n(* Every function that can fail returns Result *)\nlet parse s : (value, string) result = ...\nlet load path : (config, string) result = ...\n```\n\n### 4.2 Early Return Pattern\n\n```ocaml\nmatch step1 () with\n| Error e -> Error e\n| Ok a ->\n  match step2 a with\n  | Error e -> Error e\n  | Ok b -> Ok (finish b)\n```\n\nOr with bind:\n```ocaml\nlet ( let* ) = Result.bind in\nlet* a = step1 () in\nlet* b = step2 a in\nOk (finish b)\n```\n\n### 4.3 Fun.protect for Cleanup\n\n```ocaml\nlet read path =\n  let ic = open_in path in\n  Fun.protect ~finally:(fun () -> close_in_noerr ic) (fun () ->\n    really_input_string ic (in_channel_length ic))\n```\n\n## 5. Testing\n\n### 5.1 Pure Functions Are Trivially Testable\n\nNo mocking, no setup, no teardown:\n\n```ocaml\nlet%expect_test \"parse null\" =\n  match parse \"null\" with\n  | Ok Null -> print_endline \"null\"\n  | _ -> print_endline \"FAIL\";\n  [%expect {| null |}]\n```\n\n### 5.2 Test the Pure Core Exhaustively\n\nEffects are thin wrappers — test them minimally. Pure logic gets full coverage.\n\n## Anti-Patterns\n\n| Anti-Pattern | Fix |\n|--------------|-----|\n| `ref` for accumulation | Recursive loop with accumulator |\n| `for`\u002F`while` loops | `List.map`, `fold_left`, recursion |\n| Exception for control flow | `Result` or `Option` |\n| `Option.get` \u002F `List.hd` | Pattern match explicitly |\n| Mixed pure\u002Feffectful | Separate into core\u002Fshell |\n| String for everything | Sum types, newtypes |\n\n## When to Break Rules\n\n1. **Performance-critical hot paths** — mutation may be necessary\n2. **Parser internals** — mutable pos is fine if API is pure\n3. **FFI boundaries** — imperative style may be clearer\n\nDocument the exception. Contain it. Don't let it leak.\n","# Write Functional\n\n> This skill is a domain specialization of the core `write` skill\n> (`cnos.core\u002Fskills\u002Fwrite\u002FSKILL.md`). It applies the verb-and-style\n> convention: `write` governs writing acts in general; `write-functional`\n> narrows that to writing code in functional style.\n\n## Core Principle\n\n**Pure core, effects at edges.**\n\nBusiness logic is pure functions. I\u002FO, state, and time live at the boundary. The pure core is trivially testable; the effectful shell is thin and auditable.\n\n## 1. Purity\n\n### 1.1 Isolate Effects (see also: code §2.3)\n\n```\n❌ parse_and_write(path)           -- mixed\n✅ content |> parse |> write       -- separated\n```\n\n### 1.2 Return, Don't Mutate\n\n```\n❌ let count = ref 0 in ... incr count\n✅ let rec loop acc = ... loop (acc + 1)\n```\n\n### 1.3 Localize Mutable State\n\nWhen mutation is necessary (e.g., parsers), contain it:\n\n```ocaml\n(* State doesn't escape — API is pure *)\ntype state = { src: string; mutable pos: int }\nlet parse s =\n  let st = { src = s; pos = 0 } in\n  parse_value st  (* returns Result, no state leaks *)\n```\n\n**Case study: `cn_json.ml`** — full JSON parser using localized mutable `pos`.\nAPI is `parse : string -> (t, string) result` — pure. Internally uses\n`{ src; mutable pos }` for efficient single-pass parsing. Errors return\nposition info: `Error (sprintf \"expected X at pos %d\" st.pos)`.\n\n## 2. Composition\n\n### 2.1 Pipelines Over Sequences\n\n```\n❌ let a = f x in let b = g a in h b\n✅ x |> f |> g |> h\n```\n\n### 2.2 Small Functions That Compose\n\n```\n❌ process_everything(input)\n✅ input |> validate |> transform |> emit\n```\n\n### 2.3 Map\u002FFilter\u002FFold Over Loops\n\n```\n❌ for i = 0 to n do ... done\n✅ List.map f items\n✅ List.filter_map extract items   (* filter + map in one pass *)\n✅ List.fold_left combine init items\n```\n\n## 3. Types as Constraints\n\n### 3.1 Closed Sum Types\n\nMake invalid states unrepresentable:\n\n```ocaml\n❌ type status = string\n✅ type status = Pending | Active | Closed\n```\n\n### 3.2 Semantic Newtypes\n\n```ocaml\n❌ let send (to_: string) (msg: string) = ...\n✅ type peer_id = PeerId of string\n   let send (PeerId to_) (msg: string) = ...\n```\n\n### 3.3 Result Over Exceptions\n\n```ocaml\n❌ raise (Parse_error \"unexpected\")\n✅ Error (Printf.sprintf \"expected X at pos %d\" pos)\n```\n\n### 3.4 Option Over Null Checks\n\n```ocaml\n❌ if x = \"\" then ... else ...\n✅ match find key map with Some v -> ... | None -> ...\n```\n\n## 4. Error Handling\n\n### 4.1 Explicit Error Paths\n\n```ocaml\n(* Every function that can fail returns Result *)\nlet parse s : (value, string) result = ...\nlet load path : (config, string) result = ...\n```\n\n### 4.2 Early Return Pattern\n\n```ocaml\nmatch step1 () with\n| Error e -> Error e\n| Ok a ->\n  match step2 a with\n  | Error e -> Error e\n  | Ok b -> Ok (finish b)\n```\n\nOr with bind:\n```ocaml\nlet ( let* ) = Result.bind in\nlet* a = step1 () in\nlet* b = step2 a in\nOk (finish b)\n```\n\n### 4.3 Fun.protect for Cleanup\n\n```ocaml\nlet read path =\n  let ic = open_in path in\n  Fun.protect ~finally:(fun () -> close_in_noerr ic) (fun () ->\n    really_input_string ic (in_channel_length ic))\n```\n\n## 5. Testing\n\n### 5.1 Pure Functions Are Trivially Testable\n\nNo mocking, no setup, no teardown:\n\n```ocaml\nlet%expect_test \"parse null\" =\n  match parse \"null\" with\n  | Ok Null -> print_endline \"null\"\n  | _ -> print_endline \"FAIL\";\n  [%expect {| null |}]\n```\n\n### 5.2 Test the Pure Core Exhaustively\n\nEffects are thin wrappers — test them minimally. Pure logic gets full coverage.\n\n## Anti-Patterns\n\n| Anti-Pattern | Fix |\n|--------------|-----|\n| `ref` for accumulation | Recursive loop with accumulator |\n| `for`\u002F`while` loops | `List.map`, `fold_left`, recursion |\n| Exception for control flow | `Result` or `Option` |\n| `Option.get` \u002F `List.hd` | Pattern match explicitly |\n| Mixed pure\u002Feffectful | Separate into core\u002Fshell |\n| String for everything | Sum types, newtypes |\n\n## When to Break Rules\n\n1. **Performance-critical hot paths** — mutation may be necessary\n2. **Parser internals** — mutable pos is fine if API is pure\n3. **FFI boundaries** — imperative style may be clearer\n\nDocument the exception. Contain it. Don't let it leak.\n",{"name":5,"scope":31,"triggers":32,"description":7,"governing_question":37},"task-local",[33,34,23,35,36],"functional","pure","composition","algebraic","How do we write code with a pure core, effects at the edges, and composition replacing mutation?","main","fb527e6c4bfb75c71fa75d6471b3aa3da32106d4","src\u002Fpackages\u002Fcnos.eng\u002Fskills\u002Feng\u002Fwrite-functional",0,"https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos","https:\u002F\u002Fgithub.com\u002Fusurobor","Coherence engineer. Building git-CN.","2026-11-07 14:25:44",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add usurobor\u002Fcnos --skill write-functional",{"tool":52,"command":53},"bunx","bunx skills add usurobor\u002Fcnos --skill write-functional",{"tool":55,"command":56},"pnpm","pnpm dlx skills add usurobor\u002Fcnos --skill write-functional","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.eng\u002Fskills\u002Feng\u002Fwrite-functional\u002FSKILL.md",true,[60,66,70,74,80,84,88,92,96,100,104,108,112,116,120,126,130,134,138,142,146,150,154,158],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"assets\u002Fdirectory-browser.css","ASSET","资产文件",2993,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fdirectory-browser.css",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"assets\u002Ffavicon.ico",15406,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Ffavicon.ico",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"assets\u002Fnovel-theme.css",612,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fnovel-theme.css",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"assets\u002Freader.js","SCRIPT","脚本",24490,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Freader.js",{"path":81,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002Fstyles\u002Fnovel-theme-base.css",1013,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-base.css",{"path":85,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":86,"sourceHtmlUrl":87},"assets\u002Fstyles\u002Fnovel-theme-components.css",3858,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-components.css",{"path":89,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":90,"sourceHtmlUrl":91},"assets\u002Fstyles\u002Fnovel-theme-content.css",2947,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-content.css",{"path":93,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":94,"sourceHtmlUrl":95},"assets\u002Fstyles\u002Fnovel-theme-header.css",3980,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-header.css",{"path":97,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":98,"sourceHtmlUrl":99},"assets\u002Fstyles\u002Fnovel-theme-mermaid.css",3223,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-mermaid.css",{"path":101,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":102,"sourceHtmlUrl":103},"assets\u002Fstyles\u002Fnovel-theme-overlays.css",3729,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-overlays.css",{"path":105,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":106,"sourceHtmlUrl":107},"assets\u002Fstyles\u002Fnovel-theme-responsive.css",4653,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-responsive.css",{"path":109,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":110,"sourceHtmlUrl":111},"assets\u002Fstyles\u002Fnovel-theme-sidebar.css",6376,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-sidebar.css",{"path":113,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":114,"sourceHtmlUrl":115},"assets\u002Fstyles\u002Fnovel-theme-variables.css",1395,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Fstyles\u002Fnovel-theme-variables.css",{"path":117,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":118,"sourceHtmlUrl":119},"assets\u002Ftemplate.html",6187,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fassets\u002Ftemplate.html",{"path":121,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":124,"sourceHtmlUrl":125},"package.json","REFERENCE","参考文档",352,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fpackage.json",{"path":127,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Freader-experience.md",625,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Freferences\u002Freader-experience.md",{"path":131,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Freader-operations.md",1139,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Freferences\u002Freader-operations.md",{"path":135,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Flib\u002Fhttp-server.cjs",11701,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fhttp-server.cjs",{"path":139,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Flib\u002Fmarkdown-renderer.cjs",9959,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fmarkdown-renderer.cjs",{"path":143,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":144,"sourceHtmlUrl":145},"scripts\u002Flib\u002Fplan-navigator.cjs",10377,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fplan-navigator.cjs",{"path":147,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":148,"sourceHtmlUrl":149},"scripts\u002Flib\u002Fplan-table-parser.cjs",10123,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fplan-table-parser.cjs",{"path":151,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Flib\u002Fport-finder.cjs",1272,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fport-finder.cjs",{"path":155,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":156,"sourceHtmlUrl":157},"scripts\u002Flib\u002Fprocess-mgr.cjs",3781,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Flib\u002Fprocess-mgr.cjs",{"path":159,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":160,"sourceHtmlUrl":161},"scripts\u002Fserver.cjs",9812,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fpackages\u002Fmewkit\u002Fsrc\u002Fmigrate\u002Fmodules\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-markdown-reader\u002Fscripts\u002Fserver.cjs",[163,193,213,231,248,269],{"skillNo":164,"name":165,"nameZh":166,"description":167,"descriptionZh":168,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":181,"publishedAt":26},"01M6CF8RWQPM0VXZG06XMR0FFX","issues\u002Ftriage","Issue 分诊与判定","Issue triage doctrine pointer. Use when classifying a new issue, deciding dispatch eligibility, or deciding whether to close\u002Fsupersede\u002Fdefer.","Issue 分诊规则指引。在对新 issue 进行分类、判定其是否符合派发条件，或决定将其关闭\u002F取代\u002F延后时使用。","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Ftriage\u002FSKILL.md",[171,176],{"categoryNo":172,"categoryName":173,"taxonomyType":174,"taxonomyTypeDesc":175},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":177,"categoryName":178,"taxonomyType":179,"taxonomyTypeDesc":180},"01M8C2MZSDTE56BDKER3VPW2JM","工单与问题跟踪管理","SCENARIO","使用场景",[182,183,184,185,186,25,187,188,189,190,191,192],"triage","issues","issues triage","issue triage","SET","decision","public","use","dispatch","issue","doctrine",{"skillNo":194,"name":195,"nameZh":196,"description":197,"descriptionZh":198,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":203,"publishedAt":26},"01M6CF8PJ812DD4APZ3WE8X67B","issues\u002Ftaxonomy","Issue 标签分类体系","Issue label taxonomy pointer. Use when classifying an issue's kind\u002Farea\u002Fpriority\u002Feffort\u002Fstatus\u002Fprotocol\u002Fdispatch labels, or when the board needs to interpret them.","Issue 标签分类体系指引。在对 issue 的 kind\u002Farea\u002Fpriority\u002Feffort\u002Fstatus\u002Fprotocol\u002Fdispatch 标签进行分类，或看板需要解读这些标签时使用。","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Ftaxonomy\u002FSKILL.md",[201,202],{"categoryNo":172,"categoryName":173,"taxonomyType":174,"taxonomyTypeDesc":175},{"categoryNo":177,"categoryName":178,"taxonomyType":179,"taxonomyTypeDesc":180},[183,204,205,206,207,208,186,209,188,210,189,190,211,191,212],"taxonomy","issues taxonomy","github","status","protocol","open","board","github issue","issue labels",{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":217,"categories":218,"keywords":219,"publishedAt":26},"01M6CF8KBMZ4D0CDJQ3PF1YVTP","issues\u002Fmap","Issue-board (Issue Pivot) generation domain. Use when reasoning about `cn issues map`'s fetch, taxonomy-parse, effort-computation, and render pipeline, or about the board's JSON\u002FHTML output contract.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002Fskills\u002Fmap\u002FSKILL.md",[],[183,220,206,221,222,223,186,224,204,209,25,225,226,210,227,228,229,230,189,191],"issues map","reasoning","data","pipeline","api","json","README","edit","interactive","fetch","generated",{"skillNo":232,"name":183,"nameZh":6,"description":233,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":234,"categories":235,"keywords":236,"publishedAt":26},"01M6CF8CZQH7G7B7RZPANQWR4G","cnos.issues package entrypoint. Use when reasoning about issue taxonomy, the Issue Pivot \u002F issue-board (`cn issues map`), the read-only CDS issue-state evaluator (`cn issues fsm evaluate`), or the current command-dispatch disposition of issue tooling.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.issues\u002FSKILL.md",[],[183,206,237,238,239,240,241,242,243,204,209,25,187,244,226,245,189,246,190,247],"pr","current state","run","artifacts","state","package","boundary","branch","command","only","cds",{"skillNo":249,"name":250,"nameZh":6,"description":251,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":252,"categories":253,"keywords":254,"publishedAt":26},"01M6CF896XKSRQVB1CSHY8GSXB","receipt-stream","Cross-cycle receipt-stream doctrine for protocol-iteration. Use when γ closes a cycle and writes the per-cycle iteration artifact (`cdd-iteration.md`), when γ updates the cross-cycle aggregator at `.cdd\u002Fiterations\u002FINDEX.md`, when ε reads the receipt stream across cycles to surface protocol-gap patterns, when a finding's disposition lands a cross-repo patch and the cross-repo trace bundle attaches, or when a courtesy empty-findings stub is written for a `protocol_gap_count == 0` cycle.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.handoff\u002Fskills\u002Fhandoff\u002Freceipt-stream\u002FSKILL.md",[],[255,256,240,208,257,25,258,259,260,188,261,262,263,264,189,265,266,267,268,192],"receipt stream","handoff","index","learning","format","trace","repo","closeout","read","channel","embedded","patch","shape","cdd",{"skillNo":270,"name":271,"nameZh":6,"description":272,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":273,"categories":274,"keywords":275,"publishedAt":26},"01M6CF84VCBME6RK8V6HAVDM8Z","mid-flight","Mid-flight γ→in-flight-α rescue channel. Use when γ needs to change a load-bearing fact (pinned axis, scope, AC, blocker) after α has begun coding, when γ edits the cycle's GitHub issue body mid-cycle, or when a spec change lands on origin\u002Fmain while α\u002Fβ polling sessions are in-flight.","https:\u002F\u002Fgithub.com\u002Fusurobor\u002Fcnos\u002Fblob\u002Fmain\u002Fsrc\u002Fpackages\u002Fcnos.handoff\u002Fskills\u002Fhandoff\u002Fmid-flight\u002FSKILL.md",[],[276,206,277,278,279,280,25,281,282,244,261,263,189,246,190,283,211,284,285,286],"mid flight","change","sessions","file","cache","pin","coordination","up","Legacy","gamma","artifact channel"]