From 557711933147cabb9c833fd74d93e45a559b0dcd Mon Sep 17 00:00:00 2001 From: Jamie Reid Date: Wed, 10 Jun 2026 13:34:58 -0600 Subject: [PATCH] fix(semgrep-rule-creator): correct 404ing semgrep-docs links (#179) * fix(semgrep-rule-creator): correct 404ing semgrep-docs links The semgrep-docs repo migrated these writing-rules pages from .md to .mdx, so the WebFetch links in SKILL.md were returning 404. Update the five affected links to their .mdx paths (pattern-syntax was already .mdx). All seven links now return HTTP 200. Co-Authored-By: Claude Opus 4.8 (1M context) * Bump version to 1.2.2 in plugin.json * Update semgrep-rule-creator version to 1.2.2 --------- Co-authored-by: Claude Opus 4.8 (1M context) Co-authored-by: ahpaleus <38883201+ahpaleus@users.noreply.github.com> --- .claude-plugin/marketplace.json | 2 +- .../semgrep-rule-creator/.claude-plugin/plugin.json | 2 +- .../skills/semgrep-rule-creator/SKILL.md | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 694304a..31207ed 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -168,7 +168,7 @@ }, { "name": "semgrep-rule-creator", - "version": "1.2.1", + "version": "1.2.2", "description": "Create custom Semgrep rules for detecting bug patterns and security vulnerabilities", "author": { "name": "Maciej Domanski" diff --git a/plugins/semgrep-rule-creator/.claude-plugin/plugin.json b/plugins/semgrep-rule-creator/.claude-plugin/plugin.json index 837a110..72bbabd 100644 --- a/plugins/semgrep-rule-creator/.claude-plugin/plugin.json +++ b/plugins/semgrep-rule-creator/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "semgrep-rule-creator", - "version": "1.2.1", + "version": "1.2.2", "description": "Create custom Semgrep rules for detecting bug patterns and security vulnerabilities", "author": { "name": "Maciej Domanski" diff --git a/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md b/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md index 4bf7952..c938b94 100644 --- a/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md +++ b/plugins/semgrep-rule-creator/skills/semgrep-rule-creator/SKILL.md @@ -156,10 +156,10 @@ Semgrep Rule Progress: **REQUIRED**: Before writing any rule, use WebFetch to read **all** of these 7 links with Semgrep documentation: -1. [Rule Syntax](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/rule-syntax.md) +1. [Rule Syntax](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/rule-syntax.mdx) 2. [Pattern Syntax](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/pattern-syntax.mdx) -3. [Testing Rules](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/testing-rules.md) -4. [Taint analysis](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/taint-mode/overview.md) -5. [Advanced techniques for taint analysis](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/taint-mode/advanced.md) -6. [Constant propagation](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/constant-propagation.md) +3. [Testing Rules](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/testing-rules.mdx) +4. [Taint analysis](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/taint-mode/overview.mdx) +5. [Advanced techniques for taint analysis](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/taint-mode/advanced.mdx) +6. [Constant propagation](https://raw.githubusercontent.com/semgrep/semgrep-docs/refs/heads/main/docs/writing-rules/data-flow/constant-propagation.mdx) 7. [Trail of Bits Testing Handbook - Semgrep chapter](https://raw.githubusercontent.com/trailofbits/testing-handbook/refs/heads/main/content/docs/static-analysis/semgrep/10-advanced.md)