[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DER8DH61V2S6JRG6GSSW39":3,"skill-same:01M7DER8DH61V2S6JRG6GSSW39":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7DER8DH61V2S6JRG6GSSW39","galahad",null,"Use when running tests, fixing type errors, or improving coverage - prioritizes 100% green checks as a trustworthy signal","kejadlen\u002Fdotfiles","kejadlen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8639?v=4","01M7DEPV4SN2WBW50SBF2KG7D1","Alpha Chen","01M7DEPV5FBX0YWCBKEVHKT8E2",10,"MIT","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fgalahad\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: galahad\ndescription: Use when running tests, fixing type errors, or improving coverage - prioritizes 100% green checks as a trustworthy signal\nsource: https:\u002F\u002Fgithub.com\u002Flambdamechanic\u002Fskills\u002Fblob\u002Fmain\u002Fgalahad\u002FSKILL.md\nuser-invocable: false\n---\n\n# Coding Agent Quality Rules (Galahad Principle)\n\nBased on Jonathan Lange’s “The Galahad Principle”:\nhttps:\u002F\u002Fjml.io\u002Fgalahad-principle\u002F\n\nCore idea: **getting to 100% yields disproportionate value**—especially **simplicity** and **trust**. When checks are truly “all green”, any new failure is a strong, unambiguous signal; “absence of evidence becomes evidence of absence”.\n\n## Non-negotiables: never evade feedback\n\nTreat **type errors, test failures, pre-commit hooks, lint errors, and coverage warnings** as helpful feedback. Fix root causes.\n\n### Absolutely forbidden (unless the user explicitly orders it)\n- **Type escapes \u002F silencing**\n  - `any`, sketchy `unknown` laundering, unchecked casts, `as any`, `@ts-ignore`, `# type: ignore`, `noqa`, disabling strict mode, weakening compiler flags, etc.\n- **Coverage gaming**\n  - Ignoring\u002Fexcluding lines\u002Fbranches\u002Ffiles just to hit targets (`\u002F* istanbul ignore *\u002F`, `# pragma: no cover`, “generated” tricks, config exclusions, decorator\u002Fmacro suppression).\n- **Faking results**\n  - Skipping CI steps and claiming success; “snapshotting” coverage; lowering thresholds; marking tests flaky to ignore them.\n\n## Priorities\n\nType safety is part of correctness and **outranks tests**.\n\nWhen tradeoffs exist, prioritize in this order:\n1. **Type safety \u002F soundness**\n2. **Correctness + meaningful tests**\n3. **Clarity \u002F maintainability**\n4. **Performance**\n5. **Backwards compatibility** (lowest)\n\nBreaking changes are acceptable when they improve verifiability and simplify the system.\n\n## Default workflow (when anything fails)\n\n1. Read the failure output carefully.\n2. Restate the real invariant being violated in plain English.\n3. Fix the root cause (not the symptom).\n4. Improve tests so the behavior is pinned and regressions get caught.\n5. Refactor production code if needed to make it easy to type-check and validate.\n\n### Run checks in this order\n1. **Typecheck**\n2. **Unit tests**\n3. **Integration tests**\n4. **Lint \u002F pre-commit**\n5. **Coverage**\n\nGoal: a repo where “all green” is normal, and any new red is a loud, trustworthy signal.\n\n## “Hard to test” means refactor\n\nIf something is hard to test or hard to type:\n- Treat it as a **design smell**.\n- Refactor towards:\n  - smaller pure functions\n  - explicit data flow, minimal global state\n  - clear boundaries between logic and side effects\n  - typed domain models over stringly-typed blobs\n\n## Mocks: don’t overuse them\n\nAvoid injecting mocks via monkeypatching or replacing system utilities by default.\n\nPreferred approach:\n- Make the function under test able to operate in multiple environments by **passing in the substitutable operations explicitly** (usually as function parameters or small interfaces).\n- Only do this for operations that genuinely need substitution in tests (time, randomness, network, filesystem, process execution, etc.).\n- This makes the injection point **explicit**, documents what varies, and keeps tests honest without fragile mocking.\n\n## What “good” looks like\n\n- Types encode invariants; no “trust me” casts.\n- Tests assert observable behavior (not implementation trivia).\n- Coverage comes from exercising real behavior, not exclusions.\n- If a thing can’t be verified cleanly, refactor until it can.\n","# Coding Agent Quality Rules (Galahad Principle)\n\nBased on Jonathan Lange’s “The Galahad Principle”:\nhttps:\u002F\u002Fjml.io\u002Fgalahad-principle\u002F\n\nCore idea: **getting to 100% yields disproportionate value**—especially **simplicity** and **trust**. When checks are truly “all green”, any new failure is a strong, unambiguous signal; “absence of evidence becomes evidence of absence”.\n\n## Non-negotiables: never evade feedback\n\nTreat **type errors, test failures, pre-commit hooks, lint errors, and coverage warnings** as helpful feedback. Fix root causes.\n\n### Absolutely forbidden (unless the user explicitly orders it)\n- **Type escapes \u002F silencing**\n  - `any`, sketchy `unknown` laundering, unchecked casts, `as any`, `@ts-ignore`, `# type: ignore`, `noqa`, disabling strict mode, weakening compiler flags, etc.\n- **Coverage gaming**\n  - Ignoring\u002Fexcluding lines\u002Fbranches\u002Ffiles just to hit targets (`\u002F* istanbul ignore *\u002F`, `# pragma: no cover`, “generated” tricks, config exclusions, decorator\u002Fmacro suppression).\n- **Faking results**\n  - Skipping CI steps and claiming success; “snapshotting” coverage; lowering thresholds; marking tests flaky to ignore them.\n\n## Priorities\n\nType safety is part of correctness and **outranks tests**.\n\nWhen tradeoffs exist, prioritize in this order:\n1. **Type safety \u002F soundness**\n2. **Correctness + meaningful tests**\n3. **Clarity \u002F maintainability**\n4. **Performance**\n5. **Backwards compatibility** (lowest)\n\nBreaking changes are acceptable when they improve verifiability and simplify the system.\n\n## Default workflow (when anything fails)\n\n1. Read the failure output carefully.\n2. Restate the real invariant being violated in plain English.\n3. Fix the root cause (not the symptom).\n4. Improve tests so the behavior is pinned and regressions get caught.\n5. Refactor production code if needed to make it easy to type-check and validate.\n\n### Run checks in this order\n1. **Typecheck**\n2. **Unit tests**\n3. **Integration tests**\n4. **Lint \u002F pre-commit**\n5. **Coverage**\n\nGoal: a repo where “all green” is normal, and any new red is a loud, trustworthy signal.\n\n## “Hard to test” means refactor\n\nIf something is hard to test or hard to type:\n- Treat it as a **design smell**.\n- Refactor towards:\n  - smaller pure functions\n  - explicit data flow, minimal global state\n  - clear boundaries between logic and side effects\n  - typed domain models over stringly-typed blobs\n\n## Mocks: don’t overuse them\n\nAvoid injecting mocks via monkeypatching or replacing system utilities by default.\n\nPreferred approach:\n- Make the function under test able to operate in multiple environments by **passing in the substitutable operations explicitly** (usually as function parameters or small interfaces).\n- Only do this for operations that genuinely need substitution in tests (time, randomness, network, filesystem, process execution, etc.).\n- This makes the injection point **explicit**, documents what varies, and keeps tests honest without fragile mocking.\n\n## What “good” looks like\n\n- Types encode invariants; no “trust me” casts.\n- Tests assert observable behavior (not implementation trivia).\n- Coverage comes from exercising real behavior, not exclusions.\n- If a thing can’t be verified cleanly, refactor until it can.\n",{"name":5,"source":24,"description":7,"user-invocable":20},"https:\u002F\u002Fgithub.com\u002Flambdamechanic\u002Fskills\u002Fblob\u002Fmain\u002Fgalahad\u002FSKILL.md","main","54400d2fb3ebb925baf35311c647aaa31e7a5222","ai\u002Fskills\u002Fgalahad",0,"https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fkejadlen","https:\u002F\u002Fkejadlen.dev","2026-11-14 03:39:37",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add kejadlen\u002Fdotfiles --skill galahad",{"tool":39,"command":40},"bunx","bunx skills add kejadlen\u002Fdotfiles --skill galahad",{"tool":42,"command":43},"pnpm","pnpm dlx skills add kejadlen\u002Fdotfiles --skill galahad","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fgalahad\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7DEVM19CB8GSCZV56PHA594","zoekt","Use when searching code across repositories — prefer zoekt over grep\u002Fripgrep for indexed code search. Covers indexing repos, search syntax, and query patterns.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fzoekt\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"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},"01M7DEVF10JKR56RSX30PZ8BNH","writing-for-accessibility","Use when writing documentation, alt text, diagrams, or any content that should be accessible to people with disabilities. Covers alt text, color contrast, inclusive language, and accessible visuals. Also use when reviewing documents for accessibility.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-for-accessibility\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DEVA0Q63VMQWG32VN18XYB","writing-error-messages","Use when writing, reviewing, or improving error messages in code, CLI tools, APIs, or UIs. Covers identifying the cause, explaining the fix, and setting the right tone. Also use when error messages are vague, unactionable, or confusing.","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fwriting-error-messages\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DEV6GGF2H3FW3YCPWXRRT6","working-in-the-open","Use when making design decisions during implementation — routes rationale to the right venue (commits, task comments, code comments, or documentation) based on how durable the context needs to be","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fworking-in-the-open\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DEV2XTM37B9S0QV8X9SNSW","web-standards","Use when writing or reviewing HTML, CSS, or browser JavaScript — covers semantic markup, native platform features over libraries, Baseline browser support, accessibility and APCA contrast, and optional validation with vnu, axe, and Lighthouse","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-standards\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DETYVQNPNGXC094DT0PTDF","web-design","Use when designing or building web UI, frontends, or styling — covers personal web design preferences, fluid layout, and Alpine.js","https:\u002F\u002Fgithub.com\u002Fkejadlen\u002Fdotfiles\u002Fblob\u002Fmain\u002Fai\u002Fskills\u002Fweb-design\u002FSKILL.md",[],[]]