What problem does it solve?
Initializes and re-initializes Copilot and GitHub configuration by discovering project-specific values and replacing placeholder tokens, removing manual, error-prone edits across multiple config files.
Core Features & Use Cases
- Automated Discovery: Detects solution name, namespace root, DbContext class, test executable path, architecture type, and localhost ports from csproj files and launchSettings.json.
- Safe Token Replacement: Replaces token placeholders in designated .github and root config files with confirmation, preserves examples, and reports remaining unreplaced tokens.
- State Management & Re-init: Creates or updates .copilotrc.json, shows diffs on re-run, and only updates files when values change; ideal after importing templates, renaming projects, or auditing config state.
Quick Start
Run the init skill to auto-detect the solution structure and replace token placeholders in the repository's .github configuration files.