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 <noreply@anthropic.com>
This commit is contained in:
Łukasz Boryń 2026-06-10 23:10:58 +02:00
parent 565a3337eb
commit a4abd1d95c
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# <project-name>
<description>
(Stub — generate the full README with `/write-readme-py` after the
first successful `just build-dev`.)

View File

@ -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