Agent skill
commit
Use when preparing or executing git commits in this repo and the commit message must follow the emoji conventional template, especially for auto-commit or "just commit" requests that might bypass it.
Install this agent skill to your Project
npx add-skill https://github.com/mainliufeng/dotfiles/tree/main/.codex/skills/commit
SKILL.md
Commit
Overview
Use the embedded commit message template whenever a git commit is required in this repo.
Template
<emoji> <type>: <summary>
- <bullet>
Title stays within 72 characters.
Example (Template Shape)
✨ feat: 并发限流改为租约模式(ZSET+2m TTL)
- reqcount:v3 采用 ZSET 保存 lease_id/chat_id,score=joined_at,窗口(now-2m,+inf)过滤并发
- 租约 TTL 2 分钟自动回收,无续租;key 设双倍 TTL 防止遗留
- /internal/v1/concurrency 返回明细(chat_id、joined_at/expire_at 可读时间)
- 更新 NewConcurrencyLimiter 签名及示例,模型调用路径不变
Emoji Map
- ✨ feat
- 🐛 fix
- 📚 docs
- 💎 style
- 📦 refactor
- 🚀 perf
- 🚨 test
- 🔧 chore
Quick Reference
| Rule | Action |
|---|---|
| Commit needed | Use the template above |
| Compose message | Emoji + type + summary + bullet body |
Rationalizations to Reject
| Excuse | Reality |
|---|---|
| "User said just commit" | Template is still required. |
| "Small change" | Template is still required. |
| "I already know the format" | Always follow the embedded template. |
Red Flags - STOP and Fix
- Skipping the embedded template
- Writing a one-line message
- Missing required sections from the template
Common Mistakes
- Using a custom format
- Omitting the bullet list body
- Missing emoji or type (per template)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
commit
Use when preparing or executing git commits in this repo and the commit message must follow the emoji conventional template, especially for auto-commit or "just commit" requests that might bypass it.
bluetooth-earbuds
Bluetooth earbuds operations on Linux/Hyprland: install and enable BlueZ, pair/trust/connect earbuds, recover from common pairing errors, and switch audio routes (A2DP/HFP/speaker) via pactl/wpctl and Waybar integration. Use when users ask to connect or troubleshoot Bluetooth headsets/earbuds.
hyprland
Hyprland automation with hyprctl: create/close named workspaces, open a standard 3-window dev layout (Codex + shell + Neovim) for a project, and manage windows via hyprctl dispatch. Use when asked to manipulate Hyprland workspaces or windows, or to script Hyprland layouts.
amap-jsapi-skill
高德地图 JSAPI v2.0 (WebGL) 开发技能。涵盖地图生命周期管理、强制安全配置、3D 视图控制、覆盖物绘制及 LBS 服务集成。
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
tapestry
Unified content extraction and action planning. Use when user says "tapestry <URL>", "weave <URL>", "help me plan <URL>", "extract and plan <URL>", "make this actionable <URL>", or similar phrases indicating they want to extract content and create an action plan. Automatically detects content type (YouTube video, article, PDF) and processes accordingly.
Didn't find tool you were looking for?