$npx -y skills add mgechev/skillgrade --skill superlintThis skill describes the mandatory standard operating procedure for using our internal SuperLint tool. Use this when tasks require fixing code quality issues according to corporate standards.
| 1 | # SuperLint Proprietary Workflow |
| 2 | |
| 3 | This skill describes the mandatory standard operating procedure for using our internal **SuperLint** tool. Use this when tasks require fixing code quality issues according to corporate standards. |
| 4 | |
| 5 | ## 1. Description |
| 6 | SuperLint is a multi-stage validation tool. Standard ESLint or Prettier commands will NOT work. |
| 7 | |
| 8 | ## 2. Mandatory Workflow |
| 9 | |
| 10 | To fix a file using SuperLint, you MUST follow these steps in order: |
| 11 | |
| 12 | 1. **Check**: Run `superlint check` to generate a report. |
| 13 | 2. **Fix**: Run `superlint fix --target <filename>` to apply automated corrections. |
| 14 | 3. **Verify**: Run `superlint verify` to finalize the changes and generate the `.superlint-passed` metadata file. |
| 15 | |
| 16 | > [!IMPORTANT] |
| 17 | > The verifier will fail if `.superlint-passed` is missing, even if the code looks correct. |
| 18 | |
| 19 | ## 3. Examples |
| 20 | |
| 21 | ```bash |
| 22 | # Correct usage for app.js |
| 23 | superlint check |
| 24 | superlint fix --target app.js |
| 25 | superlint verify |
| 26 | ``` |