[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CTJFA9HFS1C3MY8064WVHG":3,"skill-same:01M7CTJFA9HFS1C3MY8064WVHG":50},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7CTJFA9HFS1C3MY8064WVHG","shell",null,"Lyngon shell conventions. Invoke before writing or editing a shell script or a file under a scripts\u002F directory.","lyngon\u002Fdevkit","lyngon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F70928830?v=4","01M7CTHVD57GT6VR6Y5SES6GKR","Lyngon","01M7CTHVDSGGTXSY9S7M5MA8RA",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fconventions\u002Fskills\u002Fshell\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: shell\ndescription: Lyngon shell conventions. Invoke before writing or editing a shell script or a file under a scripts\u002F directory.\nuser-invocable: false\npaths:\n  - \"**\u002F*.sh\"\n  - \"**\u002F*.bash\"\n  - \"**\u002Fscripts\u002F**\"\n---\n\n# Shell conventions\n\n- A shell script is bash: `#!\u002Fusr\u002Fbin\u002Fenv bash`, then `set -euo pipefail` before its first command.\n- Under `pipefail` a pipeline fails when any command in it fails, so `cmd | grep -q pattern` is false whenever `cmd` exits non-zero, even on a match. Never pipe a command whose failure is expected into `grep -q`; capture its output first and match the variable:\n\n  ```bash\n  out=$(cmd 2>&1) || true\n  grep -q 'expected message' \u003C\u003C\u003C\"$out\"\n  ```\n\n- A command meant for a person to run by hand (in a README, a runbook or a plan step) is POSIX sh, or runs through `bash -c '...'`. The person's shell may be zsh, where bash-only syntax such as `${PIPESTATUS[0]}` prints nothing.\n- A script that a hook or task runs is a `pkgs.writeShellApplication` with its dependencies in `runtimeInputs`, never a bare path that assumes PATH. It sets the same options and runs ShellCheck when it is built.\n- Every script is shellcheck clean; the `shellcheck` hook checks it.\n- Silence a single finding with `# shellcheck disable=SC2086  # reason` on the line above it.\n","# Shell conventions\n\n- A shell script is bash: `#!\u002Fusr\u002Fbin\u002Fenv bash`, then `set -euo pipefail` before its first command.\n- Under `pipefail` a pipeline fails when any command in it fails, so `cmd | grep -q pattern` is false whenever `cmd` exits non-zero, even on a match. Never pipe a command whose failure is expected into `grep -q`; capture its output first and match the variable:\n\n  ```bash\n  out=$(cmd 2>&1) || true\n  grep -q 'expected message' \u003C\u003C\u003C\"$out\"\n  ```\n\n- A command meant for a person to run by hand (in a README, a runbook or a plan step) is POSIX sh, or runs through `bash -c '...'`. The person's shell may be zsh, where bash-only syntax such as `${PIPESTATUS[0]}` prints nothing.\n- A script that a hook or task runs is a `pkgs.writeShellApplication` with its dependencies in `runtimeInputs`, never a bare path that assumes PATH. It sets the same options and runs ShellCheck when it is built.\n- Every script is shellcheck clean; the `shellcheck` hook checks it.\n- Silence a single finding with `# shellcheck disable=SC2086  # reason` on the line above it.\n",{"name":5,"paths":24,"description":7,"user-invocable":20},[25,26,27],"**\u002F*.sh","**\u002F*.bash","**\u002Fscripts\u002F**","main","7d4c29d5ef25e4bff96b8ed951739cd04811984b","plugins\u002Fconventions\u002Fskills\u002Fshell","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit","https:\u002F\u002Fwww.lyngon.com","https:\u002F\u002Fgithub.com\u002Flyngon","www.lyngon.com","2026-11-14 19:00:56",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lyngon\u002Fdevkit --skill shell",{"tool":42,"command":43},"bunx","bunx skills add lyngon\u002Fdevkit --skill shell",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lyngon\u002Fdevkit --skill shell","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fconventions\u002Fskills\u002Fshell\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7CTNRE8KXX2CG9Q2XYYBTDE","unslop","Remove AI writing patterns from prose and give it a voice. Use whenever writing or editing non-code text (docs, READMEs, decision records, posts, commit messages, PR descriptions), before handing it over, and on request: \"unslop\", \"humanize\", \"make this sound human\", \"clean up this writing\", \"edit for voice\", \"de-AI this text\".","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fwriting\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7CTNHG9ENS5D6GCA9283V08","technical","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use before writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages, every time, however small the document.","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fwriting\u002Fskills\u002Ftechnical\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"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},"01M7CTND9T9J9P1TR6RRDVAXF4","simpler","Restate the last message in plain human language, with no jargon. Use when the reader did not follow the last message and says so: \"bro\", \"say that simpler\", \"in plain words\", \"no jargon\".","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fwriting\u002Fskills\u002Fsimpler\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7CTN8H1N39FCQ67AM7WD4S2","init","Set up a fresh repository, or adopt an existing one, to Lyngon conventions. Interviews the owner relentlessly about purpose, failure modes, audiences, stack and constraints, then writes INTENT.md, .claude\u002FCLAUDE.md, README.md, CONCEPTS.md, decision records, devenv, git hooks, CI and every package in the kind-first Lyngon layout. User-invoked only.","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Frepo\u002Fskills\u002Finit\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7CTN36H4AR1GATK3KE5E85X","add-package","Create a package in a Lyngon repository in the directory its kind decides (apps\u002F, libs\u002F, contracts\u002F, tools\u002F, infra\u002F), with README.md, devenv.nix and the layer lint, and register it in its workspace and devenv. Use whenever a new app, service, CLI, library, adapter, contract, schema, tool, infra module or environment is needed, including when one feature needs several packages. Never create a package by hand.","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Frepo\u002Fskills\u002Fadd-package\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7CTMZE95Q1FJWKJRB8WCX4E","index","The index of Lyngon's principles, one line per principle saying when it applies and what it demands, each with a file under references\u002F. Invoke before work that takes judgment, such as a design choice, a refactor, a bug fix, a test, a measurement, a script, a document or a question to the owner; then read the file of each principle that applies.","https:\u002F\u002Fgithub.com\u002Flyngon\u002Fdevkit\u002Fblob\u002Fmain\u002Fplugins\u002Fprinciples\u002Fskills\u002Findex\u002FSKILL.md",[],[]]