commit
Commit theo Conventional Commits + Jira ID
Lấy Jira ID từ tham số của skill (args). Ví dụ: /commit WRA-9 → args = "WRA-9". Nếu args trống, dừng lại và hỏi người dùng Jira ID trước khi làm tiếp.
Quy trình
-
Kiểm tra trạng thái repo — chạy song song (một message, nhiều tool call):
git status(KHÔNG dùng cờ-uall)git diff HEAD(bao gồm cả phần đã staged và phần chưa staged — mọi thứ sẽ được commit)git log -n 5 --onelineđể nắm convention hiện tại của repo
-
Nếu không có thay đổi nào (không có file untracked và không có modification), KHÔNG tạo commit rỗng. Báo cho người dùng và dừng.
-
Phân tích thay đổi và soạn commit message:
- Xác định
typetừ bảng bên dưới dựa trên bản chất thay đổi thực tế. - Chọn
scopengắn gọn (thường là tên module / thư mục chính bị ảnh hưởng, ví dụauth,admin,reports). Có thể bỏscopenếu đổi trải rộng nhiều module. - Jira ID BẮT BUỘC nằm ở vị trí đầu tiên của dòng summary, trước cả
<type>. Format:<JIRA-ID> <type>(<scope>): <subject>. Không lặp lại Jira ID ở footer. subjectviết ngắn, imperative (dạng mệnh lệnh), KHÔNG chấm cuối, ưu tiên tiếng Việt nếu các commit trước trong repo đang dùng tiếng Việt (kiểm tragit log).body(tùy chọn) giải thích why hơn là what; tránh mô tả chi tiết diff.
- Xác định
More from nguyenvanchiens/my-skills
gitlab-flow
Standard end-to-end workflow for shipping a feature/bugfix from a Jira task to a merged GitLab MR. Use when the user references a Jira task ID (WRA-XX, etc.), asks to "start a task", "create branch from task", "review the last change", "review the whole branch", "commit and push", "create a merge request", "review the MR !N", "post review result to the MR", "fix all issues", or "merge the request". Covers branch naming, commit format, MR creation, micro + macro code review (3-agent parallel), fix loop, and merge.
26impeccable
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.
11karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
10review-branch
Review the cumulative changes of the current branch against main (committed + uncommitted) for reuse, quality, and efficiency, then fix any issues found. Use when finishing a feature branch before opening an MR.
4blazor
Build Blazor apps on .NET 8+: unified Blazor Web App với render modes (SSR, Stream, Server, WebAssembly, Auto), components/parameters/EventCallback, lifecycle, EditForm validation, JS interop, state management. Use when project has .razor files, Components/ folder, App.razor, MainLayout.razor, or _Imports.razor.
1react-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture.
1