EstateWise Review
Use this skill when the task is review-oriented rather than implementation-oriented.
Output Contract
Lead with findings ordered by severity. Keep summaries brief and secondary.
Each finding should include:
- Severity and impact.
- Exact file and symbol, route, tool, or endpoint.
- Why the behavior is risky or incorrect.
- Reproduction path or failure mode when possible.
- Missing tests or docs if that increases risk.
If no findings are discovered, say so explicitly and mention residual risks or validation gaps.
Severity Guide
critical: auth bypass, data loss, production outage risk, destructive deployment risk.
high: broken contract, guaranteed runtime failure, clear regression, unsafe infra behavior.
medium: correctness hole, flaky behavior, edge case failure, missing validation or tests.
low: maintainability issue likely to cause defects later.
Do not lead with style-only comments unless they hide a real defect or maintenance trap.
EstateWise Review Checklist
Backend
- Did route or middleware order change in
backend/src/server.ts?
- Did auth or cookie behavior change unintentionally?
- Did a response shape change without updating frontend or MCP consumers?
- Are
/metrics, /status, /swagger.json, and /api-docs still coherent?
- Are graph endpoints still guarded correctly when Neo4j is disabled?
Frontend
- Were shared API assumptions updated everywhere they are duplicated?
- If
frontend/lib/api.ts changed, do direct page-level fetches still agree?
- If chat changed, do streaming, title generation, rating, and conversation CRUD still fit together?
- If map or insights changed, are marker/query limits and graph-failure handling still sane?
MCP
- Do tool names, descriptions, and schemas still match implementation?
- Are outputs still text-first and MCP-client-friendly?
- If backend endpoints changed, do MCP wrappers still parse and format correctly?
- If A2A changed, are MCP bridge tools still aligned with the agentic AI server?
Agentic AI
- Do orchestrator, LangGraph, CrewAI, and HTTP/A2A paths still agree where they overlap?
- If
/run, /run/stream, or A2A task semantics changed, do docs and MCP bridge tools stay aligned?
gRPC
- Was the proto changed first?
- Are handlers and server wiring aligned with the proto?
- Were proto lint and tests updated where needed?
Deployment Control / Infra
- Did the change increase blast radius for rollout or scale commands?
- Are job status, output capture, and command construction still safe?
- Is the no-auth assumption still documented and respected?
High-Risk Repo Patterns
- Frontend backend URLs are duplicated across multiple files and often drift.
- MCP changes often require agentic-ai and docs follow-up even when TypeScript compiles.
backend/src/services/geminiChat.service.ts can hide regressions behind prompt or retry changes.
- Deployment-control and infra changes can be syntactically valid but operationally unsafe.
Evidence Standards
- Prefer exact file references over vague statements.
- Read the consumer side for every contract claim.
- If a test is missing, explain what failure it would have caught.
- When you are inferring from naming or docs rather than code, say so.
1---2name: estatewise-review3description: Review EstateWise changes for correctness, regressions, security issues, contract mismatches, operational risk, and missing tests. Use for PR review, diff review, bug hunts, and branch-vs-main analysis. Do not use for implementation tasks unless the user asks for fixes after findings are reported.4---56# EstateWise Review78Use this skill when the task is review-oriented rather than implementation-oriented.910## Output Contract1112Lead with findings ordered by severity. Keep summaries brief and secondary.1314Each finding should include:15161. Severity and impact.172. Exact file and symbol, route, tool, or endpoint.183. Why the behavior is risky or incorrect.194. Reproduction path or failure mode when possible.205. Missing tests or docs if that increases risk.2122If no findings are discovered, say so explicitly and mention residual risks or validation gaps.2324## Severity Guide2526- `critical`: auth bypass, data loss, production outage risk, destructive deployment risk.27- `high`: broken contract, guaranteed runtime failure, clear regression, unsafe infra behavior.28- `medium`: correctness hole, flaky behavior, edge case failure, missing validation or tests.29- `low`: maintainability issue likely to cause defects later.3031Do not lead with style-only comments unless they hide a real defect or maintenance trap.3233## EstateWise Review Checklist3435### Backend3637- Did route or middleware order change in `backend/src/server.ts`?38- Did auth or cookie behavior change unintentionally?39- Did a response shape change without updating frontend or MCP consumers?40- Are `/metrics`, `/status`, `/swagger.json`, and `/api-docs` still coherent?41- Are graph endpoints still guarded correctly when Neo4j is disabled?4243### Frontend4445- Were shared API assumptions updated everywhere they are duplicated?46- If `frontend/lib/api.ts` changed, do direct page-level fetches still agree?47- If chat changed, do streaming, title generation, rating, and conversation CRUD still fit together?48- If map or insights changed, are marker/query limits and graph-failure handling still sane?4950### MCP5152- Do tool names, descriptions, and schemas still match implementation?53- Are outputs still text-first and MCP-client-friendly?54- If backend endpoints changed, do MCP wrappers still parse and format correctly?55- If A2A changed, are MCP bridge tools still aligned with the agentic AI server?5657### Agentic AI5859- Do orchestrator, LangGraph, CrewAI, and HTTP/A2A paths still agree where they overlap?60- If `/run`, `/run/stream`, or A2A task semantics changed, do docs and MCP bridge tools stay aligned?6162### gRPC6364- Was the proto changed first?65- Are handlers and server wiring aligned with the proto?66- Were proto lint and tests updated where needed?6768### Deployment Control / Infra6970- Did the change increase blast radius for rollout or scale commands?71- Are job status, output capture, and command construction still safe?72- Is the no-auth assumption still documented and respected?7374## High-Risk Repo Patterns7576- Frontend backend URLs are duplicated across multiple files and often drift.77- MCP changes often require agentic-ai and docs follow-up even when TypeScript compiles.78- `backend/src/services/geminiChat.service.ts` can hide regressions behind prompt or retry changes.79- Deployment-control and infra changes can be syntactically valid but operationally unsafe.8081## Evidence Standards8283- Prefer exact file references over vague statements.84- Read the consumer side for every contract claim.85- If a test is missing, explain what failure it would have caught.86- When you are inferring from naming or docs rather than code, say so.