[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M719TCZV3N5MFTTAV6TJ6NEN":3,"skill-same:01M719TCZV3N5MFTTAV6TJ6NEN":66},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M719TCZV3N5MFTTAV6TJ6NEN","teach-me",null,"Pedagogical code walkthrough that teaches developers about their own code.\nExplains choices, tradeoffs, alternatives, and refactoring opportunities.\nUse when users say \"teach me\", \"explain my changes\", \"walk me through\",\n\"what did I build\", or want to understand their code at a deeper level.\nWorks on uncommitted changes, last commit, unpushed commits, or a PR.","Princedewangan101\u002Fcfd-trading-app","Princedewangan101","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230417772?v=4","01M719T7KJHWH7CR6DA8SSQGNK","Prince Dewangan ","01M719T7M6YCYRCQP6Z8M64AR6",1,"MIT","https:\u002F\u002Fgithub.com\u002FPrincedewangan101\u002Fcfd-trading-app\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fteach-me\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"teach me","teach","me","say","last","users","explain","use","alternatives","commits","pr","code walkthrough","my","at","refactoring","commit","code","when","walkthrough","deeper","2026-11-10 10:12:30",false,"---\nname: teach-me\ndescription: |\n  Pedagogical code walkthrough that teaches developers about their own code.\n  Explains choices, tradeoffs, alternatives, and refactoring opportunities.\n  Use when users say \"teach me\", \"explain my changes\", \"walk me through\",\n  \"what did I build\", or want to understand their code at a deeper level.\n  Works on uncommitted changes, last commit, unpushed commits, or a PR.\nlicense: MIT\n---\n\n# Teach Me Skill\n\n## Before Teaching\n\n1. **Gather context** — Read CLAUDE.md \u002F AGENTS.md files, related modules, and project\n   conventions to understand the codebase the learner is working in.\n2. **Assess developer level** — Infer from the code itself. Junior patterns (verbose guards,\n   copy-paste) get more foundational explanations. Senior patterns (generics, advanced\n   composition) get architecture-level discussion.\n3. **Check edge cases before starting:**\n   - **No changes** — If the diff is empty, say so and suggest what to try next.\n   - **Binary files** — Skip with a one-line note (\"Skipping binary file X\").\n   - **Generated files** — Skip lock files, build output, codegen. Note what was skipped.\n   - **Large diffs (>1000 lines)** — Note the size, auto-select the 10 most significant files\n     (by change size and architectural importance), and teach those. List the skipped files at the end.\n   - **Scaffolded\u002Fboilerplate** — Acknowledge but don't spend time teaching obvious template code.\n     Focus on the parts the developer actually wrote or customized.\n\n## Teaching Order\n\nProcess files in this pedagogical order (earlier = teach first):\n\n1. **Config & environment** — `.env`, `tsconfig`, `package.json`, CI files\n2. **Types & interfaces** — Type definitions, schemas, enums, contracts\n3. **Utilities & helpers** — Pure functions, shared logic\n4. **Core business logic** — Services, domain models, state management\n5. **API & integration** — Routes, controllers, external service calls\n6. **Tests** — Unit tests, integration tests, fixtures\n7. **UI & presentation** — Components, templates, styles\n8. **Documentation** — READMEs, comments, changelogs\n\nWithin each tier, order by dependency: if file A imports file B, teach B first.\n\n## Per-File Breakdown\n\nUse the appropriate template based on file status:\n\n### New Files (untracked — no previous version exists)\n\nFor each new file, deliver these 6 sections:\n\n#### 1. What it is\nOne sentence. Name the architectural layer (util, service, controller, component, test, config).\n\n#### 2. What it does\n2–4 sentences. Behavioral description — what happens when this code runs.\nReference specific function\u002Fclass names. No line-by-line narration.\n\n#### 3. Why it matters\nConnect this file to the bigger picture. What breaks or becomes impossible without it?\nHow does it fit into the system's data flow or user journey?\n\n#### 4. Key choices (2–5 items)\nEach item names a decision the developer made and the tradeoff:\n\n**WRONG — vague:**\n> - Good use of TypeScript\n\n**CORRECT — specific tradeoff:**\n> - **Chose discriminated union over class hierarchy** — Trades extensibility (adding new\n>   variants requires touching the union) for exhaustiveness checking at compile time.\n>   Right call for a closed set of 4 states.\n\n#### 5. Alternatives worth knowing (1–4 items)\nGenuinely useful alternatives the developer should know about. Not \"you should have\ndone this instead\" — rather \"here's what else exists in this space.\"\n\n**WRONG — obvious or unhelpful:**\n> - Could use a different variable name\n\n**CORRECT — expands the developer's toolkit:**\n> - **Zod instead of manual validation** — Would give you runtime type checking + static\n>   inference from a single schema. Worth considering if validation logic grows beyond\n>   these 3 fields.\n\n#### 6. Suggested refactor\nOnly include when there's a material improvement — not style preferences.\nInclude a concrete code snippet showing the before\u002Fafter.\n\n**Skip this section** if the code is already well-structured. Don't manufacture\nsuggestions to fill space.\n\n---\n\n### Modified Files (tracked — has a diff)\n\nFor each modified file, deliver these 5 sections. **Focus exclusively on the diff.**\nDo NOT explain existing\u002Funchanged code.\n\n#### 1. What changed\nSummarize the diff concisely: what was added, removed, or modified.\nReference specific function\u002Fvariable names and line ranges.\n\n#### 2. Why it changed\nInfer or explain the motivation. Is this a bug fix? New capability? Refactor?\nPerformance improvement? If the motivation isn't obvious, say so and offer\nthe most likely interpretation.\n\n#### 3. Key choices in the changes (2–5 items)\nSame format as new files, but focused on decisions embedded in the diff:\n\n**WRONG — describes the unchanged code:**\n> - The existing service pattern is well-structured\n\n**CORRECT — teaches about the change:**\n> - **Added retry with exponential backoff instead of simple retry** — The 2^n delay\n>   prevents thundering herd on the downstream service. The max of 3 retries caps\n>   total wait at ~7s, which keeps the request within typical timeout budgets.\n\n#### 4. Alternatives to these changes\nOther ways to achieve the same goal. Frame as \"here's what else you could have done\"\nnot \"you did it wrong.\"\n\n#### 5. Suggested refactor\nSame rules as new files — only when material, with concrete code.\n\n---\n\n## Synthesis (3+ files only)\n\nWhen teaching about 3 or more files, add a synthesis section after all per-file breakdowns:\n\n### Pattern Name\nName the architectural pattern these files implement together (e.g., \"Repository pattern\nwith service layer\", \"Event-driven pipeline\", \"Feature module with co-located tests\").\n\n### Cohesion Assessment\nHow well do these files work together? Are responsibilities cleanly separated?\nIs the dependency direction healthy?\n\n### Watch Points\n1–3 things that could become problems as this code grows. Not current bugs —\nfuture pressure points.\n\n### Suggested Next Steps\nWhat the developer should build, test, or refactor next based on what they've built so far.\n\n## Tone Guidelines\n\n- **Opinionated** — Take positions. \"This is the right call because...\" not \"This could\n  be considered acceptable.\"\n- **Concrete** — Every claim references specific code. No abstract advice.\n- **Calibrated** — Match depth to complexity. Don't over-explain simple things.\n  Don't under-explain subtle things.\n- **One-pass** — Deliver the full walkthrough without interruptions. Don't ask\n  questions mid-teaching.\n- **No filler praise** — Don't say \"Great job!\" or \"Nice work!\" If something is\n  genuinely well done, explain WHY it's good and what principle it demonstrates.\n  Hollow praise wastes the developer's time.\n- **Respectful of existing code** — For modified files, don't critique code the\n  developer didn't touch in this change. Teach about their changes, not someone\n  else's code.\n\n## Output Format\n\n```markdown\n# Code Walkthrough: [brief description of changes]\n\n> **Scope:** [X new files, Y modified files] | **Estimated read:** [N minutes]\n\n---\n\n## [filename.ext] *(new file)*\n\n### What it is\n...\n\n### What it does\n...\n\n### Why it matters\n...\n\n### Key choices\n- **[Choice name]** — [Tradeoff explanation]\n- ...\n\n### Alternatives worth knowing\n- **[Alternative]** — [When\u002Fwhy you'd use it]\n- ...\n\n### Suggested refactor *(only if material)*\n...\n\n---\n\n## [filename.ext] *(modified)*\n\n### What changed\n...\n\n### Why it changed\n...\n\n### Key choices in the changes\n- **[Choice name]** — [Tradeoff explanation]\n- ...\n\n### Alternatives to these changes\n- **[Alternative]** — [When\u002Fwhy you'd use it]\n- ...\n\n### Suggested refactor *(only if material)*\n...\n\n---\n\n## Synthesis *(3+ files only)*\n\n### Pattern: [name]\n...\n\n### Cohesion\n...\n\n### Watch points\n...\n\n### Next steps\n...\n```\n\n## Examples\n\n### WRONG vs CORRECT: \"What it does\"\n\n**WRONG — line-by-line narration:**\n> On line 1, we import express. On line 3, we create a router. On line 5, we define\n> a GET handler that takes req and res parameters...\n\n**CORRECT — behavioral description:**\n> Exposes a REST endpoint (`GET \u002Fusers\u002F:id`) that fetches a user by ID from the\n> database, strips sensitive fields (`passwordHash`, `ssn`), and returns the\n> sanitized profile. Returns 404 with a structured error body if the user doesn't exist.\n\n### WRONG vs CORRECT: \"Key choices\"\n\n**WRONG — vague praise:**\n> - Good use of async\u002Fawait\n> - Clean code structure\n\n**CORRECT — named tradeoff:**\n> - **Chose `Promise.allSettled` over `Promise.all`** — Lets all three API calls\n>   complete even if one fails, so the UI can show partial data. The tradeoff is\n>   you need per-result error handling instead of a single catch block.\n\n### WRONG vs CORRECT: \"What changed\" (modified file)\n\n**WRONG — explains existing code:**\n> This file contains a UserService class that manages user CRUD operations.\n> The constructor takes a database connection...\n\n**CORRECT — focuses on the diff:**\n> Added `softDelete()` method (lines 45-62) and changed `delete()` to call\n> `softDelete()` internally instead of `db.users.remove()`. Added `deletedAt`\n> timestamp field to the return type.\n\n## Pre-Delivery Checklist\n\nBefore presenting the walkthrough, verify:\n\n- [ ] Every \"Key choices\" item names a specific decision and its tradeoff\n- [ ] Every \"Alternatives\" item is genuinely useful (not obvious or trivial)\n- [ ] \"Suggested refactor\" sections are only present when material (not manufactured)\n- [ ] New files get full 6-section treatment\n- [ ] Modified files focus on the diff — no explanation of unchanged code\n- [ ] Files are ordered by teaching tier, not alphabetically\n- [ ] Synthesis section is included when 3+ files are present\n- [ ] No filler praise — every positive statement explains WHY it's good\n- [ ] Edge cases handled (binary, generated, empty diff, large diff)\n- [ ] One-pass delivery — no questions asked mid-walkthrough\n","# Teach Me Skill\n\n## Before Teaching\n\n1. **Gather context** — Read CLAUDE.md \u002F AGENTS.md files, related modules, and project\n   conventions to understand the codebase the learner is working in.\n2. **Assess developer level** — Infer from the code itself. Junior patterns (verbose guards,\n   copy-paste) get more foundational explanations. Senior patterns (generics, advanced\n   composition) get architecture-level discussion.\n3. **Check edge cases before starting:**\n   - **No changes** — If the diff is empty, say so and suggest what to try next.\n   - **Binary files** — Skip with a one-line note (\"Skipping binary file X\").\n   - **Generated files** — Skip lock files, build output, codegen. Note what was skipped.\n   - **Large diffs (>1000 lines)** — Note the size, auto-select the 10 most significant files\n     (by change size and architectural importance), and teach those. List the skipped files at the end.\n   - **Scaffolded\u002Fboilerplate** — Acknowledge but don't spend time teaching obvious template code.\n     Focus on the parts the developer actually wrote or customized.\n\n## Teaching Order\n\nProcess files in this pedagogical order (earlier = teach first):\n\n1. **Config & environment** — `.env`, `tsconfig`, `package.json`, CI files\n2. **Types & interfaces** — Type definitions, schemas, enums, contracts\n3. **Utilities & helpers** — Pure functions, shared logic\n4. **Core business logic** — Services, domain models, state management\n5. **API & integration** — Routes, controllers, external service calls\n6. **Tests** — Unit tests, integration tests, fixtures\n7. **UI & presentation** — Components, templates, styles\n8. **Documentation** — READMEs, comments, changelogs\n\nWithin each tier, order by dependency: if file A imports file B, teach B first.\n\n## Per-File Breakdown\n\nUse the appropriate template based on file status:\n\n### New Files (untracked — no previous version exists)\n\nFor each new file, deliver these 6 sections:\n\n#### 1. What it is\nOne sentence. Name the architectural layer (util, service, controller, component, test, config).\n\n#### 2. What it does\n2–4 sentences. Behavioral description — what happens when this code runs.\nReference specific function\u002Fclass names. No line-by-line narration.\n\n#### 3. Why it matters\nConnect this file to the bigger picture. What breaks or becomes impossible without it?\nHow does it fit into the system's data flow or user journey?\n\n#### 4. Key choices (2–5 items)\nEach item names a decision the developer made and the tradeoff:\n\n**WRONG — vague:**\n> - Good use of TypeScript\n\n**CORRECT — specific tradeoff:**\n> - **Chose discriminated union over class hierarchy** — Trades extensibility (adding new\n>   variants requires touching the union) for exhaustiveness checking at compile time.\n>   Right call for a closed set of 4 states.\n\n#### 5. Alternatives worth knowing (1–4 items)\nGenuinely useful alternatives the developer should know about. Not \"you should have\ndone this instead\" — rather \"here's what else exists in this space.\"\n\n**WRONG — obvious or unhelpful:**\n> - Could use a different variable name\n\n**CORRECT — expands the developer's toolkit:**\n> - **Zod instead of manual validation** — Would give you runtime type checking + static\n>   inference from a single schema. Worth considering if validation logic grows beyond\n>   these 3 fields.\n\n#### 6. Suggested refactor\nOnly include when there's a material improvement — not style preferences.\nInclude a concrete code snippet showing the before\u002Fafter.\n\n**Skip this section** if the code is already well-structured. Don't manufacture\nsuggestions to fill space.\n\n---\n\n### Modified Files (tracked — has a diff)\n\nFor each modified file, deliver these 5 sections. **Focus exclusively on the diff.**\nDo NOT explain existing\u002Funchanged code.\n\n#### 1. What changed\nSummarize the diff concisely: what was added, removed, or modified.\nReference specific function\u002Fvariable names and line ranges.\n\n#### 2. Why it changed\nInfer or explain the motivation. Is this a bug fix? New capability? Refactor?\nPerformance improvement? If the motivation isn't obvious, say so and offer\nthe most likely interpretation.\n\n#### 3. Key choices in the changes (2–5 items)\nSame format as new files, but focused on decisions embedded in the diff:\n\n**WRONG — describes the unchanged code:**\n> - The existing service pattern is well-structured\n\n**CORRECT — teaches about the change:**\n> - **Added retry with exponential backoff instead of simple retry** — The 2^n delay\n>   prevents thundering herd on the downstream service. The max of 3 retries caps\n>   total wait at ~7s, which keeps the request within typical timeout budgets.\n\n#### 4. Alternatives to these changes\nOther ways to achieve the same goal. Frame as \"here's what else you could have done\"\nnot \"you did it wrong.\"\n\n#### 5. Suggested refactor\nSame rules as new files — only when material, with concrete code.\n\n---\n\n## Synthesis (3+ files only)\n\nWhen teaching about 3 or more files, add a synthesis section after all per-file breakdowns:\n\n### Pattern Name\nName the architectural pattern these files implement together (e.g., \"Repository pattern\nwith service layer\", \"Event-driven pipeline\", \"Feature module with co-located tests\").\n\n### Cohesion Assessment\nHow well do these files work together? Are responsibilities cleanly separated?\nIs the dependency direction healthy?\n\n### Watch Points\n1–3 things that could become problems as this code grows. Not current bugs —\nfuture pressure points.\n\n### Suggested Next Steps\nWhat the developer should build, test, or refactor next based on what they've built so far.\n\n## Tone Guidelines\n\n- **Opinionated** — Take positions. \"This is the right call because...\" not \"This could\n  be considered acceptable.\"\n- **Concrete** — Every claim references specific code. No abstract advice.\n- **Calibrated** — Match depth to complexity. Don't over-explain simple things.\n  Don't under-explain subtle things.\n- **One-pass** — Deliver the full walkthrough without interruptions. Don't ask\n  questions mid-teaching.\n- **No filler praise** — Don't say \"Great job!\" or \"Nice work!\" If something is\n  genuinely well done, explain WHY it's good and what principle it demonstrates.\n  Hollow praise wastes the developer's time.\n- **Respectful of existing code** — For modified files, don't critique code the\n  developer didn't touch in this change. Teach about their changes, not someone\n  else's code.\n\n## Output Format\n\n```markdown\n# Code Walkthrough: [brief description of changes]\n\n> **Scope:** [X new files, Y modified files] | **Estimated read:** [N minutes]\n\n---\n\n## [filename.ext] *(new file)*\n\n### What it is\n...\n\n### What it does\n...\n\n### Why it matters\n...\n\n### Key choices\n- **[Choice name]** — [Tradeoff explanation]\n- ...\n\n### Alternatives worth knowing\n- **[Alternative]** — [When\u002Fwhy you'd use it]\n- ...\n\n### Suggested refactor *(only if material)*\n...\n\n---\n\n## [filename.ext] *(modified)*\n\n### What changed\n...\n\n### Why it changed\n...\n\n### Key choices in the changes\n- **[Choice name]** — [Tradeoff explanation]\n- ...\n\n### Alternatives to these changes\n- **[Alternative]** — [When\u002Fwhy you'd use it]\n- ...\n\n### Suggested refactor *(only if material)*\n...\n\n---\n\n## Synthesis *(3+ files only)*\n\n### Pattern: [name]\n...\n\n### Cohesion\n...\n\n### Watch points\n...\n\n### Next steps\n...\n```\n\n## Examples\n\n### WRONG vs CORRECT: \"What it does\"\n\n**WRONG — line-by-line narration:**\n> On line 1, we import express. On line 3, we create a router. On line 5, we define\n> a GET handler that takes req and res parameters...\n\n**CORRECT — behavioral description:**\n> Exposes a REST endpoint (`GET \u002Fusers\u002F:id`) that fetches a user by ID from the\n> database, strips sensitive fields (`passwordHash`, `ssn`), and returns the\n> sanitized profile. Returns 404 with a structured error body if the user doesn't exist.\n\n### WRONG vs CORRECT: \"Key choices\"\n\n**WRONG — vague praise:**\n> - Good use of async\u002Fawait\n> - Clean code structure\n\n**CORRECT — named tradeoff:**\n> - **Chose `Promise.allSettled` over `Promise.all`** — Lets all three API calls\n>   complete even if one fails, so the UI can show partial data. The tradeoff is\n>   you need per-result error handling instead of a single catch block.\n\n### WRONG vs CORRECT: \"What changed\" (modified file)\n\n**WRONG — explains existing code:**\n> This file contains a UserService class that manages user CRUD operations.\n> The constructor takes a database connection...\n\n**CORRECT — focuses on the diff:**\n> Added `softDelete()` method (lines 45-62) and changed `delete()` to call\n> `softDelete()` internally instead of `db.users.remove()`. Added `deletedAt`\n> timestamp field to the return type.\n\n## Pre-Delivery Checklist\n\nBefore presenting the walkthrough, verify:\n\n- [ ] Every \"Key choices\" item names a specific decision and its tradeoff\n- [ ] Every \"Alternatives\" item is genuinely useful (not obvious or trivial)\n- [ ] \"Suggested refactor\" sections are only present when material (not manufactured)\n- [ ] New files get full 6-section treatment\n- [ ] Modified files focus on the diff — no explanation of unchanged code\n- [ ] Files are ordered by teaching tier, not alphabetically\n- [ ] Synthesis section is included when 3+ files are present\n- [ ] No filler praise — every positive statement explains WHY it's good\n- [ ] Edge cases handled (binary, generated, empty diff, large diff)\n- [ ] One-pass delivery — no questions asked mid-walkthrough\n",{"name":5,"license":15,"description":44},"Pedagogical code walkthrough that teaches developers about their own code.\nExplains choices, tradeoffs, alternatives, and refactoring opportunities.\nUse when users say \"teach me\", \"explain my changes\", \"walk me through\",\n\"what did I build\", or want to understand their code at a deeper level.\nWorks on uncommitted changes, last commit, unpushed commits, or a PR.\n","main","ae351444b09890f1330098958222c8304bfbb59a",".opencode\u002Fskills\u002Fteach-me",0,"https:\u002F\u002Fgithub.com\u002FPrincedewangan101\u002Fcfd-trading-app","https:\u002F\u002Fgithub.com\u002FPrincedewangan101","2026-08-06 02:09:16",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add Princedewangan101\u002Fcfd-trading-app --skill teach-me",{"tool":58,"command":59},"bunx","bunx skills add Princedewangan101\u002Fcfd-trading-app --skill teach-me",{"tool":61,"command":62},"pnpm","pnpm dlx skills add Princedewangan101\u002Fcfd-trading-app --skill teach-me","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPrincedewangan101\u002Fcfd-trading-app\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fteach-me\u002FSKILL.md",true,[],[67],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":71,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":39},"01M719T9C4105J6T4XAPMCMG56","frontend-design","Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FPrincedewangan101\u002Fcfd-trading-app\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FPrincedewangan101\u002Fcfd-trading-app\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[76,77,78,79,80,81,82,83,84,85,36,86,87,88,89,90,91],"design","frontend design","frontend","typography","ui","guidance","read","visual design","with","visual","Existing","aesthetic","new","for","direction","as"]