Evaluating Domestic AI Coding Tools: A Selection Guide for Building an E-commerce Site
This article presents a hands-on comparison of four Chinese AI coding assistants used to build a React-based e-commerce site from scratch. It defines evaluation criteria across page completeness, interaction consistency, responsive design, and code quality, then reports the observed strengths and weaknesses of each tool in a single-pass build scenario. The guide concludes with practical selection advice, common pitfalls to avoid, and a roadmap for moving from a generated prototype to a production-ready application with cloud integration.
Why Domestic AI Coding Tools Are Gaining Attention
AI-assisted programming has moved from concept validation to real production use. Overseas tools once attracted many users through powerful models and polished editor experiences, but network latency, data compliance concerns, and subscription costs have pushed many domestic developers and enterprises toward local alternatives.
Enterprises now enforce stricter requirements on code data handling. Code is a core asset, and its storage and processing must comply with the Data Security Law and the Personal Information Protection Law. Some domestic tools offer in-country data processing options, though the exact scope depends on each vendor’s terms of service—verify before choosing. Additionally, domestic tools typically provide deeper support for local technology stacks such as WeChat Mini Programs and Alipay Open Platform.
Test Task and Scoring Dimensions
Four tools were asked to build a 10-page e-commerce site from scratch using React. The pages include a homepage with product listings, product details, purchase page, purchase success page, login/registration page, and a user center with dashboard, orders, wallet/coupon pack, and settings.
Scoring covered four areas: site completeness (whether all pages run), interaction consistency (form validation and route guards), responsive adaptation (mobile and desktop layouts), and code engineering quality (separation of styles, logic, and mock data).
Note that this was a single-round task with one sample e-commerce site. The conclusions describe only this round’s results and do not represent the tools’ general capability. Specific tool versions and model versions are not disclosed.
Five Capabilities of a Good AI Coding Tool
- Requirement understanding and task decomposition: Facing a vague instruction like “build an e-commerce website,” can the tool proactively list pages, component boundaries, state management schemes, and API contracts?
- Engineering scaffolding: Is the directory separated into
components,pages,services,hooks, etc.? Does it use React Router? Are mock data and page logic decoupled? - UI and interaction fidelity: Are layouts reasonable, colors consistent, form validation feedback explicit, and button loading/disabled/hover states complete?
- Error fixing and iteration efficiency: When the developer points out a problem, can the tool locate and fix it without introducing new defects?
- Ecosystem integration and extensibility: Can the generated project be reasonably connected to a real backend and cloud services?
Observed Performance of the Four Tools
Tool A: The interface is close to mainstream commercial IDEs, and beginners can get started quickly. Its “speed mode” completes dependency installation, project initialization, and basic route configuration in one pass, giving the highest first-round completion rate in this test. The main purchase flow is complete, with basic form validation (non-empty checks, password length). Shortcomings: the desktop layout stretches noticeably, and the login page slightly misaligns on medium-width screens; the product detail page lacks specification selection and inventory display; all images are placeholders. The project structure is rather flat, and mock data is tightly coupled with page components, requiring substantial refactoring when connecting a backend.
Tool B: Its interaction style is close to well-known overseas editors, so users familiar with Cursor-like tools face a smaller learning curve. Its “deep build mode” handles complex logic through progressive multi-round generation, but the first-round completion rate was low, and the generated project had obvious errors. After multiple manual directives, sporadic issues remained, and debugging took longer. Form validation was the most complete among the four, and the product detail page had good information density. Visually, the color scheme lacked a unified design language; on mobile sizes, some white-on-white buttons were invisible; images had no placeholder styling, causing layout overflow. Styles were separated into independent files, but naming was inconsistent and CSS variables were not used for theme management. The hooks and context directories existed but contained empty files.
Tool C: It emphasizes multi-agent collaboration, offering roles such as architect, coder, and tester. In this round, context synchronization between agents was problematic, and some changes contradicted each other. The “speed mode” generated quickly but produced a messy directory structure with duplicated nested folders, and the output failed to start properly. The “architect mode” introduced domain-driven design concepts, but the generated code was bloated, had many console errors, and nested conditional statements increased reading difficulty. In the end, this tool could not complete all pages in this round.
Tool D: Generation speed was moderate, but directory layering was clean—api/, components/, pages/, and styles/ were clearly separated, and JSX semantics were handled properly. Tool D offers a cloud-based collaboration environment and officially maintained project templates, which to some extent reduces the work of designing architecture from zero. Responsive behavior was the most stable among the four: no obvious element overflow or color conflicts appeared on phone, tablet, or desktop sizes, though page style refinement was lower than Tool A. One shortcoming: occasionally misinterpreted “linked” requirements—for example, automatically updating inventory and price when a product specification is selected—and needed supplementary prompts to correct.
Comparative Overview
| Dimension | Tool A | Tool B | Tool C | Tool D |
|---|---|---|---|---|
| Page completeness | Main purchase flow complete | Not separately recorded | Did not finish all pages | Not separately recorded |
| Form validation | Basic validation present | Most complete among the four | Not separately recorded | Not separately recorded |
| Responsive adaptation | Desktop stretch obvious | Mobile buttons invisible, image overflow | Not separately recorded | Stable across three breakpoints |
| Directory structure | Rather flat | Empty directories present | Duplicate nesting | Clear layering |
| First-round errors | No obvious errors recorded this round | Obvious errors | Many console errors | Linked requirements needed extra prompts |
“Not separately recorded” means this round did not include a dedicated observation for that item.
Selection Suggestions and Cautions
For prototypes or demos: Tool A is a good first choice. It quickly generates an interactive page skeleton, but before handing it to designers or backend developers, you’ll need to manually refactor the data layer and fill in e-commerce essentials like specification selection and inventory.
If architecture and future expansion matter: Consider Tool D. Its directory layering and responsive behavior are stable, but business linking logic needs manual review and explicit prompts.
For complex business logic: This round suggests not relying entirely on a single tool. You can use Tool B’s deep build mode to generate a base framework, then implement critical business flows and integration manually.
Common selection mistakes:
- Only judging first-round generation speed, ignoring repair rounds. Fast generation with many fixes may not save time overall.
- Only judging page appearance, ignoring directory structure and data layer design. These issues surface only when connecting a backend.
- Drawing conclusions from a single demo project. Run a small-scale trial with your own real requirements.
- Overlooking data compliance: failing to confirm where the tool stores data before processing sensitive code.
From Prototype to Production: Integrating Cloud Capabilities
All projects in this test were pure front-end implementations with data kept locally. To turn one into a production application, you typically need to add:
- Data persistence: Replace hardcoded mock data with a cloud database, store products, orders, and user information in a structured way, and provide REST or GraphQL interfaces. Back up existing data before migration.
- Authentication and security: Integrate the cloud provider’s identity authentication service to replace simulated login and registration logic, supporting verification codes, OAuth, and multi-factor authentication. Place secrets in environment variables or a key management service, following the principle of least privilege. Provide clear fallback pages for authentication failures.
- Object storage: Migrate product images and user avatars to object storage with CDN acceleration, replacing placeholder images.
- Deployment and monitoring: Deploy front-end static assets through container services or managed Kubernetes, and set up logging and monitoring alerts. Suggest thresholds for page error rates and load times in advance.
These integration steps can be semi-automated in AI tools via natural language commands, for example: “Change the product list data source to call the cloud database API and map the returned structure to the current component state.” Integration-style instructions tend to be more reliable than from-scratch generation instructions, but always run tests and check data after each modification.
Trends
The development of AI coding tools generally follows two paths. One is deep collaboration, where AI is embedded into compilation, debugging, and refactoring workflows, acting as a pair-programming partner. The other is full-stack automation, where AI simultaneously generates database schemas, cloud functions, and deployment pipelines. The latter already has early forms, but maturity remains insufficient.
The value of writing code may decline, while the ability to define problems and make architectural trade-offs becomes more important. Trying these tools early and understanding their capability boundaries will help developers judge when to rely on them and when to take control in real projects.
