Release Prep for Openclaw

A deep code audit and release preparation agent designed to automate the lifecycle of Python packages from testing to PyPI publishing.

morozsm
v1.0.0
Mar 2, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install release-prep

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install release-prep using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Release Prep?

Release Prep is a specialized agent designed to eliminate the manual overhead of preparing software for distribution. By integrating with Openclaw Skills, this tool performs a multi-phase analysis of your Python projects, ensuring that code quality, documentation, and versioning are perfectly aligned before you hit publish.

The skill operates in three distinct modes: audit, fix, and release. Whether you just need a status report on your technical debt or want a fully automated pipeline that handles changelog generation and version bumping, Release Prep provides the guardrails needed for professional-grade software delivery within the Openclaw Skills framework.

Release Prep Use Cases

  • Preparing a Python package for its first or subsequent release to PyPI.
  • Performing a deep audit of code quality and documentation completeness.
  • Syncing version numbers between pyproject.toml and source code.
  • Automatically generating changelogs from conventional git commits.
  • Fixing linting errors and missing docstrings using an AI coding agent.

How Release Prep Works

  1. Project Detection: The skill identifies the project type by looking for a pyproject.toml file and extracting metadata.
  2. Deep Audit: It runs a comprehensive suite of checks including pytest for logic, Ruff for linting, and Mypy for type safety.
  3. Documentation Sync: The agent audits README.md against CLI entry points and calculates docstring coverage percentages.
  4. Structured Reporting: A visual readiness report is generated, categorizing issues into blockers, warnings, and passed checks.
  5. Auto-Fix & Publish: If instructed, the skill fixes minor issues, bumps the version based on commit history, tags the repo, and publishes the package.

Release Prep Setup

To use Release Prep within Openclaw Skills, ensure your Python environment is configured with the following dependencies:

pip install ruff mypy pytest pytest-cov

You should also have a valid pyproject.toml file in your root directory. To trigger an audit, simply ask the agent to prepare release or audit code.

Release Prep Data Schema & Taxonomy

The skill interacts with and organizes data based on standard Python project structures:

File Role
pyproject.toml Primary source for versioning, dependencies, and metadata.
README.md Validated for usage examples and CLI entry point mentions.
CHANGELOG.md Automatically updated with new version entries and git logs.
src/init.py Checked for version consistency with project metadata.
tests/ The directory used for running the logic validation suite.

Release Prep Advanced Features

  • Blocker Detection: Automatically stops the release process if critical tests fail or version mismatches are found.
  • Conventional Commit Parsing: Intelligent version bumping (Major/Minor/Patch) based on git history analysis.
  • AI-Powered Documentation: Uses an coding agent to generate missing docstrings and README sections based on source code analysis.
  • Multi-Mode Flexibility: Switch between passive reporting (audit) and active repository modification (fix/release) within the Openclaw Skills ecosystem.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*