用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/manji-0/dagayn --skill architecture-analysis命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | architecture-analysis |
| description | Evaluate architecture signals through the unified dagayn dispatcher |
Use architecture_analysis_tool as the single MCP entry point for architecture
evaluation. Start broad, then drill down only when the overview or a concrete
question points to a signal.
get_minimal_context_tool(task="<architecture goal>") to check graph
freshness, risk, and suggested next tools. If graph_health.status is
empty (or ensure_graph_tool is the first next-tool hint), call
ensure_graph_tool() and re-orient before architecture analysis.architecture_analysis_tool(mode="overview", detail_level="minimal").
Read architecture_health.reason_codes, counts, examples, and
drill_downs.communities: boundaries, large clusters, cohesion, coupling shapecommunity: one community's metadata or member samplehubs: high-degree hotspots with broad blast radiusbridges: betweenness chokepoints between regionsknowledge_gaps: isolated nodes, thin communities, untested hotspotssurprising_connections: unexpected cross-boundary couplingadp_violations: dependency cyclessdp_metrics / sdp_violations: dependency stability directionsap_metrics / sap_violations: abstraction/stability balancequery_graph_tool or source reads only after the metric output identifies a
concrete node, edge, community, package, or file to verify.traverse_graph_tool only as a bounded neighborhood drill-down after a
concrete hub, bridge, surprising edge, or violating scope is chosen, and only
when the advanced MCP surface (or dagayn tool) exposes it. Prefer
query_graph_tool when the follow-up is a specific relationship.query_graph_tool(pattern="docs_for", target="<path::symbol>", detail_level="minimal")
from code/Terraform nodes and
query_graph_tool(pattern="implementations_of", target="<doc.md>::<section-slug>", detail_level="minimal")
from Markdown contract sections. Treat CROSS_ARTIFACT documentation roles
as typed traceability evidence, not automatic architectural coupling; read
evidence_type and missingness before treating a doc edge as contract
evidence.total, truncated, and approximation
metadata when making claims.detail_level="minimal" and small top_n values first. Increase only
when the result is too narrow to answer the question.implemented_by, implements_contract, explained_by, has_runbook,
problem_described_by, discusses_artifact, or raises_issue_for) and
whether it came from Markdown or code. Include evidence_type when it affects
the strength of the claim.zero_result_reason and next_action
rather than treating the result as proof of no relationship.Default MCP already exposes architecture_analysis_tool and query_graph_tool.
Use dagayn tool when the server allow-list omitted them, or for advanced
helpers such as traverse_graph_tool:
dagayn tool architecture_analysis_tool --arg mode='"overview"' --arg detail_level='"minimal"'
dagayn tool architecture_analysis_tool --arg mode='"sdp_violations"' --arg top_n=10
dagayn tool architecture_analysis_tool --arg mode='"community"' --arg community_name='"auth"'
dagayn tool query_graph_tool --arg pattern='"docs_for"' --arg target='"src/app.py::handler"'
dagayn tool query_graph_tool --arg pattern='"implementations_of"' --arg target='"docs/spec.md::contract-section"'
get_minimal_context_tool(task="<your task>").ensure_graph_tool returns.architecture_analysis_tool(mode="overview", detail_level="minimal")
before any architecture drill-down mode.