[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77XPHAAD6HJVGV07HPJ2ARN":3,"skill-same:01M77XPHAAD6HJVGV07HPJ2ARN":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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M77XPHAAD6HJVGV07HPJ2ARN","vs-retro",null,"Use when asked for retro, session learnings, what did we learn, or extract learnings. Routes findings to the right destination.","vltansky\u002Fvs","vltansky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5851280?v=4","01M77XJAE230PB81N52XJHT5A1","Vlad Tansky","01M77XJAET1CMBAZ2TWTT4ZQT8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-retro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: vs-retro\ndescription: \"Use when asked for retro, session learnings, what did we learn, or extract learnings. Routes findings to the right destination.\"\n---\n\n# Session Retro\n\nExtract learnings from recent conversations and route them where they belong.\n\n\u003CHARD-GATE>\nDo NOT write to any file without presenting findings first. The user reviews and selects which learnings to save.\n\u003C\u002FHARD-GATE>\n\n## Guardrail: no time estimates\n\nDo not include hours, days, weeks, months, or any wall-clock predictions in findings, summaries, or proposed rules. LLM-generated time estimates are noise — agent-assisted dev speed invalidates the old intuitions anyway. State scope and change, not duration.\n\n## Step 1: Discover sessions\n\n```bash\nPROJECT_SLUG=$(pwd | sed 's\u002F[^a-zA-Z0-9]\u002F-\u002Fg')\nSESSION_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$PROJECT_SLUG\"\nls -lt \"$SESSION_DIR\"\u002F*.jsonl 2>\u002Fdev\u002Fnull | head -5\n```\n\nDefault: last 3 sessions. Override with `--sessions N`.\n\nIf no sessions: \"No session transcripts found for this project.\" Stop.\n\n## Step 2: Extract conversation text\n\nStrip tool_use\u002Ftool_result noise. Keep only human-readable user+assistant text.\n\n```bash\njq -r 'select(.message.role == \"user\" or .message.role == \"assistant\") |\n  .message.role as $role |\n  (if (.message.content | type) == \"string\" then .message.content\n   else [.message.content[] | select(.type == \"text\") | .text] | join(\"\\n\")\n   end) as $text |\n  select($text != \"\") |\n  \"\\($role): \\($text)\"' \"$SESSION_FILE\" | tail -100\n```\n\nNode fallback if `jq` unavailable:\n\n```bash\nnode -e \"\nconst fs=require('fs'),lines=fs.readFileSync(process.argv[1],'utf8').split('\\n').filter(Boolean);\nfor(const l of lines){try{const e=JSON.parse(l);if(!e.message||!['user','assistant'].includes(e.message.role))continue;\nconst c=e.message.content,t=typeof c==='string'?c:(c||[]).filter(b=>b.type==='text').map(b=>b.text).join('\\n');\nif(t)console.log(e.message.role+': '+t.slice(0,2000))}catch{}}\n\" \"$SESSION_FILE\" | tail -100\n```\n\nCap at 100 lines per session. Skip sessions under 10 turns.\n\n## Step 3: Analyze\n\nScan condensed transcripts for learnings. Look for:\n\n| Signal | Pattern | Example |\n|--------|---------|---------|\n| **Corrections** | \"no\", \"don't\", \"stop\", \"wrong\", \"not that\" | User corrects agent behavior |\n| **Preferences** | \"I prefer\", \"always\", \"never\", confirmed approaches | User states how they want things done |\n| **Gotchas** | Surprising failure, workaround, non-obvious constraint | Something broke unexpectedly |\n| **Decisions** | Architecture choice, tool selection, process change | A deliberate choice was made |\n\nFor each finding, note:\n- The learning (one sentence)\n- Evidence quote from the transcript\n- Which session and approximate turn\n\n## Step 4: Categorize by destination\n\nRoute each finding to where it belongs:\n\n### User CLAUDE.md (`~\u002F.claude\u002FCLAUDE.md`)\n\nPersonal preferences and rules that apply across all projects:\n- Coding style preferences\n- Tool preferences\n- Communication style corrections\n- Workflow preferences\n\n### Project CLAUDE.md (`.claude\u002FCLAUDE.md` in current repo)\n\nRepo-specific conventions discovered during work:\n- Build\u002Ftest commands that aren't documented\n- Repo-specific patterns\n- Team conventions\n\nIf the file doesn't exist: flag it. Do not create without explicit confirmation.\n\n### Per-skill references (`~\u002F.agents\u002Fskills\u002F\u003Cname>\u002Freferences\u002Fuser-learnings.md`)\n\nLearnings specific to a particular skill's behavior:\n- \"build-it works better when you provide test commands explicitly\"\n- \"research needs the full function name, not just the class\"\n- Skill-specific gotchas or workarounds\n\nOnly if `~\u002F.agents\u002Fskills\u002F\u003Cname>\u002F` exists. Skip if the skill directory isn't found.\n\n## Step 5: Present findings\n\n```markdown\n## Session Retro — 3 sessions analyzed\n\n### User CLAUDE.md (2 findings)\n\n1. **Prefer early returns over nested conditionals**\n   - Evidence: \"no don't nest that, use early return\" (session 2026-04-12, turn 15)\n   - Proposed addition: `- Early returns instead of nested conditionals`\n\n2. **Don't start dev server unless asked**\n   - Evidence: \"I said don't run dev server\" (session 2026-04-11, turn 3)\n   - Proposed addition: `- NEVER start dev server unless explicitly told`\n\n### Per-skill: build-it (1 finding)\n\n1. **Always run tsc before committing**\n   - Evidence: \"build failed because you didn't type-check\" (session 2026-04-12, turn 28)\n   - File: `~\u002F.agents\u002Fskills\u002Fvs-build-it\u002Freferences\u002Fuser-learnings.md`\n\n### Nothing for project CLAUDE.md this round.\n\nSelect findings to save (numbers, 'all', or 'none'):\n```\n\n## Step 6: Write selected findings\n\nFor each approved finding, write to the designated file:\n\n- **User CLAUDE.md**: Append under the appropriate existing section. If no matching section, append at end.\n- **Project CLAUDE.md**: Append. If file doesn't exist, create with a header (only after explicit confirmation in Step 5).\n- **Per-skill references**: Append to or create `~\u002F.agents\u002Fskills\u002F\u003Cname>\u002Freferences\u002Fuser-learnings.md` with a dated entry.\n\nFormat for per-skill references:\n\n```markdown\n# User Learnings\n\n## 2026-04-12\n\n- Always run tsc before committing — build failed when type-check was skipped\n```\n\n## What this does NOT do\n\n- Does not modify skill files (that's `improve-skills`)\n- Does not analyze git history (that's `vs-retro` and `rules-from-prs`)\n- Does not run automatically — explicit invocation only\n- Does not extract code patterns (derivable from the code itself)\n- Does not duplicate what's already in CLAUDE.md or memory files — check before proposing\n\n## Output style\n\nApply the [shared output style](..\u002Fvs-internal-shared\u002Freferences\u002Foutput-style.md)\nto every user-facing message.\n\n## Workflow\n\nDirect: emit **Next** only. Composed: return to caller.\n\n**Prev:** completed session | project milestone\n**Next:** done\n**Relevant:** `\u002Fvs-try-skill`\n","# Session Retro\n\nExtract learnings from recent conversations and route them where they belong.\n\n\u003CHARD-GATE>\nDo NOT write to any file without presenting findings first. The user reviews and selects which learnings to save.\n\u003C\u002FHARD-GATE>\n\n## Guardrail: no time estimates\n\nDo not include hours, days, weeks, months, or any wall-clock predictions in findings, summaries, or proposed rules. LLM-generated time estimates are noise — agent-assisted dev speed invalidates the old intuitions anyway. State scope and change, not duration.\n\n## Step 1: Discover sessions\n\n```bash\nPROJECT_SLUG=$(pwd | sed 's\u002F[^a-zA-Z0-9]\u002F-\u002Fg')\nSESSION_DIR=\"$HOME\u002F.claude\u002Fprojects\u002F$PROJECT_SLUG\"\nls -lt \"$SESSION_DIR\"\u002F*.jsonl 2>\u002Fdev\u002Fnull | head -5\n```\n\nDefault: last 3 sessions. Override with `--sessions N`.\n\nIf no sessions: \"No session transcripts found for this project.\" Stop.\n\n## Step 2: Extract conversation text\n\nStrip tool_use\u002Ftool_result noise. Keep only human-readable user+assistant text.\n\n```bash\njq -r 'select(.message.role == \"user\" or .message.role == \"assistant\") |\n  .message.role as $role |\n  (if (.message.content | type) == \"string\" then .message.content\n   else [.message.content[] | select(.type == \"text\") | .text] | join(\"\\n\")\n   end) as $text |\n  select($text != \"\") |\n  \"\\($role): \\($text)\"' \"$SESSION_FILE\" | tail -100\n```\n\nNode fallback if `jq` unavailable:\n\n```bash\nnode -e \"\nconst fs=require('fs'),lines=fs.readFileSync(process.argv[1],'utf8').split('\\n').filter(Boolean);\nfor(const l of lines){try{const e=JSON.parse(l);if(!e.message||!['user','assistant'].includes(e.message.role))continue;\nconst c=e.message.content,t=typeof c==='string'?c:(c||[]).filter(b=>b.type==='text').map(b=>b.text).join('\\n');\nif(t)console.log(e.message.role+': '+t.slice(0,2000))}catch{}}\n\" \"$SESSION_FILE\" | tail -100\n```\n\nCap at 100 lines per session. Skip sessions under 10 turns.\n\n## Step 3: Analyze\n\nScan condensed transcripts for learnings. Look for:\n\n| Signal | Pattern | Example |\n|--------|---------|---------|\n| **Corrections** | \"no\", \"don't\", \"stop\", \"wrong\", \"not that\" | User corrects agent behavior |\n| **Preferences** | \"I prefer\", \"always\", \"never\", confirmed approaches | User states how they want things done |\n| **Gotchas** | Surprising failure, workaround, non-obvious constraint | Something broke unexpectedly |\n| **Decisions** | Architecture choice, tool selection, process change | A deliberate choice was made |\n\nFor each finding, note:\n- The learning (one sentence)\n- Evidence quote from the transcript\n- Which session and approximate turn\n\n## Step 4: Categorize by destination\n\nRoute each finding to where it belongs:\n\n### User CLAUDE.md (`~\u002F.claude\u002FCLAUDE.md`)\n\nPersonal preferences and rules that apply across all projects:\n- Coding style preferences\n- Tool preferences\n- Communication style corrections\n- Workflow preferences\n\n### Project CLAUDE.md (`.claude\u002FCLAUDE.md` in current repo)\n\nRepo-specific conventions discovered during work:\n- Build\u002Ftest commands that aren't documented\n- Repo-specific patterns\n- Team conventions\n\nIf the file doesn't exist: flag it. Do not create without explicit confirmation.\n\n### Per-skill references (`~\u002F.agents\u002Fskills\u002F\u003Cname>\u002Freferences\u002Fuser-learnings.md`)\n\nLearnings specific to a particular skill's behavior:\n- \"build-it works better when you provide test commands explicitly\"\n- \"research needs the full function name, not just the class\"\n- Skill-specific gotchas or workarounds\n\nOnly if `~\u002F.agents\u002Fskills\u002F\u003Cname>\u002F` exists. Skip if the skill directory isn't found.\n\n## Step 5: Present findings\n\n```markdown\n## Session Retro — 3 sessions analyzed\n\n### User CLAUDE.md (2 findings)\n\n1. **Prefer early returns over nested conditionals**\n   - Evidence: \"no don't nest that, use early return\" (session 2026-04-12, turn 15)\n   - Proposed addition: `- Early returns instead of nested conditionals`\n\n2. **Don't start dev server unless asked**\n   - Evidence: \"I said don't run dev server\" (session 2026-04-11, turn 3)\n   - Proposed addition: `- NEVER start dev server unless explicitly told`\n\n### Per-skill: build-it (1 finding)\n\n1. **Always run tsc before committing**\n   - Evidence: \"build failed because you didn't type-check\" (session 2026-04-12, turn 28)\n   - File: `~\u002F.agents\u002Fskills\u002Fvs-build-it\u002Freferences\u002Fuser-learnings.md`\n\n### Nothing for project CLAUDE.md this round.\n\nSelect findings to save (numbers, 'all', or 'none'):\n```\n\n## Step 6: Write selected findings\n\nFor each approved finding, write to the designated file:\n\n- **User CLAUDE.md**: Append under the appropriate existing section. If no matching section, append at end.\n- **Project CLAUDE.md**: Append. If file doesn't exist, create with a header (only after explicit confirmation in Step 5).\n- **Per-skill references**: Append to or create `~\u002F.agents\u002Fskills\u002F\u003Cname>\u002Freferences\u002Fuser-learnings.md` with a dated entry.\n\nFormat for per-skill references:\n\n```markdown\n# User Learnings\n\n## 2026-04-12\n\n- Always run tsc before committing — build failed when type-check was skipped\n```\n\n## What this does NOT do\n\n- Does not modify skill files (that's `improve-skills`)\n- Does not analyze git history (that's `vs-retro` and `rules-from-prs`)\n- Does not run automatically — explicit invocation only\n- Does not extract code patterns (derivable from the code itself)\n- Does not duplicate what's already in CLAUDE.md or memory files — check before proposing\n\n## Output style\n\nApply the [shared output style](..\u002Fvs-internal-shared\u002Freferences\u002Foutput-style.md)\nto every user-facing message.\n\n## Workflow\n\nDirect: emit **Next** only. Composed: return to caller.\n\n**Prev:** completed session | project milestone\n**Next:** done\n**Relevant:** `\u002Fvs-try-skill`\n",{"name":5,"description":7},"master","72448991571c9e5f0e76cccf189b8522d442e6eb","skills\u002Fvs-retro",1,"https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs","https:\u002F\u002Fgithub.com\u002Fvltansky","2026-11-06 18:47:54",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add vltansky\u002Fvs --skill vs-retro",{"tool":37,"command":38},"bunx","bunx skills add vltansky\u002Fvs --skill vs-retro",{"tool":40,"command":41},"pnpm","pnpm dlx skills add vltansky\u002Fvs --skill vs-retro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-retro\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",81,"https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-retro\u002Fagents\u002Fopenai.yaml",[52,59,65,70,77,82],{"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},"01M77XSKWFMPKFXM0311QKEJHH","vs-write","Use when asked to write, rewrite, edit, tighten, simplify, or polish prose for clarity, or to put text in STE, ASD-STE100, or controlled language. Produces plain, direct, accessible copy without losing substance or precision.","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-write\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M77XSJNX2V560HSKQKQD67KP","vs-fake-verify","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-verify\u002Ftest\u002Ffixtures\u002Fpath-end-state\u002Fstub-rejector\u002FSKILL.md",[],[],{"skillNo":66,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M77XSHHBEMMYZ6B4PD384NZH","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-verify\u002Ftest\u002Ffixtures\u002Fpath-end-state\u002Fstructure-paste\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M77XSE2Y7MW0KP3DTFNEE2E8","vs-verify","Use when asked to verify, prove it works, check completion, or before claiming done. Produces evidence-backed PASS\u002FWARN\u002FFAIL status.","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-verify\u002Ftest\u002Ffixtures\u002Fpath-end-state\u002Fpublished-pair\u002FSKILL.md",[],[],{"skillNo":78,"name":61,"nameZh":6,"description":6,"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},"01M77XSAXFQXNE6VCRC7275Z0X","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-verify\u002Ftest\u002Ffixtures\u002Fpath-end-state\u002Fphrase-complete-beside\u002FSKILL.md",[],[],{"skillNo":83,"name":72,"nameZh":6,"description":73,"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},"01M77XS6R0E9X1E5KKSS00WYSS","https:\u002F\u002Fgithub.com\u002Fvltansky\u002Fvs\u002Fblob\u002Fmaster\u002Fskills\u002Fvs-verify\u002FSKILL.md",[],[]]