From a4abd1d95c224c1c3ff2ce70aea867c1107445f5 Mon Sep 17 00:00:00 2001 From: lukabor Date: Wed, 10 Jun 2026 23:10:58 +0200 Subject: [PATCH] fix(scaffold): ship stub README.md in build-py-project - pyproject.toml.tpl declares readme = "README.md"; without the file, hatchling fails the in-container uv sync (OSError: Readme file does not exist) on the very first just build-dev - stub is replaced by /write-readme-py after the first successful build Co-Authored-By: Claude Fable 5 --- skills/scaffold/build-py-project/README.md.tpl | 6 ++++++ skills/scaffold/build-py-project/SKILL.md | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 skills/scaffold/build-py-project/README.md.tpl diff --git a/skills/scaffold/build-py-project/README.md.tpl b/skills/scaffold/build-py-project/README.md.tpl new file mode 100644 index 0000000..e982b46 --- /dev/null +++ b/skills/scaffold/build-py-project/README.md.tpl @@ -0,0 +1,6 @@ +# + + + +(Stub — generate the full README with `/write-readme-py` after the +first successful `just build-dev`.) diff --git a/skills/scaffold/build-py-project/SKILL.md b/skills/scaffold/build-py-project/SKILL.md index 2cf0ede..cb86f52 100644 --- a/skills/scaffold/build-py-project/SKILL.md +++ b/skills/scaffold/build-py-project/SKILL.md @@ -28,6 +28,8 @@ description: Scaffold a new Python project with uv for dependency management, a ├── tests/fixtures/.gitkeep ├── justfile ← justfile.tpl ├── pyproject.toml ← pyproject.toml.tpl + ├── README.md ← README.md.tpl (stub; hatchling needs + │ it to exist — /write-readme-py replaces it) └── .gitignore ← gitignore.tpl ``` 3. **Delegate Docker** to