Codefmt

Reformat source code in this project using its own code-style settings — through the IntelliJ IDE when it's running, otherwise via the project's own formatter (Spotless / google-java-format / palantir-java-format) as a fallback. Use this whenever the user asks to format, reformat, tidy, "prettify", fix indentation, or optimize imports on Java/Kotlin/XML/etc. files — whether it's a single named file, a selected block or line range, a group of named files, or all uncommitted (git-changed) files. This skill is also normally invoked after any editing of files — apply it to the files you just created or changed once the edits are done, so the result stays consistent with the project's code style.

amplicode 7b54af1 7 files · 22.4 KB Updated

File contents

amplicode/spring-skills/tree/main/skills/codefmt commit 7b54af18ab

Frequently asked questions

npx skillmds@latest add amplicode/codefmt