Skip to main content

architecture

Codebase comprehension and complexity tracking — module map, data flow, recent changes, and complexity hotspots. Run with no arguments for a full snapshot or with a date/commit/tag for a delta briefing. TRIGGER when the user asks for a system overview, wants to understand the architecture, asks "what changed while I was away", or needs to orient before a large task. DO NOT trigger for specific code questions, bug fixes, or implementation tasks — those are better served by reading the relevant module directly.

跳到安装

来源信息

仓库
weaties/helmlog
最近来源活动
2026年4月26日 21:17
检测到的 SKILL.md 语言
英语
星标
2
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
architecture
description
Codebase comprehension and complexity tracking — module map, data flow, recent changes, and complexity hotspots. Run with no arguments for a full snapshot or with a date/commit/tag for a delta briefing. TRIGGER when the user asks for a system overview, wants to understand the architecture, asks "what changed while I was away", or needs to orient before a large task. DO NOT trigger for specific code questions, bug fixes, or implementation tasks — those are better served by reading the relevant module directly.
# /architecture — Codebase Briefing Produce a concise, scannable system overview. The methodology (which files to count, which imports to grep, how to derive responsibilities) is left to the model — this skill specifies the **output shape and conventions**, not the steps to get there. ## Mode - No `$ARGUMENTS` → **full snapshot**. - `$ARGUMENTS` is a date / commit SHA / tag → **delta briefing** since that ref. If ambiguous, ask. ## Severity thresholds (use these exact labels, not synonyms) The 200-line module convention from CLAUDE.md applies. Classify hotspots: | Severity | Lines | Stance | |---|---|---| | **Watch** | 200–300 | Note, may be fine if cohesive | | **Warning** | 300–500 | Recommend reviewing for split opportunities | | **Alert** | 500+ | Strongly recommend splitting | ## Risk-tier escalation rule A complexity hotspot in a Critical or High tier module is more urgent than the same severity in a Standard module — call this out explicitly. The canonical risk-tier mapping is in `docs/risk-tiers.md`; do not re-state it, just apply it. ## Output: full snapshot Target 80–150 lines. Structure: ``` ## Module Map <table grouped by risk tier (Critical → High → Standard → Low/Unclassified): module · lines · one-line responsibility · key helmlog-internal deps> ## Data Flow <ASCII diagram derived from actual imports — instrument ingest, storage reads, federation, audio pipeline, external fetches> ## Complexity Hotspots <table: module · lines · severity · risk tier · notes — Critical/High tier hotspots called out as more urgent> ## Recommendations <2–5 bullets, most actionable observations> ``` ## Output: delta briefing Target 30–80 lines. Show only what changed; do not produce a full snapshot. ``` ## Changes Since <ref> (<date>) <commit count, commit-shape breakdown by feat/fix/docs/perf/refactor> ## Structural Changes <new/removed modules; modules with significant line-count changes; any module that crossed the 200-line threshold in either direction> ## Change Clustering <files appearing in many commits — complexity magnets> ## Affected Data Flow <which connections were added/removed/altered> ## Recommendations <2–5 bullets> ``` ## Out of scope This skill does not run lint/type/tests, modify code, or open issues/PRs. Its job is to orient — to tell the reader *where* to read, not to replace reading.
在 GitHub 查看