sharkyger

Edit Skill — Development skill for Claude Code

Development community

Authorize the next Write/Edit to a skill file (skills/{name}/SKILL.md or .claude/skills/).

How to install Edit Skill

Installs to ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-skill/SKILL.md

Terminal
mkdir -p ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-skill && curl -fsSL https://raw.githubusercontent.com/sharkyger/claude-code-prompt-injection-gate/HEAD/commands/edit-skill.md -o ~/.claude/skills/sharkyger-claude-code-prompt-injection-gate-edit-skill/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Edit Skill does


description: "Authorize the next Write/Edit to a skill file (skills/{name}/SKILL.md or .claude/skills/*). Writes a single-use marker the injection-gate hook consumes on first matching write." argument-hint: "" allowed-tools: Bash(mkdir:*), Bash(shasum:*), Bash(touch:*), Bash(printf:*), Bash(cut:*), Bash(python3:*)

!NORM=$(python3 -c 'import sys,os; print(os.path.abspath(os.path.expanduser("".join(sys.argv[1].split()))))' "$ARGUMENTS") && mkdir -p /tmp/.claude-

Alternatives in Development

  • MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
  • Rules Slim — rules-size channel 報 CLAUDE.md 或 rules/common 超門檻後,使用者說「來瘦身」「處理超標」「跑 rules-slim」時,找出該砍哪幾段、產草稿逐段拍板、准的才寫回 42 ★
  • Save Session Log — Save a structured record of the current session — what was discussed, what was analyzed/built, where files wer 31 ★

Full documentation available on GitHub

View Source Repository