[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EG1119239NXV2AEM7TH6FJ":3,"skill-same:01M7EG1119239NXV2AEM7TH6FJ":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":42},"01M7EG1119239NXV2AEM7TH6FJ","retro",null,"Run a retrospective on a session or a month of sessions, and turn each repeated mistake into a check.","kaminski-dev\u002Fdk-agent-kit","kaminski-dev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39885406?v=4","01M7EFZ8VTE8FQS6R0G2Y6RB55","01M7EFZ8WESD6VKM8G7BQYAYWX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fretro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: retro\ndescription: \"Run a retrospective on a session or a month of sessions, and turn each repeated mistake into a check.\"\ndisable-model-invocation: true\n---\n\n\u003C!-- Adapted from cursor\u002Fplugins pstack@ae5650f skills\u002Fcorrect, MIT (© 2026 Lauren Tan). Changed for dk-agent-kit: folded into the retro as its correct step, proposes fixes instead of making them, rule-to-check table in the retro report. -->\n\nThe user has asked for a **retrospective**. You are suggesting improvements to the coding agent's **environment** to improve future runs.\n\n## Steps\n\n1. Call the Skill tool with `dk:writing-for-agents` for the writing style guide.\n\n2. Read the primary sources for the window the user names: one session, or a period such as the last month. Without one, take the current session. Transcripts live in `~\u002F.claude\u002Fprojects\u002F\u003Claunch directory with \u002F as ->\u002F*.jsonl`, filed under the directory a session started in, so a repo's sessions can sit under its main checkout, its worktrees, or a parent directory: select them by each record's `cwd`. For a period, extract before reading. Every placeholder in this command is written out literally before it runs; none is a shell variable:\n\n   ```sh\n   python3 -I \u003Cbase directory>\u002Fextract.py SINCE UNTIL \u003Cscratchpad>\u002Fretro\u002Fevents.jsonl\n   ```\n\n   `\u003Cbase directory>` is the one this skill's header names. SINCE and UNTIL are UTC dates (`2026-09-13`), both inclusive. `\u003Cscratchpad>` is the session's scratchpad directory, and it is the only place the output goes: the file holds raw prompt text. Each line is one event with a `kind` (`--help` lists them). Keep the lines whose `project` is the repo's main checkout or one of its worktrees, and read the `prompt` lines for the user's **corrections** (prompts that redirect or reject the agent's work). Add the repo's reverts, fix-up commits and review comments in the same window.\n\n3. Group the mistakes into **mistake classes**. A class counts once it has happened twice, and keeps its evidence: session and date, or commit. Then look for candidates for improvement in these categories.\n\n- **Navigation**: how easy was it for the agent to find the right files? Are there hidden dependencies between files? Would a **navigation pointer** make it easier? _Use when_ the session took a long time to find a piece of information.\n- **Automated checks**: a mistake a check could have caught goes to step 4 for its check. Read the repo's own check command first (its `package.json`\u002Fbuild-tool `lint`\u002F`check` scripts, its CI workflow), so a check that already exists but sits unwired or silently broken is the finding, not a reinvention. A repo with no **guardrail** (no pre-commit hook and no CI job running its lint\u002Ftypecheck\u002Ftest command) is itself a finding. _Use when_ the agent made a mistake an automated check could have caught, or the repo has no guardrail at all.\n- **Coding standards**: should the **reviewer agent** be given a new rule to enforce? Should an existing rule be removed or clarified? A **mechanical** violation (a fixed syntactic pattern, a banned API, an import shape, a file-location rule) goes to step 4 for its check; `CODING_STANDARDS.md` keeps the genuine **judgement calls** (cross-file consistency, \"matches the surrounding style\"). _Use when_ the reviewer agent failed to catch a mistake.\n- **Global AGENTS.md**: are there any steering instructions that should be moved to coding standards (or automated checks) instead? _Use when_ the AGENTS.md file is particularly large - in the repo OR the user's global scope.\n- **Tool economy**: did the agent make expensive tool calls that could be streamlined? Is there any custom tooling (CLI's, MCP's) that is particularly token-inefficient? _Use when_ the agent made an expensive tool call.\n- **No-ops**: look for instructions in steering files that don't modify the agent's behavior. _Use when_ the steering files are large and unwieldy.\n- **Information access**: look for opportunities to increase the agent's access to information. Teeing dev server logs, readonly access to third-party services. _Use when_ a crucial piece of information was not available to the agent.\n\n4. **Correct** each mistake class: take the first level in this order that stops it, and say why each level above it does not.\n\n   1. **Architecture** makes the mistake impossible: one owner per piece of state, one supported way per task, internals hidden so the wrong import fails, one source of truth in place of hand-synced lists, old ways and dead code an agent would copy deleted.\n   2. **Types** make the bad state unwritable.\n   3. **Lint**: a lint rule, hook or CI job whose error names the file, type or function to use instead, built in the repo's own linter or guardrail. When the pattern is already common, it fails only on a change that adds more.\n   4. **Test** of the behaviour. A test that still passes when the behaviour it checks breaks, or fails when only the internals change, is fixed or deleted.\n   5. **Docs** or an agent rule, only for a judgement call: nothing fails when an agent skips it.\n\n   Each proposed check names the past mistake from step 2 it would have failed on. Each proposed rule names its check, or says why only prose fits.\n\n5. Build the **rule-to-check table**: one row per rule in the repo's steering files and coding standards, and one per rule step 4 proposes.\n\n   | Rule | Enforced by | Broken in the window |\n   |---|---|---|\n   | the rule, in a few words | the check that fails (test, hook, lint rule or CI job, by path or name), or **prose only** | count and evidence, or none |\n\n   A prose-only rule broken in the window is a repeat: step 4 gives it a check in this report. A rule whose mistake can no longer happen is a candidate to drop.\n\n6. Present the candidates to the user in order of severity: each mistake class with its evidence, the level picked, and why a higher level did not work. Then present the rule-to-check table.\n\n## Reference\n\n### Implementation vs Review\n\nRemember that all work goes through two stages: implementation and review. The implementation agent has the most **context pressure**. They are responsible for exploration, writing code, and debugging failures.\n\nThe review agent has the least context pressure - it receives a diff, so no exploration needed. It often does not need to write code or debug.\n\nThis means that the review agent should be responsible for imposing coding standards, not the implementation agent.\n\n### Files\n\nYou have access to several files in the repo:\n\n- `CLAUDE.md`\u002F`AGENTS.md`: these files are pushed to the context window of any agent working in this repo. They should be used incredibly sparingly, usually only for **navigation pointers** to other files.\n- `CODING_STANDARDS.md`: this file is read during review, not implementation. Add **navigation pointers** to docs folders if the standards file gets more than 1,000 lines long.\n- Docs: use docs as references files, pointed to by other files. Look for existing docs before writing new ones.\n- Skills: use skills for docs (since their description goes into the agent's context window), or for user-invoked commands. Follow the advice in the `dk:writing-for-agents` skill.\n","\u003C!-- Adapted from cursor\u002Fplugins pstack@ae5650f skills\u002Fcorrect, MIT (© 2026 Lauren Tan). Changed for dk-agent-kit: folded into the retro as its correct step, proposes fixes instead of making them, rule-to-check table in the retro report. -->\n\nThe user has asked for a **retrospective**. You are suggesting improvements to the coding agent's **environment** to improve future runs.\n\n## Steps\n\n1. Call the Skill tool with `dk:writing-for-agents` for the writing style guide.\n\n2. Read the primary sources for the window the user names: one session, or a period such as the last month. Without one, take the current session. Transcripts live in `~\u002F.claude\u002Fprojects\u002F\u003Claunch directory with \u002F as ->\u002F*.jsonl`, filed under the directory a session started in, so a repo's sessions can sit under its main checkout, its worktrees, or a parent directory: select them by each record's `cwd`. For a period, extract before reading. Every placeholder in this command is written out literally before it runs; none is a shell variable:\n\n   ```sh\n   python3 -I \u003Cbase directory>\u002Fextract.py SINCE UNTIL \u003Cscratchpad>\u002Fretro\u002Fevents.jsonl\n   ```\n\n   `\u003Cbase directory>` is the one this skill's header names. SINCE and UNTIL are UTC dates (`2026-09-13`), both inclusive. `\u003Cscratchpad>` is the session's scratchpad directory, and it is the only place the output goes: the file holds raw prompt text. Each line is one event with a `kind` (`--help` lists them). Keep the lines whose `project` is the repo's main checkout or one of its worktrees, and read the `prompt` lines for the user's **corrections** (prompts that redirect or reject the agent's work). Add the repo's reverts, fix-up commits and review comments in the same window.\n\n3. Group the mistakes into **mistake classes**. A class counts once it has happened twice, and keeps its evidence: session and date, or commit. Then look for candidates for improvement in these categories.\n\n- **Navigation**: how easy was it for the agent to find the right files? Are there hidden dependencies between files? Would a **navigation pointer** make it easier? _Use when_ the session took a long time to find a piece of information.\n- **Automated checks**: a mistake a check could have caught goes to step 4 for its check. Read the repo's own check command first (its `package.json`\u002Fbuild-tool `lint`\u002F`check` scripts, its CI workflow), so a check that already exists but sits unwired or silently broken is the finding, not a reinvention. A repo with no **guardrail** (no pre-commit hook and no CI job running its lint\u002Ftypecheck\u002Ftest command) is itself a finding. _Use when_ the agent made a mistake an automated check could have caught, or the repo has no guardrail at all.\n- **Coding standards**: should the **reviewer agent** be given a new rule to enforce? Should an existing rule be removed or clarified? A **mechanical** violation (a fixed syntactic pattern, a banned API, an import shape, a file-location rule) goes to step 4 for its check; `CODING_STANDARDS.md` keeps the genuine **judgement calls** (cross-file consistency, \"matches the surrounding style\"). _Use when_ the reviewer agent failed to catch a mistake.\n- **Global AGENTS.md**: are there any steering instructions that should be moved to coding standards (or automated checks) instead? _Use when_ the AGENTS.md file is particularly large - in the repo OR the user's global scope.\n- **Tool economy**: did the agent make expensive tool calls that could be streamlined? Is there any custom tooling (CLI's, MCP's) that is particularly token-inefficient? _Use when_ the agent made an expensive tool call.\n- **No-ops**: look for instructions in steering files that don't modify the agent's behavior. _Use when_ the steering files are large and unwieldy.\n- **Information access**: look for opportunities to increase the agent's access to information. Teeing dev server logs, readonly access to third-party services. _Use when_ a crucial piece of information was not available to the agent.\n\n4. **Correct** each mistake class: take the first level in this order that stops it, and say why each level above it does not.\n\n   1. **Architecture** makes the mistake impossible: one owner per piece of state, one supported way per task, internals hidden so the wrong import fails, one source of truth in place of hand-synced lists, old ways and dead code an agent would copy deleted.\n   2. **Types** make the bad state unwritable.\n   3. **Lint**: a lint rule, hook or CI job whose error names the file, type or function to use instead, built in the repo's own linter or guardrail. When the pattern is already common, it fails only on a change that adds more.\n   4. **Test** of the behaviour. A test that still passes when the behaviour it checks breaks, or fails when only the internals change, is fixed or deleted.\n   5. **Docs** or an agent rule, only for a judgement call: nothing fails when an agent skips it.\n\n   Each proposed check names the past mistake from step 2 it would have failed on. Each proposed rule names its check, or says why only prose fits.\n\n5. Build the **rule-to-check table**: one row per rule in the repo's steering files and coding standards, and one per rule step 4 proposes.\n\n   | Rule | Enforced by | Broken in the window |\n   |---|---|---|\n   | the rule, in a few words | the check that fails (test, hook, lint rule or CI job, by path or name), or **prose only** | count and evidence, or none |\n\n   A prose-only rule broken in the window is a repeat: step 4 gives it a check in this report. A rule whose mistake can no longer happen is a candidate to drop.\n\n6. Present the candidates to the user in order of severity: each mistake class with its evidence, the level picked, and why a higher level did not work. Then present the rule-to-check table.\n\n## Reference\n\n### Implementation vs Review\n\nRemember that all work goes through two stages: implementation and review. The implementation agent has the most **context pressure**. They are responsible for exploration, writing code, and debugging failures.\n\nThe review agent has the least context pressure - it receives a diff, so no exploration needed. It often does not need to write code or debug.\n\nThis means that the review agent should be responsible for imposing coding standards, not the implementation agent.\n\n### Files\n\nYou have access to several files in the repo:\n\n- `CLAUDE.md`\u002F`AGENTS.md`: these files are pushed to the context window of any agent working in this repo. They should be used incredibly sparingly, usually only for **navigation pointers** to other files.\n- `CODING_STANDARDS.md`: this file is read during review, not implementation. Add **navigation pointers** to docs folders if the standards file gets more than 1,000 lines long.\n- Docs: use docs as references files, pointed to by other files. Look for existing docs before writing new ones.\n- Skills: use skills for docs (since their description goes into the agent's context window), or for user-invoked commands. Follow the advice in the `dk:writing-for-agents` skill.\n",{"name":5,"description":7,"disable-model-invocation":23},true,"main","53eb522da63c98ceb28f1af6a9d88cb3711b2097","plugins\u002Fdk\u002Fskills\u002Fretro","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit","https:\u002F\u002Fgithub.com\u002Fkaminski-dev","2026-11-05 04:08:01",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":23},[32,35,38],{"tool":33,"command":34},"npx","npx skills add kaminski-dev\u002Fdk-agent-kit --skill retro",{"tool":36,"command":37},"bunx","bunx skills add kaminski-dev\u002Fdk-agent-kit --skill retro",{"tool":39,"command":40},"pnpm","pnpm dlx skills add kaminski-dev\u002Fdk-agent-kit --skill retro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fretro\u002FSKILL.md",[43,49],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"agents\u002Fopenai.yaml","REFERENCE","参考文档",203,"https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fretro\u002Fagents\u002Fopenai.yaml",{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"extract.py","SCRIPT","脚本",9727,"https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fretro\u002Fextract.py",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7EG1RARBVATTAE5WVX76WS5","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7EG1MXJHKQPYRD5ZR3HH4F8","verify","Prove a change works by driving it in a stack you started, against a control run of the pre-fix state. Use before calling any change verified, or when asked to verify or prove a fix.","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7EG1H4K07BAM3WZ5CCSWVA0","verify-doc-check","Monthly check that this repo's docs\u002Fagents\u002Fverify.md still starts the stack: read every claim against the source, run the recipe in a fresh worktree, fix or file each drifted step.","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fverify-doc-check\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7EG1EWNF1SSMAJZDD5F6BWZ","triage","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7EG1AQAXT5E40W5YRZDHBH6","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M7EG18P4M7YT88WHJA7M5N6F","to-spec","Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.","https:\u002F\u002Fgithub.com\u002Fkaminski-dev\u002Fdk-agent-kit\u002Fblob\u002Fmain\u002Fplugins\u002Fdk\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[]]