[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F37KKFQ28GW4P2KRMKZP2W":3,"skill-same:01M7F37KKFQ28GW4P2KRMKZP2W":64},{"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":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F37KKFQ28GW4P2KRMKZP2W","reflect",null,"Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.","dinhtungdu\u002Fpstack-ports","dinhtungdu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5423135?v=4","01M7F2HN2HDZGG0QN36EJCB2F1","Tung Du","01M7F2HN342B7B73D1E62THDNT",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: reflect\ndescription: Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.\n---\n\n# Reflect\n\nMine the current conversation for durable learnings, then route them into skill edits.\n\nInvoke when the user says \"reflect\" or \"\u002Freflect\". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.\n\n## 1. Locate the active transcript\n\nBefore fanning out, find this conversation's transcript in the `agent-transcripts\u002F` directory the system prompt names. Do not glob across `~\u002F.cursor\u002Fprojects\u002F*\u002F`. That crosses workspace boundaries and reads private chats from unrelated projects.\n\n```bash\nls -t \u003Cagent-transcripts>\u002F*.jsonl \u003Cagent-transcripts>\u002F*\u002F*.jsonl \u003Cagent-transcripts>\u002F*\u002Fsubagents\u002F*.jsonl 2>\u002Fdev\u002Fnull | head -10\n```\n\nThat covers the legacy flat (`\u003Cid>.jsonl`), current nested (`\u003Cid>\u002F\u003Cid>.jsonl`), and subagent (`\u003Cparent>\u002Fsubagents\u002F\u003Cchild>.jsonl`) layouts. For each candidate, read the first JSONL line. Take the file whose `message.content[0].text` contains the conversation's opening user prompt. If none matches, pass a tight digest of the session instead.\n\n## 2. Spawn three reviewers in parallel\n\nOne message, three `Task` calls, `subagent_type: generalPurpose`, agent mode (`readonly: false`). Reviewers need MCP access to look up the tickets, chat threads, and observability traces the transcript references, and readonly strips MCPs.\n\nEach reviewer and the synthesizer name a role line in the `pstack-models.mdc` rule and a default. Set `model` to that line's value, or to the default if the rule or the line is missing. Leave `model` unset when the value is `auto` or `inherit-parent`. If the Task tool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the **poteto-mode** skill.\n\n| Lens | Role line | Default `model` | Prompt template |\n|---|---|---|---|\n| Judgment | `reflect judgment, divergent, synthesizer` | `claude-opus-5-5-xhigh` | `references\u002Fjudgment-reviewer.md` |\n| Tooling | `reflect tooling` | `grok-4.7-xhigh-fast` | `references\u002Ftooling-reviewer.md` |\n| Divergent | `reflect judgment, divergent, synthesizer` | `claude-opus-5-5-xhigh` | `references\u002Fdivergent-reviewer.md` |\n\nPass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in the `Task` response body.\n\n## 3. Synthesize\n\nOne `Task` call, `subagent_type: generalPurpose`, `model` from the `reflect judgment, divergent, synthesizer` line (default `claude-opus-5-5-xhigh`), agent mode (`readonly: false`). It spot-verifies citations through MCP, and readonly strips MCPs. Pass `references\u002Fsynthesizer.md` verbatim, with each reviewer's full output inlined where marked. It returns an Accepted \u002F Rejected \u002F Backlog list.\n\n## 4. Structural enforcement check\n\nMove any Accepted item that a lint rule, script, metadata flag, or runtime check would enforce more reliably to Backlog. See the **encode-lessons-in-structure** principle skill.\n\n## 5. Apply\n\nPresent the synthesizer's full Accepted \u002F Rejected \u002F Backlog output and wait for explicit approval before applying any Accepted edit. The user picks the subset and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.\n\nFile each Backlog item to your team's devex or backlog tracker without waiting. Only the Accepted list waits for approval.\n\nNever edit a skill under `plugins\u002Fcache\u002F`. Before approval, show its destination, `.cursor\u002Fskills\u002F\u003Cskill>\u002F` or `~\u002F.cursor\u002Fskills\u002F\u003Cskill>\u002F`. After approval, copy the skill folder there and edit the copy. Never open a PR or push.\n\nFollow each approved row's Routing exactly:\n\n- Trivial existing-skill edit (a one-line bullet, a tightened sentence, a stale fact corrected): the parent does it directly.\n- Substantive existing-skill edit (a new section, a new pattern table, more than ~10 lines): hand to Cursor's built-in `create-skill` skill and run its draft \u002F test \u002F iterate loop.\n- `tune description: \u003Cskill path>` (the skill exists but didn't trigger when it should have): hand to `create-skill` and run its description-optimization loop.\n- `new skill via create-skill: \u003Ckebab-name>`: hand creation to `create-skill`. Do not invent the shape ad hoc.\n\nIf your environment ships a SKILL.md validator, run it on every touched skill before declaring done.\n\n## 6. Summarize for the user\n\nShort list, no preamble:\n\n- Edits applied: `\u003Cskill path>`. What changed, one line each.\n- New skills created: `\u003Cskill path>`. One line each (rare).\n- Backlog filed to the devex tracker: `\u003Cissue title>` (`\u003Ctags>`). One line each.\n- Dropped: one line per rejected finding + reason from the synthesizer.\n","# Reflect\n\nMine the current conversation for durable learnings, then route them into skill edits.\n\nInvoke when the user says \"reflect\" or \"\u002Freflect\". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.\n\n## 1. Locate the active transcript\n\nBefore fanning out, find this conversation's transcript in the `agent-transcripts\u002F` directory the system prompt names. Do not glob across `~\u002F.cursor\u002Fprojects\u002F*\u002F`. That crosses workspace boundaries and reads private chats from unrelated projects.\n\n```bash\nls -t \u003Cagent-transcripts>\u002F*.jsonl \u003Cagent-transcripts>\u002F*\u002F*.jsonl \u003Cagent-transcripts>\u002F*\u002Fsubagents\u002F*.jsonl 2>\u002Fdev\u002Fnull | head -10\n```\n\nThat covers the legacy flat (`\u003Cid>.jsonl`), current nested (`\u003Cid>\u002F\u003Cid>.jsonl`), and subagent (`\u003Cparent>\u002Fsubagents\u002F\u003Cchild>.jsonl`) layouts. For each candidate, read the first JSONL line. Take the file whose `message.content[0].text` contains the conversation's opening user prompt. If none matches, pass a tight digest of the session instead.\n\n## 2. Spawn three reviewers in parallel\n\nOne message, three `Task` calls, `subagent_type: generalPurpose`, agent mode (`readonly: false`). Reviewers need MCP access to look up the tickets, chat threads, and observability traces the transcript references, and readonly strips MCPs.\n\nEach reviewer and the synthesizer name a role line in the `pstack-models.mdc` rule and a default. Set `model` to that line's value, or to the default if the rule or the line is missing. Leave `model` unset when the value is `auto` or `inherit-parent`. If the Task tool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the **poteto-mode** skill.\n\n| Lens | Role line | Default `model` | Prompt template |\n|---|---|---|---|\n| Judgment | `reflect judgment, divergent, synthesizer` | `claude-opus-5-5-xhigh` | `references\u002Fjudgment-reviewer.md` |\n| Tooling | `reflect tooling` | `grok-4.7-xhigh-fast` | `references\u002Ftooling-reviewer.md` |\n| Divergent | `reflect judgment, divergent, synthesizer` | `claude-opus-5-5-xhigh` | `references\u002Fdivergent-reviewer.md` |\n\nPass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in the `Task` response body.\n\n## 3. Synthesize\n\nOne `Task` call, `subagent_type: generalPurpose`, `model` from the `reflect judgment, divergent, synthesizer` line (default `claude-opus-5-5-xhigh`), agent mode (`readonly: false`). It spot-verifies citations through MCP, and readonly strips MCPs. Pass `references\u002Fsynthesizer.md` verbatim, with each reviewer's full output inlined where marked. It returns an Accepted \u002F Rejected \u002F Backlog list.\n\n## 4. Structural enforcement check\n\nMove any Accepted item that a lint rule, script, metadata flag, or runtime check would enforce more reliably to Backlog. See the **encode-lessons-in-structure** principle skill.\n\n## 5. Apply\n\nPresent the synthesizer's full Accepted \u002F Rejected \u002F Backlog output and wait for explicit approval before applying any Accepted edit. The user picks the subset and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.\n\nFile each Backlog item to your team's devex or backlog tracker without waiting. Only the Accepted list waits for approval.\n\nNever edit a skill under `plugins\u002Fcache\u002F`. Before approval, show its destination, `.cursor\u002Fskills\u002F\u003Cskill>\u002F` or `~\u002F.cursor\u002Fskills\u002F\u003Cskill>\u002F`. After approval, copy the skill folder there and edit the copy. Never open a PR or push.\n\nFollow each approved row's Routing exactly:\n\n- Trivial existing-skill edit (a one-line bullet, a tightened sentence, a stale fact corrected): the parent does it directly.\n- Substantive existing-skill edit (a new section, a new pattern table, more than ~10 lines): hand to Cursor's built-in `create-skill` skill and run its draft \u002F test \u002F iterate loop.\n- `tune description: \u003Cskill path>` (the skill exists but didn't trigger when it should have): hand to `create-skill` and run its description-optimization loop.\n- `new skill via create-skill: \u003Ckebab-name>`: hand creation to `create-skill`. Do not invent the shape ad hoc.\n\nIf your environment ships a SKILL.md validator, run it on every touched skill before declaring done.\n\n## 6. Summarize for the user\n\nShort list, no preamble:\n\n- Edits applied: `\u003Cskill path>`. What changed, one line each.\n- New skills created: `\u003Cskill path>`. One line each (rare).\n- Backlog filed to the devex tracker: `\u003Cissue title>` (`\u003Ctags>`). One line each.\n- Dropped: one line per rejected finding + reason from the synthesizer.\n",{"name":5,"description":7},"main","bc0864959633cc8e0b15de9eb854ebf18d20b960","upstream\u002Fskills\u002Freflect","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports","https:\u002F\u002Fgithub.com\u002Fdinhtungdu","tungdu.com","Software Engineer","2026-11-03 14:59:15",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add dinhtungdu\u002Fpstack-ports --skill reflect",{"tool":38,"command":39},"bunx","bunx skills add dinhtungdu\u002Fpstack-ports --skill reflect",{"tool":41,"command":42},"pnpm","pnpm dlx skills add dinhtungdu\u002Fpstack-ports --skill reflect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002FSKILL.md",true,[46,52,56,60],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fdivergent-reviewer.md","REFERENCE","参考文档",3668,"https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002Freferences\u002Fdivergent-reviewer.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fjudgment-reviewer.md",3107,"https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002Freferences\u002Fjudgment-reviewer.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fsynthesizer.md",4141,"https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002Freferences\u002Fsynthesizer.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Ftooling-reviewer.md",4448,"https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Freflect\u002Freferences\u002Ftooling-reviewer.md",[65,72,79,86,93,100],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7F38VPCPT2S7GWN496R42YN","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7F38T3FTZJTSQW2RYHEA11Q","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7F38Q7G9VS9PF5VV7EH8JNG","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7F38HZTJ3XKB8PJG7KMQ6P3","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7F38DEPXAX50KAR8C44CYH5","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7F3899BP7D6ZEEV8V3JJCKT","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fdinhtungdu\u002Fpstack-ports\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]