marsai:dev-code-review

Analyze code diffs against gold-standard templates for architectural conformance.

2|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/V4-Company/marsai --skill marsai-dev-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: marsai:dev-code-review
Source: https://github.com/V4-Company/marsai/tree/main/dev-team/skills/dev-code-review
Command: npx skills add https://github.com/V4-Company/marsai --skill marsai-dev-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automated architectural code review against gold standard references. Compares diffs against the architecture template and reference examples, verifying structure, naming, architecture, events, duplication, responsibility, and ops.

Core Features & Use Cases

  • Architectural diff analysis against gold standards to surface deviations
  • Guidance to align code with Clean Architecture + DDD + Event-Driven patterns
  • Use Case: before PRs, run a rigorous review to surface violations and suggested fixes

Quick Start

Review a code diff against the gold standard to obtain actionable architectural feedback.

Frequently Asked Questions about marsai:dev-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate architectural code review for pull requests?

To automate architectural code review, analyze code diffs against gold-standard reference templates to verify conformance with Clean Architecture, DDD, and event-driven patterns before merging. This surfaces structural deviations, naming violations, and responsibility issues.

What is architectural diff analysis against a gold standard?

Architectural diff analysis against a gold standard is the process of comparing code changes to reference templates to verify structural alignment. It checks architecture, events, duplication, responsibility, and ops to ensure code matches established patterns.

Can I use this to enforce Clean Architecture and DDD boundaries in pre-merge reviews?

Yes, you can enforce Clean Architecture and DDD boundaries in pre-merge reviews by running a rigorous review process on code diffs. It verifies alignment with event-driven patterns and provides actionable feedback on architectural violations.

Do I need a gold-standard reference suite to check code diffs?

Yes, a gold-standard reference suite is required to check code diffs. The review process compares incoming code changes against these reference examples to verify structure, naming, architecture, events, duplication, responsibility, and ops.

What is the best way to surface architectural violations in backend and frontend changes?

The best way to surface architectural violations in backend and frontend changes is applying a strict Unit of Work-based review process to code diffs. This compares changes against gold-standard templates to identify and suggest fixes for deviations.