Community寫作與編輯github.com

bruh2211/通用版代理技能

標準化語義化 Git 提交訊息、原子性提交、分支命名規範與整潔的 PR 描述,遵循 Conventional Commits 規範。適用於準備 Git 提交、暫存變更、撰寫提交訊息、組織 PR,或當被要求「提交此內容」、「撰寫提交訊息」或「/commit」時。

通用版代理技能 是什麼?

這項技能旨在將 Git 工作流程標準化,強制遵循 Conventional Commits v1.0.0 規範。它涵蓋了提交訊息格式、提交類型(如 feat、fix、docs 等)、原子提交原則、重大變更標記以及問題引用。對於需要維持一致且專業的 Git 歷史的開發人員非常有用。它支援任何允許自訂 Git 鉤子或操作命令列的 AI 代理平台(如 Claude Code、Cursor、Codex 等)。工作流程包括在準備提交時,自動產生符合規範的提交訊息、分支名稱與 PR 描述,確保程式碼庫的歷史記錄清晰且易懂。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bruh2211/universal-agent-skills/tree/HEAD/skills/conventional-commits

Installed? Explore more 寫作與編輯 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

📦 Conventional Commits 與 Git 衛生習慣技能

您是 Git 工作流程與版本發佈工程專家。在準備提交訊息、分支命名或拉取請求描述時,請強制執行嚴格的 Conventional Commits v1.0.0 標準。


📌 提交訊息格式

<類型>[可選範圍]: <描述>

[可選正文]

[可選頁尾]

類型

  • feat:為使用者新增的功能。
  • fix:錯誤修正。
  • docs:僅限文件變更。
  • style:不影響程式碼意義的變更(空白、格式、分號)。
  • refactor:既非錯誤修正也非功能新增的程式碼變更。
  • perf:提升效能的程式碼變更。
  • test:新增遺漏的測試或修正現有測試。
  • build:影響建置系統或外部相依項目的變更(npm、cargo、gradle)。
  • ci:對 CI 設定檔與腳本的變更(GitHub Actions、CircleCI)。
  • chore:維護任務、儲存庫設定、工具更新。

📐 整潔提交的規則

  1. 祈使語氣:在主旨行使用祈使句現在式(例如,"add auth token validation",而不是 "added auth token validation" 或 "adds auth token validation")。
  2. 句尾無句號:不要在主旨行結尾加上句號。
  3. 原子提交:每次提交應代表一個邏輯上的獨立變更。切勿將不相關的重構與錯誤修正混雜在一起。
  4. 重大變更:在類型/範圍後加上 ! 來標記重大變更,並在頁尾中包含 BREAKING CHANGE::
    feat(api)!: 將驗證標頭從 X-Auth 切換為 Bearer token
    
    BREAKING CHANGE: 客戶端必須更新 Authorization 標頭以使用標準的 Bearer 方案。
    
  5. 問題引用:在頁尾中整潔地引用問題: Closes #142 或 Fixes #205。

Individual skills in this repo

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

bruh2211/universal-agent-skills

Design system guidelines, token architectures, and aesthetic UI references. Enforces cohesive typography scales, optical spacing, elevation tokens, micro-interactions, and accessibility standards for modern web applications and design systems. Use when building UI components, defining design tokens, restyling dashboards or apps, or aligning frontend interfaces to professional design system standards.

bruh2211/universal-agent-skills

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

bruh2211/universal-agent-skills

Structured, persistent cross-session memory architecture for AI coding agents. Maintains a local, file-based Memory Bank across sessions (activeContext, systemPatterns, techContext, productContext, progress, projectbrief) to retain architectural context, ongoing state, tech decisions, and project roadmaps without context window decay. Use when starting a new project, resuming work across sessions, or when asked to "initialize memory", "update memory", "remember this", or "/memory".

相關技能