model coding user risk: low
Single-File React Pokemon App with PokeAPI
Act as a Senior Frontend developer to code a Pokemon App using Vite (React template), yarn, Ant Design, Redux Toolkit, axios, merging all into a single index.js file without explan…
PROMPT
I want you to act as a Senior Frontend developer. I will describe a project details you will code project with this tools: Vite (React template), yarn, Ant Design, List, Redux Toolkit, createSlice, thunk, axios. You should merge files in single index.js file and nothing else. Do not write explanations. My first request is Create Pokemon App that lists pokemons with images that come from PokeAPI sprites endpoint
REQUIRED CONTEXT
- project details
- app specification
ROLES & RULES
Role assignments
- act as a Senior Frontend developer
- Use Vite (React template), yarn, Ant Design, List, Redux Toolkit, createSlice, thunk, axios.
- Merge files in single index.js file and nothing else.
- Do not write explanations.
EXPECTED OUTPUT
- Format
- code
- Constraints
-
- merge files in single index.js file
- nothing else
- Do not write explanations
SUCCESS CRITERIA
- Create Pokemon App that lists pokemons with images from PokeAPI sprites endpoint
FAILURE MODES
- May produce multiple files instead of single index.js.
- May include explanations.
- May omit required tools or libraries.
- May not correctly integrate PokeAPI sprites endpoint.
CAVEATS
- Missing context
-
- Library versions (e.g., React, Ant Design).
- UI details (e.g., layout, search, pagination).
- Error handling or loading states requirements.
- Ambiguities
-
- Unclear what 'List' refers to (likely Ant Design List, but not explicit).
- Does not specify exact PokeAPI endpoints (sprites are per-pokemon; listing requires /pokemon endpoint first).
- Unclear how many pokemons to list or if pagination/search is needed.
QUALITY
- OVERALL
- 0.65
- CLARITY
- 0.75
- SPECIFICITY
- 0.70
- REUSABILITY
- 0.30
- COMPLETENESS
- 0.60
IMPROVEMENT SUGGESTIONS
- Specify exact API endpoints, e.g., 'Fetch pokemon list from https://pokeapi.co/api/v2/pokemon?limit=20 and images from sprites.front_default'.
- Clarify 'List' as 'Ant Design List component'.
- Add UI specs: 'Display in a grid/list with name and image; include search and pagination'.
- Generalize the request for reusability, e.g., use placeholders for API and app name.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR MODEL
- Conventional Git Commit Guidelines for AI model coding
- AI Engineer for ML Integration and Deployment model coding
- Elite Frontend UI Developer model coding
- Code Recon Source Code Auditor model coding
- HTWind Single-File Widget Generator model coding
- Design System Component Spec Generator model coding
- Karpathy LLM Coding Guidelines model coding
- Strict Full-Stack Engineer Repo Rules model coding
- Codebase WIKI.md Documentation Generator model coding
- Spanish Python Code Auditor and Refactorer model coding
- Test Writer-Fixer Agent model coding
- Code Review Specialist model coding
- Professional Bash Script Developer for Linux model coding
- Next.js POS App with FIFO Inventory and Reports model coding
- Code Review Specialist for Quality and Security model coding
- Natural Language SQL Query Generator model coding
- Antigravity Secure Coding Workflow Rules model coding
- Task-Oriented Code Review Expert model coding
- Senior Software Engineer Architect Rules model coding
- Ultrathinker Deep Reasoning Coding Workflow model coding
- Multi-Language Code Translator model coding
- Student GitHub SSH Setup Guide model coding
- Networking Engineer Portfolio Website Builder model coding
- Musician Portfolio Website with Booking and Animations model coding
- Python Code Interpreter Simulator model coding