# Project Contract

> Create or repair concise project-wide Codex engineering instructions such as AGENTS.md. Use when a repository lacks durable rules for naming, toolchain, boundaries, verification, safety, or contributor workflow.

- Skill: `trugurpala/project-contract` (Agent Skill)
- Install (CLI): `npx skillmds@latest add trugurpala/project-contract`
- Raw SKILL.md: https://api.skillmd.com/api/skills/trugurpala/project-contract/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: trugurpala (https://skillmd.com/u/trugurpala)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/trugurpala/project-contract

---


# Project Contract

Create a short project constitution from repository evidence, not generic preferences.

Include only durable rules that should affect most tasks:
- canonical package/build/test tools;
- naming and domain vocabulary;
- architecture and ownership boundaries;
- input validation and data-integrity rules;
- security and secret-handling rules;
- required verification gates;
- rules for preserving user changes and avoiding destructive Git actions.

Keep specialized details in referenced documents or skills instead of expanding every Codex turn.
Do not overwrite stronger existing project instructions without explicit evidence that they are stale or contradictory.

