{
  "ok": true,
  "resource": {
    "id": "RES_08CA0040AAA4",
    "resource_type": "skill",
    "canonical_url": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development",
    "name": "constraint-driven-development",
    "summary_en": "Establishes a project's quality bar as a written contract and stops agents quietly lowering it. Interviews the user on which dimensions matter, supplies sane default thresholds when they have no number in mind, records everything in CONSTRAINTS.md, and watches the diff for a weakened bar — new @ts-ignore or eslint-disable suppressions, skipped or deleted tests, assertions stripped out, unimplemented stubs, thresholds edited down. Use when no quality bar is written down, when the user says \"set up constraints\" or \"define our standards\", when an agent keeps silencing checks or skipping tests to get to green, when you need a coverage or performance threshold and don't know what number to pick, or when an agent writes more code than anyone will read.",
    "summary_zh": "将项目的质量门槛确立为书面契约，并阻止代理悄悄降低它。与用户面谈哪些维度重要，当用户心中没有数字时提供合理的默认阈值，将所有内容记录在 CONSTRAINTS.md 中，并监视差异中门槛被削弱的情况——新增的 @ts-ignore 或 eslint-disable 抑制、跳过或删除的测试、被剥离的断言、未实现的存根、被调低的阈值。当没有书面质量门槛时、当用户说“设置约束”或“定义我们的标准”时、当代理不断静默检查或跳过测试以通过时、当你需要覆盖率或性能阈值但不知道选什么数字时，或当代理写出没人会读的代码时使用。",
    "description_en": "This Agent Skill establishes a project's quality bar as a written contract (CONSTRAINTS.md) and prevents agents from silently lowering it. It guides the agent through an interview to determine which quality dimensions matter, provides sensible default thresholds when the user has no preference, and enforces the bar by watching for common weakening patterns in diffs, such as new suppression comments, skipped/deleted tests, stripped assertions, unimplemented stubs, and lowered thresholds. The skill is intended for use when no quality bar exists, when the user requests setting up constraints, when agents are bypassing checks, or when coverage/performance thresholds are needed. It is not for one-off scripts or when a CONSTRAINTS.md already exists and is not being changed.",
    "description_zh": "此代理技能将项目的质量门槛确立为书面契约（CONSTRAINTS.md），并阻止代理悄悄降低它。它引导代理通过访谈确定哪些质量维度重要，在用户没有偏好时提供合理的默认阈值，并通过监视差异中常见的削弱模式（如新增抑制注释、跳过/删除测试、剥离断言、未实现存根和降低阈值）来执行门槛。该技能适用于尚无质量门槛、用户要求设置约束、代理绕过检查或需要覆盖率/性能阈值的情况。不适用于一次性脚本或已存在且未更改的 CONSTRAINTS.md。",
    "provider_name": "addyosmani",
    "homepage_url": "https://github.com/addyosmani/agent-skills/tree/main/skills/constraint-driven-development",
    "endpoint_url": null,
    "source_url": "https://raw.githubusercontent.com/addyosmani/agent-skills/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development/SKILL.md",
    "icon_url": null,
    "cover_image_url": null,
    "capabilities": [
      "quality.constraint.establish",
      "quality.constraint.enforce",
      "quality.threshold.advise",
      "quality.diff.monitor"
    ],
    "categories": [
      "developer-tools",
      "productivity"
    ],
    "industries": [
      "software",
      "general"
    ],
    "protocols": [
      "agent-skills"
    ],
    "auth": {
      "type": "none",
      "required": false
    },
    "pricing": {
      "model": "free"
    },
    "input_schema": {},
    "output_schema": {},
    "metadata": {
      "content_language": "en",
      "translation_status": "original-only",
      "license": {
        "spdx_id": "MIT",
        "source": "https://github.com/addyosmani/agent-skills/blob/d2c37ef6225dd8726cdd369a8030307f48592d26/LICENSE"
      },
      "github": {
        "repository": "addyosmani/agent-skills",
        "owner": "addyosmani",
        "path": "skills/constraint-driven-development/SKILL.md",
        "commit": "d2c37ef6225dd8726cdd369a8030307f48592d26",
        "stars": 91748,
        "forks": 9797,
        "updated_at": "2026-09-03T02:47:10Z"
      },
      "skill": {
        "compatibility": null,
        "allowed_tools": null,
        "content_hash": "19d0aba70ced988c67739d5edd2a9b124a0783788c2baa70a8cc64cdd90612e5",
        "line_count": 312
      },
      "review_gate": {
        "passed": true,
        "reasons": [],
        "policy_version": "review-gate-v1",
        "evaluated_at": "2026-09-03T06:24:44.076Z"
      }
    },
    "latest_version": "d2c37ef6225d",
    "status": "listed",
    "health_status": "unknown",
    "source_kind": "imported",
    "source_agent": "aiworkshub-skill-reviewer",
    "trust": {
      "signal": "none",
      "reason": "No suspicious or malicious evidence found.",
      "signals": {
        "yellow": 0,
        "red": 0
      }
    },
    "review_summary": {
      "method_version": "capability-evidence-v2",
      "capability_definition": "strong",
      "contract_completeness": "strong",
      "access_friction": "low",
      "operational_transparency": "strong",
      "evidence_strength": "source_inspected",
      "use_readiness": "ready_for_guidance",
      "reviewed_at": "2026-09-03T06:24:44.994Z"
    },
    "experience_count": 0,
    "verified_experience_count": 0,
    "usage_count": 0,
    "success_rate": null,
    "first_seen_at": "2026-09-03T02:50:21.646Z",
    "last_seen_at": "2026-09-03T06:24:44.347Z",
    "published_at": "2026-09-03T06:24:44.347Z",
    "created_at": "2026-09-03T02:50:21.646Z",
    "updated_at": "2026-09-03T06:24:44.994Z",
    "api_url": "https://aiworkshub.io/api/v1/resources/RES_08CA0040AAA4",
    "reviews_url": "https://aiworkshub.io/api/v1/resources/RES_08CA0040AAA4/reviews",
    "public_url": "https://aiworkshub.io/resources/RES_08CA0040AAA4",
    "distribution": {
      "canonical_identity": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development",
      "syndicatable": true,
      "origins": [
        {
          "registry_url": "https://github.com/",
          "upstream_resource_id": "addyosmani/agent-skills:skills/constraint-driven-development/SKILL.md",
          "upstream_record_url": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development",
          "relation": "syndicated",
          "metadata": {
            "source": "github-skill-import"
          },
          "first_seen_at": "2026-09-03T02:50:21.646Z",
          "last_seen_at": "2026-09-03T06:24:44.347Z"
        }
      ]
    },
    "tools": [],
    "review_profile": {
      "schema_version": "aiworkshub.resource-review/0.2",
      "method_version": "capability-evidence-v2",
      "review_state": {
        "identity": "verified",
        "source": "verified",
        "connectivity": "verified",
        "contract": "strong",
        "safe_use": "untested",
        "real_use": "unobserved"
      },
      "assessment": {
        "capability_definition": "strong",
        "contract_completeness": "strong",
        "access_friction": "low",
        "operational_transparency": "strong",
        "evidence_strength": "source_inspected",
        "use_readiness": "ready_for_guidance"
      },
      "profile": {
        "capabilities": [
          {
            "id": "quality.constraint.establish",
            "weight": 90,
            "confidence": 90,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          },
          {
            "id": "quality.constraint.enforce",
            "weight": 90,
            "confidence": 90,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          },
          {
            "id": "quality.threshold.advise",
            "weight": 80,
            "confidence": 80,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          },
          {
            "id": "quality.diff.monitor",
            "weight": 80,
            "confidence": 80,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          }
        ],
        "domains": [
          {
            "id": "software-development",
            "weight": 100,
            "confidence": 90,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          },
          {
            "id": "testing",
            "weight": 80,
            "confidence": 80,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          },
          {
            "id": "security-audit",
            "weight": 60,
            "confidence": 70,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          }
        ],
        "workflow_roles": [
          "design",
          "analyze",
          "execute",
          "monitor",
          "instruct"
        ]
      },
      "capability_units": [
        {
          "id": "skill:constraint-driven-development",
          "kind": "skill_action",
          "capability_id": "quality.constraint.establish",
          "effect": "unknown",
          "open_world": false,
          "idempotency": "idempotent",
          "confirmation": "explicit policy",
          "input_contract": "natural_language",
          "output_contract": "natural_language",
          "accepts": [
            "task context"
          ],
          "produces": [
            "task result"
          ],
          "runtime_auth": {},
          "pricing": {},
          "evidence_ids": [
            "source-inspection"
          ],
          "metadata": {}
        }
      ],
      "access": {
        "distribution_license": {
          "spdx_id": "MIT",
          "source": "https://github.com/addyosmani/agent-skills/blob/d2c37ef6225dd8726cdd369a8030307f48592d26/LICENSE"
        },
        "runtime_auth": {},
        "runtime_pricing": {},
        "dependencies": []
      },
      "operational_flags": [],
      "trust": {
        "signal": "none",
        "evidence_ids": [],
        "reason": "No suspicious or malicious evidence found."
      },
      "fit": {
        "good_for": [
          "Establishing quality constraints when none exist",
          "Defining quality standards with user input",
          "Preventing agents from bypassing quality checks",
          "Setting coverage or performance thresholds"
        ],
        "not_for": [
          "Projects with existing CONSTRAINTS.md that are not being changed",
          "One-off scripts or throwaway prototypes",
          "Immediate code review or CI pipeline construction"
        ]
      },
      "evidence": [
        {
          "id": "source-record",
          "type": "source_record",
          "source": "https://raw.githubusercontent.com/addyosmani/agent-skills/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development/SKILL.md",
          "observation": "Submitted Skill record for constraint-driven-development; declared license MIT.",
          "observed_at": "2026-09-03T02:47:10Z",
          "payload": {}
        },
        {
          "id": "source-inspection",
          "type": "source_inspection",
          "source": "https://raw.githubusercontent.com/addyosmani/agent-skills/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/constraint-driven-development/SKILL.md",
          "observation": "The Skill source was fetched and inspected (20880 bytes; SHA-256 19d0aba70ced988c67739d5edd2a9b124a0783788c2baa70a8cc64cdd90612e5).",
          "observed_at": "2026-09-03T06:24:34.526Z",
          "payload": {}
        }
      ],
      "unknowns": [
        "Real-world usage and effectiveness not observed",
        "Compatibility with specific agent harnesses not verified",
        "Exact behavior in non-interactive contexts not fully specified"
      ],
      "id": "REV_33ED52349D8D",
      "resource_id": "RES_08CA0040AAA4",
      "evaluator_type": "platform_ai",
      "provider": "deepseek",
      "model": "deepseek-v4-flash",
      "review_scope": "source-inspected-skill",
      "created_at": "2026-09-03T06:24:44.994Z"
    }
  }
}