The Pre-Publish Checklist, in Twelve Slides
This deck turns the core idea of this site, that shipping a package is a checklist, into a short talk for a team meeting or a lunch session. Each slide has a heading, the content to show and speaker notes. It is ecosystem-neutral, with small examples from npm, Python and Go so that mixed teams can follow along.
Opening (slides 1 and 2)
- "Before you hit publish." Show: the word "publish" with an arrow to a registry icon. Notes: on most public registries a published version cannot be replaced, so mistakes are expensive. Ten minutes of checking beats a follow-up release and an apology.
- The eight checks. Show: name, metadata, API, tests, version, licence, contents, release path. Notes: each gets one slide.
The checks (slides 3 to 10)
- Name. Show: a name being checked against the registry. Notes: available, not one keystroke from a popular package, scoped if it is internal.
- Metadata. Show: the fields below. Notes: description, repository URL, licence, supported runtime versions. These drive search results and security tools.
- Public API. Notes: list exactly what is exported. Anything exported will be depended on. In JavaScript, the
exportsfield enforces this; in Python, a leading underscore and__all__signal it; in Go, capitalisation does. - Tests. Notes: run them against the built artefact, not just the source tree, and on the oldest and newest runtime versions you claim to support.
- Version. Notes: does the bump match the change? Breaking change, major; new feature, minor; fix, patch. The semver.org specification is short enough to read in one sitting.
- Licence. Notes: a LICENSE file is present and the manifest uses a valid SPDX identifier, such as
MITorApache-2.0. - Contents. Notes: inspect what will actually ship. No
.envfiles, no test fixtures with real data, no missing build output. - Release path. Notes: publish from CI with short-lived credentials, a changelog entry and, where supported, provenance.
# slide 9 demo commands, one per ecosystem
npm pack --dry-run
python -m build && python -m zipfile -l dist/*.whl
go list -m -json # confirms module path and version context
Closing (slides 11 and 12)
- Make it automatic. Notes: most checks can live in CI: lint the manifest, test the packed artefact, fail if the version already exists, require a changelog entry. Human checks shrink to name, API and version judgement.
- One-page handout. Show: the eight checks as a list. Notes: point people to the written version, and invite them to add a ninth check from their own worst release.
Speaker guidance
The talk fits comfortably in fifteen to twenty minutes if you keep to one example per slide. Use your own team's packages for the examples where you can; abstract checklists stick far less than "remember when we shipped the test fixtures?" Avoid ranking ecosystems against each other. The checks are the same everywhere; only the commands differ.
The written detail behind each slide lives elsewhere on the site: testing the tarball, SPDX identifiers and the first-release reading path.