with one click
automation-dev
自动化开发技能。包含 Git 操作、MCP 工具集成、文档转换、代码打包、Skill 创建。适用于开发工作流自动化。
Menu
自动化开发技能。包含 Git 操作、MCP 工具集成、文档转换、代码打包、Skill 创建。适用于开发工作流自动化。
| name | automation-dev |
| description | 自动化开发技能。包含 Git 操作、MCP 工具集成、文档转换、代码打包、Skill 创建。适用于开发工作流自动化。 |
更新日期: 2026-01-23 版本: v2.0.0 定位: WinJin 项目的自动化工具和最佳实践
自动化 = MCP工具 + Git操作 + 文档处理 + 代码打包
Git操作 = gh CLI + GitHub API
文档转换 = markitdown + 脚本辅助
代码打包 = repomix + 安全扫描
| 工具 | 功能 | 优先级 | 使用场景 |
|---|---|---|---|
| Chrome DevTools | 浏览器自动化 | ⭐⭐⭐⭐⭐ | 测试验证、UI调试、性能分析 |
| Context7 | 文档查询 | ⭐⭐⭐⭐⭐ | 功能开发、查阅API、代码示例 |
| Memory | 知识图谱 | ⭐⭐⭐ | 跨会话记忆、知识管理 |
| Z-Read | GitHub 阅读 | ⭐⭐⭐⭐ | 代码阅读、开源项目研究 |
| Web Search | 网页搜索 | ⭐⭐⭐ | 资料查找、解决方案搜索 |
| ZAI MCP | 图像分析 | ⭐⭐⭐ | 图片/视频分析、UI转代码 |
| Fetch | HTTP 请求 | ⭐⭐⭐ | API测试、数据抓取 |
| 开发任务 | 推荐工具 | 优先级 | 使用示例 |
|---|---|---|---|
| 功能开发 | Context7 | ⭐⭐⭐⭐⭐ | query-docs("/react", "useState hook") |
| API测试 | Chrome DevTools | ⭐⭐⭐⭐⭐ | list_network_requests() + take_screenshot() |
| 代码调试 | Chrome DevTools | ⭐⭐⭐⭐⭐ | list_console_messages() + evaluate_script() |
| 资料查找 | Web Search | ⭐⭐⭐⭐ | webSearchPrime("React Flow 2026 docs") |
| 跨会话记忆 | Memory | ⭐⭐⭐ | create_entities() + search_nodes() |
| GitHub阅读 | Z-Read | ⭐⭐⭐⭐ | get_repo_structure("facebook/react") |
| 图像处理 | ZAI MCP | ⭐⭐⭐ | analyze_image(url, "describe UI") |
| HTTP请求 | Fetch | ⭐⭐⭐ | fetch("https://api.example.com") |
详细文档: 05-automation/README.md
# 创建 PR(NOJIRA 前缀绕过 JIRA 检查)
gh pr create --title "NOJIRA: Your PR title" --body "PR description"
# 列出和查看 PR
gh pr list --state open
gh pr view 123
# 管理 PR
gh pr merge 123 --squash
gh pr review 123 --approve
gh pr comment 123 --body "LGTM"
PR 标题规范:
GR-1234: 描述性标题NOJIRA: 描述性标题# 创建和管理 issues
gh issue create --title "Bug: Issue title" --body "Issue description"
gh issue list --state open --label bug
gh issue edit 456 --add-label "priority-high"
gh issue close 456
# 查看和管理仓库
gh repo view --web
gh repo clone owner/repo
gh repo create my-new-repo --public
# 管理 GitHub Actions
gh workflow list
gh workflow run workflow-name
gh run watch run-id
gh run download run-id
详细文档: references/github-operations.md
# 重要:使用 [pdf] extra 支持 PDF
uv tool install "markitdown[pdf]"
# 或通过 pip
pip install "markitdown[pdf]"
markitdown "document.pdf" -o output.md
# 或重定向: markitdown "document.pdf" > output.md
# 创建 assets 目录
mkdir -p assets
# 使用 PyMuPDF 提取图片
uv run --with pymupdf python scripts/extract_pdf_images.py "document.pdf" ./assets
# Windows → WSL 转换
C:\Users\name\file.pdf → /mnt/c/Users/name/file.pdf
# 使用辅助脚本
python scripts/convert_path.py "C:\Users\name\Documents\file.pdf"
详细文档: references/markdown-conversion.md
python3 scripts/safe_pack.py <directory>
功能:
示例:
python3 scripts/safe_pack.py ./my-project
python3 scripts/scan_secrets.py <directory>
使用场景:
云服务商:
AKIA...)API Keys:
sk_live_..., pk_live_...)sk-...)AIza...)认证:
eyJ...)详细文档: references/repomix-security.md
skill-name/
├── SKILL.md (必需)
│ ├── YAML frontmatter 元数据(必需)
│ │ ├── name: (必需)
│ │ └── description: (必需)
│ └── Markdown 指令(必需)
└── 捆绑资源(可选)
├── scripts/ - 可执行代码
├── references/ - 文档
└── assets/ - 输出文件
# Step 1: 初始化 skill
scripts/init_skill.py <skill-name> --path <output-directory>
# Step 2: 编辑 skill
# - 修改 SKILL.md
# - 添加 scripts/references/assets
# - 删除不需要的示例文件
# Step 3: 安全审查
python scripts/security_scan.py <path/to/skill-folder>
# Step 4: 打包
scripts/package_skill.py <path/to/skill-folder>
# Step 5: 更新 marketplace
# 更新 .claude-plugin/marketplace.json
编辑位置:
~/.claude/plugins/cache/(只读缓存)/path/to/claude-code-skills/路径引用:
~/.claude/skills/)scripts/example.py)~/workspace/project)版本管理:
详细文档: references/skill-creation.md
list_pages() - 列出所有页面navigate_page({type, url}) - 导航到URLtake_snapshot() - 获取页面快照(返回可交互元素)click(uid) - 点击元素fill(uid, value) - 填写表单fill_form([{uid, value}]) - 批量填写press_key(key) - 按键(Enter, Tab)take_screenshot() - 截图list_console_messages() - 查看控制台日志list_network_requests() - 监听网络请求详细文档: ../../05-automation/references/mcp-browsers.md
// Step 1: 解析库ID
resolve-library-id({
query: "react hooks",
libraryName: "react"
})
// 返回: { libraryId: "/facebook/react" }
// Step 2: 查询文档
query-docs({
libraryId: "/facebook/react",
query: "How to use useState hook?"
})
详细文档: ../../05-automation/references/mcp-docs-query.md
create_entities() - 创建实体search_nodes() - 搜索节点create_relations() - 创建关系add_observations() - 添加观察详细文档: ../../05-automation/references/mcp-memory.md
开发完成后
├─ 1. 访问 http://localhost:5173/
├─ 2. take_snapshot() - 获取页面快照
├─ 3. fill() / click() - 执行操作
├─ 4. take_screenshot() - 截图验证
├─ 5. list_console_messages() - 检查错误
└─ 6. list_network_requests() - 检查 API
维护者: WinJin AIGC Team 最后更新: 2026-01-23 版本: v2.0.0
Writes, edits, and creates dbt models following best practices. Use when user needs to create new dbt SQL models, update existing models, or convert raw SQL to dbt format. Handles staging, intermediate, and mart models with proper config blocks, CTEs, and documentation.
Apply Domain-Driven Design, Clean Architecture, CQRS, and command/query patterns to code reviews and feature design. Use when analyzing or designing code in Application, Service, Infrastructure, DataAccess, Validation, Domain, or Functions projects, or when addressing architectural concerns, layering, mapping, entities, value objects, repositories, or validators in the Rome Repair Order Service.
Analyzes and refactors code using Domain-Driven Design principles. Use when refactoring domain models, identifying DDD anti-patterns, improving domain clarity, or applying tactical/strategic DDD patterns.
Guide for DDD strategic design - analyzing domains through structured questioning, conducting stakeholder interviews (PM/domain experts/users), and producing Bounded Context analysis, Context Maps, and Ubiquitous Language. Use when user needs help understanding domain boundaries, planning domain interviews, or structuring DDD strategic artifacts.
Win competitive rounds: run a clean process, deliver value previews before asking, coordinate partners, and manage timelines. Use when you're trying to close a 'must win' deal against other funds.
End-to-end associate workflow with time-boxed gates: thesis -> sourcing -> meetings -> diligence -> memo, ending with either IC-ready memo or explicit kill decision. Use when you need to run the full pipeline for a sector or a specific deal.