[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVQ2Y6DWHYXC8S7T8Q2K74":3,"skill-same:01M7AVQ2Y6DWHYXC8S7T8Q2K74":55},{"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},"01M7AVQ2Y6DWHYXC8S7T8Q2K74","deepen-architecture",null,"Run the iterative architecture deepening loop (analyze, assess, recommend, plan, execute, verify) to eliminate shallow modules and improve seams. Do not use for speculative wrappers or trivial utility creation.","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\u002Fdeepen-architecture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: deepen-architecture\ndescription: Run the iterative architecture deepening loop (analyze, assess, recommend, plan, execute, verify) to eliminate shallow modules and improve seams. Do not use for speculative wrappers or trivial utility creation.\n---\n\n# Architecture Deepening Loop\n\nThe architecture deepening loop is the continuous cadence that transforms shallow, leaky modules into deep, high-leverage abstractions with clean public seams.\n\nEvery cycle follows a strict six-stage progression:\n\n```\n[1. Analyze] → [2. Assess] → [3. Recommend (HTML)] → [4. Plan] → [5. Execute & Verify] → [6. Record]\n```\n\nSee [CARD.md](CARD.md) for the skill summary card, cheatsheet, and stage-by-stage completion criteria.\nConsult `\u002Fcodebase-design` for the shared vocabulary of modules, interfaces, depth, seams, leverage, and locality.\n\n---\n\n## 1. Analyze (The Seam Audit)\n\nInspect the codebase to identify architectural friction points:\n- **Shallow modules** — interfaces that expose internal implementation complexity rather than hiding it.\n- **Leaky abstractions** — callers doing ad-hoc filesystem scans, manual dispatch loops, or duplicate instantiation.\n- **Fragmented seams** — multiple subsystems implementing identical responsibilities independently.\n- **Silent mutations** — state or lifecycle transitions occurring outside the audit\u002Ftelemetry stream.\n\n> **Completion criterion**: 2 to 4 concrete friction sites identified with specific file paths, line numbers, and callers.\n\n### 1.1 The Typed Seam Elevation Invariant\nWhen auditing seams during the Analyze stage:\n- **Never tolerate duck-typed string lookups** (e.g. `ServiceKey[Any](\"...\")` or `hasattr(...)`) in agent orchestration loops.\n- **Consolidate multi-pass chains** into an authoritative, typed `ServiceKey[T]` interface that hides internal execution stages behind a single high-leverage method call.\n\n---\n\n## 2. Assess (The Leverage & Locality Lens)\n\nEvaluate each candidate across three core architectural levers:\n\n- **Locality** — Does state and its mutation logic live together in one authoritative place?\n- **Leverage** — Does the interface provide substantial capability with minimal surface area (high ratio of hidden complexity to interface surface)?\n- **Testability** — Can the behavior be asserted purely through public seams without reaching into internals or mocking collaborators?\n\nClassify each candidate by recommendation strength:\n- `Strong` — Clear leverage win, resolves active friction, high locality improvement.\n- `Worth exploring` — Valuable architectural deepening with minor structural tradeoffs.\n- `Speculative` — High conceptual elegance but adds abstraction overhead without immediate caller pressure.\n\n> **Completion criterion**: Each candidate scored with concrete before\u002Fafter architectural descriptions.\n\n---\n\n## 3. Recommend (The Visual Brief)\n\nSynthesize findings into an interactive, self-contained HTML review report:\n\n1. **Location**: Write to the OS temporary directory (`%TEMP%\\architecture-review-\u003Ctimestamp>.html` on Windows, `\u002Ftmp\u002Farchitecture-review-\u003Ctimestamp>.html` on Unix).\n2. **Presentation**:\n   - Use Tailwind CSS and Mermaid.js via CDN for rich visual styling and dark mode.\n   - Include before\u002Fafter Mermaid diagrams illustrating the shallow vs. deepened topology.\n   - Display candidate cards with recommendation badges (`Strong`, `Worth exploring`, `Speculative`).\n   - End with an explicit **Top Recommendation** section stating where to start and why.\n3. **Communication**: Surface the absolute file path to the user with clickable links.\n\n> **Completion criterion**: HTML report written to `%TEMP%` and path delivered to the user.\n\n---\n\n## 4. Plan (The Checkpoint Artifact)\n\nFormulate an actionable, structured implementation plan:\n\n1. Write or update `implementation_plan.md` artifact in the brain directory.\n2. Group proposed edits by subsystem layer (core interfaces first, adapters second).\n3. Explicitly document backward compatibility and regression risks.\n4. Set `RequestFeedback: true` in artifact metadata to pause execution for user approval.\n\n> **Completion criterion**: User explicitly reviews and approves the implementation plan.\n\n---\n\n## 5. Execute & Verify (Zero-Regression Seam Refactor)\n\nOnce approved, execute the refactoring in minimal, contiguous edits:\n\n1. Implement the deep base abstraction and authoritative factory\u002Fcatalog seam first.\n2. Refactor existing callers and adapters to delegate to the new seam.\n3. Eliminate duplicate legacy methods and ad-hoc traversal loops.\n4. Execute the automated test suite (`pytest -v`) to achieve **100% pass rate** across all unit and integration tests.\n\n> **Completion criterion**: Full test suite passes green with zero regressions and no broken public contracts.\n\n---\n\n## 6. Record (The Walkthrough Artifact)\n\nDocument the completed architectural improvements:\n\n1. Update `walkthrough.md` with:\n   - Summary of deepened seams and consolidated components.\n   - Clickable links to all modified files and symbols.\n   - Verification test metrics (test counts, execution duration, pass rate).\n2. Present a concise markdown overview to the user and await the next iteration trigger.\n\n> **Completion criterion**: `walkthrough.md` updated and presented cleanly.\n\n---\n\n## Anti-Patterns\n\n- **Speculative Abstraction** — Creating deep wrappers around simple utilities that have only one trivial caller.\n- **Interface Churn** — Breaking public contracts or CLI flags when deepening internal seams; always preserve public backward compatibility unless deprecation was explicitly planned.\n- **Skipping Visual Verification** — Presenting raw text diffs instead of the temp HTML visual brief and Mermaid diagrams.\n- **Proceeding Without Plan Approval** — Executing code refactors before the user reviews and signs off on `implementation_plan.md`.\n","# Architecture Deepening Loop\n\nThe architecture deepening loop is the continuous cadence that transforms shallow, leaky modules into deep, high-leverage abstractions with clean public seams.\n\nEvery cycle follows a strict six-stage progression:\n\n```\n[1. Analyze] → [2. Assess] → [3. Recommend (HTML)] → [4. Plan] → [5. Execute & Verify] → [6. Record]\n```\n\nSee [CARD.md](CARD.md) for the skill summary card, cheatsheet, and stage-by-stage completion criteria.\nConsult `\u002Fcodebase-design` for the shared vocabulary of modules, interfaces, depth, seams, leverage, and locality.\n\n---\n\n## 1. Analyze (The Seam Audit)\n\nInspect the codebase to identify architectural friction points:\n- **Shallow modules** — interfaces that expose internal implementation complexity rather than hiding it.\n- **Leaky abstractions** — callers doing ad-hoc filesystem scans, manual dispatch loops, or duplicate instantiation.\n- **Fragmented seams** — multiple subsystems implementing identical responsibilities independently.\n- **Silent mutations** — state or lifecycle transitions occurring outside the audit\u002Ftelemetry stream.\n\n> **Completion criterion**: 2 to 4 concrete friction sites identified with specific file paths, line numbers, and callers.\n\n### 1.1 The Typed Seam Elevation Invariant\nWhen auditing seams during the Analyze stage:\n- **Never tolerate duck-typed string lookups** (e.g. `ServiceKey[Any](\"...\")` or `hasattr(...)`) in agent orchestration loops.\n- **Consolidate multi-pass chains** into an authoritative, typed `ServiceKey[T]` interface that hides internal execution stages behind a single high-leverage method call.\n\n---\n\n## 2. Assess (The Leverage & Locality Lens)\n\nEvaluate each candidate across three core architectural levers:\n\n- **Locality** — Does state and its mutation logic live together in one authoritative place?\n- **Leverage** — Does the interface provide substantial capability with minimal surface area (high ratio of hidden complexity to interface surface)?\n- **Testability** — Can the behavior be asserted purely through public seams without reaching into internals or mocking collaborators?\n\nClassify each candidate by recommendation strength:\n- `Strong` — Clear leverage win, resolves active friction, high locality improvement.\n- `Worth exploring` — Valuable architectural deepening with minor structural tradeoffs.\n- `Speculative` — High conceptual elegance but adds abstraction overhead without immediate caller pressure.\n\n> **Completion criterion**: Each candidate scored with concrete before\u002Fafter architectural descriptions.\n\n---\n\n## 3. Recommend (The Visual Brief)\n\nSynthesize findings into an interactive, self-contained HTML review report:\n\n1. **Location**: Write to the OS temporary directory (`%TEMP%\\architecture-review-\u003Ctimestamp>.html` on Windows, `\u002Ftmp\u002Farchitecture-review-\u003Ctimestamp>.html` on Unix).\n2. **Presentation**:\n   - Use Tailwind CSS and Mermaid.js via CDN for rich visual styling and dark mode.\n   - Include before\u002Fafter Mermaid diagrams illustrating the shallow vs. deepened topology.\n   - Display candidate cards with recommendation badges (`Strong`, `Worth exploring`, `Speculative`).\n   - End with an explicit **Top Recommendation** section stating where to start and why.\n3. **Communication**: Surface the absolute file path to the user with clickable links.\n\n> **Completion criterion**: HTML report written to `%TEMP%` and path delivered to the user.\n\n---\n\n## 4. Plan (The Checkpoint Artifact)\n\nFormulate an actionable, structured implementation plan:\n\n1. Write or update `implementation_plan.md` artifact in the brain directory.\n2. Group proposed edits by subsystem layer (core interfaces first, adapters second).\n3. Explicitly document backward compatibility and regression risks.\n4. Set `RequestFeedback: true` in artifact metadata to pause execution for user approval.\n\n> **Completion criterion**: User explicitly reviews and approves the implementation plan.\n\n---\n\n## 5. Execute & Verify (Zero-Regression Seam Refactor)\n\nOnce approved, execute the refactoring in minimal, contiguous edits:\n\n1. Implement the deep base abstraction and authoritative factory\u002Fcatalog seam first.\n2. Refactor existing callers and adapters to delegate to the new seam.\n3. Eliminate duplicate legacy methods and ad-hoc traversal loops.\n4. Execute the automated test suite (`pytest -v`) to achieve **100% pass rate** across all unit and integration tests.\n\n> **Completion criterion**: Full test suite passes green with zero regressions and no broken public contracts.\n\n---\n\n## 6. Record (The Walkthrough Artifact)\n\nDocument the completed architectural improvements:\n\n1. Update `walkthrough.md` with:\n   - Summary of deepened seams and consolidated components.\n   - Clickable links to all modified files and symbols.\n   - Verification test metrics (test counts, execution duration, pass rate).\n2. Present a concise markdown overview to the user and await the next iteration trigger.\n\n> **Completion criterion**: `walkthrough.md` updated and presented cleanly.\n\n---\n\n## Anti-Patterns\n\n- **Speculative Abstraction** — Creating deep wrappers around simple utilities that have only one trivial caller.\n- **Interface Churn** — Breaking public contracts or CLI flags when deepening internal seams; always preserve public backward compatibility unless deprecation was explicitly planned.\n- **Skipping Visual Verification** — Presenting raw text diffs instead of the temp HTML visual brief and Mermaid diagrams.\n- **Proceeding Without Plan Approval** — Executing code refactors before the user reviews and signs off on `implementation_plan.md`.\n",{"name":5,"description":7},"main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Fdeepen-architecture","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 deepen-architecture",{"tool":37,"command":38},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill deepen-architecture",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill deepen-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeepen-architecture\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CARD.md","REFERENCE","参考文档",3945,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeepen-architecture\u002FCARD.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"config.default.yaml",295,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdeepen-architecture\u002Fconfig.default.yaml",[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":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"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":64,"name":65,"nameZh":6,"description":66,"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},"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":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},"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":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"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",[],[]]