Works with the AI Agents you already use

    MST Ecommerce AI Assistant

    by Yashwanth K

    1

    Expert assistant for maintaining and extending the MST Global Fashion React/Express e-commerce application.

    Free

    Security scanned
    MST Ecommerce AI Assistant

    MST Ecommerce AI Assistant

    Example session with this skill installed

    Analyze the checkout and order creation workflow in my MST Global Fashion e-commerce project. Trace the flow from the React CheckoutScreen to the Express backend and JSON database. **Explain** 1. How shipping validation works. 2. How an order is created. 3. How payment and shipment information are generated. 4. How inventory is updated. 5. Which parts are currently mock implementations rather than real integrations. Identify potential security and reliability issues. Recommend practical improvements without unnecessarily changing the existing project architecture.

    • Read your context and instructions
    • Compiled the mst ecommerce ai

    # MST Global Fashion – Checkout Workflow Analysis ## 1. Architecture Overview **The checkout workflow uses** - **Frontend:** React 19 and TypeScript - **Backend:** Node.js and Express.js - **Database:** JSON-file-based storage - **Frontend state:** React Context through `AppContext` The backend stores application data in `data/mst_database.json`. ## 2. Checkout Workflow ### Step 1: Frontend checkout The `CheckoutScreen` handles the customer checkout experience. **It communicates with the backend to** - Validate shipping information. - Check shipping serviceability. - Submit an order. ### Step 2: Backend order creation The Express backend handles order creation and generates: - Order number - Invoice number - Payment record - Transaction reference - Shipment information ### Step 3: Inventory and audit updates After order creation, the backend: - Updates inventory. - Records an audit log. - Stores the order-related information. ## 3. Important Implementation Findings | Feature | Current implementation | |---|---| | Order creation | Implemented | | Invoice generation | Implemented | | Payment processing | Mock implementation | | Transaction reference | Generated internally | | Shipment tracking | Mock tracking information | | Delivery estimate | Fixed 4-day estimate | | Inventory updates | Implemented | | Data storage | JSON-file-based | **Important:** The current implementation does not establish a real payment gateway or live DHL integration. Generated tracking information should not be treated as actual carrier tracking. ## 4. Potential Issues 1. **Payment security:** The order flow uses a default successful payment status. Real payment verification is needed before treating an order as paid. 2. **Data persistence:** The JSON-file database uses in-memory data and synchronous file writes. This may create reliability and scalability limitations. 3. **Shipment tracking:** Generated tracking details should be replaced with verified carrier API responses before production use. 4. **Security:** Authentication and authorization logic should be reviewed, particularly password handling and administrator access. ## 5. Recommended Improvements | Priority | Recommendation | |---|---| | High | Integrate a verified payment gateway | | High | Improve password hashing and admin authorization | | High | Add proper order-payment verification | | Medium | Introduce a production database | | Medium | Integrate a real shipping provider | | Medium | Add automated checkout tests | ## 6. Final Assessment The MST Global Fashion project already contains a structured checkout and order-management workflow with frontend components, Express APIs, inventory updates, and JSON-based persistence. The most important next step is strengthening payment verification, security, and data reliability before production deployment. **Conclusion:** Understand the existing implementation first, preserve the project architecture, and make improvements based on verified source code rather than assumptions.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing a custom e-commerce stack often leads to brittle state management and data inconsistencies, especially when using file-based persistence. This skill provides an AI assistant specialized in the MST Global Fashion architecture to help you maintain and extend your shop without breaking core workflows. ## What it does - **Codebase navigation** helps you locate specific logic across React 19 components and Express 4 routes. - **Workflow auditing** traces customer actions from frontend screens like `BagScreen` or `CheckoutScreen` through to the JSON persistence layer. - **Feature implementation** assists in adding product discovery, inventory management, or logistics features while following existing TypeScript types. - **API troubleshooting** debugs issues within the native `fetch` implementations and REST endpoints in `server/api.ts`. - **Database maintenance** manages the specialized `mst_database.json` storage logic, ensuring updates don't corrupt the flat-file structure. ## How it works 1. **Source Inspection** triggers an analysis of your current `src/` and `server/` directories to map dependencies. 2. **Context Mapping** identifies relevant `AppContext.tsx` states and shared types in `src/types.ts`. 3. **Logic Tracing** follows the data flow from UI components to the Express backend and the filesystem database. 4. **Change Execution** generates or refactors code using Tailwind CSS 4 and React 19 patterns consistent with your project style. ## Frameworks & tools React 19, TypeScript, Vite, Node.js, Express 4, Tailwind CSS 4, React Context API, and Node `fs` module for JSON persistence. ## Why this beats prompting it yourself Generic AI often assumes standard SQL databases or Redux state, which leads to hallucinated code in this specific file-based architecture. This skill is grounded in the MST project structure, ensuring it respects the JSON storage implementation and specific React Context patterns used in the app. ## Use cases - Add a new product category or filter to the `DiscoverScreen` and update the product catalog. - Debug a failing checkout flow or fix serviceability check logic in the shipping API. - Extend the `AdminPortal` to include new inventory tracking or order management fields. - Implement server-side validation for address inputs and coupon codes. ## Known limitations The system uses JSON files for storage, not SQL/NoSQL databases. Many payment and shipping features are currently simulated and require external service integration for production use.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 12 days ago

    • Free with an Agensi account

    Software
    AI coding agent with project file accessMST Global Fashion project source codeNode.js 18+npmBasic familiarity with Express.js

    For best results, open the MST Global Fashion project root folder in your AI coding agent so it can inspect the frontend, backend, and reference documentation together. Ask the agent to analyze the existing implementation before making changes. Keep a backup or use Git before applying major modifica

    Permissions

    Read Files
    Write Files
    Network Access
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    This skill is specifically tuned for the MST Global Fashion stack, which uses a unique file-based JSON database and React 19/Tailwind 4 patterns that generic AI often misinterprets. It prevents common 'hallucination' errors where an AI might suggest SQL or Redux code that doesn't exist in this architecture.

    The skill acts as an expert pair programmer that understands your specific `src/` and `server/` structure, helping you add features like new product filters or admin dashboard widgets while ensuring the JSON data integrity is maintained.

    Yes, this skill is fully optimized for React 19 and Tailwind CSS 4, utilizing the latest patterns for state management via the React Context API as implemented in the MST codebase.

    The skill is designed to work with any AI agent or IDE extension that supports custom instructions and codebase indexing. Simply load the skill into your preferred environment to begin analyzing your project files.

    Because the MST Global Fashion app uses a flat-file JSON database (`mst_database.json`), this skill includes specialized logic to ensure all read/write operations performed by the AI follow the correct schema to prevent data corruption.

    The purchase includes the core instruction set for the MST Global Fashion architecture, documentation on how to initialize the agent with your source code, and lifetime updates as the base boilerplate evolves.

    New in E-commerce

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.

    Free