[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASVGPKHBJFRFZW1TRETSS0":3,"skill-same:01M7ASVGPKHBJFRFZW1TRETSS0":51},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7ASVGPKHBJFRFZW1TRETSS0","scaffold-exercises",null,"Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.","Diffusity\u002FrepoSphere_java_backend","Diffusity","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F119410541?v=4","01M7ASS8Z2BQV85KY5WA3C6G5E","Parth Maharaja","01M7ASS8ZRRXZNDAY7F88NBB4N",0,"MIT","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fscaffold-exercises\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\r\nname: scaffold-exercises\r\ndescription: Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.\r\n---\r\n\r\n# Scaffold Exercises\r\n\r\nCreate exercise directory structures that pass `pnpm ai-hero-cli internal lint`, then commit with `git commit`.\r\n\r\n## Directory naming\r\n\r\n- **Sections**: `XX-section-name\u002F` inside `exercises\u002F` (e.g., `01-retrieval-skill-building`)\r\n- **Exercises**: `XX.YY-exercise-name\u002F` inside a section (e.g., `01.03-retrieval-with-bm25`)\r\n- Section number = `XX`, exercise number = `XX.YY`\r\n- Names are dash-case (lowercase, hyphens)\r\n\r\n## Exercise variants\r\n\r\nEach exercise needs at least one of these subfolders:\r\n\r\n- `problem\u002F` - student workspace with TODOs\r\n- `solution\u002F` - reference implementation\r\n- `explainer\u002F` - conceptual material, no TODOs\r\n\r\nWhen stubbing, default to `explainer\u002F` unless the plan specifies otherwise.\r\n\r\n## Required files\r\n\r\nEach subfolder (`problem\u002F`, `solution\u002F`, `explainer\u002F`) needs a `readme.md` that:\r\n\r\n- Is **not empty** (must have real content, even a single title line works)\r\n- Has no broken links\r\n\r\nWhen stubbing, create a minimal readme with a title and a description:\r\n\r\n```md\r\n# Exercise Title\r\n\r\nDescription here\r\n```\r\n\r\nIf the subfolder has code, it also needs a `main.ts` (>1 line). But for stubs, a readme-only exercise is fine.\r\n\r\n## Workflow\r\n\r\n1. **Parse the plan** - extract section names, exercise names, and variant types\r\n2. **Create directories** - `mkdir -p` for each path\r\n3. **Create stub readmes** - one `readme.md` per variant folder with a title\r\n4. **Run lint** - `pnpm ai-hero-cli internal lint` to validate\r\n5. **Fix any errors** - iterate until lint passes\r\n\r\n## Lint rules summary\r\n\r\nThe linter (`pnpm ai-hero-cli internal lint`) checks:\r\n\r\n- Each exercise has subfolders (`problem\u002F`, `solution\u002F`, `explainer\u002F`)\r\n- At least one of `problem\u002F`, `explainer\u002F`, or `explainer.1\u002F` exists\r\n- `readme.md` exists and is non-empty in the primary subfolder\r\n- No `.gitkeep` files\r\n- No `speaker-notes.md` files\r\n- No broken links in readmes\r\n- No `pnpm run exercise` commands in readmes\r\n- `main.ts` required per subfolder unless it's readme-only\r\n\r\n## Moving\u002Frenaming exercises\r\n\r\nWhen renumbering or moving exercises:\r\n\r\n1. Use `git mv` (not `mv`) to rename directories - preserves git history\r\n2. Update the numeric prefix to maintain order\r\n3. Re-run lint after moves\r\n\r\nExample:\r\n\r\n```bash\r\ngit mv exercises\u002F01-retrieval\u002F01.03-embeddings exercises\u002F01-retrieval\u002F01.04-embeddings\r\n```\r\n\r\n## Example: stubbing from a plan\r\n\r\nGiven a plan like:\r\n\r\n```\r\nSection 05: Memory Skill Building\r\n- 05.01 Introduction to Memory\r\n- 05.02 Short-term Memory (explainer + problem + solution)\r\n- 05.03 Long-term Memory\r\n```\r\n\r\nCreate:\r\n\r\n```bash\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002F{explainer,problem,solution}\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\r\n```\r\n\r\nThen create readme stubs:\r\n\r\n```\r\nexercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\u002Freadme.md -> \"# Introduction to Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fexplainer\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fproblem\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fsolution\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\u002Freadme.md -> \"# Long-term Memory\"\r\n```\r\n","# Scaffold Exercises\r\n\r\nCreate exercise directory structures that pass `pnpm ai-hero-cli internal lint`, then commit with `git commit`.\r\n\r\n## Directory naming\r\n\r\n- **Sections**: `XX-section-name\u002F` inside `exercises\u002F` (e.g., `01-retrieval-skill-building`)\r\n- **Exercises**: `XX.YY-exercise-name\u002F` inside a section (e.g., `01.03-retrieval-with-bm25`)\r\n- Section number = `XX`, exercise number = `XX.YY`\r\n- Names are dash-case (lowercase, hyphens)\r\n\r\n## Exercise variants\r\n\r\nEach exercise needs at least one of these subfolders:\r\n\r\n- `problem\u002F` - student workspace with TODOs\r\n- `solution\u002F` - reference implementation\r\n- `explainer\u002F` - conceptual material, no TODOs\r\n\r\nWhen stubbing, default to `explainer\u002F` unless the plan specifies otherwise.\r\n\r\n## Required files\r\n\r\nEach subfolder (`problem\u002F`, `solution\u002F`, `explainer\u002F`) needs a `readme.md` that:\r\n\r\n- Is **not empty** (must have real content, even a single title line works)\r\n- Has no broken links\r\n\r\nWhen stubbing, create a minimal readme with a title and a description:\r\n\r\n```md\r\n# Exercise Title\r\n\r\nDescription here\r\n```\r\n\r\nIf the subfolder has code, it also needs a `main.ts` (>1 line). But for stubs, a readme-only exercise is fine.\r\n\r\n## Workflow\r\n\r\n1. **Parse the plan** - extract section names, exercise names, and variant types\r\n2. **Create directories** - `mkdir -p` for each path\r\n3. **Create stub readmes** - one `readme.md` per variant folder with a title\r\n4. **Run lint** - `pnpm ai-hero-cli internal lint` to validate\r\n5. **Fix any errors** - iterate until lint passes\r\n\r\n## Lint rules summary\r\n\r\nThe linter (`pnpm ai-hero-cli internal lint`) checks:\r\n\r\n- Each exercise has subfolders (`problem\u002F`, `solution\u002F`, `explainer\u002F`)\r\n- At least one of `problem\u002F`, `explainer\u002F`, or `explainer.1\u002F` exists\r\n- `readme.md` exists and is non-empty in the primary subfolder\r\n- No `.gitkeep` files\r\n- No `speaker-notes.md` files\r\n- No broken links in readmes\r\n- No `pnpm run exercise` commands in readmes\r\n- `main.ts` required per subfolder unless it's readme-only\r\n\r\n## Moving\u002Frenaming exercises\r\n\r\nWhen renumbering or moving exercises:\r\n\r\n1. Use `git mv` (not `mv`) to rename directories - preserves git history\r\n2. Update the numeric prefix to maintain order\r\n3. Re-run lint after moves\r\n\r\nExample:\r\n\r\n```bash\r\ngit mv exercises\u002F01-retrieval\u002F01.03-embeddings exercises\u002F01-retrieval\u002F01.04-embeddings\r\n```\r\n\r\n## Example: stubbing from a plan\r\n\r\nGiven a plan like:\r\n\r\n```\r\nSection 05: Memory Skill Building\r\n- 05.01 Introduction to Memory\r\n- 05.02 Short-term Memory (explainer + problem + solution)\r\n- 05.03 Long-term Memory\r\n```\r\n\r\nCreate:\r\n\r\n```bash\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002F{explainer,problem,solution}\r\nmkdir -p exercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\r\n```\r\n\r\nThen create readme stubs:\r\n\r\n```\r\nexercises\u002F05-memory-skill-building\u002F05.01-introduction-to-memory\u002Fexplainer\u002Freadme.md -> \"# Introduction to Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fexplainer\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fproblem\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.02-short-term-memory\u002Fsolution\u002Freadme.md -> \"# Short-term Memory\"\r\nexercises\u002F05-memory-skill-building\u002F05.03-long-term-memory\u002Fexplainer\u002Freadme.md -> \"# Long-term Memory\"\r\n```\r\n",{"name":5,"description":7},"main","7623da0074c7f2756326dd104a40d1b0861a7edf",".agents\u002Fskills\u002Fscaffold-exercises","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend","https:\u002F\u002Fgithub.com\u002FDiffusity","Member @gdg-da | @ossdaiict ","2026-08-18 17:58:04",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Diffusity\u002FrepoSphere_java_backend --skill scaffold-exercises",{"tool":37,"command":38},"bunx","bunx skills add Diffusity\u002FrepoSphere_java_backend --skill scaffold-exercises",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Diffusity\u002FrepoSphere_java_backend --skill scaffold-exercises","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fscaffold-exercises\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",111,"https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fscaffold-exercises\u002Fagents\u002Fopenai.yaml",[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7ASXG7ZJ4SX5JDCYSQFWBNG","writing-shape","Writing, exploit — shape raw material into an article, paragraph by paragraph.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-shape\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7ASXCE1RQCW502FDAJZ7J3X","writing-great-skills","Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-great-skills\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7ASXA5NMS4ZEBCTWX29RNZ8","writing-fragments","Writing, explore — mine raw fragments, no structure yet.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-fragments\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7ASX7AM9T3DAJ6A0A6GYTFZ","writing-beats","Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-beats\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7ASX2F6FY5EW9SHSV5X2DHC","wizard","Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, a one-off migration, an A→B state transition — opening URLs, capturing values, confirming each step, and writing .env files and GitHub Actions secrets.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7ASWY2DYFMW5PK6X6YWCC90","wayfinder","Plan a huge chunk of work — more than one agent session can hold — as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FDiffusity\u002FrepoSphere_java_backend\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]