Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

contract-diagram

bởi nonlinear

PDF & Documents
376Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Diagram as contract for agreed-upon AI development.

Mô tả

Kỹ năng này làm gì

A contract-based workflow system for AI-assisted development. Teams embed a Mermaid diagram in a markdown file and use status badges to track each component through design approval, implementation, and sign-off. The diagram acts as the single source of truth for what was agreed, what is built, and what is blocked.

Keeps AI development scope and status visible in the same file as the spec, avoiding drift between what was agreed and what gets built.

Khi nào nên dùng

  • Tracking stakeholder approval on AI-generated feature designs before coding starts
  • Flagging implementation blockers that require a human decision or permission
  • Auditing which parts of a feature were decided by the AI vs explicitly approved
  • Reviewing the live state of a feature contract in a local browser during development
  • Documenting developer decisions made mid-implementation with numbered notes

Quy trình ví dụ

ĐẦU VÀO

User asks: "lets diagram epic-notes/webhook-contract.md"

AGENT
  1. 1

    Check that the file at the given path contains exactly one Mermaid diagram

  2. 2

    Start a localhost server on port 8080 from the skill engine directory

  3. 3

    Open the browser pointing to the contract file via query parameter

  4. 4

    Enable hot reload to reflect badge status changes every 2 seconds

ĐẦU RA

A live browser view of the contract diagram with current phase and status badges, updating automatically as the file changes

Cài đặt

clawhub install nonlinear/contract-diagram

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết