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:
parent
565a3337eb
commit
a4abd1d95c
6
skills/scaffold/build-py-project/README.md.tpl
Normal file
6
skills/scaffold/build-py-project/README.md.tpl
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# <project-name>
|
||||||
|
|
||||||
|
<description>
|
||||||
|
|
||||||
|
(Stub — generate the full README with `/write-readme-py` after the
|
||||||
|
first successful `just build-dev`.)
|
||||||
@ -28,6 +28,8 @@ description: Scaffold a new Python project with uv for dependency management, a
|
|||||||
├── tests/fixtures/.gitkeep
|
├── tests/fixtures/.gitkeep
|
||||||
├── justfile ← justfile.tpl
|
├── justfile ← justfile.tpl
|
||||||
├── pyproject.toml ← pyproject.toml.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
|
└── .gitignore ← gitignore.tpl
|
||||||
```
|
```
|
||||||
3. **Delegate Docker** to
|
3. **Delegate Docker** to
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user