Skip to content

Instantly share code, notes, and snippets.

@ajtatey
Created April 14, 2025 02:19
Show Gist options
  • Select an option

  • Save ajtatey/5a500d536a6ab5b01c80feec4762cf89 to your computer and use it in GitHub Desktop.

Select an option

Save ajtatey/5a500d536a6ab5b01c80feec4762cf89 to your computer and use it in GitHub Desktop.
{
"overallQuality": 3,
"issues": [
{
"type": "Clarity of instructions",
"severity": "Medium",
"description": "The prompt lacks specific details on what user information should be displayed and what nice features are expected.",
"recommendation": "Specify the user information fields to be displayed and provide examples of nice features."
},
{
"type": "Missing constraints or format specifications",
"severity": "Low",
"description": "There are no constraints or format specifications mentioned for the React component.",
"recommendation": "Include constraints such as responsiveness, data fetching method, and design guidelines."
}
],
"improvedVersion": "Generate a React component that displays user's name, email, and profile picture from the provided API. Implement features like pagination, search functionality, and loading spinners for better user experience. Ensure the component is responsive, fetches data using Axios, and follows Material UI design principles."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment