Inventory Sales Dashboard Assistant

    by Michelle Gutierrez

    1

    Navigate, debug, and extend the Inventory-Sales Dashboard with repository-specific guidance and code generation.

    Free

    Security scanned

    Works with the AI Agents you already use

    Inventory Sales Dashboard Assistant

    Example session with this skill installed

    Review the products module in the Backend folder. Check for input validation in the controller and suggest a fix if it is missing.

    • Read your context and instructions
    • Compiled the inventory sales dashboard

    I have analyzed Backend/src/products/product.controller.ts and identified a missing validation check for negative stock quantities in the create method.

    Code Review & Patch

    The current implementation accepts any numerical value for quantity, which allows for invalid negative inventory states. Below is the recommended fix to ensure data integrity.

    // Backend/src/products/product.controller.ts
    
    import { Request, Response } from 'express';
    import { ProductService } from './product.service';
    
    export const createProduct = async (req: Request, res: Response) => {
      const { name, price, quantity } = req.body;
    
      // Added validation for inventory quantity
      if (typeof quantity !== 'number' || quantity < 0) {
        return res.status(400).json({ 
          error: 'Invalid quantity. Stock must be a non-negative number.' 
        });
      }
    
      try {
        const product = await ProductService.save({ name, price, quantity });
        res.status(201).json(product);
      } catch (error) {
        res.status(500).json({ error: 'Internal server error' });
      }
    };
    

    Next steps

    1. Apply the patch to the product controller file.
    2. Run the backend service and attempt to POST a product with quantity: -5 to verify the 400 error.
    3. Check product.service.ts to ensure the database layer also enforces non-negative constraints.

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

    About this skill

    Stop guessing how to configure or debug your full-stack inventory application. This skill provides technical guidance for the Inventory-Sales Dashboard repository, helping you navigate its Vite frontend and Node.js backend without the trial and error.

    What it does

    • Analyze architecture maps the relationship between the Vite-based frontend and the Node.js/TypeScript backend modules.
    • Automate setup identifies prerequisites and generates installation commands based on actual package.json scripts.
    • Debug modules traces errors across auth, products, and users modules to find root causes in controllers or services.
    • Implement features plans and writes code for inventory workflows, search filters, and UI improvements following existing patterns.
    • Perform reviews audits code for type safety, input validation, and security risks like hardcoded secrets or auth bypasses.

    How it works

    1. Inspect context by scanning the repository structure, package manifests, and configuration files.
    2. Diagnose state by analyzing your specific error logs or feature requirements against the current codebase.
    3. Execute changes through small, verifiable patches or step-by-step setup instructions.
    4. Verify output using manual checklists or existing test suites to ensure the fix or feature works as intended.

    Frameworks & tools

    The skill works with the Inventory-Sales Dashboard stack including TypeScript, Vite, Node.js, and specific backend modules for authentication and product management.

    Why this beats prompting it yourself

    Generic coding assistants often hallucinate file paths or suggest libraries that conflict with your existing setup. This skill is grounded in the specific directory structure of the inventory repository, ensuring every command and code snippet aligns with your exact modules.

    Use cases

    • Set up a local development environment for the first time.
    • Troubleshoot a failing product creation API endpoint.
    • Add a stock level validation rule to the backend service.
    • Review the user authentication flow for security vulnerabilities.

    Known limitations

    Does not invent database schemas or credentials. Requires access to the repository files or user-provided code snippets to provide specific implementation details.

    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 4 days ago

    • Free with an Agensi account

    Permissions

    Read Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill helps developers navigate the Inventory-Sales Dashboard repository by mapping the relationship between its Vite frontend and Node.js backend. It assists with setting up local environments, debugging specific modules like auth and products, and generating code for new inventory features.

    You need access to the Inventory-Sales Dashboard repository files or specific code snippets from the project. The skill relies on analyzing your actual package manifests and source files to provide grounded guidance.

    You will receive repository-specific guidance including architecture maps, automated installation commands, and code patches for features or bug fixes. It also providing manual verification checklists and security audit findings prioritized by severity.

    The skill cannot invent database schemas, credentials, or missing implementation details not found in the code. It is a technical assistant for existing logic and does not provide a substitute for a full production security audit or verified test runs.

    You can prompt your assistant to explain the project architecture, troubleshoot a failing API endpoint, or plan a new product search feature. It is best to start by asking the skill to inspect your package scripts or directory structure for the most accurate results.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free