code-yeongyu

Remind Cursor Rules — Development skill for Claude Code

Development community

Claude Code hook that injects Cursor rules for contextual coding assistance.

How to install Remind Cursor Rules

This entry records only its repository, not the path inside it, so there is no exact command to give. Open code-yeongyu/remind-cursor-rules and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Remind Cursor Rules does

Claude Code hook that injects Cursor rules for contextual coding assistance.

Alternatives in Development

  • Agent Rules — Rules and Knowledge to work better with agents such as Claude Code or Cursor 5.7k ★
  • Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
  • Ruler — Ruler — apply the same rules to all coding agents 2.9k ★

README

remind-cursor-rules

[![Go Report Card](https://goreportcard.com/badge/github.com/code-yeongyu/remind-cursor-rules)](https://goreportcard.com/report/github.com/code-yeongyu/remind-cursor-rules) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A Claude Code post-tool-use hook that automatically injects contextual coding rules. It bridges the gap between Cursor's `.cursorrules` and Claude Code, ensuring project-specific standards are applied dynamically based on the files being accessed.

Overview

`remind-cursor-rules` operates as a hook within the Claude Code environment. When Claude uses tools to read, write, or edit files, this utility activates to scan for relevant rule files. It matches these rules against the current context using glob patterns and injects them into the session, ensuring consistency and adherence to project standards without manual prompting.

Features

  • Automatic Context Injection: Triggers on file operations to provide relevant context immediately.
  • Dual Format Support: Supports both Cursor rules (.cursor/rules/*.mdc) and Modular Prompts (.claude/modular-prompts/*.md).
  • Flexible Matching: Uses YAML frontmatter to apply rules globally (alwaysApply: true) or based on specific file patterns (globs).
  • Pure Go: Lightweight, fast execution with no CGO dependencies.
  • Zero Config Integration: Designed to work seamlessly with standard Claude Code hook configurations.

Installation

Homebrew (macOS)

brew tap code-yeongyu/tap
brew install remind-cursor-rules

Go Install

go install github.com/code-yeongyu/remind-cursor-rules/cmd/remind-cursor-rules@latest

Manual Installation

Download the latest binary for your platform from the [GitHub Releases](https://github.com/code-yeongyu/remind-cursor-rules/releases) page.

Configuration

To enable the hook, add the following configuration to your Claude Code settings fi