Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 0 additions & 133 deletions .claude/roadmap.md

This file was deleted.

28 changes: 20 additions & 8 deletions .claude/skills/grid-runner/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,33 @@ dotnet ef migrations add <MigrationName> --project solution\GameLib.DAL\GameLib.

---

## 4. Building and Running `GameLib.App`
## 4. Building and Running `GameLib.App` (Path A vs Path B)

### Step 1: Build
From `solution\GameLib.App`:
```powershell
dotnet build -f net10.0-windows10.0.19041.0
```
> [!CAUTION]
> **AI Agent Background Execution Quirk**:
> Automated agent tools run in headless background shells. Windows security prevents background subprocesses from rendering GUI windows on the user's interactive monitor (`MainWindowHandle` remains `0`). Therefore, **agents must build the app, and the user must launch the executable**.

### Step 2: Run Executable
### Path A: User Manual Execution
Run directly in an interactive Windows PowerShell:
```powershell
cd solution\GameLib.App
dotnet build -f net10.0-windows10.0.19041.0
cd bin\Debug\net10.0-windows10.0.19041.0\win-x64
.\GameLib.App.exe
```

A native desktop window will open, pre-populated with starter seed data from `GameLib.DAL/Seeds/`.
### Path B: AI Agent Assisted (Recommended when pairing with an LLM)
1. **Agent compiles the app**:
```powershell
dotnet build solution\GameLib.App\GameLib.App.csproj -f net10.0-windows10.0.19041.0
```
2. **User launches the executable**:
The agent reports compilation status and asks the user to run:
```powershell
cd C:\Users\csont\Documents\GitHub\Grid\solution\GameLib.App\bin\Debug\net10.0-windows10.0.19041.0\win-x64; .\GameLib.App.exe
```
*(Or double-click `GameLib.App.exe` in File Explorer).*


---

Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ every push/PR to `main`. `GameLib.App` is excluded from CI since it requires MAU

_TODO: add usage instructions here._

## 🤖 AI Agent Workflows (Skills)

This repository includes custom agent skills that allow AI coding assistants (like Claude Code) to seamlessly build, run, and understand the project.

If you are pairing with an AI assistant in this repository, you can trigger these workflows directly in the chat using slash commands (e.g., `/grid-runner`):

- **`/grid-runner`**: Automatically handles building the app, running EF Core database migrations, running xUnit tests, and managing the local Windows workflow. *(Use this to quickly start up and run the app!)*
- **`/grid-architecture`**: Teaches the agent the exact 3-tier layer contracts, domain models, relationships, and Git workflow.

*(These skills are automatically discovered by the agent from the `.claude/skills/` directory).*

## License

Apache License 2.0 — see [LICENSE](LICENSE).
Loading