Files
baozaotumao 39fe248f9f feat: 重组为标准 skill 包结构 + 修复 verify.sh bash 3.2 兼容
- 新增 .claude/skills/new-project/SKILL.md(标准 skill 格式)
- install-skill.sh 安装时组装 SKILL.md + verify.sh,单一源无重复
- verify.sh 改用索引数组替代 declare -A,兼容 macOS bash 3.2
- log_pass/log_skip 显式 return 0,避免 set -e 下非 verbose 误退出
- README 改为 skill 优先;补全 copier.yml/scripts/template 入库
2026-06-01 21:19:45 -07:00

10 lines
558 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Git 工作流与提交规范
> Conventional Commits + 分支保护 + PR + SemVer。
- **提交信息**Conventional Commits`feat:` `fix:` `refactor:` `test:` `docs:` `chore:`),commit-msg 钩子校验
- **分支**:主干保护,禁止直推;功能走 `feat/xxx` 分支 + PR
- **PR 合并前**CI 全绿 + 至少一人 review;squash 合并保持历史线性
- **版本**:语义化版本(SemVer),变更记入 `CHANGELOG.md`
- 密钥不入库:gitleaks + detect-private-key 在 PC·CI 全量扫描;`.env``.gitignore` 排除