repo-contracts-and-boundaries

Installation
SKILL.md

Repo Contracts And Boundaries

Overview

Convert architectural and structural-quality intent into checks that prevent new drift instead of relying on repeated prose warnings.

This skill owns both repository contracts and quality gardening because both use the same mechanism: collectible rules, diff gates, audit reports, baselines, and gradual debt reduction. For shared harness terms, see ../../references/harness-patterns.md; when contract files are absent, use references/build-when-missing.md; for schema, fixture, and golden-payload contracts, see references/schema-fixture-contracts.md; for metrics and generated snapshots, see references/quality-policy.md.

When To Use

  • The user asks to define, protect, audit, or encode architecture boundaries, directory ownership, choke points, allowlists, baselines, or contracts.
  • The repository has layering rules, but agents still add bypass calls or wrong dependencies.
  • The user asks for structural metrics, quality reports, debt thresholds, regression budgets, or a gradual cleanup loop.
  • You need to distinguish diff checks from full audit checks.

Inputs Needed

Installs
6
GitHub Stars
8
First Seen
Jun 6, 2026
repo-contracts-and-boundaries — yfge/agent-harness-skills