commit 5528c0b3ca472852732696fcbac37db450c1fec2 Author: hc Date: Fri Apr 10 16:24:13 2026 +0800 chore: init cc-slim with uv + basic files diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c4ee52 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Python & uv +__pycache__/ +*.pyc +*.pyo +*.pyd +.venv/ +venv/ + +# OpenCode / Claude Code / AI 工具(必须忽略) +.opencode/ +.claude/ + +# 日志和临时文件 +*.log +logs/ +.tmp/ + +# IDE +.vscode/ +.idea/ + +# (uv.lock 我们要 commit,保持可复现,所以不忽略) +# .python-version 我们 commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/main.py new file mode 100644 index 0000000..4caa304 --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +def main(): + print("Hello from cc-slim!") + + +if __name__ == "__main__": + main() diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..47d9adb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,17 @@ +[project] +name = "cc-slim" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.13" +dependencies = [ + "anthropic>=0.93.0", + "rich>=14.3.3", + "typer>=0.24.1", +] + +[dependency-groups] +dev = [ + "pytest>=9.0.3", + "ruff>=0.15.10", +]