[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DGPK28PKJQQ2YKBYNDRCB2":3,"skill-same:01M7DGPK28PKJQQ2YKBYNDRCB2":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7DGPK28PKJQQ2YKBYNDRCB2","v5-terse",null,"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\u002Fluna-hc\u002Fround1\u002Fv5-terse\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cli-software\ndescription: Short rules for implementing or extending a command-line program from a specification: read the spec as a checklist, keep one error emitter and one formatter, and run the spec's examples and error cases through your program before finishing. Use for every task whose prompt is a CLI spec.\n---\n# CLI from spec: the short rules\n\n1. The spec is the test suite. Before coding, list every command, flag, error row (type, exit code, trigger), output field, and example. Keep the list until each item has been run.\n2. Exit codes come from the row that names the error type. Category prose never overrides an explicit number.\n3. One error emitter, one exit table. The envelope's command field is the subcommand the user typed whenever one is present, even for bad global flags or option values; the \"no command\" placeholder is only for invocations without a subcommand token. Never derive it from a hard-coded list of commands.\n4. A traceback or internal-error exit is always a bug. Translate foreign exceptions (missing file, bad JSON, failed int conversion, KeyError on a user name) into the spec's types where the input origin is known.\n5. Command-line values and file contents have different error types even for the same bad text. If the runtime value parser reuses the file parser, catch and re-raise the command-line type, and extend the runtime grammar with every new value syntax the part allows.\n6. One value parser, one value formatter, one data model, shared by all commands and formats. Extend with parameters; never copy.\n7. Adding a command or flag means updating every place that enumerates them: usage text, dispatcher, error handler.\n8. Do not shadow builtins or helpers (`format`, `type`, `input`, `id`, `hash`), and never name a class like a builtin exception.\n9. Run the program. `python3 \u003Centry> args; echo $?` with fixtures in `scratch\u002F` inside the workspace (system temp may be blocked, the entry may not be executable, stderr cache warnings are noise). Running the spec's examples is part of the task, not extra testing; no framework or dependencies.\n10. Run every example of the current part and match stdout and exit code byte for byte (key order, prefixes, sorting, blank lines). Trigger every new error type once with `--json` and check type, exit code, command field.\n11. After any change to shared code, rerun one success and one error case from every earlier part.\n12. Exercise new formats and commands with the richest existing features (multi-bit values, nested expressions), not just the simplest example.\n13. Where output must be deterministic, sort explicitly; \"dependency order, ties by name\" means emit the smallest-named ready item each step.\n14. Delete `scratch\u002F` and report which commands you ran. Never finish with \"did not run\".\n","# CLI from spec: the short rules\n\n1. The spec is the test suite. Before coding, list every command, flag, error row (type, exit code, trigger), output field, and example. Keep the list until each item has been run.\n2. Exit codes come from the row that names the error type. Category prose never overrides an explicit number.\n3. One error emitter, one exit table. The envelope's command field is the subcommand the user typed whenever one is present, even for bad global flags or option values; the \"no command\" placeholder is only for invocations without a subcommand token. Never derive it from a hard-coded list of commands.\n4. A traceback or internal-error exit is always a bug. Translate foreign exceptions (missing file, bad JSON, failed int conversion, KeyError on a user name) into the spec's types where the input origin is known.\n5. Command-line values and file contents have different error types even for the same bad text. If the runtime value parser reuses the file parser, catch and re-raise the command-line type, and extend the runtime grammar with every new value syntax the part allows.\n6. One value parser, one value formatter, one data model, shared by all commands and formats. Extend with parameters; never copy.\n7. Adding a command or flag means updating every place that enumerates them: usage text, dispatcher, error handler.\n8. Do not shadow builtins or helpers (`format`, `type`, `input`, `id`, `hash`), and never name a class like a builtin exception.\n9. Run the program. `python3 \u003Centry> args; echo $?` with fixtures in `scratch\u002F` inside the workspace (system temp may be blocked, the entry may not be executable, stderr cache warnings are noise). Running the spec's examples is part of the task, not extra testing; no framework or dependencies.\n10. Run every example of the current part and match stdout and exit code byte for byte (key order, prefixes, sorting, blank lines). Trigger every new error type once with `--json` and check type, exit code, command field.\n11. After any change to shared code, rerun one success and one error case from every earlier part.\n12. Exercise new formats and commands with the richest existing features (multi-bit values, nested expressions), not just the simplest example.\n13. Where output must be deterministic, sort explicitly; \"dependency order, ties by name\" means emit the smallest-named ready item each step.\n14. Delete `scratch\u002F` and report which commands you ran. Never finish with \"did not run\".\n",{},"main","90c4e234b13d749b2f69ddcb1c759e5f667f6413","skills\u002Fluna-hc\u002Fround1\u002Fv5-terse","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo","https:\u002F\u002Fgithub.com\u002Fjemdiggity","2026-11-01 06:04:44",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jemdiggity\u002Fkojo --skill v5-terse",{"tool":35,"command":36},"bunx","bunx skills add jemdiggity\u002Fkojo --skill v5-terse",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jemdiggity\u002Fkojo --skill v5-terse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fluna-hc\u002Fround1\u002Fv5-terse\u002FSKILL.md",true,[],[44,51,56,61,66,71],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"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":52,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7DGW5T9M4EXVHNTNW1NY6MR","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3d-exact-words\u002FSKILL.md",[],[],{"skillNo":57,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7DGW1S560QM0M72BSYP42XB","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3c-omit\u002FSKILL.md",[],[],{"skillNo":62,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7DGVXQS07PEJQBS7VJC9B7R","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3b-inherit\u002FSKILL.md",[],[],{"skillNo":67,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7DGVSEXFX35NZPSPBN9833Q","https:\u002F\u002Fgithub.com\u002Fjemdiggity\u002Fkojo\u002Fblob\u002Fmain\u002Fskills\u002Fsonnet-dcs\u002Fround3\u002Fd3a-gate-lean\u002FSKILL.md",[],[],{"skillNo":72,"name":46,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"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",[],[]]