These instructions help Skyline developers configure their Windows workstation so LLM-assisted IDEs (Cursor, VS Code + Copilot/Claude, etc.) can build, test, and inspect Skyline autonomously. Perform these steps after cloning pwiz and completing the standard setup.
winget install Microsoft.PowerShell$PSVersionTable.PSVersionEdit .vscode/settings.json inside the pwiz workspace:
{
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.env.windows": {
"LANG": "en_US.UTF-8",
"LC_ALL": "en_US.UTF-8"
}
}
This ensures all terminals use UTF-8 output with PowerShell 7.
Needed for the build/inspection scripts used by LLMs:
dotnet tool install -g JetBrains.ReSharper.GlobalTools
The GitHub CLI enables AI agents to review PRs, fetch issue details, and check CI status directly from the IDE terminal.
Install:
winget install GitHub.cli --accept-source-agreements --accept-package-agreements
Authenticate: Open a separate PowerShell 7 window (outside VS Code/Cursor) and run:
gh auth login
Follow the interactive prompts:
Verify:
gh auth status gh pr view 3700 # Test with any open PR
Note: The gh auth login command requires an interactive terminal and will not work inside an AI agent's shell context.
Run once to ensure Windows-style line endings locally:
git config --global core.autocrlf true
ai/ docs
Needed for code coverage analysis (Run-Tests.ps1 -Coverage). This is optional but recommended for analyzing test coverage of new features.
Installation options:
libraries\jetbrains.dotcover.commandlinetools\{version}\tools\Run-Tests.ps1 script will automatically find it theredotnet tool install --global JetBrains.dotCover.CommandLineToolsInstalls to:
%USERPROFILE%\.dotnet\tools\dotCover.exe
Note: dotCover 2025.3.0.2 has a known bug with JSON export. If JSON export fails, use version 2025.1.7 or earlier.
See ai/docs/build-and-test-guide.md for details on using code coverage.
From pwiz_tools\Skyline run:
.\ai\Build-Skyline.ps1 -RunTests -QuickInspection .\ai\Run-Tests.ps1 -TestName CodeInspection
All commands should report [OK]. Resolve any [FAILED] messages before committing.
| Symptom | Cause | Fix |
|---|---|---|
gh not found | GitHub CLI not installed | winget install GitHub.cli |
gh auth login hangs | Running inside agent terminal | Run in separate PowerShell 7 window |
jb not found | ReSharper CLI missing | dotnet tool install -g JetBrains.ReSharper.GlobalTools |
| CRLF/LF diffs everywhere | core.autocrlf not set | git config --global core.autocrlf true |
The repository now includes a complete reference in ai/docs/developer-setup-guide.md. Review that document for rationale, troubleshooting tips, and optional productivity tools.
Last updated: 2025-12-05