755 B
755 B
description, globs
| description | globs |
|---|---|
| Code generation syntax restrictions to minimize output tokens | *.{ts,js,py,cs} |
Syntax Optimization
- No JSDoc/Docstrings: Do NOT write documentation, comments, JSDoc, or docstrings for generated functions unless explicitly asked.
- No logs or prints: Remove all
console.log,print(), or debugging statements from the final code output. - Use concise syntax:
- In JavaScript/TypeScript: Use arrow functions, optional chaining (
?.), nullish coalescing (??), and destructuring. - In Python: Use list comprehensions, dict comprehensions, and built-in functions.
- In JavaScript/TypeScript: Use arrow functions, optional chaining (
- Minimize imports: Do not output the
importstatements section if the required packages are standard and already exist in the file.