Extends the template and skill so a generated README matches the Saduko reference: logo block in the header table, multi-extras install, local- checks subsection, and an Apache-aware License block with attribution. - readme-py.template.md: add <logo-block>, <install-block>, <local-checks-preamble>, <local-section>, <license-block> placeholders; Project layout block trimmed to match Saduko's flatter form - SKILL.md: read every project.optional-dependencies group (not just dev), detect logo asset, detect local-* recipes, branch the License block on the licence string; refuse to invent author or repo URL - saduko-license-block.md: new topic file with the parameterised Apache 2.0 rights / requirements / attribution / bibtex template, token resolution table, and a minimal NOTICE companion
71 lines
1.0 KiB
Markdown
71 lines
1.0 KiB
Markdown
# <project.name>
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="40%" align="center">
|
|
<logo-block>
|
|
<h3><project.name></h3>
|
|
<p><project.description></p>
|
|
</td>
|
|
<td width="60%">
|
|
|
|
## Table of Contents
|
|
- [Installation](#installation)
|
|
- [Docker (dev)](#docker-dev)
|
|
- [Quality checks](#quality-checks)
|
|
- [Project layout](#project-layout)
|
|
- [License](#license)
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
## Installation
|
|
|
|
Requires Python ≥ 3.11. Install with [uv](https://docs.astral.sh/uv/):
|
|
|
|
```bash
|
|
<install-block>
|
|
```
|
|
|
|
## Docker (dev)
|
|
|
|
Uses [just](https://github.com/casey/just) as a task runner. Run `just --list` for the full set of recipes.
|
|
|
|
```bash
|
|
<docker-section>
|
|
```
|
|
|
|
## Quality checks
|
|
|
|
All checks run inside Docker.<local-checks-preamble>
|
|
|
|
```bash
|
|
# Linting
|
|
<lint-fmt-section>
|
|
|
|
# Type checking
|
|
<typecheck-section>
|
|
|
|
# Testing
|
|
<test-section>
|
|
|
|
# Combined
|
|
<combined-section><local-section>
|
|
```
|
|
|
|
## Project layout
|
|
|
|
```
|
|
src/<package_name>/ # library source
|
|
tests/ # test suite
|
|
docker-compose.yml
|
|
Dockerfile
|
|
justfile
|
|
pyproject.toml
|
|
```
|
|
|
|
## License
|
|
|
|
<license-block>
|