Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By nityeshaga
Protects against accidental git pushes to the main or master branch, particularly when Claude Code operates in bypassPermissions mode.
npx claudepluginhub nityeshaga/claude-code-essentials --plugin safe-pushA marketplace of essential Claude Code plugins for developers.
/plugin to open the plugin managernityeshaga/claude-code-essentialsThen install plugins from the Discover tab.
Personalized coding tutorials that use your actual codebase for examples with spaced repetition quizzes.
Features:
Usage:
Commands:
/teach-me - Learn something new/quiz-me - Test your retention with spaced repetitionStorage: All tutorials and learning data are stored securely in the cloud, synced automatically across all your devices and Claude platforms. Your data is tied to your account and accessible wherever you use Claude.
Essential Claude Code commands, agents, hooks, and skills for everyday development workflows.
Commands (12):
/cc, /cleanup, /compound, /create-developer-doc, /create-pitch, /depcheck, /gem-upgrade, /logically-commit, /pinpoint, /review, /study, /tidy-commits
Agents (1):
dhh-reviewer - DHH-style code reviewerHooks:
block-main-push - Prevents accidental git pushes to main branchSkills (6):
ai-tool-designer - Designing tools for AI agentsdhh-rails-expert - DHH-style Rails development guidancekamal-deploy - Expert Kamal deployment for containerized appsmcp-builder - MCP server development guideprompt-engineer - Prompt engineering for AI systemsskill-creator - Guide for creating Claude skillsPrevents accidental pushes to main branch in Claude Code bypassPermissions mode.
Important: Install at the user level (~/.claude/settings.json) to protect all repositories.
The vulnerability: If Repo A has basics installed at project level but Repo B has no plugin, Claude running in Repo B can push to Repo A's main branch via git -C /path/to/RepoA push origin main. Project-level hooks don't help - protection depends on where Claude runs, not the target repo.
Hooks:
block-main-push - Blocks git pushes to main branch (PreToolUse on Bash)See safe-push README for installation instructions and technical details.
Want to add a plugin to this marketplace? Open a PR!
MIT
Executes bash commands
Hook triggers when Bash tool is used
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Essential Claude Code commands, agents, hooks, and skills for everyday development workflows
Git safety hooks for Claude Code. Blocks force-push, protects main/master branch, prevents hard-reset, guards interactive rebase, and blocks git clean -fd.
Production safety hooks for autonomous Claude Code operation. Context monitoring, syntax checking, branch protection, activity logging, and more.
Git workflow and branching best practices
Claude Code hooks for enforcing best practices and workflow automation
Commit, push, create PR with confirmation at every step. Blocks secrets and force-push.
Personalized coding tutorials that use your actual codebase for examples with spaced repetition quizzes
Essential Claude Code commands, agents, hooks, and skills for everyday development workflows
Other AI models for tasks they excel at — Gemini image generation and Gemini thinking.
Creative direction and pixel-perfect UI implementation — websites, apps, products, brands, dashboards, tools. Acts as a creative director who thinks through purpose, story, and feeling before any implementation, and as a precision UI engineer who builds designs with zero visual deviation.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim