---
title: "Create Semgrep Rule"
description: "**Arguments:** $ARGUMENTS"
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/semgrep-rule
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:46:38.647Z
license: CC-BY-4.0
attribution: "Create Semgrep Rule — Claudary (https://claudary.paisolsolutions.com/skills/semgrep-rule)"
---

# Create Semgrep Rule
**Arguments:** $ARGUMENTS

## Overview

---
name: trailofbits:semgrep-rule
description: Creates Semgrep rules with test-first methodology
argument-hint: "(uses conversation context for detection pattern)"
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
  - WebFetch
---

# Create Semgrep Rule

**Arguments:** $ARGUMENTS

This command is context-driven. Use conversation context to understand:
1. The vulnerability or pattern to detect
2. The target language
3. Whether taint mode is appropriate

If context is unclear, ask for a description of the pattern to detect.

Invoke the `semgrep-rule-creator` skill for the full workflow.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/semgrep-rule) · https://claudary.paisolsolutions.com
