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 入库
This commit is contained in:
baozaotumao
2026-06-01 21:19:45 -07:00
parent 167fa10dde
commit 39fe248f9f
53 changed files with 3744 additions and 55 deletions
+11
View File
@@ -0,0 +1,11 @@
# Frontend 配置模板 —— 复制为 .env 后按需修改
# Vite 规则:只有 VITE_ 前缀的变量才会被注入浏览器端代码
# 切勿在此放任何密钥(前端变量对用户完全可见)
{%- if include_backend %}
# Backend WebSocket 地址
VITE_BACKEND_WS_URL=ws://localhost:{{ backend_port }}
# Backend HTTP 地址(文件下载 / 预览)
VITE_BACKEND_HTTP_URL=http://localhost:{{ backend_port }}
{%- endif %}