Skip to content

Repository files navigation

DevForge

11 developer CLI tools that catch problems before production. Open source, MIT licensed.

Tools

ToolWhat It Does
API Contract GuardianCatch breaking OpenAPI changes in CI
json2sqlConvert JSON to SQL INSERT statements
DeployDiffPreview infrastructure costs before deploy
ConfigDriftDetect config drift across environments
APIGhostMock API server from OpenAPI specs
EnvaultSync and rotate .env files
SchemaForgeBidirectional ORM schema conversion (11 formats)
click-to-mcpWrap any Click/Typer CLI as MCP server
DeadCodeFind and remove dead code in React/Next.js
DataMorphConvert between CSV, JSON, YAML, Parquet, Avro, Protobuf
DevForgeUnified CLI — install all tools at once

Install

pip install devforge

Reusable Workflows

This repository provides reusable GitHub Actions workflows for use across the DevForge organization.

Python CI

Standard reusable CI for Python repositories. Runs linting (ruff), tests (pytest via hatch) across a configurable Python version matrix, and validates the build.

name: Python CIon:
push:
branches: [main]pull_request:
branches: [main]jobs:
test:
uses: Coding-Dev-Tools/.github/.github/workflows/python-ci.yml@main

Supported inputs:

InputDefaultDescription
python-versions["3.10","3.11","3.12","3.13"]JSON array of Python versions
runner-os["ubuntu-latest"]JSON array of runner OS targets
run-linttrueRun ruff linting
lint-pathsrcPath(s) to lint (space-separated)
run-buildtrueRun hatch build check
test-command(auto)Custom test command override
extra-deps(empty)Extra pip install deps

Dependency Review

Scans PR dependency changes for known vulnerabilities before merging.

name: Dependency Reviewon:
pull_request:
branches: [main]jobs:
dependency-review:
uses: Coding-Dev-Tools/.github/.github/workflows/dependency-review.yml@mainpermissions:
contents: readpull-requests: write

Supported inputs:

InputDefaultDescription
fail-on-severityhighSeverity threshold: low, medium, high, critical
allow-licenses(empty)Comma-separated allowed licenses
deny-licenses(empty)Comma-separated denied licenses
fail-on-scopesruntime,unknownScopes to fail on: runtime, development, unknown

Auto Code Review

Automated code review for pull requests — runs lint, format, secret detection, TODO markers, and large-file checks, then posts a summary PR comment with a pass/warn/fail verdict.

name: Auto Code Reviewon:
pull_request:
branches: [main]types: [opened, synchronize, reopened]jobs:
code-review:
uses: Coding-Dev-Tools/.github/.github/workflows/auto-code-review.yml@mainpermissions:
contents: readpull-requests: writesecurity-events: write

Supported inputs:

InputDefaultDescription
python-version'3.12'Python version for lint tools
ruff-targets'.'Paths ruff should scan (space-separated)
detect-secretstrueRun detect-secrets credential scan
check-todosfalseWarn on leftover TODO/FIXME/HACK markers
max-file-size500Max allowed file size in KB (0 = skip)
post-commenttruePost review summary as a PR comment

Checks performed:

CheckToolSeverity
LintRuffWarning
FormatRuffWarning
Secret detectiondetect-secretsFail
TODO/FIXME/HACKgrepWarning
Large filesfindWarning

Setup note: The workflow file lives in templates/workflows/auto-code-review.yml in this repo. To activate it, copy or symlink it to .github/workflows/auto-code-review.yml. This is required because GitHub only recognizes workflow files under .github/workflows/.

Code Review (Composite Action)

Lightweight code review using the actions/code-review composite action — runs ruff lint, bandit security scan, mypy type-check, and pytest. Posts a pass/fail PR comment.

name: Code Reviewon:
pull_request:
types: [opened, synchronize, reopened]jobs:
review:
uses: Coding-Dev-Tools/.github/.github/workflows/code-review.yml@mainwith:
python-version: '3.12'run-ruff: truerun-bandit: truerun-type-check: falserun-pytest: truesource-dir: srcfail-on-security: truepermissions:
contents: readpull-requests: writechecks: write

Supported inputs:

InputDefaultDescription
python-version'3.12'Python version for review tools
run-rufftrueRun ruff lint check
run-bandittrueRun bandit security scan
run-type-checkfalseRun mypy type checking
run-pytesttrueRun pytest suite
source-dirsrcSource directory to lint/scan
fail-on-securitytrueFail on high-severity security issues
post-commenttruePost review summary as a PR comment

Checks performed:

CheckToolSeverity
LintRuffWarning
SecurityBanditFail
TypesMypyWarning
TestsPytestFail

Setup note: The workflow file lives in templates/workflows/code-review.yml in this repo. To activate it, copy or symlink it to .github/workflows/code-review.yml. This is required because GitHub only recognizes workflow files under .github/workflows/.

Links

About

DevForge — 11 developer CLI tools for API contracts, SQL, infrastructure, config drift, and more. Open source, MIT licensed.

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages