---
title: Claude Code Tripwires
read_when:
  - "working on claude-code code"
---

<!-- AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY -->
<!-- Edit source frontmatter, then run 'erk docs sync' to regenerate. -->
<!-- Generated from claude-code/*.md frontmatter -->

# Claude Code Tripwires

Action-triggered rules for this category. Consult BEFORE taking any matching action.

**CRITICAL: Before creating Claude Code agent commands in .claude/commands/** → Read [Claude Code Agent Command Patterns](agent-commands.md) first. Filenames MUST match the command name for discoverability.

**CRITICAL: Before creating a skill with context: fork without explicit task instructions** → Read [Context Fork Feature for Skills](context-fork-feature.md) first. Skills with context: fork need actionable task prompts. Guidelines-only skills return empty output.
