Amazon CodeWhisperer
About Amazon CodeWhisperer
An AI-powered code suggestion tool by Amazon for improving developer productivity.
Key Capabilities & Features
Top Prompts for Amazon CodeWhisperer & AI for Coding and Development
Curated, tested prompt formulas to maximize output quality and automate results. Click copy to use directly in Amazon CodeWhisperer.
Refactor the following code to reduce its time complexity from O(n^2) to O(n) while improving readability: [Insert Code]
Write comprehensive edge-case unit tests (including null, boundary, and concurrency scenarios) for this function: [Insert Code]
Analyze this slow SQL query and recommend composite indexes to eliminate full table scans: [Insert Query]
Audit this endpoint handler for OWASP Top 10 vulnerabilities (SQLi, XSS, CSRF, IDOR) and rewrite securely: [Insert Code]