no-direct-main

Community

Enforce PRs for all code changes.

Authorjimmymalhan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents direct commits to the main branch, ensuring all code changes, whether for operational tasks or product features, undergo peer review via Pull Requests (PRs).

Core Features & Use Cases

  • Mandatory PRs: Enforces a strict policy where no code bypasses the PR process.
  • Peer Review: Requires consensus from peers (agents, reviewers, stakeholders) before merging.
  • Use Case: A developer needs to update a CI script. Instead of committing directly to main, they create a feature branch, push their changes, and open a PR, which is then reviewed and approved before merging.

Quick Start

Ensure all new code contributions are submitted through a pull request for review.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: no-direct-main
Download link: https://github.com/jimmymalhan/codereview-pilot/archive/main.zip#no-direct-main

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.