[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B0RF3N4TH6X1RX7YC5XB66":3,"skill-same:01M7B0RF3N4TH6X1RX7YC5XB66":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M7B0RF3N4TH6X1RX7YC5XB66","karpathy-coding-guidelines",null,"Karpathy's coding discipline: minimal, surgical, verified.","gitricko\u002F.minions","gitricko","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18060558?v=4","01M7B0KG9EHG0CZ0QT1EN5YPCR","01M7B0KGA0ZV14R7SKBF3B5SCT",2,"MIT","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fkarpathy-coding-guidelines\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: karpathy-coding-guidelines\ndescription: \"Karpathy's coding discipline: minimal, surgical, verified.\"\nversion: 1.0.0\nauthor: multica-ai (jiayuan_jy), Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [coding, discipline, simplicity, code-review, refactoring]\n    related_skills: [systematic-debugging, test-driven-development, simplify-code, requesting-code-review]\n---\n\n# Karpathy Coding Guidelines\n\nBehavioral discipline for writing, reviewing, and refactoring code, derived from\nAndrej Karpathy's observations on LLM coding pitfalls and the\n[multica-ai\u002Fandrej-karpathy-skills](https:\u002F\u002Fgithub.com\u002Fmultica-ai\u002Fandrej-karpathy-skills)\nrepo (MIT). Four principles: think before coding, keep it simple, make surgical\nchanges, execute toward verifiable goals.\n\nThis is a behavior skill, not a tool skill: it changes how code tasks are planned\nand executed. It applies to any language and complements tool-specific workflows.\n\n## When to Use\n\nUse when the user asks you to:\n\n- Write, edit, or extend code in any language\n- Review a diff, PR, or code change\n- Refactor or simplify existing code\n- Fix a bug (reproduce first)\n- Plan a multi-step implementation or commit series\n\nDon't use for:\n\n- Trivial one-liners, typo fixes, simple renames — the tradeoff note applies\n- Throwaway experiments where speed matters more than durability\n\n## Prerequisites\n\nNone. This is behavioral discipline; it applies to every code task regardless of\ntooling. No env vars, no installs.\n\n## The Discipline\n\nWork through the four principles in order. Each ends with a checkable criterion.\n\n### 1. Think Before Coding\n\nDon't assume. Don't hide confusion. Surface tradeoffs.\n\n- State assumptions explicitly before implementing. If uncertain, ask.\n- If multiple interpretations exist, present them — don't pick silently.\n- If a simpler approach exists, say so. Push back when warranted.\n- If something is unclear, stop. Name what's confusing. Ask.\n\nCriterion: no assumption survives silently into the implementation. Every\nassumption is either stated in the plan or resolved by a question before code is\nwritten.\n\n### 2. Simplicity First\n\nMinimum code that solves the problem. Nothing speculative.\n\n- No features beyond what was asked\n- No abstractions for single-use code\n- No \"flexibility\" or \"configurability\" that wasn't requested\n- No error handling for impossible scenarios\n- If you write 200 lines and it could be 50, rewrite it\n\nTest: would a senior engineer call this overcomplicated? If yes, simplify.\n\nCriterion: every element of the solution traces to a stated requirement; nothing\nexists \"just in case.\"\n\n### 3. Surgical Changes\n\nTouch only what you must. Clean up only your own mess.\n\nWhen editing existing code:\n\n- Don't \"improve\" adjacent code, comments, or formatting\n- Don't refactor things that aren't broken\n- Match existing style, even if you'd do it differently\n- If you notice unrelated dead code, mention it — don't delete it\n\nWhen your changes create orphans:\n\n- Remove imports\u002Fvariables\u002Ffunctions that YOUR changes made unused\n- Don't remove pre-existing dead code unless asked\n\nCriterion: every changed line in the diff traces directly to the user's request\n(review the diff before finishing).\n\n### 4. Goal-Driven Execution\n\nDefine success criteria. Loop until verified.\n\nTransform imperative tasks into verifiable goals:\n\n- \"Add validation\" → \"Write tests for invalid inputs, then make them pass\"\n- \"Fix the bug\" → \"Write a test that reproduces it, then make it pass\"\n- \"Refactor X\" → \"Ensure tests pass before and after\"\n\nFor multi-step tasks, state a brief plan with a verify check per step:\n\n1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]\n\nStrong success criteria let you loop independently. Weak criteria (\"make it\nwork\") require constant clarification.\n\nCriterion: each step has a checkable verification, and the final state is proven\nby actual test\u002Fcommand output — not by assertion.\n\n## Pitfalls\n\n- **Caution over speed.** These rules bias toward rigor. For trivial tasks (typo\n  fixes, obvious one-liners), use judgment — not every change needs the full loop.\n- **Don't stall on questions.** Ask once, with options and a recommendation. If\n  the user doesn't answer, proceed on the stated default. Asking is not a\n  substitute for finishing.\n- **Simplicity isn't stripping needed functionality.** The minimal version must\n  still solve the real problem, including edge cases the user explicitly cares\n  about.\n- **Verification must be real.** The verify step is satisfied by actual tool\n  output (tests run, commands executed). Never claim verified without running it.\n- **Don't over-apply to throwaway work.** Sandbox experiments and spikes don't\n  need the full discipline — apply it where the result will be committed or\n  reviewed.\n\n## Verification\n\nThe skill worked if, at the end of a code task:\n\n- [ ] Clarifying questions (if any) came before implementation, not after mistakes\n- [ ] Diff contains only requested changes — no drive-by refactoring or style drift\n- [ ] Code is minimal: no speculative abstractions, config, or error handling\n- [ ] Success criteria defined up front; final state verified by real output\n      (tests\u002Fcommands run)\n\nConcrete before\u002Fafter examples for each principle:\n`references\u002Fexamples.md`.\n","# Karpathy Coding Guidelines\n\nBehavioral discipline for writing, reviewing, and refactoring code, derived from\nAndrej Karpathy's observations on LLM coding pitfalls and the\n[multica-ai\u002Fandrej-karpathy-skills](https:\u002F\u002Fgithub.com\u002Fmultica-ai\u002Fandrej-karpathy-skills)\nrepo (MIT). Four principles: think before coding, keep it simple, make surgical\nchanges, execute toward verifiable goals.\n\nThis is a behavior skill, not a tool skill: it changes how code tasks are planned\nand executed. It applies to any language and complements tool-specific workflows.\n\n## When to Use\n\nUse when the user asks you to:\n\n- Write, edit, or extend code in any language\n- Review a diff, PR, or code change\n- Refactor or simplify existing code\n- Fix a bug (reproduce first)\n- Plan a multi-step implementation or commit series\n\nDon't use for:\n\n- Trivial one-liners, typo fixes, simple renames — the tradeoff note applies\n- Throwaway experiments where speed matters more than durability\n\n## Prerequisites\n\nNone. This is behavioral discipline; it applies to every code task regardless of\ntooling. No env vars, no installs.\n\n## The Discipline\n\nWork through the four principles in order. Each ends with a checkable criterion.\n\n### 1. Think Before Coding\n\nDon't assume. Don't hide confusion. Surface tradeoffs.\n\n- State assumptions explicitly before implementing. If uncertain, ask.\n- If multiple interpretations exist, present them — don't pick silently.\n- If a simpler approach exists, say so. Push back when warranted.\n- If something is unclear, stop. Name what's confusing. Ask.\n\nCriterion: no assumption survives silently into the implementation. Every\nassumption is either stated in the plan or resolved by a question before code is\nwritten.\n\n### 2. Simplicity First\n\nMinimum code that solves the problem. Nothing speculative.\n\n- No features beyond what was asked\n- No abstractions for single-use code\n- No \"flexibility\" or \"configurability\" that wasn't requested\n- No error handling for impossible scenarios\n- If you write 200 lines and it could be 50, rewrite it\n\nTest: would a senior engineer call this overcomplicated? If yes, simplify.\n\nCriterion: every element of the solution traces to a stated requirement; nothing\nexists \"just in case.\"\n\n### 3. Surgical Changes\n\nTouch only what you must. Clean up only your own mess.\n\nWhen editing existing code:\n\n- Don't \"improve\" adjacent code, comments, or formatting\n- Don't refactor things that aren't broken\n- Match existing style, even if you'd do it differently\n- If you notice unrelated dead code, mention it — don't delete it\n\nWhen your changes create orphans:\n\n- Remove imports\u002Fvariables\u002Ffunctions that YOUR changes made unused\n- Don't remove pre-existing dead code unless asked\n\nCriterion: every changed line in the diff traces directly to the user's request\n(review the diff before finishing).\n\n### 4. Goal-Driven Execution\n\nDefine success criteria. Loop until verified.\n\nTransform imperative tasks into verifiable goals:\n\n- \"Add validation\" → \"Write tests for invalid inputs, then make them pass\"\n- \"Fix the bug\" → \"Write a test that reproduces it, then make it pass\"\n- \"Refactor X\" → \"Ensure tests pass before and after\"\n\nFor multi-step tasks, state a brief plan with a verify check per step:\n\n1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]\n\nStrong success criteria let you loop independently. Weak criteria (\"make it\nwork\") require constant clarification.\n\nCriterion: each step has a checkable verification, and the final state is proven\nby actual test\u002Fcommand output — not by assertion.\n\n## Pitfalls\n\n- **Caution over speed.** These rules bias toward rigor. For trivial tasks (typo\n  fixes, obvious one-liners), use judgment — not every change needs the full loop.\n- **Don't stall on questions.** Ask once, with options and a recommendation. If\n  the user doesn't answer, proceed on the stated default. Asking is not a\n  substitute for finishing.\n- **Simplicity isn't stripping needed functionality.** The minimal version must\n  still solve the real problem, including edge cases the user explicitly cares\n  about.\n- **Verification must be real.** The verify step is satisfied by actual tool\n  output (tests run, commands executed). Never claim verified without running it.\n- **Don't over-apply to throwaway work.** Sandbox experiments and spikes don't\n  need the full discipline — apply it where the result will be committed or\n  reviewed.\n\n## Verification\n\nThe skill worked if, at the end of a code task:\n\n- [ ] Clarifying questions (if any) came before implementation, not after mistakes\n- [ ] Diff contains only requested changes — no drive-by refactoring or style drift\n- [ ] Code is minimal: no speculative abstractions, config, or error handling\n- [ ] Success criteria defined up front; final state verified by real output\n      (tests\u002Fcommands run)\n\nConcrete before\u002Fafter examples for each principle:\n`references\u002Fexamples.md`.\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"platforms":38,"description":7},"multica-ai (jiayuan_jy), Hermes Agent","1.0.0",{"hermes":26},{"tags":27,"related_skills":33},[28,29,30,31,32],"coding","discipline","simplicity","code-review","refactoring",[34,35,36,37],"systematic-debugging","test-driven-development","simplify-code","requesting-code-review",[39,40,41],"linux","macos","windows","main","e95aec76487a22bbbc23b63234724bc7178d4692","skills\u002Fkarpathy-coding-guidelines","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions","https:\u002F\u002Fgithub.com\u002Fgitricko","2026-11-13 16:00:00",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add gitricko\u002F.minions --skill karpathy-coding-guidelines",{"tool":54,"command":55},"bunx","bunx skills add gitricko\u002F.minions --skill karpathy-coding-guidelines",{"tool":57,"command":58},"pnpm","pnpm dlx skills add gitricko\u002F.minions --skill karpathy-coding-guidelines","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fkarpathy-coding-guidelines\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fexamples.md","REFERENCE","参考文档",5012,"https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fkarpathy-coding-guidelines\u002Freferences\u002Fexamples.md",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7B0VJ3Q0YMCTJY69FEJ4100","version-single-source","Use when adding a new component dependency or versioning a binary in install\u002Fboot scripts.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fversion-single-source\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7B0V888DV8J3JY5W9Z6WCF3","tdd","Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7B0TVFM38JH3PBA2K219Z2X","shell-path-login","Use when a binary or script works in one shell context but not another (interactive vs non-interactive login vs non-login shell).","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fshell-path-login\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7B0TKFCTVQBTSNF9WF1MXJ6","self-update-fix","Fix a failing dependency update PR. Use when a self-update PR's CI fails, or when invoked by scripts\u002Fself-update-fix.sh.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fself-update-fix\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M7B0TB57WEW0E6E9874K3C72","pr-change-log","Use when a multi-commit PR needs its description written\u002Fupdated, or when closing out a long branch with many fix commits.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fpr-change-log\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M7B0T2FGSV0ZFRZ46PG4BBY2","persistent-knowledge","Persistent skills\u002Fknowledge in Codespace via symlinks.","https:\u002F\u002Fgithub.com\u002Fgitricko\u002F.minions\u002Fblob\u002Fmain\u002Fskills\u002Fpersistent-knowledge\u002FSKILL.md",[],[]]