用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/epicollect5/epicollect5-mobile-app --skill commit命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | commit |
| description | Create Conventional Commits from changes, splitting by type and scope |
Analyze all changes and create one or more Conventional Commits, grouped by type and scope. Execute the commits yourself; never leave the work as a proposal.
Steps:
git status --short, git diff --cached --name-only, and git diff --name-only. If nothing is staged, stage all tracked modifications with git add -u (untracked files stay untouched and are reported at the end).git diff --cached or git diff) to determine its type (feat, fix, refactor, perf, docs, test, build, ci, chore, style, revert) and scope. Map directories to scopes: src/services/** -> services, src/components/** -> components, src/stores/** -> stores, src/models/** -> models, src/pages/** -> pages, src/router/** -> router, src/config/** -> config, docs/** -> docs. Test files take the scope of the code under test. Root, leaflet, theme and use files get no scope.git commit <paths> -m "<message>". Verify each commit succeeded before moving on; if one fails, stop and report. Leave unstaged and untracked files untouched, except for the git add -u in step 1.git log --oneline -N, and mention any untracked files that were skipped.Message requirements:
Format: (): — scope is optional for docs, test and chore commits. Allowed types: feat, fix, refactor, perf, docs, test, build, ci, chore, style, revert Use the imperative mood (e.g. "add", "fix", "remove") Do not capitalize the first word of the description. Do not end the description with a period. Maximum 75 characters total, including type and scope. If a group includes both a fix and a feature, prefer the type that best reflects the primary purpose of that group.