Skip to content

ryan75195/dotnet-code-rag

Repository files navigation

CodeRag

Console CLI solution scaffolded from the dotnet-agent-harness cli template.

First-time setup

After scaffolding (dotnet new cli -n CodeRag), run once:

.\setup.ps1

This initializes a git repo, activates .githooks/ for the project lifecycle, and creates the initial commit.

Build and test

dotnet restore
dotnet build
dotnet test

Development lifecycle

See CLAUDE.md for the full lifecycle (issue → branch → commit → PR).

Quick summary:

  1. gh issue create --title "..." (every change starts with an issue)
  2. git checkout -b feat/<issue-num>-<slug> (reference-transaction hook verifies the issue exists)
  3. Edit + commit (pre-commit hook runs build, format, tests)
  4. gh pr create and squash-merge

Direct commits to main are blocked. Edits to already-merged branches are blocked.

About

Local-first .NET codebase RAG: Roslyn symbol indexing, SQLite vector search, CLI queries, and MCP tools for AI coding agents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors