跳到正文
TakoAPI
返回技能列表

contract-diagram

由 nonlinear 提供

PDF & Documents
376下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Diagram as contract for agreed-upon AI development.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

安装

clawhub install nonlinear/contract-diagram

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接