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:
@@ -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` 中加入(有命令再注册,避免未安装时报错):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user