SkillA skill gives Relay a specialist method it can reuse on your work.Operations and financeCommunity
Low riskSecurity review passed

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.

How it works

What git-guardrails-claude-code does

Use it when

User wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Inputs and results

What goes in, what comes back

  1. You give

    A short brief describing what you need

    Add a specialist method to the work.

  2. You get

    A finished result to review

    The method guides the work with your files and context.

  3. You check

    The sources and open questions

    Review the output against your brief.

Questions and answers

Questions about git-guardrails-claude-code

Updated Aug 27, 2026.

What does git-guardrails-claude-code do?

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

Who is git-guardrails-claude-code for?

It is designed for teams that want to hand off recurring work and review the result before it is used.

What do I need to use it?

Nothing extra is needed. Sign in to Relay to run it with your own files and context.

What does git-guardrails-claude-code produce?

A finished result to review. Results come back with their sources and any open questions for you to check before anything is used.

How much does git-guardrails-claude-code cost?

It is free to use. Paid model usage, if any, is shown before a run.

Can an AI agent use it?

Yes. Agents can read its public definition through the Relay API and run it with a person’s authorization. See the For Agents page for how to connect.

Details

Trust, access and technical details

Trust and access

Visibility
Public: anyone can view
Status
Published and maintained
Pricing
Free
Low riskSecurity review passedBehavior not evaluated
Reviewed version
cmtas2wim00ay…
Reviewed
Aug 27, 2026
Static signals
0 signals
Source provenance
Commit pinned

Security review is a static package assessment, not a guarantee of safety or a behavioral qualification.

Use it from code or an agent

Read the public definition, then check cost and inputs with a preflight before a run.

Open definition

POST /api/v1/runs/preflight

How agents connect to Relay →

Tags and source

Repo
mattpocock/skills
License
MIT

Connections

Where git-guardrails-claude-code fits

Similar skills5

Skill · Operations and finance

Annual Operating Budget

Build an annual operating plan and budget from drivers - revenue drivers, a headcount plan with fully loaded cost and start-month timing, non-headcount opex by department, COGS, monthly phasing, scenarios, and cash runway - and reconcile top-down targets with bottom-up department requests, with approval and reforecast cadence. Use when asked to build next year's budget or annual operating plan, create a headcount plan and cost model, phase a budget by month, reconcile department requests with company targets, model base, upside and downside scenarios, or check runway under the plan. Do not use for explaining actual-versus-budget variances (budget-variance-explainer), marketing channel allocation (plan-marketing-budget), a 13-week cash forecast (build-cash-forecast), or support team sizing (plan-support-staffing).Free
Skill · Operations and finance

Business Process Mapping

Map and improve a business process end to end. Scopes it with SIPOC (Suppliers, Inputs, Process, Outputs, Customers), draws the current-state swimlane map, measures cycle time against touch time, handoffs, rework loops, and wait states, classifies waste with the lean waste categories, finds root causes with 5 whys and a fishbone, designs the future state, assigns RACI for the redesigned steps, adds controls, and produces an implementation plan with metrics. Use when a process is slow, error-prone, full of handoffs or approvals, or nobody can say who owns a step; when asked for a process map, value stream map, swimlane, SIPOC, bottleneck analysis, or process improvement. Do not use for documenting a settled process as a procedure (sop-writer), building a metric hierarchy (kpi-tree), or post-incident analysis of a single failure (incident-postmortem).Free
Skill · Operations and finance

Career Ladder Design

Design a career ladder (leveling framework) for a job family. Sets individual contributor and manager tracks, the number of levels, and the dimensions that define them (scope, impact, complexity, autonomy, leadership and influence, craft), then writes observable level expectations that differ in kind between adjacent levels. Calibrates the draft against real anonymized examples, maps existing employees to levels, defines the promotion process and evidence standard, and links levels to salary bands. Use when asked to create or fix a career ladder, career framework, leveling guide, IC versus manager tracks, or promotion criteria, or when titles and levels are inconsistent across teams. Do not use for writing a single job description (job-description-writer), drafting an individual performance review (performance-review-draft), or pricing levels in pay ranges (design-comp-bands).Free
Skill · Operations and finance

Extract Meeting Outcomes

Extract a faithful meeting record from a transcript, recording, rough notes, or chat log: attendees and date, decisions, action items, unresolved questions, and source gaps. Use for meeting notes, decision logs, handoffs, or follow-up summaries. Do not use for meeting preparation, invented consensus, or silently assigning owners and due dates.Free
Skill · Operations and finance

Month-End Close

Run, document, and speed up a month-end close for a small-to-mid-size company: a business-day close calendar (BD-3 to BD+10) with owners, pre-close and cutoff procedures, the core checklist (cash and bank reconciliations, AR and AP subledger ties, revenue recognition review, accruals, prepaids, fixed assets, payroll, intercompany, deferred revenue roll-forward, inventory), journal entry review standards, balance-sheet reconciliations, flux analysis against user-set thresholds, sign-off and lock, and a faster-close plan. Use when asked to build a close checklist or calendar, reconcile accounts, review journal entries, run a flux review, or shorten the close. Do not use to explain one budget variance (budget-variance-explainer), for a 13-week cash forecast (build-cash-forecast), or for accounting-standard opinions.Free

Have a task this would help with?

Describe it. Relay plans the work, picks the right playbook and shows the cost before anything runs.

Loading request box