# Plan As Contract

> Produce a reviewable, file-referenced implementation plan that acts as a contract before execution. Use for risky ops, architecture changes, migrations, multi-file edits.

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

---


# plan-as-contract

## Activation gate
Use if:
- Multi-file changes, migrations, security/perf sensitive work, or irreversible ops.

## Procedure
0. If requirements are unclear or acceptance criteria are missing: ask 2–5 clarifying questions (scope, constraints, verify commands) before drafting the plan. Do not assume.
1. Define objective + acceptance criteria (testable).
2. Enumerate touched areas: BE/FE/DB/config/CI/CD/infra (or explicitly “NOT touched”).
3. Identify dependencies (APIs, flags, secrets, external services).
4. Provide ordered steps with file paths and validation commands.
5. Stop: wait for user approval (unless user asked “just do it”).

## Output
- Plan (steps) + Risks + Verification checklist.

