Communitygithub.com

Git 工作流程技能

約定式提交、分支命名與 PR 模板規範。

Git 工作流程技能 是什麼?

此技能提供一套完整的 Git 工作流程規則,涵蓋提交訊息、分支命名、Pull Request 模板、合併策略及版本標籤等最佳實踐。它能幫助開發團隊維持一致的提交歷史,減少混亂,並提升協作效率。支援所有使用 Git 的開發環境與平台(如 GitHub、GitLab、Bitbucket),透過明確定義的規則來強制執行規範。技能內容包括使用 Conventional Commits 格式、以特定前綴命名分支、使用 Squash Merge 保持歷史簡潔,以及遵循 SemVer 進行版本標記。使用此技能時,AI 代理會根據這些規則自動產生或建議適當的提交訊息、分支名稱與 PR 描述,確保團隊遵循統一的開發流程。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/git-workflow

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Git 工作流程

規則

  • 約定式提交:feat:、fix:、docs:、refactor:、test:、chore:
  • 分支命名:feat/feature-name、fix/bug-description、chore/task-name
  • PR 模板:變更內容、變更原因、測試方式、螢幕截圖
  • 使用 Squash 合併到 main 分支 — 保持歷史整潔
  • 切勿強制推送(force-push)到 main/master 分支
  • 提交訊息:使用祈使語氣、主旨不超過 50 字元、空行分隔選擇性說明主體
  • 每次提交只包含一個邏輯變更 — 不要將重構與功能混在一起
  • 版本標記:遵循 SemVer 格式,例如 v1.0.0

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

相關技能