2817cf8dc6
- Created a test coverage checklist to ensure comprehensive testing of backend and frontend components. - Added a test report template to standardize reporting on test execution results and gaps. - Introduced a test stack matrix to guide the selection of testing tools and frameworks for backend and frontend. - Established a skill for repairing failing tests, including a failure triage checklist and a test repair template. - Documented recommended MCP stack for ecommerce development with FastAPI and React/Next.js. - Developed a detailed README outlining the project structure, agent capabilities, and recommended workflows. - Compiled a comprehensive workflow guide detailing step-by-step commands for project setup, testing, and SEO implementation.
1.8 KiB
1.8 KiB
name, description, argument-hint
| name | description | argument-hint |
|---|---|---|
| ecommerce-test-repair | Fix failing backend and frontend tests, then rerun them. Use for investigating test failures, repairing code or tests, and repeating the loop until suites pass or blockers are documented. | Describe whether to fix all current failures or only backend or frontend test failures |
Ecommerce Test Repair
When to use
- After the test-implementation step finds failures.
- When backend or frontend automated tests are red.
- When regressions appear after refactors, SEO changes, or feature work.
Goal
- Analyze failing tests honestly.
- Fix the underlying code or the tests, whichever is actually wrong.
- Rerun the affected suites.
- Produce or update .ai/TEST-REPAIR.md with failure analysis, fixes applied, rerun results, and remaining blockers.
Required workflow
- Read the latest .ai/TEST-REPORT.md if it exists.
- Inspect actual failing output rather than guessing.
- Before serious backend or frontend edits, create a timestamped snapshot under .backup/ and keep that folder append-only.
- Classify failures using failure triage checklist.
- Fix root causes instead of patching symptoms when possible.
- Rerun the affected tests.
- Repeat until the suite is green or real blockers remain.
- Write or update .ai/TEST-REPAIR.md using test repair template.
Constraints
- Do not weaken tests just to make them pass.
- Do not rewrite assertions into meaninglessness.
- Do not ignore failing tests without documenting the blocker.
Outputs
- Code or test fixes.
- Rerun results.
- .ai/TEST-REPAIR.md.