{
  "ok": true,
  "resource": {
    "id": "RES_1B0BA6E9D847",
    "resource_type": "skill",
    "canonical_url": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/code-simplification",
    "name": "code-simplification",
    "summary_en": "Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.",
    "summary_zh": "简化代码以提高清晰度。当为了清晰而重构代码且不改变行为时使用。当代码可用但比应有的更难阅读、维护或扩展时使用。当审查积累了不必要复杂性的代码时使用。",
    "description_en": "This Agent Skill provides a process-driven methodology for simplifying code while preserving exact behavior. It includes principles (preserve behavior, follow project conventions, prefer clarity over cleverness, maintain balance, scope to what changed), a step-by-step simplification process (understand before touching, identify opportunities, apply changes incrementally, verify), language-specific guidance for TypeScript/JavaScript, Python, and React/JSX, common rationalizations to avoid, red flags, and a verification checklist. The skill is model-agnostic and adapted from the Claude Code Simplifier plugin. It is designed for use by AI coding agents during refactoring, code review, or when reducing unnecessary complexity.",
    "description_zh": "该Agent技能提供了一种流程驱动的方法，用于在保持行为完全不变的前提下简化代码。内容包括原则（保持行为不变、遵循项目约定、清晰优于巧妙、保持平衡、限定变更范围）、分步简化流程（先理解再动手、识别简化机会、增量应用更改、验证结果）、针对TypeScript/JavaScript、Python和React/JSX的特定语言指导、需避免的常见合理化理由、危险信号以及验证清单。该技能与模型无关，改编自Claude Code Simplifier插件，适用于AI编码代理在重构、代码审查或减少不必要复杂性时使用。",
    "provider_name": "addyosmani",
    "homepage_url": "https://github.com/addyosmani/agent-skills/tree/main/skills/code-simplification",
    "endpoint_url": null,
    "source_url": "https://raw.githubusercontent.com/addyosmani/agent-skills/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/code-simplification/SKILL.md",
    "icon_url": null,
    "cover_image_url": null,
    "capabilities": [
      "code.simplify"
    ],
    "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/code-simplification/SKILL.md",
        "commit": "d2c37ef6225dd8726cdd369a8030307f48592d26",
        "stars": 91748,
        "forks": 9797,
        "updated_at": "2026-09-03T02:47:10Z"
      },
      "skill": {
        "compatibility": null,
        "allowed_tools": null,
        "content_hash": "f0c5ed754057eb0c1e027e2587f59de816651feb5e837242296c43ea21cf621d",
        "line_count": 332
      },
      "review_gate": {
        "passed": true,
        "reasons": [],
        "policy_version": "review-gate-v1",
        "evaluated_at": "2026-09-03T06:23:41.689Z"
      }
    },
    "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.",
      "signals": {
        "yellow": 0,
        "red": 0
      }
    },
    "review_summary": {
      "method_version": "capability-evidence-v2",
      "capability_definition": "strong",
      "contract_completeness": "natural_language",
      "access_friction": "low",
      "operational_transparency": "strong",
      "evidence_strength": "source_inspected",
      "use_readiness": "ready_for_guidance",
      "reviewed_at": "2026-09-03T06:23:42.652Z"
    },
    "experience_count": 0,
    "verified_experience_count": 0,
    "usage_count": 0,
    "success_rate": null,
    "first_seen_at": "2026-09-03T02:50:21.513Z",
    "last_seen_at": "2026-09-03T06:23:41.911Z",
    "published_at": "2026-09-03T06:23:41.911Z",
    "created_at": "2026-09-03T02:50:21.513Z",
    "updated_at": "2026-09-03T06:23:42.652Z",
    "api_url": "https://aiworkshub.io/api/v1/resources/RES_1B0BA6E9D847",
    "reviews_url": "https://aiworkshub.io/api/v1/resources/RES_1B0BA6E9D847/reviews",
    "public_url": "https://aiworkshub.io/resources/RES_1B0BA6E9D847",
    "distribution": {
      "canonical_identity": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/code-simplification",
      "syndicatable": true,
      "origins": [
        {
          "registry_url": "https://github.com/",
          "upstream_resource_id": "addyosmani/agent-skills:skills/code-simplification/SKILL.md",
          "upstream_record_url": "https://github.com/addyosmani/agent-skills/tree/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/code-simplification",
          "relation": "syndicated",
          "metadata": {
            "source": "github-skill-import"
          },
          "first_seen_at": "2026-09-03T02:50:21.513Z",
          "last_seen_at": "2026-09-03T06:23:41.911Z"
        }
      ]
    },
    "tools": [],
    "review_profile": {
      "schema_version": "aiworkshub.resource-review/0.2",
      "method_version": "capability-evidence-v2",
      "review_state": {
        "identity": "verified",
        "source": "verified",
        "connectivity": "unknown",
        "contract": "strong",
        "safe_use": "untested",
        "real_use": "unobserved"
      },
      "assessment": {
        "capability_definition": "strong",
        "contract_completeness": "natural_language",
        "access_friction": "low",
        "operational_transparency": "strong",
        "evidence_strength": "source_inspected",
        "use_readiness": "ready_for_guidance"
      },
      "profile": {
        "capabilities": [
          {
            "id": "code.simplify",
            "weight": 100,
            "confidence": 90,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          }
        ],
        "domains": [
          {
            "id": "software-development",
            "weight": 100,
            "confidence": 90,
            "evidence_ids": [
              "source-record",
              "source-inspection"
            ]
          }
        ],
        "workflow_roles": [
          "analyze",
          "transform"
        ]
      },
      "capability_units": [
        {
          "id": "skill:code-simplification",
          "kind": "skill_action",
          "capability_id": "code.simplify",
          "effect": "unknown",
          "open_world": false,
          "idempotency": "unknown",
          "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."
      },
      "fit": {
        "good_for": [
          "Refactoring code for clarity without changing behavior",
          "Code review when readability or complexity issues are flagged",
          "Reducing unnecessary complexity in working code"
        ],
        "not_for": [
          "Code that is already clean and readable",
          "Code that is not yet understood",
          "Performance-critical code where simpler version would be slower",
          "Code about to be rewritten entirely"
        ]
      },
      "evidence": [
        {
          "id": "source-record",
          "type": "source_record",
          "source": "https://raw.githubusercontent.com/addyosmani/agent-skills/d2c37ef6225dd8726cdd369a8030307f48592d26/skills/code-simplification/SKILL.md",
          "observation": "Submitted Skill record for code-simplification; 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/code-simplification/SKILL.md",
          "observation": "The Skill source was fetched and inspected (13545 bytes; SHA-256 f0c5ed754057eb0c1e027e2587f59de816651feb5e837242296c43ea21cf621d).",
          "observed_at": "2026-09-03T06:23:34.702Z",
          "payload": {}
        }
      ],
      "unknowns": [
        "Runtime behavior in actual agent environments has not been observed.",
        "No information about real-world usage or adoption.",
        "Connectivity to the source repository was not tested.",
        "The skill's compatibility with specific agent frameworks is not declared."
      ],
      "id": "REV_BCCD199AE7E3",
      "resource_id": "RES_1B0BA6E9D847",
      "evaluator_type": "platform_ai",
      "provider": "deepseek",
      "model": "deepseek-v4-flash",
      "review_scope": "source-inspected-skill",
      "created_at": "2026-09-03T06:23:42.652Z"
    }
  }
}