[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7886NHH4ZFQZAXFBKVJM7H7":3,"skill-same:01M7886NHH4ZFQZAXFBKVJM7H7":46},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7886NHH4ZFQZAXFBKVJM7H7","scaffold-exercises",null,"Scaffold an exercise directory tree — sections, problems, solutions, and explainers — that passes the course linter. Use when the user wants to scaffold exercises, stub out exercise folders, or spin up a new course section.","officialunofficial\u002Fskills","officialunofficial","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F127067914?v=4","01M78827JABEMMN63AC8J1RCXV","Official Unofficial, Inc.","01M78827KC164SFKN4DXTCKK7N",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fmisc\u002Fscaffold-exercises\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scaffold-exercises\ndescription: Scaffold an exercise directory tree — sections, problems, solutions, and explainers — that passes the course linter. Use when the user wants to scaffold exercises, stub out exercise folders, or spin up a new course section.\n---\n\n# Scaffold exercises\n\nBuild an exercise directory tree that passes the course's exercise linter, then commit it. Throughout, run the linter with the project's own command (for example `pnpm lint:exercises` or whatever the repo defines) — substitute it wherever this skill says \"run the linter\".\n\n## Directory naming\n\n- **Sections**: `XX-section-name\u002F` under `exercises\u002F` (e.g. `01-retrieval-skill-building`)\n- **Exercises**: `XX.YY-exercise-name\u002F` under a section (e.g. `01.03-retrieval-with-bm25`)\n- Section number is `XX`; exercise number is `XX.YY`\n- Every name is dash-case: lowercase words joined by hyphens\n\n## Exercise variants\n\nEach exercise carries at least one of these subfolders:\n\n- `problem\u002F` — the student's starting point, with TODOs\n- `solution\u002F` — the reference answer\n- `explainer\u002F` — conceptual material, no TODOs\n\nWhen you are only stubbing, default to `explainer\u002F` unless the plan asks for something else.\n\n## Required files\n\nEvery subfolder (`problem\u002F`, `solution\u002F`, `explainer\u002F`) needs a `readme.md` that:\n\n- Has real content — a lone title line counts, an empty file does not\n- Contains no broken links\n\nFor a stub, a title plus a short description is enough:\n\n```md\n# Exercise Title\n\nDescription here\n```\n\nIf a subfolder ships code, it also needs a `main.ts` longer than one line. Stubs can skip that — a readme-only exercise is valid.\n\n## Workflow\n\n1. **Read the plan** — pull out section names, exercise names, and which variants each exercise needs.\n2. **Make the directories** — `mkdir -p` each path.\n3. **Write stub readmes** — one `readme.md` per variant folder, each with a title.\n4. **Run the linter** — validate the tree.\n5. **Fix what it reports** — repeat until the linter is clean.\n\n## What the linter checks\n\n- Each exercise has variant subfolders (`problem\u002F`, `solution\u002F`, `explainer\u002F`)\n- At least one of `problem\u002F`, `explainer\u002F`, or `explainer.1\u002F` is present\n- The primary subfolder has a non-empty `readme.md`\n- No `.gitkeep` files\n- No `speaker-notes.md` files\n- No broken links in any readme\n- No `pnpm run exercise` commands inside readmes\n- A `main.ts` in each subfolder unless the subfolder is readme-only\n\n## Moving or renumbering exercises\n\nWhen you renumber or relocate an exercise:\n\n1. Rename with `git mv`, not `mv`, so git keeps the history.\n2. Adjust the numeric prefix to hold the intended order.\n3. Run the linter again after the moves.\n\nExample:\n\n```bash\ngit mv exercises\u002F01-retrieval\u002F01.03-embeddings exercises\u002F01-retrieval\u002F01.04-embeddings\n```\n\n## Example: stubbing from a plan\n\nGiven a plan such as:\n\n```\nSection 05: Memory Skill Building\n- 05.01 Introduction to Memory\n- 05.02 Short-term Memory (explainer + problem + solution)\n- 05.03 Long-term Memory\n```\n\nCreate the tree:\n\n```bash\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002F{explainer,problem,solution}\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\n```\n\nThen drop in the readme stubs:\n\n```\nexercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\u002Freadme.md -> \"# Introduction to Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fexplainer\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fproblem\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fsolution\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\u002Freadme.md -> \"# Long-term Memory\"\n```\n","# Scaffold exercises\n\nBuild an exercise directory tree that passes the course's exercise linter, then commit it. Throughout, run the linter with the project's own command (for example `pnpm lint:exercises` or whatever the repo defines) — substitute it wherever this skill says \"run the linter\".\n\n## Directory naming\n\n- **Sections**: `XX-section-name\u002F` under `exercises\u002F` (e.g. `01-retrieval-skill-building`)\n- **Exercises**: `XX.YY-exercise-name\u002F` under a section (e.g. `01.03-retrieval-with-bm25`)\n- Section number is `XX`; exercise number is `XX.YY`\n- Every name is dash-case: lowercase words joined by hyphens\n\n## Exercise variants\n\nEach exercise carries at least one of these subfolders:\n\n- `problem\u002F` — the student's starting point, with TODOs\n- `solution\u002F` — the reference answer\n- `explainer\u002F` — conceptual material, no TODOs\n\nWhen you are only stubbing, default to `explainer\u002F` unless the plan asks for something else.\n\n## Required files\n\nEvery subfolder (`problem\u002F`, `solution\u002F`, `explainer\u002F`) needs a `readme.md` that:\n\n- Has real content — a lone title line counts, an empty file does not\n- Contains no broken links\n\nFor a stub, a title plus a short description is enough:\n\n```md\n# Exercise Title\n\nDescription here\n```\n\nIf a subfolder ships code, it also needs a `main.ts` longer than one line. Stubs can skip that — a readme-only exercise is valid.\n\n## Workflow\n\n1. **Read the plan** — pull out section names, exercise names, and which variants each exercise needs.\n2. **Make the directories** — `mkdir -p` each path.\n3. **Write stub readmes** — one `readme.md` per variant folder, each with a title.\n4. **Run the linter** — validate the tree.\n5. **Fix what it reports** — repeat until the linter is clean.\n\n## What the linter checks\n\n- Each exercise has variant subfolders (`problem\u002F`, `solution\u002F`, `explainer\u002F`)\n- At least one of `problem\u002F`, `explainer\u002F`, or `explainer.1\u002F` is present\n- The primary subfolder has a non-empty `readme.md`\n- No `.gitkeep` files\n- No `speaker-notes.md` files\n- No broken links in any readme\n- No `pnpm run exercise` commands inside readmes\n- A `main.ts` in each subfolder unless the subfolder is readme-only\n\n## Moving or renumbering exercises\n\nWhen you renumber or relocate an exercise:\n\n1. Rename with `git mv`, not `mv`, so git keeps the history.\n2. Adjust the numeric prefix to hold the intended order.\n3. Run the linter again after the moves.\n\nExample:\n\n```bash\ngit mv exercises\u002F01-retrieval\u002F01.03-embeddings exercises\u002F01-retrieval\u002F01.04-embeddings\n```\n\n## Example: stubbing from a plan\n\nGiven a plan such as:\n\n```\nSection 05: Memory Skill Building\n- 05.01 Introduction to Memory\n- 05.02 Short-term Memory (explainer + problem + solution)\n- 05.03 Long-term Memory\n```\n\nCreate the tree:\n\n```bash\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002F{explainer,problem,solution}\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\n```\n\nThen drop in the readme stubs:\n\n```\nexercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\u002Freadme.md -> \"# Introduction to Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fexplainer\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fproblem\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fsolution\u002Freadme.md -> \"# Short-term Memory\"\nexercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\u002Freadme.md -> \"# Long-term Memory\"\n```\n",{"name":5,"description":7},"main","e1e71e8aa302edca3e052370aefa9272f86d07ee","skills\u002Fmisc\u002Fscaffold-exercises",0,"https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills","https:\u002F\u002Fgithub.com\u002Fofficialunofficial","officialunofficial.com","2026-11-06 10:07:10",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add officialunofficial\u002Fskills --skill scaffold-exercises",{"tool":38,"command":39},"bunx","bunx skills add officialunofficial\u002Fskills --skill scaffold-exercises",{"tool":41,"command":42},"pnpm","pnpm dlx skills add officialunofficial\u002Fskills --skill scaffold-exercises","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fmisc\u002Fscaffold-exercises\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7887BDP2BC5HFHEKCNMBZ4Q","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M788772K4QYXCZX3Y2P2AX9V","technical-writing","House style for technical writing — the voice, sentence craft, formatting, and user-facing-copy rules that make docs and product text clear, direct, and consistent. Use when writing or editing a README, docs, a spec, release notes, a changelog, help text, or any error\u002FCLI\u002FUI copy a person reads; when reviewing a diff that touches prose or messages; or when a project needs a writing standard. Reference-heavy mechanics live in REFERENCE.md.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M78875087F1XKP7C6VRC49CY","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M78872Z38MACN22AQDY9410P","handoff","Compact the current conversation into a handoff document for another agent to pick up.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M78870FVRDYRT1WVP9HJ6FQ3","grilling","Interrogate the user's plan or design one decision at a time until you both share the same understanding. Use when the user wants to pressure-test an idea before building it, or reaches for any 'grill' trigger phrase.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7886XGPEWXZYDA6K310HNYP","grill-me","A relentless, one-decision-at-a-time interview that sharpens a plan or design.","https:\u002F\u002Fgithub.com\u002Fofficialunofficial\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrill-me\u002FSKILL.md",[],[]]