commit-pr

Audit code invariants and validate pull request format and content.

1|Updated May 17, 2026
One-click install
npx skills add https://github.com/djimit/djimitflo --skill commit-pr-djimit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-pr
Source: https://github.com/djimit/djimitflo/tree/main/.opencode/skills/commit-pr
Command: npx skills add https://github.com/djimit/djimitflo --skill commit-pr-djimit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, release-please, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines and enforces the commit and PR processes for engineering teams, ensuring best practices, invariants are not broken, and high-quality code contributions are maintained.

Core Features & Use Cases

  • Invariant Audit:强制性审核以防止关键代码不变量被破坏。
  • PR Validation:对拉取请求的格式、质量和工作流进行检查。
  • Best Practices:引导开发者遵循提交标题、变更日志条目、注释等格式。
  • Use Case:例如,在创建PR时自动检查代码规范,并在发现潜在问题时发出警告。

Quick Start

Activate the 'commit-pr' Skill during commit and PR processes.

Frequently Asked Questions about commit-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce coding conventions and invariant checks during pull request validation?

You can enforce coding conventions during pull request validation by running automated script validations that audit code invariants and check PR format adherence before merging. This prevents critical invariants from breaking and maintains high-quality contributions.

What is a code invariant audit and when do I need it for my commit protocol?

A code invariant audit is a mandatory review process that prevents critical code invariants from being broken during development. You need it for your commit protocol when enforcing strict engineering best practices and maintaining code stability across team contributions.

Does release-please work with automated PR validation scripts for version management?

Yes, release-please integrates with automated PR validation scripts to manage versioning. By combining invariant checks with release-please version management, engineering teams can ensure that only validated, convention-compliant code progresses through the release pipeline.

How do I automate commit message and changelog format checks for my engineering team?

You can automate commit message and changelog format checks by implementing Python script validations within your commit protocol. These scripts verify that commit titles, changelog entries, and comments adhere to predefined engineering best practices automatically.

Can I use Python scripts to validate PR format and run session start hygiene checks?

Yes, you can use Python scripts to validate PR format and execute session start hygiene checks. This validates pull request content and ensures the development environment meets required coding conventions before committing changes.