Bug Identification in Code

By Chi Thanh Dang (tcdtist) (profile) · From tcdtist ai-prompts · License: MIT · Added October 28, 2026

Identify the bug in the following code [Post Code Below]. Provide a detailed explanation of the bug, how it impacts the code, and suggest a possible fix.

Fill in anything in [brackets] or {braces} with your own details first.

This is my prompt

Wrote this prompt? Tell me, and I will put your name on it. I check every claim by hand.

Report or remove
What is wrong?

More Everything else prompts

Everything else

Server-Side Rendering with Next.js

Show how to implement server-side rendering for a React application using Next.js.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

Everything else

UX Design Tip

Provide a UX design tip that can be shared on LinkedIn.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

Everything else

SQL Code for Elon Musk's Tweets

Assume the table names and generate an SQL code snippet to find out Elon Musk's tweets from 2019.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

Everything else

Regex Explanation

Explain the functionality of the following regex: rege(x(es)?

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

Everything else

Function Docstring Creation

Write a docstring for the following function [Paste Function Below].

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

Everything else

Website Structure for Small Business

Propose a structure for a website for a small business [Business Description] using WordPress.

You need: any AI chat (ChatGPT, Claude or Grok Bot)

By Chi Thanh Dang (tcdtist)

All Everything else promptsAll prompts

Want a prompt for your own work? Ask for one. Every prompt here is free.

Want this built for you? Get it built.