# repo-contract

> repo-contract — dager23-repocontract. Use this tool when you need to enforce repository governance rules and validate AI-generated code for architectural and safety compliance. It solves problems related to code quality, security, and adherence to standards by scanning diffs and plans for potential violations. The repo-contract tool takes in plans, diffs, and code snippets as input and outputs validation results and violation reports.

Canonical page: https://skillsregistry.net/skills/dager23-repocontract  
JSON: https://api.skillsregistry.net/v1/skills/dager23-repocontract

## Description

An MCP server that enforces repository governance rules for AI coding agents, providing tools to validate plans, diffs, and scan for architectural and safety violations.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-09-03

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-03

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ut8i5mximh)
- **Repository:** <https://github.com/dager23/RepoContract>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "dager23-repocontract"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/dager23-repocontract` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/dager23-repocontract/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
