Explore RegiLattice codebase architecture, data flow, dependencies, and design decisions. Use when asked to explain how the system works, trace a feature end-to-end, understand module structure, or find where specific logic lives. Triggers on: 'how does', 'where is', 'explain', 'architecture', 'data flow', 'TweakEngine', 'RegistrySession'.
Bump the version, update the changelog, tag, and publish a GitHub release for RegiLattice. Use when preparing a new release, updating version numbers, creating a CHANGELOG entry, or pushing a version tag to trigger the CI release workflow. Triggers on: 'bump version', 'release', 'publish', 'version', 'tag', 'changelog', 'MINOR bump', 'PATCH bump'.
Write, run, or improve xUnit tests for RegiLattice. Use when adding tests for a new feature, increasing coverage, debugging failing tests, or following testing conventions. Triggers on: 'write tests', 'add tests', 'test coverage', 'xUnit', 'failing test', 'test pattern', 'TweakDef test', 'TweakEngine test'.
Profile and diagnose performance issues in RegiLattice: slow searches, UI lag, TweakEngine bottlenecks, WinForms rendering delays, BenchmarkDotNet micro-benchmarks. Use when asked to profile, measure, or improve performance. Triggers on: 'slow', 'performance', 'profile', 'benchmark', 'lag', 'freeze', 'latency', 'too slow', 'optimize speed', 'BenchmarkDotNet'.
Auto-draft CHANGELOG entries and release notes from git commits. Use when preparing a new release, summarising what changed since last tag, drafting the CHANGELOG section, or generating GitHub Release body text. Triggers on: 'draft changelog', 'release notes', 'what changed', 'CHANGELOG entry', 'generate release notes', 'summarise commits'.
Add registry tweaks to RegiLattice. Use when creating new TweakDef entries, adding to a category module, generating unique IDs, choosing RegOp factories, or registering a new category. Triggers on: 'add tweak', 'new tweak', 'registry tweak', 'create tweak', 'TweakDef'.
Check, update, or add version detection for external tools used by RegiLattice (PowerShell, Python, winget, scoop, chocolatey, git, node). Use when verifying tool availability, adding a new tool to ToolVersionChecker, or debugging version detection failures. Triggers on: 'tool version', 'ToolVersionChecker', 'winget version', 'check tools', 'update tools'.
Diagnose and fix build errors, test failures, compile warnings, or runtime exceptions in RegiLattice. Use when there are CS errors, test failures, duplicate tweak IDs, nullable warnings, or unexpected runtime behaviour. Triggers on: 'error', 'fails', 'broken', 'exception', 'CS8', 'MSB', 'duplicate', 'not found', 'fix'.