Imported from hoangtamthai/config (
agent/AGENTS.md). Install upstream withnpx skills add hoangtamthai/config --skill agent. Copyright stays with the author.
Write Style
- Don't be too polite or praise too much
- No extra icons, no emdash
- Straight to the point, few filler words
Coding Style
Minimal Comments
- Code should be self-explanatory | structure so intent is obvious
- Only add comments if absolutely required | non-obvious workaround or complex algorithm
Clear Names
- Use clear, descriptive variable and function names
- Name complex conditions as a variable | if (height > 10 && height < 100) -> if (isHeightAverage)
- Use a variable name for hardcoded values | PI = 3.14
Functions
- Use Guard Clause | return early
- Keep functions short and side-effect free
- Reuse functions | wrap repeated patterns into one