claude/ai-resources-plugin/skills/cursor-rules-synchronizer/SKILL.md
Synchronizes Cursor Rules (.mdc files in .cursor/rules/) to CLAUDE.md by generating a Rules section with context-efficient descriptions and usage instructions. Use when setting up Cursor Rules for the first time, after adding or modifying rules, or when the Rules section in CLAUDE.md is missing or outdated.
npx skillsauth add amhuppert/my-ai-resources cursor-rules-synchronizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Synchronizes Cursor Rules to CLAUDE.md, creating a self-contained Rules section that enables Claude Code to discover and apply rules in future sessions.
Run this skill when:
Follow these steps to synchronize Cursor Rules to CLAUDE.md:
Use the helper command to get all Cursor Rule file paths:
ai skill cursor-rules-synchronizer list
This outputs one file path per line (e.g., .cursor/rules/meta/creating-rules.mdc).
Read each rule file using the Read tool to understand:
For each rule, generate a context-efficient description following the Description Writing Standards below.
Add or update the Rules section in CLAUDE.md with:
Rules Discovery Instructions (if not already present):
Rules Section:
When generating descriptions for CLAUDE.md, follow Claude Skill description best practices:
Format requirements:
Adaptation process:
Output (for CLAUDE.md): "This rule should be used when creating Mermaid diagrams for AI consumption in markdown or .mdc files. Provides standards for inline comments, self-contained diagrams, and embedded context to eliminate external documentation dependencies." </example>
<example type="invalid"> **Output:** "Use for diagrams."❌ Not third person, too vague, missing triggers, doesn't specify what rule provides. </example>
The Rules section should follow this structure:
## Project Rules
Review rule descriptions below to identify relevant rules for the current task. Read full rule files when determined to be relevant.
### [category]
- **[path-to-rule]**: [description]
- **[path-to-rule]**: [description]
ai skill cursor-rules-synchronizer list
Lists all Cursor Rule file paths in the project.
Output: One file path per line, suitable for reading with the Read tool.
CLAUDE.md is always loaded into context, so minimize token usage:
tools
Use when picking or vetting a keyboard shortcut on macOS. Triggers include "what hotkey should I use for X", "is `<combo>` available", "does this shortcut conflict", "recommend a keybinding for…", "check `<combo>` against my setup", "pick a hotkey for…", or any mention of choosing/binding/changing a shortcut in WezTerm, tmux, Zed, Chrome, Claude Code, or macOS. Determines whether a proposed combo collides with OS-reserved bindings, app defaults, or the user's customizations, and recommends ergonomic alternatives when needed.
development
Detect and remove dead code with knip. Use when the user asks to "run knip", "find unused files", "find unused exports", "find unused dependencies", "clean up dead code", "remove dead code", "set up knip", "configure knip", "knip.json", "knip false positive", "knip CI", or mentions a `knip` config, dependency bloat, bundle bloat from unused imports, or tree-shaking unused exports. Covers the configuration-first workflow, confidence-gated deletion, framework-specific gotchas (Next.js 15+, Tailwind, Storybook, Jest, Bun's test runner and `bun build --compile`), monorepos, CI integration, and performance tuning.
tools
This skill should be used when the user asks to "set up react-scan", "install react-scan", "diagnose React re-renders", "find unnecessary renders", "find unstable props", "automate React render checks with Playwright", "react-scan + playwright", "measure component renders programmatically", "check why a React component is slow", or mentions React rendering issues, slow React interactions, render counts, or component-level perf attribution. Covers install across Next.js/Vite/Remix/script-tag/browser-extension, the lite headless API for CI, and the canonical render-attribution → fix → validate loop driven through Playwright.
documentation
This skill should be used when integrating source material into a knowledge base, including when the user asks to "integrate this document into the knowledge base", "add this transcript to the memory bank", "ingest this document", "update the knowledge base", "analyze a new source document", or "sync current-state docs with this source".