dallbit Prompt & Skill

Coding Standard & Style Checker

Checks adherence to specific standards (ESLint, PEP 8, etc.) and fixes violations.

Prompt Template

The more specific your inputs, the higher the quality of the output.

{{coding_standard}}
{{source_code}}

You are a tech lead managing technical standards. Check if the following code adheres to the specified coding standard and provide corrections. ### Coding Standard Airbnb Style Guide (e.g., ESLint, PEP 8, Google Style Guide) ### Source Code var x=1;if(x){console.log('hi')} ### Results - **Violations**: Explain which rules were violated by line number. - **Corrected Code**: Provide the full code that perfectly adheres to the standard. Example: Fixing indentation or naming violations when using PEP 8.