conventional-git-commit-formatter
ทำอะไรได้บ้าง
Enforce Conventional Commits format for git commits, including project-specific type/scope conventions (plugin name as scope) and squash-vs-new-commit strategy selection.
การติดตั้งจะเปิดรายการนี้ในแอปเดสก์ท็อป AgentsRoom ของคุณ หากยังไม่ได้ติดตั้งแอป ระบบจะพาคุณไปยังหน้าดาวน์โหลด
SKILL.md
--- name: conventional-git-commit-formatter description: Enforce Conventional Commits format for git commits, including project-specific type/scope conventions (plugin name as scope) and squash-vs-new-commit strategy selection. --- # Formatting Commit ## Current State - Branch: !`git branch --show-current` - Status: !`git status --short` - Recent commits: !`git log --oneline -10` ## Strategy Selection The goal is a clean, reviewable commit history. Two strategies: ### New Commit (default) Create a new commit when: - It's the first commit on the branch - The change is logically independent from existing commits - You're building incrementally (model -> API -> UI) A new commit preserves the narrative of how the work evolved. Each commit should be a self-contained, meaningful unit — something a reviewer can understand in isolation. ### Squash (amend) Amend the previous commit when: - The change directly extends or fixes the same work (e.g., addressing review feedback) - A separate commit would be noise rather than signal (typo fix, forgotten file) Squashing keeps the history focused on intent rather than process. After amending a pushed commit, use `git push --force-with-lease` — never `--force`. If the branch has multiple commits that need reorganizing, use the `splitting-commit` skill instead of manual rebase. ## Commit Message Format ``` <type>(<scope>): <description> [body] [footer] ``` ### Type Select by the primary intent of the change: | Type | When to use | |------|-------------| | `feat` | New user-facing capability | | `fix` | Correcting broken behavior | | `refactor` | Restructuring without behavior change | | `perf` | Performance improvement | | `test` | Adding or modifying tests | | `docs` | Documentation only | | `style` | Code formatting, whitespace | | `build` | Build system, dependencies | | `ci` | CI/CD configuration | | `chore` | Everything else (version bumps, config) | When changes span multiple types, pick the dominant one. A feature that includes its tests is `feat`, not `test`. ### Scope The scope identifies the area of the codebase affected. In this marketplace, use the plugin name: ``` feat(base): add memo command fix(writing): correct language-editor agent prompt chore(base): bump version to 0.0.19 ``` Omit scope only when the change is truly cross-cutting (e.g., root-level config). ### Subject Line - Imperative mood, lowercase, no trailing period - Under 50 characters — if it doesn't fit, the commit may be doing too much - Describe what the commit does, not how Good: `add OAuth2 login flow` Bad: `Added the OAuth2 login flow implementation` ### Body Optional but valuable for non-trivial changes. Explain why the change was needed — the subject already says what. Wrap at 72 characters. ### Footer - `Closes #123` to auto-close issues - `BREAKING CHANGE:` or `!` after type for breaking changes: `feat(api)!: remove legacy endpoint` ## Process 1. Review the injected state above; run `git log --oneline origin/main..HEAD` if you need branch-only commits 2. Decide strategy: new commit or squash 3. Stage specific files — be deliberate about what goes in 4. Compose the message and commit 5. Verify with `git log -1 --stat`
เจาะลึกเพิ่มเติม
โฆษณา Claude: ทักษะ Claude Code ที่ตรวจสอบบัญชีโฆษณาของคุณ
โฆษณา Claude เป็นทักษะโอเพนซอร์สสำหรับ Claude Code: การตรวจสอบมากกว่า 250 รายการบน Google, Meta, LinkedIn, TikTok หรือ Amazon Ads, คะแนนจาก 100 และแผนปฏิบัติการที่จัดลำดับความสำคัญในประมาณสิบ นาที ติดตั้ง คำสั่ง ข้อจำกัด และวิธีการจัดการมันใน AgentsRoom.
AGENTS.md: ไฟล์บริบทเดียวสำหรับทุกเอเจนต์การเขียนโค้ด (Codex, Antigravity, Claude)
AGENTS.md คือไฟล์คำแนะนำที่พกพาได้ซึ่งเอเจนต์การเขียนโค้ด AI ของคุณอ่านก่อนที่จะสัมผัสโค้ดของคุณ ว่าควรใส่อะไรในนั้น มันแตกต่างจาก CLAUDE.md อย่างไร และจะรักษาบริบทเดียวกันระหว่าง Codex, Antigravity และ Claude ได้อย่างไร
ดาวน์โหลด AgentsRoom
รันเอเจนต์ AI ทั้งหมดของคุณในทุกโปรเจกต์ จากหน้าต่างเดียว
แอปคู่หู: ตรวจสอบเอเจนต์ของคุณได้ทุกที่
นำของคุณเอง: Claude, Codex, Antigravity CLI, หรือผู้ให้บริการ AI อื่น ๆ
ส่งข้อบกพร่องและคำขอไปยังแบ็คล็อกสาธารณะของคุณโดยตรง
มองเห็น AgentsRoom ในการทำงาน