Skip to main content

Analyze, restructure, and harden vibe-coded projects for production. Architecture-level linting, secret detection, and code quality enforcement in one CLI.

Project description

Propre CLI

Propre is a post-vibe-coding cleanup and hardening CLI.

It analyzes AI-generated or rapidly prototyped codebases and prepares them for real-world use by detecting structural issues, unsafe patterns, and production blockers — then optionally fixing them.

From messy prototype → production-ready project.


Installation

pip install propre-cli

Quick Start

Analyze a project:

propre scan .

Auto-fix safe issues:

propre fix .

Check production readiness:

propre ship .

Generate a report:

propre report . -o report.md

Commands

Command Description
propre scan [path] Full analysis (no changes)
propre fix [path] Auto-fix safe issues
propre res [path] Project restructuring only
propre sec [path] Secret scanning only
propre ship [path] Production readiness checklist
propre report [path] -o file Export full report

Common Workflows

Before committing AI-generated code

propre scan .

Before opening a pull request

propre fix .
propre ship .

CI safety check

propre scan . --ci

Security audit

propre sec . --deep-scan

Global Flags

Flag Description
--dry-run Preview changes without applying
--verbose / -v Detailed output
--config propre.yml Custom rules
--fix Apply safe fixes outside fix command
--ignore <pattern> Exclude paths
--ci Exit non-zero if blockers found
`--format terminal md json sarif` Output format

Configuration

Create a propre.yml at your project root:

stack: auto

restructure:
    enabled: true
    confirm: true

secrets:
    deep_scan: false
    severity_threshold: medium

rules:
    dead_code: warn
    console_logs: error
    missing_types: warn
    hardcoded_config: error

ignore:
    - node_modules/
    - .git/
    - dist/

What Propre Detects

  • Dead code & unused files
  • Debug logs & leftover prints
  • Missing typing
  • Hardcoded configuration
  • Project structure issues
  • Secrets & credentials
  • Production blockers

CI Integration

Example GitHub Action step:

propre scan . --ci

The command exits with a non-zero code if blocking issues are found.


Philosophy

Modern coding workflows generate code faster than they validate it.

Propre acts as the final safety layer between experimentation and deployment:

  • AI coding assistants create
  • Developers iterate
  • Propre hardens

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

propre_cli-0.1.1.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

propre_cli-0.1.1-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file propre_cli-0.1.1.tar.gz.

File metadata

  • Download URL: propre_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.7

File hashes

Hashes for propre_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b54e01457dfa3b0d064cfedb7971cee41c53da0df8f31b1109542054f2def3cc
MD5 43505ca3353bdccdc2e5fcf1a43818dd
BLAKE2b-256 5c8522d085107a9060d57f6a0324c0595114de182abbcee64096dd931c308fa4

See more details on using hashes here.

File details

Details for the file propre_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: propre_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.7

File hashes

Hashes for propre_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a3a96ae6bbdb0f3d910960e690f7c7db7829d57f34130b79917304c8d0846aa
MD5 17231e28353f7e063ec8d0192249e77a
BLAKE2b-256 3626b88230969555604e21d92b2c7bdfa87c7b11879b1179f5aea2dcdea1b1b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page