Skip to content

Instantly share code, notes, and snippets.

@rlorenzo
Created January 26, 2026 17:13
Show Gist options
  • Select an option

  • Save rlorenzo/6748cc42f46ecd8800b857e3e5264e98 to your computer and use it in GitHub Desktop.

Select an option

Save rlorenzo/6748cc42f46ecd8800b857e3e5264e98 to your computer and use it in GitHub Desktop.
Claude: Code Refinement

Review the staged files to ensure the changes adhere to the KISS, DRY, and YAGNI principles. Confirm that Clean Code standards are met (including clear, consistent naming and comments where needed).

Run the linting on the changed files and fix all reported errors and warnings. Avoid using "ignore" or disabling linting rules (e.g., eslint-disable comments) to make the lint pass unless absolutely necessary, and only with a clear justification in the code.

Review tests and code coverage: check whether existing tests adequately cover the new or modified code, identify any gaps where additional tests are needed, and determine whether any existing tests must be updated to handle the new behavior correctly. When finished, ensure everything is ready for a high-quality code review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment