npx skills add ...
npx skills add openshift/lightspeed-service --skill safe-code-change
npx skills add openshift/lightspeed-service --skill safe-code-change
After a code change, find affected tests, update them to match new behavior, then run the full validation pipeline once. Use when the user has made or asked for a code change and wants to make sure nothing is broken.
After a code change is made, find and fix affected tests before running validation.
List the modified production files (ignore test files, configs, docs).
Search for imports of changed functions/classes across all test files:
For each affected test file, check whether the change breaks existing tests:
Apply minimal fixes to each affected test:
async/await and @pytest.mark.asyncio if sync changed to async.Report what was updated. The user can invoke validate-and-fix when ready.