# Dotnet Repo Discovery

> Discover the primary .sln, list projects, and emit a solution map with target frameworks and test flags. Use when this capability is needed.

- Skill: `tomevault-io/dotnet-repo-discovery` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/dotnet-repo-discovery`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/dotnet-repo-discovery/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Product & Planning
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/dotnet-repo-discovery

---


# dotnet-repo-discovery

Locate the primary solution file, enumerate projects, extract target frameworks and test flags, and generate a solution map artifact.

## Outputs
- `artifacts/codex/solution-map.json`
- `artifacts/codex/solution-map.md`

## Requirements
- `dotnet` CLI
- `rg` (ripgrep)
- `python3` (bash script only)
- PowerShell (`pwsh`) for Windows

## Run

Bash:
```bash
bash .codex/skills/dotnet-repo-discovery/scripts/discover-dotnet-repo.sh
```

PowerShell:
```powershell
pwsh -File .codex/skills/dotnet-repo-discovery/scripts/discover-dotnet-repo.ps1
```

The scripts prefer a solution in the repo root. If none exists, they pick the shortest path to a `.sln` file.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/bravellian) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

