{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ai-editor-rules",
    "name": "AI Editor Rules",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/yinjin/ai-editor-rules",
    "canonicalUrl": "https://clawhub.ai/yinjin/ai-editor-rules",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ai-editor-rules",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ai-editor-rules",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/agents-md.txt",
      "references/cursor-rules.txt",
      "references/windsurf-rules.txt",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ai-editor-rules"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ai-editor-rules",
    "agentPageUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "AI Editor Rules 技能",
        "body": "为各种 AI 代码编辑器提供项目规则配置模板。"
      },
      {
        "title": "复制规则文件到项目",
        "body": "根据你使用的编辑器，复制对应文件到项目根目录：\n\nyour-project/\n├── .cursorrules           # Cursor\n├── .windsurfrules         # Windsurf\n├── .claude/CLAUDE.md      # Claude Code\n└── AGENTS.md"
      },
      {
        "title": "# 通用 使用 crossrule 转换（推荐）",
        "body": "# 安装 crossrule\nnpm install -g crossrule\n\n# 初始化项目\ncrossrule init\n\n# 转换格式\ncrossrule convert --from cursor --to windsurf"
      },
      {
        "title": "支持的编辑器",
        "body": "编辑器规则文件位置Cursor.cursorrules项目根目录Claude CodeCLAUDE.md.claude/ 目录Windsurf.windsurfrules项目根目录Cline.clinerules项目根目录OpenCodeAGENTS.md项目根目录"
      },
      {
        "title": "1. 全栈 Web (React + Node.js)",
        "body": "技术栈：React 19, TypeScript, Node.js, PostgreSQL, Prisma\n适合：Web 应用开发"
      },
      {
        "title": "2. 移动端 (React Native)",
        "body": "技术栈：React Native, Expo, TypeScript, Zustand\n适合：iOS/Android 应用"
      },
      {
        "title": "3. Vue3 + SpringBoot3 + MySQL8",
        "body": "技术栈：Vue 3, TypeScript, Vite, Spring Boot, MySQL\n适合：Java 全栈开发"
      },
      {
        "title": "4. Python 后端 (FastAPI)",
        "body": "技术栈：Python 3.12, FastAPI, SQLAlchemy, PostgreSQL\n适合：API 开发"
      },
      {
        "title": "自定义模板",
        "body": "复制模板后，根据你的项目修改：\n\n技术栈 - 更新框架和库版本\n代码风格 - 调整命名规范\n项目结构 - 适配你的目录\n约束规则 - 添加特定领域规则"
      },
      {
        "title": "Always (始终生效)",
        "body": "应用于所有代码：\n\nalwaysApply: true"
      },
      {
        "title": "Pattern (模式匹配)",
        "body": "特定文件类型：\n\nglobs:\n  - \"*.tsx\"\n  - \"*.jsx\""
      },
      {
        "title": "Manual (手动触发)",
        "body": "需要明确调用：\n\ntrigger: manual"
      },
      {
        "title": "验证规则",
        "body": "使用对应编辑器的命令验证：\n\n# Cursor\ncursor --rule-check\n\n# Claude Code\nclaude --verify-rules"
      },
      {
        "title": "更新日志",
        "body": "v1.0.0: 初始版本，包含 4 种技术栈模板"
      }
    ],
    "body": "AI Editor Rules 技能\n\n为各种 AI 代码编辑器提供项目规则配置模板。\n\n快速开始\n复制规则文件到项目\n\n根据你使用的编辑器，复制对应文件到项目根目录：\n\nyour-project/\n├── .cursorrules           # Cursor\n├── .windsurfrules         # Windsurf\n├── .claude/CLAUDE.md      # Claude Code\n└── AGENTS.md\n\n# 通用 使用 crossrule 转换（推荐）\n# 安装 crossrule\nnpm install -g crossrule\n\n# 初始化项目\ncrossrule init\n\n# 转换格式\ncrossrule convert --from cursor --to windsurf\n\n支持的编辑器\n编辑器\t规则文件\t位置\nCursor\t.cursorrules\t项目根目录\nClaude Code\tCLAUDE.md\t.claude/ 目录\nWindsurf\t.windsurfrules\t项目根目录\nCline\t.clinerules\t项目根目录\nOpenCode\tAGENTS.md\t项目根目录\n包含的模板\n1. 全栈 Web (React + Node.js)\n技术栈：React 19, TypeScript, Node.js, PostgreSQL, Prisma\n适合：Web 应用开发\n2. 移动端 (React Native)\n技术栈：React Native, Expo, TypeScript, Zustand\n适合：iOS/Android 应用\n3. Vue3 + SpringBoot3 + MySQL8\n技术栈：Vue 3, TypeScript, Vite, Spring Boot, MySQL\n适合：Java 全栈开发\n4. Python 后端 (FastAPI)\n技术栈：Python 3.12, FastAPI, SQLAlchemy, PostgreSQL\n适合：API 开发\n自定义模板\n\n复制模板后，根据你的项目修改：\n\n技术栈 - 更新框架和库版本\n代码风格 - 调整命名规范\n项目结构 - 适配你的目录\n约束规则 - 添加特定领域规则\n规则类型说明\nAlways (始终生效)\n\n应用于所有代码：\n\nalwaysApply: true\n\nPattern (模式匹配)\n\n特定文件类型：\n\nglobs:\n  - \"*.tsx\"\n  - \"*.jsx\"\n\nManual (手动触发)\n\n需要明确调用：\n\ntrigger: manual\n\n验证规则\n\n使用对应编辑器的命令验证：\n\n# Cursor\ncursor --rule-check\n\n# Claude Code\nclaude --verify-rules\n\n更新日志\nv1.0.0: 初始版本，包含 4 种技术栈模板"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/yinjin/ai-editor-rules",
    "publisherUrl": "https://clawhub.ai/yinjin/ai-editor-rules",
    "owner": "yinjin",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ai-editor-rules",
    "downloadUrl": "https://openagent3.xyz/downloads/ai-editor-rules",
    "agentUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ai-editor-rules/agent.md"
  }
}