steward

Enforce module ownership and contract boundaries for code changes against AGENT.md.

8|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/zxdxjtu/harness --skill steward-zxdxjtu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: steward
Source: https://github.com/zxdxjtu/harness/tree/main/skills/steward
Command: npx skills add https://github.com/zxdxjtu/harness --skill steward-zxdxjtu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill acts as a Module Guardian that verifies code changes against module boundaries, ownership, and interface contracts defined by AGENT.md to prevent cross-module breakages and ensure quality standards.

Core Features & Use Cases

  • Detect changed files in the latest wave or specified commits and locate the nearest AGENT.md for each affected module.
  • Build a map of changed files per module and perform Ownership, Dependency, Interface Contract, and Quality Standards checks.
  • Generate a Stewardship Report, flagging critical and high issues, and update AGENT.md Change History with stewardship entries.
  • Conduct Cross-Module Impact Analysis to surface ripple effects in dependent modules and guide remediation.

Quick Start

Run steward to validate the latest wave against AGENT.md and generate the stewardship report.

Frequently Asked Questions about steward

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

FAQPage Schema
How do I enforce module boundaries and ownership for code changes?

Enforce module boundaries by validating changed files against the nearest AGENT.md, mapping changes per module, and checking ownership, dependencies, and interface contracts. This produces a stewardship report flagging critical violations and providing actionable remediation guidance.

What is a module change map and how does it check interface contracts?

A module change map groups changed files by their nearest AGENT.md module definition to verify interface contracts and ownership. It prevents cross-module breakages by detecting unauthorized dependency usage, enforcing required patterns, and validating code quality standards.

How do I perform cross-module impact analysis for dependency changes?

Perform cross-module impact analysis by mapping changed files and validating dependency rules against AGENT.md. This surfaces ripple effects in dependent modules, updates the Change History with stewardship entries, and returns a formal verdict guiding remediation to prevent downstream breakages.

Does code review with AGENT.md support automated quality standards enforcement?

Code review with AGENT.md supports automated quality standards enforcement by validating max file size, function complexity, and required or forbidden patterns. It automatically updates the Change History and returns a formal stewardship verdict with actionable guidance for violations.

Can I use module boundary checks for specific commits instead of the latest wave?

Module boundary checks can target specific commits by validating their changed files against the nearest AGENT.md. The process constructs a module-change map for the targeted commits, performs ownership and interface contract checks, and generates a formal stewardship report.

Why do I need AGENT.md to guard module contracts during code reviews?

You need AGENT.md to guard module contracts because it defines the ownership boundaries, dependency rules, and interface contracts required for validation. Without it, the steward cannot map changed files, perform quality checks, or generate a formal stewardship report.