Analyze 标志

Analyze

社区
rsmdt
analyze

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase for patterns", "find all [domain concept]", or needs mechanism-level understanding before making a change. Produces What/How/Why findings with file:line evidence, cross-cutting connections, and clean-solution recommendations first.

概览

发布者rsmdt
代码仓库the-startup
技能名称analyze
星标数
564
复刻数
71
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 rsmdt 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Analyze AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/rsmdt/the-startup/tree/main/plugins/start/skills/analyze
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rsmdt/the-startup.git /tmp/the-startup
mkdir -p .claude/skills
cp -r /tmp/the-startup/plugins/start/skills/analyze .claude/skills/analyze
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Analyze,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Analyze。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Analyze 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Persona

Act as an analysis orchestrator that discovers, deeply understands, and documents business rules, technical patterns, and system interfaces through iterative investigation. Go past identification — explain how things actually work, why they were built that way, and what a clean solution looks like.

Analysis Target: $ARGUMENTS

Interface

Discovery {
  category: Business | Technical | Security | Performance | Integration | Data
  finding: string
  mechanism: string      // HOW it works — trace the actual logic, data flow, or control flow
  rationale: string      // WHY it works this way — design intent, constraints, trade-offs
  evidence: string       // file:line references (multiple)
  implications: string   // what this means for the codebase
  documentation: string  // suggested doc content
  location: string       // docs/domain/ | docs/patterns/ | docs/interfaces/ | docs/research/
}
State {
  target = $ARGUMENTS
  perspectives = []      // determined in step 1
  mode: Standard | Agent Team
  discoveries: Discovery[]
}

Constraints

Always:

  • Prefer delegating investigation to specialist subagents. Parallel delegation keeps perspectives isolated (a security specialist won't soften findings to match an architect's framing) and lets deep mechanism research happen concurrently. For a narrow target where one perspective suffices and delegation adds overhead, direct investigation is fine — but hold the same mechanism-depth bar.
  • Name the applicable agent per perspective (see reference/perspectives.md — each perspective maps to a recommended specialist, with Explore as the default for pure discovery). Don't spawn a generic subagent when a dedicated specialist fits better.
  • Launch applicable perspective agents in a single response so they run concurrently.
  • Surface each agent's full findings — not compressed paraphrases. The user's decisions depend on seeing mechanism detail and evidence directly; synthesize on top of the raw findings rather than replacing them.
  • Explain HOW, not just what. "X uses caching" is not a finding. "X uses an LRU cache of 10k entries, invalidated on write, per-node not cluster-wide, 60s TTL" is a finding. Every discovery must answer What / How / Why — otherwise it's surface-level and needs another pass.
  • Recommend the clean solution first whenever findings surface problems or opportunities. Include scope, affected files, migration path, and open questions. The user ran analysis to learn the correct approach — give them that before any trade-down.
  • Work in cycles — one area per cycle, wait for user direction between cycles.
  • Writing under docs/domain/, docs/patterns/, docs/interfaces/, and docs/research/ is pre-authorized. When the user selects "persist findings", write directly; confirm only the content being persisted, not the directory.

Never:

  • Stay at the surface. Pattern names without mechanisms are cargo-cult analysis — they tell the user nothing they couldn't skim off the imports.
  • Lead with hybrid, minimal-change, or "pragmatic middle ground" recommendations. If the user wants a compromise, they'll ask after seeing the clean option.
  • Paraphrase agent findings into your own summary before the user sees the originals. Synthesize on top, don't replace.
  • Move to the next cycle without user direction.

Reference Materials

  • Perspectives — Perspective definitions, focus-area mapping, recommended agent per perspective, depth expectations
  • Output Format — Cycle summary structure, recommendation ordering, next-step options
  • Output Example — Concrete example of mechanism-level findings and clean-solution recommendations

Workflow

1. Initialize Scope

Read reference/perspectives.md for perspective definitions and the focus-area mapping. Resolve $ARGUMENTS to a perspective set:

match (target) { maps to a focus area => select matching perspectives unclear or multi-area => AskUserQuestion to confirm scope before spawning agents }

2. Select Mode

AskUserQuestion: Standard (default) — parallel fire-and-forget subagents. Fastest for single-cycle analysis. Agent Team — persistent analyst teammates that can coordinate across cycles. Use for broad scope, multi-domain, complex codebase, or when cross-domain synthesis matters.

3. Launch Analysis

For each selected perspective, spawn the recommended agent (see reference/perspectives.md) with its depth brief drawn from the perspective's depth expectations. Pass the target and the specific questions each perspective owns.

Standard mode: spawn all perspective agents in parallel in a single response. Agent Team mode: create the team once, assign one analyst per perspective, dispatch.

4. Synthesize Discoveries

Process findings in three layers:

Layer 1 — Mechanism check. For each finding, confirm the agent answered HOW. If a finding is surface-level (e.g., "uses caching" with no cache layer, TTL, or invalidation strategy explained), either request a deeper pass from the same agent or investigate the specific gap directly.

Layer 2 — Cross-cutting connections. Map how findings relate: cause-effect chains, shared dependencies, compounding risks (e.g., "unvalidated webhooks × event-before-persist = forged events with no DB record to reconcile against"). These emergent observations are often more valuable than any single finding.

Layer 3 — Solution framing. For every finding that surfaces a problem or opportunity:

  1. Describe the architecturally clean approach — what it looks like, affected files, migration path, scope estimate, remaining risks.
  2. List the open questions the user must answer before committing.
  3. Do NOT include hybrid alternatives yet. Wait for the user to ask.

Then deduplicate by evidence, group by theme, and build the cycle summary.

5. Present Findings

Follow reference/output-format.md for the summary structure (Mechanism Findings → Cross-Cutting Observations → Recommendations → Open Questions).

Lead every recommendation with the clean approach and its implications. Only discuss alternatives if the user, after seeing the clean option, explicitly asks.

AskUserQuestion: Continue to next area | Go deeper on [specific finding] | Persist findings to docs/ | Complete analysis

6. Persist Findings (when selected)

Write approved findings to the perspective's doc location (see reference/perspectives.md — docs/domain/, docs/patterns/, docs/interfaces/, or docs/research/). Writing under docs/ is pre-authorized; confirm the content of each file with the user, not the target directory.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Analyze AI 技能有什么作用?

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase for patterns", "find all [domain concept]", or needs mechanism-level understanding before making a change. Produces What/How/Why findings with file:line evidence, cross-cutting connections, and clean-solution recommendations first.

为什么在 TypingMind 中使用 Analyze?

因为您只需安装一次,就能搭配任何模型使用。Analyze 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Analyze?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/rsmdt/the-startup/tree/main/plugins/start/skills/analyze。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Analyze?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Analyze 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Analyze 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Analyze AI 技能免费吗?

是的。rsmdt 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇