Skip to main content

Repo health check + one-command professional open-source kit.

Project description

repo-kit

repo-kit is a tiny CLI that does two things:

  1. scan a repository and output a Repo Score (0-100) with actionable checks
  2. apply a "professional open-source kit" (README skeleton, License, contributing docs, GitHub templates, CI, Release, Changelog)
  3. badge to generate and embed a local score badge SVG + common GitHub badges

Goal: make repos look and feel professional in one command — without nuking existing files.


Install

pipx install repo-kit
# or
pip install repo-kit

Quickstart

# scan a local repo
repo-kit scan .

# scan a GitHub repo (clones to a temp dir)
repo-kit scan https://github.com/OWNER/REPO

# apply templates (safe by default: won't overwrite existing files)
repo-kit apply --stack python

# generate/update badges
repo-kit badge

Commands

repo-kit scan <path-or-github-url>

  • prints a score and checklist
  • can emit JSON for CI usage
repo-kit scan . --format json > repo-kit-report.json

repo-kit apply

Generates missing files and directories.

repo-kit apply --stack node
repo-kit apply --stack python --force   # overwrite existing files

repo-kit badge

  • creates ./.github/repo-score.svg
  • inserts badges into README (best-effort)
repo-kit badge --no-shields

Repo Score checks (v0.1)

  • README presence + basic sections
  • LICENSE
  • CONTRIBUTING
  • CODE_OF_CONDUCT
  • Issue templates + PR template
  • CI workflow
  • Release workflow
  • CHANGELOG
  • Security policy stub

GitHub Action (example)

Put this in .github/workflows/repo-kit.yml:

name: repo-kit
on:
  pull_request:
  workflow_dispatch:

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.11'
      - run: pip install repo-kit
      - run: repo-kit scan . --format json > repo-kit-report.json
      - uses: actions/upload-artifact@v4
        with:
          name: repo-kit-report
          path: repo-kit-report.json

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

repo_kit-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

repo_kit-0.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file repo_kit-0.1.0.tar.gz.

File metadata

  • Download URL: repo_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for repo_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6bbc263ff0e87e65929b4174169923e416e3da6138016ce5624698e1c7fab36c
MD5 79c0fe8b04be6ed85f2fe806ffaed117
BLAKE2b-256 cac1d4c649ee2ca62a64dfae7721966c63661ad764d3ee95a3ab87d29a0589e8

See more details on using hashes here.

File details

Details for the file repo_kit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: repo_kit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for repo_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45a359abd5fa8d4b93f1bbf35e4bf7beb021839a7f6bb9c5a94bfe9fca59443f
MD5 93494c080f1ad18afafde20ddd467ae8
BLAKE2b-256 2d31735f4cfefad8bb18d15afe35ec6a7f58d8b60bb0fe37ec4486fc580d9aeb

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