870 B
870 B
name, description
| name | description |
|---|---|
| code-style-review | Run the configured formatter and static checks for a scoped code change. Use after editing code or before a review; discover project commands rather than assuming a stack. |
code-style-review
Inputs
Changed files and the repository root.
Workflow
- Inspect package/build configuration for the project’s documented lint, format, and style commands.
- Run the narrowest relevant check first. Apply formatting only to the requested files unless the user asks for a wider change.
- Review the diff for accidental rewrites, then rerun the same checks.
Rules
- Do not invent directories or install tools without approval.
- Report unavailable checks as not run, not passed.
- Treat unused-code removal as a separate semantic change.
Output
List each command, result, changed files, and any remaining failure.