{
  "schemaVersion": "1.0",
  "item": {
    "slug": "git-workflow",
    "name": "Git Workflow",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/broommonk/git-workflow",
    "canonicalUrl": "https://clawhub.ai/broommonk/git-workflow",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/git-workflow",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=git-workflow",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "gep_manifest.json",
      "skill.yaml"
    ],
    "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",
      "slug": "git-workflow",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T16:32:40.041Z",
      "expiresAt": "2026-05-10T16:32:40.041Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=git-workflow",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=git-workflow",
        "contentDisposition": "attachment; filename=\"git-workflow-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "git-workflow"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/git-workflow"
    },
    "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/git-workflow",
    "agentPageUrl": "https://openagent3.xyz/skills/git-workflow/agent",
    "manifestUrl": "https://openagent3.xyz/skills/git-workflow/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/git-workflow/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": "第一步：检测文件变更",
        "body": "# 检查 Git 状态\ngit status\n\n# 查看变更文件\ngit diff --name-only"
      },
      {
        "title": "第二步：添加文件",
        "body": "# 添加所有变更\ngit add .\n\n# 或添加指定文件\ngit add <file1> <file2>"
      },
      {
        "title": "第三步：生成提交信息",
        "body": "根据变更内容自动生成提交信息：\n\n# 提交信息格式\n<type>: <description>\n\n# 类型说明\nfeat: 新功能\nfix: 修复 bug\ndocs: 文档更新\nstyle: 代码格式\nrefactor: 重构\ntest: 测试\nchore: 构建/工具"
      },
      {
        "title": "第四步：提交并推送",
        "body": "# 提交\ngit commit -m \"提交信息\"\n\n# 推送\ngit push"
      },
      {
        "title": "示例 1: 分析完成后自动提交",
        "body": "触发: 分析任务完成\n\n操作:\n\n检测新生成的文件\n添加到 Git\n生成提交信息\n提交并推送\n\n提交信息示例:\n\nfeat: 完成股票分析\n\n- 分析 000657 中钨高新\n- 生成三高股票筛选报告\n- 保存到 Stock-Analysis 仓库"
      },
      {
        "title": "示例 2: 多仓库管理",
        "body": "触发: 需要提交到多个仓库\n\n操作:\n\n识别文件所属仓库\n分别提交到对应仓库\n分别推送\n\n仓库示例:\n\nJarvis: 记忆、配置\nStock-Analysis: 股票分析代码\nAmazon-Analyzer: 亚马逊运营工具"
      },
      {
        "title": "错误 1: Git 未配置",
        "body": "错误消息: \"Please tell me who you are\"\n\n解决方案:\n\ngit config --global user.name \"Your Name\"\ngit config --global user.email \"your.email@example.com\""
      },
      {
        "title": "错误 2: 推送失败",
        "body": "错误消息: \"Authentication failed\"\n\n解决方案:\n\n检查 Git 凭据\n使用 Token 代替密码\n配置 SSH Key"
      },
      {
        "title": "错误 3: 冲突",
        "body": "错误消息: \"CONFLICT (content)\"\n\n解决方案:\n\n查看冲突文件\n手动解决冲突\n标记为解决\ngit add <resolved_file>\n\n\n完成提交\ngit commit"
      },
      {
        "title": "提交频率",
        "body": "小改动：随时提交\n大功能：功能完成后提交\n每日结束：提交当日工作"
      },
      {
        "title": "提交信息",
        "body": "清晰简洁\n使用现在时\n首字母大写\n不超过 50 字符"
      },
      {
        "title": "分支管理",
        "body": "main/master: 主分支\nfeature/*: 功能分支\nfix/*: 修复分支\ndocs/*: 文档分支"
      }
    ],
    "body": "Git 工作流技能\n核心指令\n第一步：检测文件变更\n# 检查 Git 状态\ngit status\n\n# 查看变更文件\ngit diff --name-only\n\n第二步：添加文件\n# 添加所有变更\ngit add .\n\n# 或添加指定文件\ngit add <file1> <file2>\n\n第三步：生成提交信息\n\n根据变更内容自动生成提交信息：\n\n# 提交信息格式\n<type>: <description>\n\n# 类型说明\nfeat: 新功能\nfix: 修复 bug\ndocs: 文档更新\nstyle: 代码格式\nrefactor: 重构\ntest: 测试\nchore: 构建/工具\n\n第四步：提交并推送\n# 提交\ngit commit -m \"提交信息\"\n\n# 推送\ngit push\n\n示例\n示例 1: 分析完成后自动提交\n\n触发: 分析任务完成\n\n操作:\n\n检测新生成的文件\n添加到 Git\n生成提交信息\n提交并推送\n\n提交信息示例:\n\nfeat: 完成股票分析\n\n- 分析 000657 中钨高新\n- 生成三高股票筛选报告\n- 保存到 Stock-Analysis 仓库\n\n示例 2: 多仓库管理\n\n触发: 需要提交到多个仓库\n\n操作:\n\n识别文件所属仓库\n分别提交到对应仓库\n分别推送\n\n仓库示例:\n\nJarvis: 记忆、配置\nStock-Analysis: 股票分析代码\nAmazon-Analyzer: 亚马逊运营工具\n故障排除\n错误 1: Git 未配置\n\n错误消息: \"Please tell me who you are\"\n\n解决方案:\n\ngit config --global user.name \"Your Name\"\ngit config --global user.email \"your.email@example.com\"\n\n错误 2: 推送失败\n\n错误消息: \"Authentication failed\"\n\n解决方案:\n\n检查 Git 凭据\n使用 Token 代替密码\n配置 SSH Key\n错误 3: 冲突\n\n错误消息: \"CONFLICT (content)\"\n\n解决方案:\n\n查看冲突文件\n手动解决冲突\n标记为解决\ngit add <resolved_file>\n\n完成提交\ngit commit\n\n最佳实践\n提交频率\n小改动：随时提交\n大功能：功能完成后提交\n每日结束：提交当日工作\n提交信息\n清晰简洁\n使用现在时\n首字母大写\n不超过 50 字符\n分支管理\nmain/master: 主分支\nfeature/*: 功能分支\nfix/*: 修复分支\ndocs/*: 文档分支"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/broommonk/git-workflow",
    "publisherUrl": "https://clawhub.ai/broommonk/git-workflow",
    "owner": "broommonk",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/git-workflow",
    "downloadUrl": "https://openagent3.xyz/downloads/git-workflow",
    "agentUrl": "https://openagent3.xyz/skills/git-workflow/agent",
    "manifestUrl": "https://openagent3.xyz/skills/git-workflow/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/git-workflow/agent.md"
  }
}