[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DH46PQPGRWTMJHC2EEG2V3":3,"skill-same:01M7DH46PQPGRWTMJHC2EEG2V3":84},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DH46PQPGRWTMJHC2EEG2V3","visualizing-codebases",null,"Builds an interactive static D3 site that visualizes a codebase, starting with a C4 view of system context, containers, components, and code, with dependency cycles between modules and classes. Use when the user says \"visualize this codebase\", or asks for C4 diagrams or a map of a codebase's structure and dependency cycles. Not for prose walkthroughs; use explaining-architecture.","bostonaholic\u002Fskills","bostonaholic","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F362146?v=4","01M7DGVW4NA3AZAS7ZVN59FFTR","Matthew Boston","01M7DGVW56TS63D9MTAPRW8SCT",2,"MIT","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: visualizing-codebases\ndescription: Builds an interactive static D3 site that visualizes a codebase, starting with a C4 view of system context, containers, components, and code, with dependency cycles between modules and classes. Use when the user says \"visualize this codebase\", or asks for C4 diagrams or a map of a codebase's structure and dependency cycles. Not for prose walkthroughs; use explaining-architecture.\n---\n\n# Visualizing codebases\n\nModel the codebase from its source, then build a static site the reader can\nclick through. The site shows what exists and how it depends on itself.\nJudging it is the reader's job.\n\n## Views\n\nEach view is a model you write from the code and a script that turns it into\npages. Build the C4 view unless the user names another one listed here.\n\n| View | Shows                                                                    | Read                                                                                     |\n| ---- | ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |\n| C4   | System context, containers, components, and code, with dependency cycles | [C4 view](references\u002Fc4-view.md), then [its model schema](references\u002Fc4-model-schema.md) |\n\n## Rules\n\n- **Describe, never prescribe.** The site and the reply state elements,\n  dependencies, and cycles as facts. No refactoring advice, severity, smells,\n  rankings of what to fix, or \"should\". When the user asks for refactoring\n  advice, say this skill stops at the map and leave the call to them.\n- **Evidence for every element and edge.** Each code element is a real file,\n  module, or class. Each relationship is an import, call, or configured\n  connection you saw in source, build, deploy, or config files. Never infer an\n  edge from a name. External systems are remote services the code calls, not\n  libraries.\n- **Complete imports.** A missed import hides a cycle. Prefer the language's\n  own import-graph tooling or compiler output when installed; otherwise parse\n  every import statement. Count only imports between the repository's own\n  modules. Leave tests and generated code out unless the user asks, and say\n  which kinds of imports you excluded, such as type-only or dynamic ones.\n\n## Steps\n\n1. Scope: the repository root, or the subtree the user names. Read the\n   README, manifests, entrypoints, and deploy files (container, compose,\n   infrastructure, CI) before any source.\n2. Write the view's model as its reference says. Put it in `visualized\u002F` at\n   the repository root unless the user names another directory.\n3. Run the view's build script with Node 18 or later (check with\n   `node --version`). On exit 1, fix every error stderr names and rerun until\n   exit 0.\n4. When a browser tool is available, open `visualized\u002Findex.html` and every\n   page it links, and read the console. The pages load D3 7.9.0 from\n   cdn.jsdelivr.net, so they need a network connection. Fix what fails and\n   rebuild. Without a browser tool, say the pages were not opened.\n5. Report, adapting the wording:\n   - The path to `visualized\u002Findex.html`, and how to open it.\n   - What the view's reference says to report, without commentary on cycles.\n   - What the model leaves out and why: excluded imports, tests, generated\n     code, or parts that could not be traced.\n","# Visualizing codebases\n\nModel the codebase from its source, then build a static site the reader can\nclick through. The site shows what exists and how it depends on itself.\nJudging it is the reader's job.\n\n## Views\n\nEach view is a model you write from the code and a script that turns it into\npages. Build the C4 view unless the user names another one listed here.\n\n| View | Shows                                                                    | Read                                                                                     |\n| ---- | ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |\n| C4   | System context, containers, components, and code, with dependency cycles | [C4 view](references\u002Fc4-view.md), then [its model schema](references\u002Fc4-model-schema.md) |\n\n## Rules\n\n- **Describe, never prescribe.** The site and the reply state elements,\n  dependencies, and cycles as facts. No refactoring advice, severity, smells,\n  rankings of what to fix, or \"should\". When the user asks for refactoring\n  advice, say this skill stops at the map and leave the call to them.\n- **Evidence for every element and edge.** Each code element is a real file,\n  module, or class. Each relationship is an import, call, or configured\n  connection you saw in source, build, deploy, or config files. Never infer an\n  edge from a name. External systems are remote services the code calls, not\n  libraries.\n- **Complete imports.** A missed import hides a cycle. Prefer the language's\n  own import-graph tooling or compiler output when installed; otherwise parse\n  every import statement. Count only imports between the repository's own\n  modules. Leave tests and generated code out unless the user asks, and say\n  which kinds of imports you excluded, such as type-only or dynamic ones.\n\n## Steps\n\n1. Scope: the repository root, or the subtree the user names. Read the\n   README, manifests, entrypoints, and deploy files (container, compose,\n   infrastructure, CI) before any source.\n2. Write the view's model as its reference says. Put it in `visualized\u002F` at\n   the repository root unless the user names another directory.\n3. Run the view's build script with Node 18 or later (check with\n   `node --version`). On exit 1, fix every error stderr names and rerun until\n   exit 0.\n4. When a browser tool is available, open `visualized\u002Findex.html` and every\n   page it links, and read the console. The pages load D3 7.9.0 from\n   cdn.jsdelivr.net, so they need a network connection. Fix what fails and\n   rebuild. Without a browser tool, say the pages were not opened.\n5. Report, adapting the wording:\n   - The path to `visualized\u002Findex.html`, and how to open it.\n   - What the view's reference says to report, without commentary on cycles.\n   - What the model leaves out and why: excluded imports, tests, generated\n     code, or parts that could not be traced.\n",{"name":5,"description":7},"main","e8ff85fe8cec970c537bf34f0373fdff02834815","skills\u002Fengineering\u002Fvisualizing-codebases",0,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills","https:\u002F\u002Fskills.bostonaholic.dev","https:\u002F\u002Fgithub.com\u002Fbostonaholic","https:\u002F\u002Fmatthewboston.com","agility. simplicity. value.","2026-11-15 04:51:36",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bostonaholic\u002Fskills --skill visualizing-codebases",{"tool":40,"command":41},"bunx","bunx skills add bostonaholic\u002Fskills --skill visualizing-codebases",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bostonaholic\u002Fskills --skill visualizing-codebases","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002FSKILL.md",true,[48,54,58,62,68,72,76,80],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",375,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fagents\u002Fopenai.yaml",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fc4-model-schema.md",4238,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Freferences\u002Fc4-model-schema.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fc4-view.md",2124,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Freferences\u002Fc4-view.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fbuild-c4-site.mjs","SCRIPT","脚本",17839,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fscripts\u002Fbuild-c4-site.mjs",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fsite\u002Fapp.js",50045,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fscripts\u002Fsite\u002Fapp.js",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fsite\u002Findex.html",3114,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fscripts\u002Fsite\u002Findex.html",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fsite\u002Fpage.html",4537,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fscripts\u002Fsite\u002Fpage.html",{"path":81,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fsite\u002Fstyles.css",21452,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fvisualizing-codebases\u002Fscripts\u002Fsite\u002Fstyles.css",[85,92,99,106,113,120],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7DH74HXXCFEZVAGZWETR4TY","writing-system-prompts","Writes and reviews system prompts for AI tools, agents, chatbots, and LLM products using a fixed section order and a quality checklist. Use when the user says \"write a system prompt\", or when drafting a system prompt or auditing one for missing stop criteria, tool rules, constraints, or examples. Not for compressing an existing prompt; use improving-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-system-prompts\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7DH6ZJ1RFRCGM01CGMJ10RY","writing-prose","Writes and edits prose for people in a plain, conversational, short house style with no em dashes. Use when the user says \"write this up\", or when drafting or revising documentation, READMEs, explanations, blog posts, or other human-facing prose. Not for prompts written for agents; use writing-system-prompts or composing-agent-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-prose\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7DH6TR43CYKY8VHFQWKNDWW","writing-acceptance-criteria","Writes or rewrites acceptance criteria until each is provable: one observable outcome with a named check that can fail. Use when the user says \"write acceptance criteria\", or asks to write, rewrite, or tighten acceptance criteria or a definition of done. Not for proving work meets them; use proving-claims.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-acceptance-criteria\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7DH6P0PC857A3W7CAGJPXSM","summarizing-shipped-work","Summarizes the user's merged GitHub PRs for a timeframe into a grouped, linked shipped-work report with highlights, and offers to update a brag document. Use when the user says \"what shipped?\", or when asked what the user shipped (this week, last month, a quarter, since a date), for a status update, or to update a brag doc.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fsummarizing-shipped-work\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7DH6H3YCJ59CZ0DMKHZ3N7S","running-retros","Mines a session transcript, past agent sessions, or named sources such as PR review comments for durable learnings, then proposes approval-gated edits to skills, AGENTS.md, or docs and tracker issues. Use when the user says \"retro\", or when the user explicitly asks for a retrospective. Never infer from session end or friction.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Frunning-retros\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7DH6C68WZB8Z6DD4MH770B7","learning-from-mistakes","Codifies the latest correction or mistake in the conversation as a short imperative rule in the project or global CLAUDE.md or AGENTS.md, after the user approves it. Use when the user says \"learn from this mistake\", or when the user asks to learn from a mistake, remember a lesson for next time, add a rule to CLAUDE.md, or not repeat a behavior. Not for a whole session; use running-retros.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Flearning-from-mistakes\u002FSKILL.md",[],[]]