linktrend/ide-development/git-safeguard

Claude Code and agent skill by linktrend/ide-development

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Applies a mandatory safety checklist before git push operations to prevent accidental or unsafe repository publication.

Install

npx vskill@latest install linktrend/ide-development/git-safeguard

SKILL.md

The same SKILL.md was published earlier as linktrend/ide-development/git-safeguard.

git-safeguard

Profile: `simple`. This is a single-pass, stateless safety gate. It carries no task
ledger, no {{task_id}} state machine, and no resumable multi-phase workflow — it runs a
mandatory checklist once per push and returns a decision. Telemetry (the Phase 5 ledger
append) is still mandatory.

Preconditions (Fail-Fast)

  1. Intelligence floor check: confirm the active runtime satisfies frontmatter.engine.
  2. Tooling policy check: plan must follow the CLI-first protocol below.
  3. Confirm a concrete push target (branch + remote) is provided; otherwise stop and request it.

Safety Checklist (Mandatory Before git push)

  1. Run git status and verify intended branch/files only.
  2. Run git diff --cached and review exact staged content.
  3. Confirm no prohibited artifacts or secrets are staged.
  4. Confirm branch naming policy and remote target.
  5. Only then permit git push. Block the push on any unresolved checklist item and report the exact remediation.

Tooling Protocol (CLI-First)

  1. Level 1 - Native CLI: native cli commands (git status, git diff --cached) are primary.
  2. Level 2 - CLI Wrapper Scripts: a cli wrapper under scripts/ may automate checklist execution.
  3. Level 3 - Direct API: direct api is exception-only.
  4. Level 4 - MCP: mcp applies only to persistent session operations.
  • When the skill is Generalist or has >10 tools, call get_tool_details and cache capability summaries before use.

Ledger (Telemetry — mandatory)

On completion, append { "timestamp", "skill", "task_id", "status", "summary" } to the root execution_ledger.jsonl. Telemetry is required for every skill regardless of profile. task_id here is a lightweight ledger correlation id, not a resumable state handle.

Contracts

DirectionSchema ReferencePurpose
Input./references/schemas.json#/definitions/inputPre-flight validation of push target.
Output./references/schemas.json#/definitions/outputPush-readiness decision integrity check.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/linktrend/ide-development/git-safeguard/badge)](https://verified-skill.com/skills/linktrend/ide-development/git-safeguard)

Something wrong with this skill or its page? Tell us.