agentsclimarketplace

Publish poetry project

Skill evindunn/ai-skills/publish-poetry-project

Skills for AI agents

Install
npx -y skills add evindunn/ai-skills --skill publish-poetry-project

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Add or update build and publishing automation for Poetry-based Python projects. Use when an agent needs to configure GitHub Actions workflows for tagged releases, build wheels and sdists, publish artifacts to GitHub Releases, publish packages to PyPI, and document the release process in a Poetry project's repository.

SKILL.md

2.3 KB, as published. Nobody here has run it

Publish Poetry Project

Set up release automation for Poetry projects using one build job and separate publish jobs for GitHub Releases and PyPI.

Before editing:

  1. Read pyproject.toml to confirm the project name, build backend, console scripts, and any packaged resource includes.
  2. Inspect the repository for existing GitHub Actions workflows and release documentation.
  3. Check whether the package needs package-data fixes before a release workflow is useful.

When implementing the workflow:

  1. Start from templates/workflow.yml.tmpl instead of drafting the GitHub Actions workflow from scratch.
  2. Render the template into a .github/workflows/*.yml workflow with scripts/render_template.py, passing template values such as workflow_name, tag_pattern, artifact_name, and pypi_environment. Example: python3 scripts/render_template.py templates/workflow.yml.tmpl workflow_name=Release 'tag_pattern=v*' artifact_name=python-package pypi_environment=pypi

When updating project files:

  1. Fix any broken tool.poetry.include package-data paths that would make the build incomplete.
  2. Keep pyproject.toml aligned with the workflow assumptions.
  3. Update README.md with a short release section that explains local build checks, tag-based publishing, and any PyPI trusted-publisher requirement.

Validation steps:

  1. Re-read the rendered workflow file for trigger, container image, artifact, and permission correctness.
  2. Confirm that the rendered workflow still matches the structure in templates/workflow.yml.tmpl unless the project needed a deliberate deviation.
  3. Run poetry build locally when possible.
  4. Call out any remaining manual setup, especially PyPI trusted publisher configuration and required GitHub permissions.

Read references/checklist.md before substantial publishing changes.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.