qyndex

Codify Rule — Git skill for Claude Code

Git community

Codify a recurring anti-pattern into a semgrep rule.

How to install Codify Rule

Installs to ~/.claude/commands/qyndex-claude-init-codify-rule.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/qyndex/claude-init/HEAD/.claude/commands/codify-rule.md -o ~/.claude/commands/qyndex-claude-init-codify-rule.md

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

What Codify Rule does


description: Codify a recurring anti-pattern into a semgrep rule. Fires when an incident's recurred_at counter ≥ 2, or manually for any anti-pattern. Auto-drafts under .semgrep/learned/ and opens a PR. argument-hint: " [--dry-run]" allowed-tools: Read, Glob, Grep, Bash, Edit, Write disable-model-invocation: true

/codify-rule — turn recurring incidents into lint rules

Round 5 E2. The audit found incidents accumulate `recurred_at:` markers but never become enforcem

Alternatives in Git

  • OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
  • Auteur — The Claude Code skill that directs a website like a film 1k ★
  • Autofix PR — Auto-Fix PR 263 ★

Full documentation available on GitHub

View Source Repository