Skip to content
Agentmart
Submit a tool

medeco-pharmacy-app

Comprehensive development, architecture, and upgrade guide for medEco - the smart pharmacy medicine rack locator, POS billing with GST & discounts, customer…

Skill by karthik-v-dev

IndexedMIT
Write a review

Chalk Labs

Need help deploying medeco-pharmacy-app?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/karthik-v-dev-medeco-pharmacy-app

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Comprehensive development, architecture, and upgrade guide for medEco - the smart pharmacy medicine rack locator, POS billing with GST & discounts, customer mobile accounts, dose reminders, and online prescription orders.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/medeco-pharmacy-app

What's inside

Skill name
medeco-pharmacy-app
Description
Comprehensive development, architecture, and upgrade guide for medEco - the smart pharmacy medicine rack locator, POS billing with GST & discounts, customer mobile accounts, dose reminders, and online prescription orders.
License
MIT
Instructions
171 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "medeco-pharmacy-app" does not match folder "medEco"
  • body: contains an absolute path from the author's machine

Files (200)

  • app-state-sync-key-AAAAAMLq.json · .baileys_auth/
  • app-state-sync-version-critical_block.json · .baileys_auth/
  • app-state-sync-version-critical_unblock_low.json · .baileys_auth/
  • app-state-sync-version-regular.json · .baileys_auth/
  • app-state-sync-version-regular_high.json · .baileys_auth/
  • app-state-sync-version-regular_low.json · .baileys_auth/
  • creds.json · .baileys_auth/
  • device-list-918331838661.json · .baileys_auth/
  • device-list-919030481507.json · .baileys_auth/
  • device-list-919705547444.json · .baileys_auth/
  • identity-key-274693290471588_1.0.json · .baileys_auth/
  • identity-key-274693290471588_1.4.json · .baileys_auth/
  • lid-mapping-100060574560256_reverse.json · .baileys_auth/
  • lid-mapping-100489601507406_reverse.json · .baileys_auth/
  • lid-mapping-100772951912505_reverse.json · .baileys_auth/
  • lid-mapping-100820196536399_reverse.json · .baileys_auth/
  • lid-mapping-100910625759454_reverse.json · .baileys_auth/
  • lid-mapping-100961829834955_reverse.json · .baileys_auth/
  • lid-mapping-101112170426429_reverse.json · .baileys_auth/
  • lid-mapping-101172903968867_reverse.json · .baileys_auth/
  • lid-mapping-101219796304115_reverse.json · .baileys_auth/
  • lid-mapping-101296870826232_reverse.json · .baileys_auth/
  • lid-mapping-101512390938674_reverse.json · .baileys_auth/
  • lid-mapping-10162060394631_reverse.json · .baileys_auth/
  • lid-mapping-10166338642091_reverse.json · .baileys_auth/
  • lid-mapping-101795036709102_reverse.json · .baileys_auth/
  • lid-mapping-101825369874535_reverse.json · .baileys_auth/
  • lid-mapping-101872564203521_reverse.json · .baileys_auth/
  • lid-mapping-10192125202468_reverse.json · .baileys_auth/
  • lid-mapping-101932626669711_reverse.json · .baileys_auth/
  • lid-mapping-102048456536074_reverse.json · .baileys_auth/
  • lid-mapping-1022386827329_reverse.json · .baileys_auth/
  • lid-mapping-102284679733353_reverse.json · .baileys_auth/
  • lid-mapping-102405106569422_reverse.json · .baileys_auth/
  • lid-mapping-102430859620422_reverse.json · .baileys_auth/
  • lid-mapping-102512413667471_reverse.json · .baileys_auth/
  • lid-mapping-102534022729777_reverse.json · .baileys_auth/
  • lid-mapping-102619804614839_reverse.json · .baileys_auth/
  • lid-mapping-102787207721215_reverse.json · .baileys_auth/
  • lid-mapping-102868963078373_reverse.json · .baileys_auth/
  • lid-mapping-102937531568154_reverse.json · .baileys_auth/
  • lid-mapping-103156776186069_reverse.json · .baileys_auth/
  • lid-mapping-103190968184876_reverse.json · .baileys_auth/
  • lid-mapping-103203785978020_reverse.json · .baileys_auth/
  • lid-mapping-103242709127222_reverse.json · .baileys_auth/
  • lid-mapping-103350167167011_reverse.json · .baileys_auth/
  • lid-mapping-103418551136309_reverse.json · .baileys_auth/
  • lid-mapping-103517821886667_reverse.json · .baileys_auth/
  • lid-mapping-103620532015105_reverse.json · .baileys_auth/
  • lid-mapping-103633416925273_reverse.json · .baileys_auth/
  • lid-mapping-103637577662627_reverse.json · .baileys_auth/
  • lid-mapping-103659086028934_reverse.json · .baileys_auth/
  • lid-mapping-103783707242719_reverse.json · .baileys_auth/
  • lid-mapping-103839726354629_reverse.json · .baileys_auth/
  • lid-mapping-103856788754433_reverse.json · .baileys_auth/
  • lid-mapping-103891014271118_reverse.json · .baileys_auth/
  • lid-mapping-104050062299362_reverse.json · .baileys_auth/
  • lid-mapping-104166445830297_reverse.json · .baileys_auth/
  • lid-mapping-104196091174967_reverse.json · .baileys_auth/
  • lid-mapping-104333395890390_reverse.json · .baileys_auth/
  • …and 140 more

SKILL.md (first lines)

# medEco Architecture & Upgrade Skill

This skill documents the complete technical design, data schemas, access rules, and future upgrade playbooks for the **medEco** pharmacy management and patient wellness platform.

---

## 1. System Overview & Technology Stack

| Layer | Technology | Key Details |
|---|---|---|
| **Frontend Framework** | React 18 + Vite 6 | Fast HMR, optimized chunk splitting (`vendor`, `firebase`, `icons`) |
| **Language** | TypeScript 5 (Strict Mode) | Full type safety for all domain models |
| **Styling & UI** | Tailwind CSS 3 | `darkMode: 'class'` (Light, Dark, System), custom medical emerald palette |
| **Iconography** | Lucide React | Medical icons (`Pill`, `MapPin`, `Store`, `Clock`, `Receipt`, `Camera`) |
| **Database & Sync** | Firebase Realtime Database | `https://mediaclinfo-default-rtdb.firebaseio.com/` + LocalStorage resilient cache |
| **Audio & Events** | Web Audio API + Custom Events | Audio chime notifications on order reception, `medeco:new-online-order` event |
| **Printing & PDF** | CSS `@media print` + Headless Edge | Native thermal and A4 print layout, offline PDF manual export |

---

## 2. Core Domain Data Schemas (`src/types/index.ts`)

### `Medicine`
```typescript
interface Medicine {
  id: string;
  name: string;
  genericName: string;
  brand: string;
  category: MedicineCategory; // 'Tablets' | 'Syrups' | 'Capsules' | 'Injections' | 'Ointments' | 'Drops'
  dosage: string;
  stripSize: string;
  unitPrice: number;     // Selling Price (MRP)
  costPrice: number;     // Purchase Cost
  stock: number;         // Current units in stock
  minStockAlert: number; // Low stock threshold
  batchNumber: string;
  expiryDate: string;    // YYYY-MM-DD
  gstRate: number;       // 5, 12, or 18%
  rackLocation: RackLocation;
  requiresPrescription: boolean;
}
```

### `RackLocation`
```typescript
interface RackLocation {
  rackId: string;        // e.g. "Rack A", "Rack B", "Cold Storage"
  shelfNumber: number;   // 1, 2, 3, 4 (vertical shelf level)
  boxNumber?: string;    // e.g. "Box-01", "Bin-04"
  description?: string;  // e.g. "Fast moving antibiotic row"
  temperatureNote?: string; // e.g. "2°C - 8°C Refrigerated"
}
```

### `Invoice` & `InvoiceItem`
```typescript
interface Invoice {
  id: string;
  invoiceNumber: string; // "MED-2026-XXXX"
  date: string;          // ISO Timestamp
  customerMobile: string;// Primary identifier
  customerName: string;
  items: InvoiceItem[];
  subtotal: number;
  discountType: 'percentage' | 'fixed';
  discountValue: number;
  discountAmount: number;
  taxableAmount: number;
  cgstAmount: number;
  sgstAmount: number;
  totalGst: number;
  grandTotal: number;
  paymentMode: 'Cash' | 'UPI' | 'Card';
  status: 'PAID' | 'REFUNDED';
}
```

### `OnlineOrder`
```typescript
interface OnlineOrder {
  id: string;
  orderNumber: string;
  customerName: string;
  customerMobile: string;
  address: string;
  landmark?: string;
  pincode?: string;
  geoCoordinates?: { latitude: number; longitude: number };
  prescriptionImageUrl?: string;
  items: OnlineOrderItem[];
  estimatedTotal: number;
  status: 'PENDING' | 'ACCEPTED' | 'PREPARING' | 'READY' | 'REJECTED';
  createdAt: string;
}
```

---

## 3. Role-Based Access & Privacy Rules

The platform strictly enforces the **"One Customer, One Account based on Mobile Number"** principle and privacy boundaries:

1. **Owner (`role: 'owner'`)**:
   - Authenticated with owner password (`admin123`) or PIN (`9999`).
   - Access to: POS Billing, Inventory wholesale costs, Rack locations, All Receipts audit, and **Customer Directory** (to inspect any customer's purchase history and reminders).
2. **Customer (`role: 'customer'`)**:
   - Authenticated via 10-digit mobile number + OTP verification.
   - **Strict Data Isolation**: Customers can **ONLY** view their own past receipts, previous prescriptions, and personal dose reminders. Store wholesale prices, POS terminals, and other customer accounts are completely hidden.
3. **Guest (`role: 'guest'`)**:
   - Can search where tablets are stored in the shop, view the visual rack layout, or log in as customer/owner.

---

## 4. Theme System (Dark / Light / System)

Theme state is managed through `src/services/theme.ts`:
- Storage key: `medeco_theme_preference_v1`
- `applyTheme(mode)`:

From karthik-v-dev/medEco, MIT.

More from karthik-v-dev/medEco

Signals

Stars
0
Forks
0
Open issues
0
Last commit
Sep 23, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from karthik-v-dev

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get medeco-pharmacy-app running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying medeco-pharmacy-app?

CallGet help
Cite this page

medeco-pharmacy-app skill. Agent Mart. https://agentmart.dev/skills/karthik-v-dev-medeco-pharmacy-app (last updated 2026-10-24)