Workflow Image README Sync
Use this skill when the user wants README.md updated from Docker image definitions in .github/workflows.
Workflow
- Run
python3 scripts/update_readme.py --print-discovery-jsonto discover images, base images, build contexts, and workflow paths. - Read each discovered build context, starting with its
Dockerfileand only the nearby files needed to understand the image's purpose. - Write concise human descriptions in the style of product summaries, not low-level Dockerfile narration.
- Save the descriptions in a JSON mapping from image name to description, then run
python3 scripts/update_readme.py --description-file <file>. - Check the updated table in
README.mdand verify each row includesImage,Base Image,Context, aWorkflowbadge that links to the GitHub Actions workflow, andDescription.
Notes
- The updater rewrites only the content between the
<!-- docker-images-table:start -->and<!-- docker-images-table:end -->markers inREADME.md. - The Python script is intentionally data-oriented. It discovers image metadata and renders the table, but the agent is responsible for the final description quality.
- The repository-level scripts for this workflow live in
../../../scripts. Prefer../../../scripts/update_readme.pyand../../../scripts/generate_readme_image_descriptions.py. - The
Workflowcolumn should render GitHub Actions badge images that link to each workflow page, rather than plain text workflow paths. - Prefer short summaries like
Debian base image with custom ca certsorVault running in agent mode with config templating. - If no images are found, the table is populated with a single
Nonerow so the README stays explicit.
Source: evindunn/docker — distributed by TomeVault.