This guide describes how to use the automation tools (dp, glnt, pr, and rl) together to manage repository health, enforce commit formatting, generate pull requests, and automate version releases.
To configure Dependabot, Commitlint, local commit hooks, and CI workflows in a single step, run this in the root of the Git repository:
-
Configure Dependabot:
dp init
- What it does: Generates a low-noise
.github/dependabot.yml(daily checks, max 3 PRs).
- What it does: Generates a low-noise
-
Configure Commit Linting:
glnt init
- What it does: Generates
.gitlintrules, sets up the local.git/hooks/commit-msgpython validator, and adds the.github/workflows/commit-lint.ymlGitHub Actions pipeline.
- What it does: Generates
With the tools initialized, follow this loop:
Make changes and commit them. The commit-msg hook runs automatically:
git add .
git commit -m "feat(ui): add new interactive dashboard"- If the commit message is invalid (e.g.
fixed bug), the commit is rejected with a clear explanation of Conventional Commits requirements.
Once you push your branch and open a PR, run:
pr- With custom model:
pr -m 1.5b - What it does: Analyzes diffs/commits, generates PR Title, detailed Markdown Body (with LLM Summary & Risk Analysis), and applies tags (
type:*,area:*).
When features in develop are ready, orchestrate the entire release (version bumping + changelog compilation + tagging + GitHub release) in a single atomic action:
rl 0.3.0- Dry-run first:
rl 0.3.0 --dry-run(prints what files would change and prints compiled release notes without committing or tagging). - What it does:
- Bumps/sets version to
0.3.0across all repository configs (pyproject.toml, etc.) and code source files. - Compiles release notes from merged PRs since the last release.
- Updates
CHANGELOG.md. - Commits
CHANGELOG.mdand version changes withchore(release): release v0.3.0. - Pushes the release commit to GitHub.
- Tags the release
v0.3.0and pushes the tag. - Creates the official GitHub Release.
- Bumps/sets version to