Skip to content
Back to skills

Contract Draft

ASecurity

For vague, big, or risky requests, write down the plan (what, which files, how to verify) and get a yes before coding.

  • 8 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 2, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add HaipingShi/coderail --skill contract-draft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contract Draft?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contract Draft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/haipingshi-contract-draft/badge)](https://www.skillsdirectory.com/skills/haipingshi-contract-draft)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contract-draft
description: For vague, big, or risky requests, write down the plan (what, which files, how to verify) and get a yes before coding.
---

# Contract Draft

Do not write business code. Convert intent into a formal Coordinate Contract Draft.

## Read

- `docs/NORTH_STAR.md`
- `docs/TASKS.md`
- `docs/CONTRACTS.md` if present
- `docs/HARNESS_SPEC.md`
- `git status`

## Output

Write or propose a draft in `docs/CONTRACTS.md`:

```markdown
## CD-XXX Short title

Status: proposed
Created at:
Source:
Trace:

### Coordinate Contract Draft

G — Goal:
- North Star:
- Outcome served:
- Why now:

T — Task:
- Task ID:
- Exact task:
- What this task must not become:

S — Scope:
- Allowed:
  -
- Forbidden:
  -

V — Verify:
- TDD mode: required | optional | waived
- Red check:
- Green check:
- Refactor check:
- Regression check:
- CI check:
- Waiver reason:
- Harness:
  -
- Manual acceptance:
  -

X — Stop:
-

P — Persist:
- TASKS:
- HANDOFF:
- DECISIONS:
- LESSONS:
- ASSETS:
- TRACE:

Decision:
- proceed | revise | ask user | split task | backlog
```

## Rules

- If G cannot map to North Star, stop and ask or update `NORTH_STAR.md`.
- If V cannot be defined, create a harness task or manual acceptance before coding.
- If the request is a side branch, backlog it instead of folding it into the active task.
- After drafting, run or suggest `scripts/contract_check.py --target .`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.