Project Forge (pforge / pforge-cli)
Repository-neutral engineering workflow CLI for quality gates, conventional commits, releases, and versioning.
Overview
Project Forge standardizes common Python repository engineering workflows into a single standalone CLI without copying scripts from repository to repository:
- Multi-engine Quality Gate: Fast (<2s) and Full diagnostic checks across Ruff (lint & format), Mypy, Pyright, Pylint, and Pytest.
- Native Standard-Version Replacement: Pure Python SemVer bumper (
pforge bump) calculating increments from Conventional Commits, updating project files, generatingCHANGELOG.md, and tagging releases. - Conventional Commit Automation: Grouped atomic commits with repository-neutral scope inference and interactive wizard (
pforge commit). - Quality Hooks: Project-neutral Git hooks (
pre-commitandpre-push) callingpforge quality. - Changelog & GitHub Workflows: Single-source changelog parsing, pull request creation with embedded quality tables, and GitHub release publication.
- Publishing & Diagnostics: Clean
uv buildanduv publishorchestration, and non-destructivedoctorandstatuscommands.
Installation
# Using uv (recommended)
uv add --dev pforge-cli
# Using pip
pip install pforge-cli
CLI Usage
Diagnostics & Status
pforge status # High-level dashboard snapshot of repository state
pforge doctor # Diagnostic environment verification of tools and configs
Quality Gate
pforge quality --fast # Fast Tier (<2s): Ruff check, Ruff format check, Mypy
pforge quality --fast --fix # Auto-apply safe Ruff lint & format fixes
pforge quality # Full Tier: Ruff, Mypy, Pyright, Pylint, Pytest
pforge quality --export all # Export structured audit reports to outputs/ (CSV & JSON)
Version Bumping & Changelog
pforge bump --dry-run # Preview next version and changelog entry
pforge bump # Automatically detect bump type and update files
pforge bump --release-as minor # Explicitly bump minor (or patch, major)
pforge bump --prerelease rc # Bump with prerelease identifier
Automated Conventional Commits
pforge commit --preview # Preview grouped atomic conventional commits
pforge commit -i # Interactive commit wizard with diff inspection
pforge commit --run # Execute atomic commits immediately
Git Quality Hooks
pforge hooks install # Install pre-commit and pre-push quality hooks
pforge hooks status # Check installation and core.hooksPath status
pforge hooks uninstall # Clean hooks and unset core.hooksPath
Pull Requests & Releases
pforge pr preview # Preview PR title, notes, and Quality Gate table
pforge pr create # Create/update PR on GitHub via gh CLI
pforge release preview # Preview release notes for latest version
pforge release publish # Publish release to GitHub via gh CLI
PyPI Publishing
pforge publish --dry-run # Verify quality, clean dist/, build with uv build
pforge publish # Build packages and upload to PyPI using token
Configuration (pyproject.toml)
Project Forge works with zero configuration for standard Python repositories. Custom settings can be optionally configured under [tool.project-forge]:
[tool.project-forge]
source = ["src"]
tests = ["tests"]
changelog = "CHANGELOG.md"
[tool.project-forge.git]
development_branch = "dev"
default_branch = "main"
[tool.project-forge.quality]
fast = ["ruff-check", "ruff-format", "mypy"]
full = ["ruff-check", "ruff-format", "mypy", "pyright", "pytest"]
[tool.project-forge.commits]
header_max_length = 72
[tool.project-forge.bump]
tag_prefix = "v"
files = ["pyproject.toml", "src/**/__init__.py"]
[tool.project-forge.docs]
require_module_docstrings = true
require_package_ownership = false
Development & Testing
# Sync environment
uv sync
# Run test suite
uv run pytest tests/ -v
# Run linters and typecheckers
uv run ruff check .
uv run ruff format --check src/ tests/
uv run mypy src
uv run pyright
License
GPL-3.0-or-later
Metadata
Release files for pforge-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pforge_cli-0.1.1.tar.gz | 34.1 kB | With provenance | Details for pforge_cli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pforge_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pforge_cli-0.1.1-py3-none-any.whl |
Total release size: 76.5 kB
Release files / pforge_cli-0.1.1.tar.gz
| Download URL | pforge_cli-0.1.1.tar.gz |
|---|---|
| Size | 34.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47ad472263cfd2ad9bd7f26ecdf083d887cc9ec4810933f9b702bd5ca79b5e66
|
|
BLAKE2b-256 checksum How to use checksums |
d65c6ee599affef6ca19cae760008b3420e8b440da5108a7992259f63688e4c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / pforge_cli-0.1.1-py3-none-any.whl
| Download URL | pforge_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 42.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9397228e80d67bc3e88b6d3562786920598b143459ad3614f642782d416b31b
|
|
BLAKE2b-256 checksum How to use checksums |
eed899cb8e0368f487e7563e97a85617b8ab6cdea78c96bf026f9815f94152dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for pforge-cli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pforge_cli-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.