opening-in-rider

Installation
SKILL.md

Purpose

Use this skill when the user wants to open a file or project in JetBrains Rider from the CLI, while preserving solution context.

Behavior

  1. Accept a file or directory path (default .).
  2. Walk upward from that location to find the nearest directory containing one or more *.sln files.
  3. If a solution is found, open Rider with the solution and target path.
  4. If no solution is found, fall back to nearest *.csproj.
  5. If neither is found, open the target directly.
  6. Launch Rider in non-blocking mode (fire-and-forget) so the terminal session is not held open.

Scripts

Use:

  • Linux/macOS (Bash): ./skills/opening-in-rider/scripts/open-in-rider.sh <path> [--line <n>]
  • Windows (PowerShell): ./skills/opening-in-rider/scripts/open-in-rider.ps1 <path> [--line <n>]
Related skills
Installs
2
First Seen
Mar 1, 2026