validate-code-changes
$
npx mdskill add vchelaru/Gum/validate-code-changesValidate branch changes by concurrently running QA and refactoring reviews before merging.
- Ensures code correctness and structural quality before merging feature branches.
- Utilizes Git commands and spawns specialized QA and refactoring subagents.
- Executes a multi-stage review process comparing current HEAD against the main branch.
- Delivers a consolidated report summarizing findings from both specialized agents.
SKILL.md
.github/skills/validate-code-changesView on GitHub ↗
--- name: validate-code-changes description: Validate all code changes on the current branch. Spawns QA and refactoring agents in parallel to review for correctness, edge cases, code quality, and pattern adherence. Use when ready to review branch changes before merging. disable-model-invocation: true --- Invoking product-manager agent for this task. You are coordinating a code validation review for the current branch. Your job is to spawn the **qa** and **refactoring-specialist** agents in parallel to validate all changes on this branch. ## Steps 1. **Identify changes**: Run `git diff main...HEAD --stat` to see which files changed, then `git diff main...HEAD` for the full diff. Also run `git log main..HEAD --oneline` to see the commit history. 2. **Spawn agents in parallel**: Launch both agents using the Task tool concurrently: - **qa agent** (`subagent_type: qa`): Review all changes on this branch for correctness, edge cases, regressions, and potential bugs. Look at the git diff against main to understand what changed and validate the implementation. - **refactoring-specialist agent** (`subagent_type: refactoring-specialist`): Review all changes on this branch for code quality, structure, naming, duplication, and adherence to project patterns. Look at the git diff against main to understand what changed and suggest improvements. 3. **Summarize findings**: After both agents complete, compile a consolidated report with: - **QA findings**: Bugs, edge cases, risks (high/medium/low) - **Refactoring findings**: Code smells, structural improvements, pattern violations - **Recommended actions**: Prioritized list of changes to make before merging ## Context for this request $ARGUMENTS
More from vchelaru/Gum
- bump-nuget-versionBump the NuGet package versions for all 12 Gum projects (11 libraries + GumCli). Queries NuGet to check if a version exists for today, then sets the new version to YYYY.M.D.V where V increments from the latest published version today (or starts at 1). Creates a release branch named ReleaseCode_YYYY_M_D_V, commits the changes, and pushes. Run this before triggering the nuget release workflow.
- gum-cliReference guide for GumCli — the headless command-line tool for Gum projects. Load this when working on gumcli commands (new, check, codegen, codegen-init), Gum.ProjectServices, HeadlessErrorChecker, ProjectLoader, HeadlessCodeGenerationService, CodeGenerationAutoSetupService, or the FormsTemplateCreator.
- gum-docs-writingReference guide for writing Gum documentation in GitBook markdown. Load when writing or editing docs/ files, adding pages to SUMMARY.md, using GitBook hints/figures, linking between pages, or adding images.
- gum-forms-behaviorsCovers Gum's behaviors system and the design-time → runtime Forms wrapping lifecycle. Load this when working on BehaviorSave, ElementBehaviorReference, StandardFormsBehaviorNames, FormsUtilities.RegisterFromFileFormRuntimeDefaults, DefaultFromFileXxxRuntime classes, or when investigating why Forms properties cannot be set at design time in the Gum tool.
- gum-forms-controlsReference guide for Forms controls — classes inheriting from FrameworkElement. Load this when working on Button, CheckBox, ListBox, ComboBox, TextBox, ScrollViewer, or any class in Gum.Forms.Controls (or FlatRedBall.Forms.Controls). Also load when working on FrameworkElement itself, the Visual/InteractiveGue relationship, state machines, DefaultVisuals, or ReactToVisualChanged.
- gum-forms-default-visualsReference guide for Forms DefaultVisuals — the code-only visual classes that back Forms controls. Load when working on ButtonVisual, any *Visual class in DefaultVisuals/, Styling, DefaultFormsTemplates registration, or building custom code-only Forms visuals.
- gum-forms-itemscontrolReference guide for ItemsControl and ListBox — the Items/ListBoxItems relationship, templates, InnerPanel sync, and gotchas. Load this when working on ItemsControl, ListBox, ListBoxItem, VisualTemplate, FrameworkElementTemplate, Items collection behavior, ListBoxItems desync, or adding/removing items from a list box.
- gum-layout>
- gum-layout-engine>
- gum-localizationReference guide for Gum's runtime localization system — ILocalizationService, CSV/RESX loading, Text vs TextNoTranslate paths, Forms control localization patterns, and gotchas.