بنقرة واحدة
architecture-analysis
Evaluate architecture signals through the unified dagayn dispatcher
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Evaluate architecture signals through the unified dagayn dispatcher
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Register repositories, maintain multi-repo graph freshness, and search across repos with dagayn.
Read a Markdown document with full dependency context — query the dagayn graph first, pre-read referenced docs and code by edge type, then read the body.
Author Markdown documents (READMEs, design docs, RFCs) so dagayn extracts correct dependency edges. Four-stage flow — outline & sort, draft & verify, polish, summary.
Systematically debug issues using graph-powered code navigation
Navigate and understand codebase structure using the knowledge graph
Plan and execute safe refactoring using dependency analysis
| 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.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. 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.Use MCP first. If the current MCP profile does not expose the dispatcher, call the same implementation through the CLI:
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>").architecture_analysis_tool(mode="overview", detail_level="minimal")
before any architecture drill-down mode.