Files
hose-use/.gitignore
T
gitea fbccc46b29 chore(infra): 引入跨平台开发规范、Git Hooks 门禁与 Windows 兼容性防护
- 新增版本控制的跨平台 Git Hooks (`.githooks/`):
  - `pre-commit`:拦截在主分支 (main/master) 直接提交;强制分支名全小写;拦截 >15MB 大文件;拦截 Windows 非法字符与系统保留设备名
  - `pre-push`:拦截直接向远程主分支推送代码,强制 GitHub PR 合并;拦截大写分支推送;兼容双远端镜像同步
  - `setup.sh` / `setup.ps1`:一键自动配置 core.hooksPath、core.autocrlf 与 core.symlinks
- 新增根目录 `.gitattributes`:固化 hooks 与 shell 脚本为 LF 换行符,规避 CRLF 异常
- 新增项目根目录 `.drafts/` 隐藏草稿目录并更新 `.gitignore`(忽略 .drafts/*,增加敏感私钥 *.pem, *.key 防护)
- 新增项目级 Agent Skill `.agents/skills/repo-gh/SKILL.md`:
  - 确立 Markdown 实体文件驱动铁律(--body-file / -F),杜绝命令行内联多行文本拼接
  - 统一 Issue、Commit、PR 的全流程简体中文规范
- 新增 `.agents/rules/windows-development.md`:《Windows 环境协作与开发守则》
- 新增 `.github/ISSUE_TEMPLATE/feature_request.yml` 与 `.github/pull_request_template.md` 模板
- 更新 `AGENTS.md` 与 `.agents/README.md`:对齐全小写分支与 Markdown-First 开发规范
2026-10-27 10:41:16 +08:00

60 lines
698 B
Plaintext

# dependencies (bun install)
node_modules
# output
out
dist/bin/
dist/hose-use-*
*.tgz
# code coverage
coverage
*.lcov
# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# caches
.eslintcache
.cache
*.tsbuildinfo
.zcode/
# enterprise credentials
enterprises/*.json
!enterprises/example.json
# IntelliJ based IDEs
.idea
# Finder (MacOS) folder config
.DS_Store
# 数据库文件
data/
*.db
*.sqlite
# Local roadmaps & scratch notes
*.local.md
# Exports
exports/
# Secrets & Private keys
*.pem
*.key
# Local drafts for repo-gh & AI Agents
.drafts/*
!.drafts/.gitkeep