[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVZQ03B4K90R1F91MD4KQZ":3,"skill-same:01M7AVZQ03B4K90R1F91MD4KQZ":61},{"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":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AVZQ03B4K90R1F91MD4KQZ","pr-lens-visualizer",null,"Draw pull request diffs and codebase structures as animated, self-contained SVG architecture and data-flow diagrams. Author and validate graph documents, render standalone SVGs, and compose PR comments. Do not use for non-code diagrams or general image generation.","SpectreDeath\u002FBrain-Harness","SpectreDeath","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F207463416?v=4","01M7AVGR1D4X8ADT47APKGVH2Z","JL","01M7AVGR2HSGD23BA5DBTJJTVN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-lens-visualizer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-lens-visualizer\ndescription: Draw pull request diffs and codebase structures as animated, self-contained SVG architecture and data-flow diagrams. Author and validate graph documents, render standalone SVGs, and compose PR comments. Do not use for non-code diagrams or general image generation.\n---\n\n# PR Lens Visualizer: Standalone Animated Architecture & Data-Flow Diagrams\n\n`pr-lens-visualizer` transforms git pull request diffs and codebase directory structures into self-contained, zero-dependency animated SVG architecture and data-flow diagrams.\n\nSee [CARD.md](CARD.md) for the companion summary card, stage progression table, and invariants checklist.\nConsult [config.default.yaml](config.default.yaml) for baseline operational budgets and layout parameters.\n\n---\n\n## The 4-Stage Visualizer Progression\n\n```\n[1. Diff Ingestion & Topology Extraction] ──► [2. Graph Schema & Semantic Validation]\n                                                            │\n                                                            ▼\n[4. PR Comment & Walkthrough Composition] ◄── [3. Standalone Animated SVG Rendering]\n```\n\n---\n\n## 1. Diff Ingestion & Topology Extraction\n\nIngest git diffs or codebase structures and extract architectural topology:\n\n1. **Ingest Git Diff**:\n   - Extract modified, added, and deleted files and entities using `parse_git_diff()`.\n   - Identify module boundaries, ingress endpoints, services, and storage entities.\n2. **Apply Architectural Overlay**:\n   - If a human-curated `.pr-lens\u002Fmap.json` exists in the repository, apply idempotent overlays using `apply_overlay()`.\n   - Preserve human subsystem boundaries, lane assignments, and curated labels while mapping diff delta nodes into designated lanes.\n3. **Construct Graph Document**:\n   - Build a structured `GraphDocument` entity with nodes, directed edges, lanes, and progressive disclosure walkthrough steps.\n\n> **Completion criterion**: Structured `GraphDocument` assembled with all nodes, edges, lanes, and walkthrough steps populated.\n\n---\n\n## 2. Graph Schema & Semantic Validation\n\nValidate graph documents prior to rendering to eliminate layout engine failure modes:\n\n1. **Structural Type Verification**:\n   - Assert all required fields (`version`, `title`, `nodes`, `edges`) are present and valid.\n2. **Semantic Graph Integrity Verification**:\n   - Enforce terminal validity: every `edge.source` and `edge.target` MUST resolve to an existing `node.id`.\n   - Enforce lane membership: every `node.lane` MUST resolve to an existing `lane.id`.\n   - Enforce walkthrough references: every `focus_nodes` reference in walkthrough steps MUST resolve to an existing node.\n   - Enforce node uniqueness: duplicate node identifiers are strictly rejected.\n\n> **Completion criterion**: `validate_graph()` returns `valid == True` with zero blocking validation errors.\n\n---\n\n## 3. Standalone Animated SVG Rendering\n\nCompile the validated graph document into a zero-dependency standalone SVG:\n\n1. **Inline CSS Keyframe Animation**:\n   - Embed pure CSS `@keyframes pulse` in the SVG `\u003Cstyle>` block to animate stroke offsets along directed edges.\n   - Requires zero external CDNs, client-side JavaScript, or iframe wrappers.\n2. **Responsive Color Themes**:\n   - Inject `@media (prefers-color-scheme: dark)` styling to adapt node fills, borders, text, and edge paths seamlessly between light and dark modes.\n3. **Geometry & Lane Layout**:\n   - Position nodes within lane clusters, routing orthogonal or cubic bezier curves for edge transitions.\n\n> **Completion criterion**: Standalone `\u003Csvg>` generated with valid XML syntax, inline CSS keyframes, and dark\u002Flight mode responsiveness.\n\n---\n\n## 4. PR Comment & Walkthrough Composition\n\nCompose an actionable GitHub PR markdown comment:\n\n1. **Progressive Disclosure Walkthrough (ELI5)**:\n   - Scaffold ordered walkthrough steps beginning with the 2-node core mental model and expanding outwards.\n2. **Collapsible Architecture Details**:\n   - Wrap the full animated SVG inside a `\u003Cdetails>` block with summary statistics (files touched, lane distribution, node count).\n3. **Reviewer Guidance**:\n   - Highlight high-impact blast radius areas and architectural invariants.\n\n> **Completion criterion**: Markdown PR comment formatted with embedded SVG, ELI5 walkthrough, and architectural impact summary.\n\n---\n\n## The Three Foundational Pillars\n\n### 1. The Zero-Dependency Invariant\nAll generated SVG diagrams must be 100% self-contained. Never reference external stylesheets, external fonts, or client-side JavaScript that would be stripped by GitHub comment sanitizers.\n\n### 2. The Semantic Integrity Invariant\nEvery edge endpoint and lane reference must be verified against extant nodes and lanes prior to rendering to eliminate downstream layout engine crashes.\n\n### 3. Progressive Disclosure Pedagogy\nDiagram walkthroughs must present architectures progressively—starting from high-level entry points before unfolding subsystem internals.\n\n---\n\n## The Visual Brief Pillar\n\nWhen completing PR diff visualization sessions or architecture SVG rendering runs, synthesize the generated SVG graph structure, node\u002Fedge counts, and XML schema validation results into a standalone interactive HTML visual brief written to `%TEMP%\\pr-lens-\u003Ctimestamp>.html`. Embed the rendered SVG inline with annotated diff edge highlights and a containment status badge per subgraph.\n\n## Mandatory Checkpoint Gates\n\nBefore publishing any generated SVG or composing PR comments:\n1. **Gate 1 (SVG Schema Validity)**: Assert all generated SVG output passes XML well-formedness validation (zero malformed tags or unclosed elements).\n2. **Gate 2 (PR Diff Containment)**: Assert all visualized nodes and edges are traceable to actual diff hunks (zero phantom nodes from non-diff content).\n3. **Gate 3 (Self-Contained)**: Assert rendered SVG files load correctly in isolation without external CDN dependencies.\n\n---\n\n## Anti-Patterns\n\n- **External Dependency Leaks** — Referencing CDN scripts or remote styles that fail inside sanitized GitHub PR comments.\n- **Dangling Edge Pointers** — Emitting graph edges whose source or target nodes do not exist in the node catalog.\n- **Monolithic Cognitive Flooding** — Dumping 50+ unclustered nodes in a single flat view without lanes or progressive walkthrough steps.\n- **Destructive Map Overwrites** — Overwriting human-curated `.pr-lens\u002Fmap.json` architecture definitions during automated diff analysis.\n- **Mutable Graph State** — Using mutable dictionary state instead of immutable slotted\u002Ffrozen dataclasses for graph entities.\n","# PR Lens Visualizer: Standalone Animated Architecture & Data-Flow Diagrams\n\n`pr-lens-visualizer` transforms git pull request diffs and codebase directory structures into self-contained, zero-dependency animated SVG architecture and data-flow diagrams.\n\nSee [CARD.md](CARD.md) for the companion summary card, stage progression table, and invariants checklist.\nConsult [config.default.yaml](config.default.yaml) for baseline operational budgets and layout parameters.\n\n---\n\n## The 4-Stage Visualizer Progression\n\n```\n[1. Diff Ingestion & Topology Extraction] ──► [2. Graph Schema & Semantic Validation]\n                                                            │\n                                                            ▼\n[4. PR Comment & Walkthrough Composition] ◄── [3. Standalone Animated SVG Rendering]\n```\n\n---\n\n## 1. Diff Ingestion & Topology Extraction\n\nIngest git diffs or codebase structures and extract architectural topology:\n\n1. **Ingest Git Diff**:\n   - Extract modified, added, and deleted files and entities using `parse_git_diff()`.\n   - Identify module boundaries, ingress endpoints, services, and storage entities.\n2. **Apply Architectural Overlay**:\n   - If a human-curated `.pr-lens\u002Fmap.json` exists in the repository, apply idempotent overlays using `apply_overlay()`.\n   - Preserve human subsystem boundaries, lane assignments, and curated labels while mapping diff delta nodes into designated lanes.\n3. **Construct Graph Document**:\n   - Build a structured `GraphDocument` entity with nodes, directed edges, lanes, and progressive disclosure walkthrough steps.\n\n> **Completion criterion**: Structured `GraphDocument` assembled with all nodes, edges, lanes, and walkthrough steps populated.\n\n---\n\n## 2. Graph Schema & Semantic Validation\n\nValidate graph documents prior to rendering to eliminate layout engine failure modes:\n\n1. **Structural Type Verification**:\n   - Assert all required fields (`version`, `title`, `nodes`, `edges`) are present and valid.\n2. **Semantic Graph Integrity Verification**:\n   - Enforce terminal validity: every `edge.source` and `edge.target` MUST resolve to an existing `node.id`.\n   - Enforce lane membership: every `node.lane` MUST resolve to an existing `lane.id`.\n   - Enforce walkthrough references: every `focus_nodes` reference in walkthrough steps MUST resolve to an existing node.\n   - Enforce node uniqueness: duplicate node identifiers are strictly rejected.\n\n> **Completion criterion**: `validate_graph()` returns `valid == True` with zero blocking validation errors.\n\n---\n\n## 3. Standalone Animated SVG Rendering\n\nCompile the validated graph document into a zero-dependency standalone SVG:\n\n1. **Inline CSS Keyframe Animation**:\n   - Embed pure CSS `@keyframes pulse` in the SVG `\u003Cstyle>` block to animate stroke offsets along directed edges.\n   - Requires zero external CDNs, client-side JavaScript, or iframe wrappers.\n2. **Responsive Color Themes**:\n   - Inject `@media (prefers-color-scheme: dark)` styling to adapt node fills, borders, text, and edge paths seamlessly between light and dark modes.\n3. **Geometry & Lane Layout**:\n   - Position nodes within lane clusters, routing orthogonal or cubic bezier curves for edge transitions.\n\n> **Completion criterion**: Standalone `\u003Csvg>` generated with valid XML syntax, inline CSS keyframes, and dark\u002Flight mode responsiveness.\n\n---\n\n## 4. PR Comment & Walkthrough Composition\n\nCompose an actionable GitHub PR markdown comment:\n\n1. **Progressive Disclosure Walkthrough (ELI5)**:\n   - Scaffold ordered walkthrough steps beginning with the 2-node core mental model and expanding outwards.\n2. **Collapsible Architecture Details**:\n   - Wrap the full animated SVG inside a `\u003Cdetails>` block with summary statistics (files touched, lane distribution, node count).\n3. **Reviewer Guidance**:\n   - Highlight high-impact blast radius areas and architectural invariants.\n\n> **Completion criterion**: Markdown PR comment formatted with embedded SVG, ELI5 walkthrough, and architectural impact summary.\n\n---\n\n## The Three Foundational Pillars\n\n### 1. The Zero-Dependency Invariant\nAll generated SVG diagrams must be 100% self-contained. Never reference external stylesheets, external fonts, or client-side JavaScript that would be stripped by GitHub comment sanitizers.\n\n### 2. The Semantic Integrity Invariant\nEvery edge endpoint and lane reference must be verified against extant nodes and lanes prior to rendering to eliminate downstream layout engine crashes.\n\n### 3. Progressive Disclosure Pedagogy\nDiagram walkthroughs must present architectures progressively—starting from high-level entry points before unfolding subsystem internals.\n\n---\n\n## The Visual Brief Pillar\n\nWhen completing PR diff visualization sessions or architecture SVG rendering runs, synthesize the generated SVG graph structure, node\u002Fedge counts, and XML schema validation results into a standalone interactive HTML visual brief written to `%TEMP%\\pr-lens-\u003Ctimestamp>.html`. Embed the rendered SVG inline with annotated diff edge highlights and a containment status badge per subgraph.\n\n## Mandatory Checkpoint Gates\n\nBefore publishing any generated SVG or composing PR comments:\n1. **Gate 1 (SVG Schema Validity)**: Assert all generated SVG output passes XML well-formedness validation (zero malformed tags or unclosed elements).\n2. **Gate 2 (PR Diff Containment)**: Assert all visualized nodes and edges are traceable to actual diff hunks (zero phantom nodes from non-diff content).\n3. **Gate 3 (Self-Contained)**: Assert rendered SVG files load correctly in isolation without external CDN dependencies.\n\n---\n\n## Anti-Patterns\n\n- **External Dependency Leaks** — Referencing CDN scripts or remote styles that fail inside sanitized GitHub PR comments.\n- **Dangling Edge Pointers** — Emitting graph edges whose source or target nodes do not exist in the node catalog.\n- **Monolithic Cognitive Flooding** — Dumping 50+ unclustered nodes in a single flat view without lanes or progressive walkthrough steps.\n- **Destructive Map Overwrites** — Overwriting human-curated `.pr-lens\u002Fmap.json` architecture definitions during automated diff analysis.\n- **Mutable Graph State** — Using mutable dictionary state instead of immutable slotted\u002Ffrozen dataclasses for graph entities.\n",{"name":5,"description":7},"main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Fpr-lens-visualizer","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness","https:\u002F\u002Fgithub.com\u002FSpectreDeath","I'm here to manage stress so I wouldn't expect earth shattering break throughs I'm just an enthusiast that likes making stuff. ","2026-11-15 05:32:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SpectreDeath\u002FBrain-Harness --skill pr-lens-visualizer",{"tool":37,"command":38},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill pr-lens-visualizer",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill pr-lens-visualizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-lens-visualizer\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CARD.md","REFERENCE","参考文档",3132,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-lens-visualizer\u002FCARD.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"config.default.yaml",324,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-lens-visualizer\u002Fconfig.default.yaml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Fvisualizer_engine.py","SCRIPT","脚本",17978,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-lens-visualizer\u002Fscripts\u002Fvisualizer_engine.py",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7E0W6FR68J2N9CXCZTAQJFX","ui-behavior-primitive-architect","Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA\u002FSSR\u002FRTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fui-behavior-primitive-architect\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E0VZ7JQNW34G271DENFGYP","trustgraph-ontology-governor","Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrustgraph-ontology-governor\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E0VQ6Z7R45Q8QAZ4MT39EK","shim-harness-governor","Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshim-harness-governor\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E0VC18NMP1QBSRJ3TPQ7MB","graphiti-zep-memory-governor","Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash\u002FLSH entity dedup, RRF\u002FMMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgraphiti-zep-memory-governor\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7E0V12ABE1RW3ZRCST8VH5Z","agora-mcp-workbench-architect","Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway\u002Fdispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagora-mcp-workbench-architect\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7BFYG6QT3484VC57TZ19V7P","skill-eval-assurance-runner","Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-eval-assurance-runner\u002FSKILL.md",[],[]]