[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DGSWM3RNWXMQ2W50S56AV7":3,"skill-same:01M7DGSWM3RNWXMQ2W50S56AV7":44},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7DGSWM3RNWXMQ2W50S56AV7","cli-software",null,"Use for any task whose prompt is a multi-part specification for a CLI tool or program (numbered requirements, commands, options, output formats, error handling, examples), especially when built incrementally across several checkpoints and graded by hidden tests. Load before reading the spec in detail.","jemdiggity\u002Fkojo","jemdiggity","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1940552?v=4","01M7DGK797SRB0B74KVSKQ44GZ","Jeremy Hale","01M7DGK7ABQPV6AA6CPDC2NNP7",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dbm\u002Fround2\u002Fs2a-exact-shape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cli-software\ndescription: Use for any task whose prompt is a multi-part specification for a CLI tool or program (numbered requirements, commands, options, output formats, error handling, examples), especially when built incrementally across several checkpoints and graded by hidden tests. Load before reading the spec in detail.\n---\n\n# CLI software: liberal in, exact out\n\nOne rule: **accept every plausible reading on input, emit the spec's exact shape on output.**\nRead the spec, implement, verify by running real commands. Never stop to ask; the run is\nnon-interactive.\n\n## Emitted records are compared by exact equality\n\nEvery record your tool emits (an event, a JSON object, a log line, a table row) is checked\nagainst the spec's example for that record type with whole-record equality. One extra key\nfails the test as surely as one missing key.\n\n- Per record type, emit exactly the key set the spec example shows: same names, same\n  nesting, same value types, same ordering where a list is shown. Nothing added, however\n  useful it looks.\n- A record type with no example: copy the key set of its nearest sibling (the closest\n  operation of the same family), keep only the identifier keys that apply to this type,\n  add nothing else.\n- One serializer per record type, fed only the fields the spec names. Do not pass a\n  generic \"everything I know\" dict through.\n- Before finishing, key-set diff: for each record type, load one emitted instance and the\n  spec's example, sort their keys, and compare. A one-liner per type. Any difference is a\n  bug on your side, not the spec's.\n\n## Persisted state is a wire protocol\n\nAnything written to disk or a database and read back later will be pre-seeded and\nhand-edited by the tests.\n\n- Write exactly the spec's schema: same names, types, nesting. No extra columns or keys,\n  not \"for convenience\", not \"to be safe\".\n- Read liberally: tolerate missing optional keys, extra keys, an object wrapper where you\n  expected a list (or the reverse), a string where you expected a structure (or the\n  reverse), older encodings. Normalize on load into one internal form.\n- Unparseable state is an error with a specific message, never a traceback.\n\n## No silent degradation\n\nWhen the spec guarantees a property (a constraint survives, order holds, an undo restores\nthe original exactly, a value round-trips) and the fast path cannot deliver it, do not\nfall through to a weaker result. Take the heavier existing path (full rebuild,\ncopy-and-swap, re-derive from the recorded original). If nothing can preserve it, fail\nwith an explicit error. After an undo, inspect the resulting state directly and compare\nit with the state before.\n\n## Error discipline\n\n- Usage errors come only from the argument parser. Nothing else prints usage.\n- Every other failure prints `Error: \u003Cspecific reason>` to stderr and exits with the code\n  the spec assigns; no traceback, no partial stdout.\n- No broad `except` around the entry point; catch specific exceptions where you can name\n  the cause.\n- Missing target means error, not auto-create, unless the spec says otherwise.\n- Validate every precondition, then mutate. A clean refusal beats a half-applied change.\n- Trigger each error bullet once before finishing: check message, stream, exit code.\n\n## Do not\n\n- Do not add fields to emitted records or stored rows beyond what the spec shows.\n- Do not reject records merely because they differ in shape from what you emit.\n","# CLI software: liberal in, exact out\n\nOne rule: **accept every plausible reading on input, emit the spec's exact shape on output.**\nRead the spec, implement, verify by running real commands. Never stop to ask; the run is\nnon-interactive.\n\n## Emitted records are compared by exact equality\n\nEvery record your tool emits (an event, a JSON object, a log line, a table row) is checked\nagainst the spec's example for that record type with whole-record equality. One extra key\nfails the test as surely as one missing key.\n\n- Per record type, emit exactly the key set the spec example shows: same names, same\n  nesting, same value types, same ordering where a list is shown. Nothing added, however\n  useful it looks.\n- A record type with no example: copy the key set of its nearest sibling (the closest\n  operation of the same family), keep only the identifier keys that apply to this type,\n  add nothing else.\n- One serializer per record type, fed only the fields the spec names. Do not pass a\n  generic \"everything I know\" dict through.\n- Before finishing, key-set diff: for each record type, load one emitted instance and the\n  spec's example, sort their keys, and compare. A one-liner per type. Any difference is a\n  bug on your side, not the spec's.\n\n## Persisted state is a wire protocol\n\nAnything written to disk or a database and read back later will be pre-seeded and\nhand-edited by the tests.\n\n- Write exactly the spec's schema: same names, types, nesting. No extra columns or keys,\n  not \"for convenience\", not \"to be safe\".\n- Read liberally: tolerate missing optional keys, extra keys, an object wrapper where you\n  expected a list (or the reverse), a string where you expected a structure (or the\n  reverse), older encodings. Normalize on load into one internal form.\n- Unparseable state is an error with a specific message, never a traceback.\n\n## No silent degradation\n\nWhen the spec guarantees a property (a constraint survives, order holds, an undo restores\nthe original exactly, a value round-trips) and the fast path cannot deliver it, do not\nfall through to a weaker result. Take the heavier existing path (full rebuild,\ncopy-and-swap, re-derive from the recorded original). If nothing can preserve it, fail\nwith an explicit error. After an undo, inspect the resulting state directly and compare\nit with the state before.\n\n## Error discipline\n\n- Usage errors come only from the argument parser. Nothing else prints usage.\n- Every other failure prints `Error: \u003Cspecific reason>` to stderr and exits with the code\n  the spec assigns; no traceback, no partial stdout.\n- No broad `except` around the entry point; catch specific exceptions where you can name\n  the cause.\n- Missing target means error, not auto-create, unless the spec says otherwise.\n- Validate every precondition, then mutate. A clean refusal beats a half-applied change.\n- Trigger each error bullet once before finishing: check message, stream, exit code.\n\n## Do not\n\n- Do not add fields to emitted records or stored rows beyond what the spec shows.\n- Do not reject records merely because they differ in shape from what you emit.\n",{"name":5,"description":7},"main","90c4e234b13d749b2f69ddcb1c759e5f667f6413","skills\u002Fsonnet-dbm\u002Fround2\u002Fs2a-exact-shape","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo","https:\u002F\u002Fgithub.com\u002Fjemdiggity","2026-11-01 06:04:44",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add jemdiggity\u002Fkojo --skill cli-software",{"tool":36,"command":37},"bunx","bunx skills add jemdiggity\u002Fkojo --skill cli-software",{"tool":39,"command":40},"pnpm","pnpm dlx skills add jemdiggity\u002Fkojo --skill cli-software","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dbm\u002Fround2\u002Fs2a-exact-shape\u002FSKILL.md",true,[],[45,52,57,62,67,72],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7DGWAMS2Z08G9S6KYEBM4YG","service-spec","Invoke before reading any code, for any task whose prompt is a multi-part spec for a service, API or CLI built up over successive parts (part 1, part 2, ... each adding or changing behavior). Apply its rules while reading the spec literally and while choosing behavior where the spec is silent.","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3e-accept\u002FSKILL.md",[],[],{"skillNo":53,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7DGW5T9M4EXVHNTNW1NY6MR","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3d-exact-words\u002FSKILL.md",[],[],{"skillNo":58,"name":47,"nameZh":6,"description":48,"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},"01M7DGW1S560QM0M72BSYP42XB","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3c-omit\u002FSKILL.md",[],[],{"skillNo":63,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7DGVXQS07PEJQBS7VJC9B7R","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3b-inherit\u002FSKILL.md",[],[],{"skillNo":68,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DGVSEXFX35NZPSPBN9833Q","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3a-gate-lean\u002FSKILL.md",[],[],{"skillNo":73,"name":47,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7DGVNNTDB3EGQHJXTNM986H","Use for any task whose prompt is a multi-part spec for a service, API, or CLI built up over successive parts (part 1, part 2, ... each adding or changing behavior). Guides literal reading of the spec and the choices to make where it is silent.","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround2\u002Fd2e-lean\u002FSKILL.md",[],[]]