[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72X2FNRWMDCCEMAMHF5VCTR":3,"skill-same:01M72X2FNRWMDCCEMAMHF5VCTR":47},{"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":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M72X2FNRWMDCCEMAMHF5VCTR","pathfinder",null,"Map a codebase into feature-grouped flowcharts, identify duplicated concerns across features, and propose a unified architecture. Use when asked to \"find the ideal path,\" unify duplicated systems, or audit architecture before a refactor. Emits a proposed unified flowchart plus per-system \u002Fmake-plan prompts.","SriramGandhiS\u002FSkills","SriramGandhiS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211849986?v=4","01M72WQCW12BYX71C6WN584TTA","Sriram S","01M72WQCWTJ2RD0ET1X31AF1RC",1,"MIT","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fclaude-mem\u002Fplugin\u002Fskills\u002Fpathfinder\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: pathfinder\ndescription: Map a codebase into feature-grouped flowcharts, identify duplicated concerns across features, and propose a unified architecture. Use when asked to \"find the ideal path,\" unify duplicated systems, or audit architecture before a refactor. Emits a proposed unified flowchart plus per-system \u002Fmake-plan prompts.\n---\n\n# Pathfinder\n\nYou are an ORCHESTRATOR. Map the codebase into feature-grouped flowcharts, identify duplicated concerns, propose the simplest unified architecture, and hand off per-system plans to `\u002Fmake-plan`.\n\nYou do not write implementation code. You produce diagrams, a duplication report, a proposed unified flowchart, and handoff prompts.\n\n## Delegation Model\n\nUse subagents for *discovery and extraction* (file reading, flow tracing, grep, diagramming). Keep *synthesis* (deciding feature boundaries, picking unification strategies, final flowchart) with the orchestrator. Reject subagent reports that lack source citations and redeploy.\n\n### Subagent Reporting Contract (MANDATORY)\n\nEach subagent response must include:\n1. Sources consulted — exact file paths and line ranges read\n2. Concrete findings — exact function names, call sites, data flow\n3. Mermaid diagram(s) with nodes labeled by `file:line`\n4. Confidence note + known gaps\n\n## Output Artifacts\n\nAll artifacts go in `PATHFINDER-\u003CYYYY-MM-DD>\u002F` at repo root:\n- `00-features.md` — feature inventory with boundaries\n- `01-flowcharts\u002F\u003Cfeature>.md` — one Mermaid flowchart per feature\n- `02-duplication-report.md` — cross-cutting duplicated concerns with evidence\n- `03-unified-proposal.md` — proposed unified architecture + Mermaid\n- `04-handoff-prompts.md` — copy-pasteable `\u002Fmake-plan` prompts per unified system\n\n## Phases\n\n### Phase 0: Feature Discovery (ALWAYS FIRST)\n\nDeploy ONE \"Feature Discovery\" subagent to:\n1. Walk the source tree (not built artifacts) and read top-level README \u002F CLAUDE.md\n2. Propose feature boundaries based on directory structure, import graph, and naming\n3. Return a flat list of features with: name, entry points (file:line), core files, brief purpose\n\nOrchestrator reviews the proposal, adjusts boundaries if needed, writes `00-features.md`. Do NOT fan out until feature boundaries are approved.\n\n### Phase 1: Per-Feature Flowcharts (FAN OUT)\n\nDeploy ONE \"Flowchart\" subagent per feature in parallel. Each receives only its feature's scope. Each must:\n1. Trace the feature's primary happy path from entry point to terminal state\n2. Identify side effects (DB writes, HTTP calls, file I\u002FO, process spawns)\n3. Note error and fallback branches but do not let them dominate the diagram\n4. Produce a Mermaid `flowchart TD` with every node labeled `Name\u003Cbr\u002F>file:line`\n5. List external dependencies (other features it calls into) at the bottom\n\nOrchestrator writes each flowchart to `01-flowcharts\u002F\u003Cfeature>.md`. Reject any diagram missing `file:line` labels.\n\n### Phase 2: Duplication Hunt\n\nDeploy TWO subagents in parallel:\n\n**\"Within-Feature Duplication\"** subagent:\n- For each feature, find repeated code\u002Flogic patterns inside the feature only\n- Report only duplications worth consolidating (ignore trivial repetition)\n\n**\"Cross-Feature Duplication\"** subagent:\n- Compare flowcharts across features for concerns that appear in multiple places\n- Examples of what to look for: multiple capture paths, parallel queue implementations, duplicated storage\u002Fmigration code, repeated agent scaffolding, parallel parsing layers\n- For each duplication, report: (a) the concern, (b) every location with `file:line`, (c) why they diverged, (d) whether the divergence is legitimate specialization or accidental\n\nOrchestrator synthesizes both into `02-duplication-report.md`. Every duplication claim must cite ≥2 `file:line` locations.\n\n### Phase 3: Unified Proposal (ORCHESTRATOR)\n\nThe orchestrator writes `03-unified-proposal.md` itself — do not delegate synthesis.\n\nFor each duplicated concern from Phase 2 that is NOT legitimate specialization:\n1. Propose the simplest unified design (one path, one store, one handler — whatever applies)\n2. Name the consolidated component and its single entry point\n3. Show what each old call site becomes\n4. Call out any loss of capability and whether it's acceptable\n\nEnd the document with ONE combined Mermaid flowchart showing the proposed unified system. Nodes still labeled with target `file:line` (new or existing) where knowable.\n\n**Anti-patterns to reject in your own proposal:**\n- Adding a new abstraction layer \"for flexibility\"\n- Keeping both old paths behind a feature flag\n- Introducing a registry\u002Ffactory when a switch statement suffices\n- Preserving divergent behavior \"just in case\"\n\n### Phase 4: Per-System Handoff Prompts\n\nFor each unified system in the proposal, write a ready-to-run `\u002Fmake-plan` prompt to `04-handoff-prompts.md`. Each prompt must:\n1. State the target unified component and its single entry point\n2. List the exact call sites to rewrite (from Phase 2 evidence)\n3. Cite the relevant flowchart file from `01-flowcharts\u002F`\n4. Include anti-pattern guards specific to this system\n\nFormat each as a fenced code block the user can copy directly into `\u002Fmake-plan`.\n\n## Key Principles\n\n- **Evidence over intuition** — every diagram node and duplication claim cites `file:line`\n- **Current state before ideal state** — Phases 0–2 describe what IS; Phase 3 describes what SHOULD BE\n- **Simplest unification wins** — prefer deletion over abstraction; prefer one path over configurable paths\n- **Specialization is not duplication** — two components serving different trust models or data sources are legitimate even if their code looks similar\n- **Handoff, don't implement** — Pathfinder ends at plan prompts; `\u002Fmake-plan` and `\u002Fdo` take it from there\n\n## Failure Modes to Prevent\n\n- Drawing flowcharts from memory instead of source — redeploy subagent with grep evidence requirement\n- Proposing unification of legitimately specialized components — re-examine trust\u002Fdata-source divergence\n- Handoff prompts that lack concrete call sites — rewrite with Phase 2 evidence\n- Skipping Phase 0 boundary review — fanning out on bad feature boundaries wastes all of Phase 1\n","# Pathfinder\n\nYou are an ORCHESTRATOR. Map the codebase into feature-grouped flowcharts, identify duplicated concerns, propose the simplest unified architecture, and hand off per-system plans to `\u002Fmake-plan`.\n\nYou do not write implementation code. You produce diagrams, a duplication report, a proposed unified flowchart, and handoff prompts.\n\n## Delegation Model\n\nUse subagents for *discovery and extraction* (file reading, flow tracing, grep, diagramming). Keep *synthesis* (deciding feature boundaries, picking unification strategies, final flowchart) with the orchestrator. Reject subagent reports that lack source citations and redeploy.\n\n### Subagent Reporting Contract (MANDATORY)\n\nEach subagent response must include:\n1. Sources consulted — exact file paths and line ranges read\n2. Concrete findings — exact function names, call sites, data flow\n3. Mermaid diagram(s) with nodes labeled by `file:line`\n4. Confidence note + known gaps\n\n## Output Artifacts\n\nAll artifacts go in `PATHFINDER-\u003CYYYY-MM-DD>\u002F` at repo root:\n- `00-features.md` — feature inventory with boundaries\n- `01-flowcharts\u002F\u003Cfeature>.md` — one Mermaid flowchart per feature\n- `02-duplication-report.md` — cross-cutting duplicated concerns with evidence\n- `03-unified-proposal.md` — proposed unified architecture + Mermaid\n- `04-handoff-prompts.md` — copy-pasteable `\u002Fmake-plan` prompts per unified system\n\n## Phases\n\n### Phase 0: Feature Discovery (ALWAYS FIRST)\n\nDeploy ONE \"Feature Discovery\" subagent to:\n1. Walk the source tree (not built artifacts) and read top-level README \u002F CLAUDE.md\n2. Propose feature boundaries based on directory structure, import graph, and naming\n3. Return a flat list of features with: name, entry points (file:line), core files, brief purpose\n\nOrchestrator reviews the proposal, adjusts boundaries if needed, writes `00-features.md`. Do NOT fan out until feature boundaries are approved.\n\n### Phase 1: Per-Feature Flowcharts (FAN OUT)\n\nDeploy ONE \"Flowchart\" subagent per feature in parallel. Each receives only its feature's scope. Each must:\n1. Trace the feature's primary happy path from entry point to terminal state\n2. Identify side effects (DB writes, HTTP calls, file I\u002FO, process spawns)\n3. Note error and fallback branches but do not let them dominate the diagram\n4. Produce a Mermaid `flowchart TD` with every node labeled `Name\u003Cbr\u002F>file:line`\n5. List external dependencies (other features it calls into) at the bottom\n\nOrchestrator writes each flowchart to `01-flowcharts\u002F\u003Cfeature>.md`. Reject any diagram missing `file:line` labels.\n\n### Phase 2: Duplication Hunt\n\nDeploy TWO subagents in parallel:\n\n**\"Within-Feature Duplication\"** subagent:\n- For each feature, find repeated code\u002Flogic patterns inside the feature only\n- Report only duplications worth consolidating (ignore trivial repetition)\n\n**\"Cross-Feature Duplication\"** subagent:\n- Compare flowcharts across features for concerns that appear in multiple places\n- Examples of what to look for: multiple capture paths, parallel queue implementations, duplicated storage\u002Fmigration code, repeated agent scaffolding, parallel parsing layers\n- For each duplication, report: (a) the concern, (b) every location with `file:line`, (c) why they diverged, (d) whether the divergence is legitimate specialization or accidental\n\nOrchestrator synthesizes both into `02-duplication-report.md`. Every duplication claim must cite ≥2 `file:line` locations.\n\n### Phase 3: Unified Proposal (ORCHESTRATOR)\n\nThe orchestrator writes `03-unified-proposal.md` itself — do not delegate synthesis.\n\nFor each duplicated concern from Phase 2 that is NOT legitimate specialization:\n1. Propose the simplest unified design (one path, one store, one handler — whatever applies)\n2. Name the consolidated component and its single entry point\n3. Show what each old call site becomes\n4. Call out any loss of capability and whether it's acceptable\n\nEnd the document with ONE combined Mermaid flowchart showing the proposed unified system. Nodes still labeled with target `file:line` (new or existing) where knowable.\n\n**Anti-patterns to reject in your own proposal:**\n- Adding a new abstraction layer \"for flexibility\"\n- Keeping both old paths behind a feature flag\n- Introducing a registry\u002Ffactory when a switch statement suffices\n- Preserving divergent behavior \"just in case\"\n\n### Phase 4: Per-System Handoff Prompts\n\nFor each unified system in the proposal, write a ready-to-run `\u002Fmake-plan` prompt to `04-handoff-prompts.md`. Each prompt must:\n1. State the target unified component and its single entry point\n2. List the exact call sites to rewrite (from Phase 2 evidence)\n3. Cite the relevant flowchart file from `01-flowcharts\u002F`\n4. Include anti-pattern guards specific to this system\n\nFormat each as a fenced code block the user can copy directly into `\u002Fmake-plan`.\n\n## Key Principles\n\n- **Evidence over intuition** — every diagram node and duplication claim cites `file:line`\n- **Current state before ideal state** — Phases 0–2 describe what IS; Phase 3 describes what SHOULD BE\n- **Simplest unification wins** — prefer deletion over abstraction; prefer one path over configurable paths\n- **Specialization is not duplication** — two components serving different trust models or data sources are legitimate even if their code looks similar\n- **Handoff, don't implement** — Pathfinder ends at plan prompts; `\u002Fmake-plan` and `\u002Fdo` take it from there\n\n## Failure Modes to Prevent\n\n- Drawing flowcharts from memory instead of source — redeploy subagent with grep evidence requirement\n- Proposing unification of legitimately specialized components — re-examine trust\u002Fdata-source divergence\n- Handoff prompts that lack concrete call sites — rewrite with Phase 2 evidence\n- Skipping Phase 0 boundary review — fanning out on bad feature boundaries wastes all of Phase 1\n",{"name":5,"description":7},"master","d6ca01da0f24a3b0e26e4a8b7b66cbd25d429f5d","claude-mem\u002Fplugin\u002Fskills\u002Fpathfinder",0,"https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills","https:\u002F\u002Fgithub.com\u002FSriramGandhiS","https:\u002F\u002Fsriram.website\u002F","Curious guy who keeps tinkering until something works","2026-05-20 16:21:34",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add SriramGandhiS\u002FSkills --skill pathfinder",{"tool":39,"command":40},"bunx","bunx skills add SriramGandhiS\u002FSkills --skill pathfinder",{"tool":42,"command":43},"pnpm","pnpm dlx skills add SriramGandhiS\u002FSkills --skill pathfinder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fclaude-mem\u002Fplugin\u002Fskills\u002Fpathfinder\u002FSKILL.md",true,[],[48,56,61,67,74,81],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M732609EPJWV13PVTX3GT4TM","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":57,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":55},"01M7325XM47AGWB6K6C4VXKE6B","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"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":64,"categories":65,"keywords":66,"publishedAt":55},"01M7325WP6DES69JKC840VMFEP","verification-loop","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":55},"01M7325TFQF1DZTQ6J3WGQQ1VR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":55},"01M7325RGV9AY9PK92D2V8KKPW","strategic-compact","Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fstrategic-compact\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":55},"01M7325MZC28SE86E7NMCNEFS4","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[]]