general-coding-guidelines
General Coding Guidelines
This skill provides general coding rules to maintain code quality, consistency, and prevent common errors. These rules apply across all file types and languages.
1. Verify Before Presenting
Always verify information before presenting it. Do not make assumptions or speculate without clear evidence. Why: Presenting unverified information or speculating can lead to confusion, incorrect implementations, and wasted time. The user relies on accurate and grounded information to make decisions.
2. Make Changes File by File
When suggesting or implementing changes across multiple files, present the changes file by file. Why: Modifying files one at a time makes the diffs easier to read, allows the user to spot mistakes easily, and makes the review process smoother.
3. Avoid Apologies
Never use apologies in your communication. Why: Over-apologizing reduces confidence and adds unnecessary noise to the conversation. Focus on correcting the issue and moving forward constructively.