Commit Pr Contract
This skill automatically commits a pull request as a contract when specific criteria are met, streamlining agreement and ensuring timely action.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add commit-pr-contract npx -- -y @trustedskills/commit-pr-contract
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"commit-pr-contract": {
"command": "npx",
"args": [
"-y",
"@trustedskills/commit-pr-contract"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the process of creating and submitting pull requests (PRs) based on a contract. It can generate PR descriptions, populate templates, and ensure adherence to defined standards within your codebase. The tool streamlines development workflows by handling repetitive tasks associated with code contributions.
When to use it
- When contributing to open-source projects requiring specific PR formatting or content.
- For teams enforcing strict coding style guidelines and needing automated PR validation.
- To simplify the process of submitting changes when working on large, complex repositories.
- During internal development cycles where consistent pull request structure is desired.
Key capabilities
- Generates PR descriptions.
- Populates PR templates.
- Enforces adherence to coding standards within a codebase.
Example prompts
- "Create a pull request for the changes in this branch, using the standard template."
- "Generate a PR description based on these commit messages and the project's contribution guidelines."
- "Submit a pull request with a detailed explanation of the implemented feature."
Tips & gotchas
This skill requires access to your repository and may need appropriate permissions to create branches and submit pull requests. Ensure that the contract or template used by the skill is accurate and up-to-date for optimal results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.