refactor: rename source dir to bin, reorganize templates, remove personal info

- Rename myclaude/ source directory → bin/
- Update all Python imports (myclaude.* → bin.*) and mock patch paths
- Update pyproject.toml: entry point and packages config
- Move workspace_template/ → templates/workspace/ for future extensibility
- Migrate .claude/skills/ to global ~/.claude/skills/ and remove local copies
- Remove SessionStart hook (sync-global.sh) from settings.local.json
- Remove unrelated script rename_funcs_to_snake.py
- Remove personal info (name, org, paths) from CLAUDE.md, README.md, settings
- Update .gitignore with standard Python/runtime exclusions
- Clean .DS_Store, __pycache__, .mypy_cache, .pytest_cache, .ruff_cache,
  .playwright-mcp runtime files
This commit is contained in:
Zhengshou Lai
2026-04-26 09:37:13 +08:00
parent 432b700265
commit ab597d1d02
42 changed files with 80 additions and 6524 deletions
+4 -6
View File
@@ -20,14 +20,12 @@ myclaude/
├── .claude/ # Claude Code 配置
│ └── skills/ # 自定义技能
├── .venv/ # Python 虚拟环境
├── workspace_template/ # 工作区模板(CLAUDE.md, .gitignore
├── .claude/ # Claude Code 配置
│ └── skills/ # 自定义技能
├── myclaude/ # Python 源码
├── templates/ # 模板目录
│ └── workspace/ # 工作区模板(CLAUDE.md, .gitignore
├── bin/ # Python 源码
│ ├── cli.py # CLI 入口
│ ├── commands/ # 子命令
│ └── ...
├── myclaude/ # 源码目录
├── CLAUDE.md # 项目配置(自动生成)
├── pyproject.toml # Python 项目配置
└── README.md # 本文件
@@ -165,7 +163,7 @@ make install
export MYCLAUDE_WORKSPACE_ROOT="/your/custom/workspace"
```
首次运行 `myclaude` 时,会自动创建工作区目录并复制 `workspace_template/` 中的模板文件。
首次运行 `myclaude` 时,会自动创建工作区目录并复制 `templates/workspace/` 中的模板文件。
**Shell 补全(可选):**`~/.zshrc``~/.bashrc` 中加入(有命令再注册,避免未安装时报错):