Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions agents/berkcangumusisik__repo-seatbelt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# repo-seatbelt

A four-layer safety system that stands between AI coding agents and the irreversible parts of your repository.

## What it does

**repo-seatbelt** scans your project, computes an AI Safety Score (0–100), and generates safety rule files for 8 AI tools simultaneously — Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Aider, Cline, and Zed. It also ships a live MCP guardrail server, a pre-commit hook, and a GitHub Action CI gate.

### Four layers of protection

| Layer | What it does |
|-------|-------------|
| **Static rules** | Generates `CLAUDE.md`, `AGENTS.md`, `.cursorrules`, `.windsurfrules`, `CONVENTIONS.md`, `.clinerules`, `.rules` so agents know your boundaries on session start |
| **Runtime MCP guardrail** | A live MCP server agents call at decision-time: `check_file_access`, `check_command`, `list_protections` |
| **Pre-commit hook** | Blocks high-risk commits before they leave the developer's machine |
| **CI gate** | GitHub Action that posts an AI Safety Score on every PR and fails on high-risk diffs |

## Quick start

```bash
npx repo-seatbelt init # interactive setup
npx repo-seatbelt scan # AI Safety Score + risk report
npx repo-seatbelt mcp # start the MCP guardrail server
npx repo-seatbelt install-hooks # add pre-commit protection
npx repo-seatbelt ci # add GitHub Action gate
```

## Supported tools

Claude Code · Cursor · Codex / ChatGPT · Gemini CLI · Windsurf · Aider · Cline · Zed AI

## Links

- Repository: https://github.com/berkcangumusisik/repo-seatbelt
- npm: https://www.npmjs.com/package/repo-seatbelt
15 changes: 15 additions & 0 deletions agents/berkcangumusisik__repo-seatbelt/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "repo-seatbelt",
"author": "berkcangumusisik",
"description": "A four-layer AI coding agent safety system: generates rule files for 8 tools, MCP runtime guardrail, pre-commit hook, and CI gate with AI Safety Score.",
"repository": "https://github.com/berkcangumusisik/repo-seatbelt",
"path": "",
"version": "1.1.0",
"category": "security",
"tags": ["ai-safety", "guardrails", "mcp", "claude-code", "cursor", "pre-commit", "github-actions", "developer-tools", "ai-agents", "security"],
"license": "MIT",
"model": "claude-sonnet-4-5-20250929",
"adapters": ["claude-code", "system-prompt"],
"icon": false,
"banner": false
}