بنقرة واحدة
review-changes
Perform a structured code review using change detection and impact
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Perform a structured code review using change detection and impact
التثبيت باستخدام 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.
Evaluate architecture signals through the unified dagayn dispatcher
Systematically debug issues using graph-powered code navigation
Navigate and understand codebase structure using the knowledge graph
| name | review-changes |
| description | Perform a structured code review using change detection and impact |
Perform a thorough, risk-aware code review using the knowledge graph.
get_minimal_context_tool(task="<review goal>") to check graph freshness,
risk, and suggested next tools.review_tool(mode="changes") to get risk-scored change analysis. Read
analysis_summary first; it includes reason codes, recommended tests,
affected-flow rankings, documentation update candidates, hotspot proximity,
and architecture risks in changed scopes.review_tool(mode="context") when exact source snippets are needed.review_tool(mode="affected_flows"), review_tool(mode="impact"), or
query_graph_tool(pattern="tests_for") only when analysis_summary points to a
concrete flow, blast-radius, or coverage question.query_graph_tool(pattern="docs_for", target="<path::symbol>", detail_level="minimal") to find linked specs, runbooks, explanations, or issue notes from dagayn: documentation directives.query_graph_tool(pattern="implementations_of", target="<doc.md>::<section-slug>", detail_level="minimal") to find code linked by Markdown implemented-by or code implements directives.Provide findings grouped by risk level (high/medium/low) with:
analysis_summary.reason_codes, and public API/dependency
direction changes.concern_separation and function_concern_pressure as refactoring
prioritization evidence, not correctness evidence. Read role, threshold,
reason codes, purity-likelihood evidence, missingness, and suggested action
before deciding whether to mention it. Boundary/coordinator functions may
legitimately have side effects.CROSS_ARTIFACT documentation roles as typed evidence, not duplicate
inverse facts. Check each result's evidence_type: implemented_by and
implements_contract are authored contract evidence; explanatory roles such
as describes_symbol are usually extracted; unresolved or low-confidence
candidates are heuristic_reachable and should stay tentative. Cite the
stored role and the query pattern (docs_for or implementations_of) used.zero_result_reason,
next_action, answerability, and missingness before claiming absence.truncated, total, or approximation metadata when a tool response is
incomplete.Use MCP tools first. If the current MCP server profile does not expose a review
drill-down mode such as affected_flows or impact,
run the same implementation through the CLI without restarting the agent:
dagayn tool review_tool --arg mode='"changes"' --arg detail_level='"minimal"'
dagayn tool review_tool --arg mode='"context"' --arg detail_level='"minimal"'
dagayn tool review_tool --arg mode='"affected_flows"' --arg 'changed_files=["src/app.py"]'
dagayn tool review_tool --arg mode='"impact"' --arg 'changed_files=["src/app.py"]' --arg detail_level='"minimal"'
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>") before any other graph tool.detail_level="minimal" on all calls. Only escalate to "standard" when minimal is insufficient.