zmp-sdk-integration

Wrap Zalo Mini App SDK APIs behind reusable hooks and utilities.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/tienchinh21/skills-for-mini-zalo-app --skill zmp-sdk-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zmp-sdk-integration
Source: https://github.com/tienchinh21/skills-for-mini-zalo-app/tree/main/zmp-sdk-integration
Command: npx skills add https://github.com/tienchinh21/skills-for-mini-zalo-app --skill zmp-sdk-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires zmp-sdk.

What problem does it solve?

This skill wraps Zalo Mini App SDK APIs to simplify integration and promote safe usage.

Core Features & Use Cases

  • Unified API surface: provide a single wrapper layer (UI Components → Custom Hooks → SDK Wrappers → zmp-sdk) to avoid direct zmp-sdk calls in UI components.
  • Comprehensive coverage: supports User/Auth, Events, Storage, Routing, UI Control, Media, Zalo interactions, and Device permissions.
  • Reusable patterns: encourages permission checks, error handling, and composable hooks for rapid feature development.

Quick Start

Install the zmp-sdk package, create a wrapper around the API calls, and run a quick example to fetch user info.

Frequently Asked Questions about zmp-sdk-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the Zalo Mini App SDK without calling APIs directly in UI components?

To integrate the Zalo Mini App SDK safely, use a wrapper layer pattern that routes UI components through custom hooks to SDK wrappers. This prevents direct zmp-sdk calls in your components.

What is the best way to manage user authentication and device permissions in a Zalo Mini App?

The best way to manage user authentication and device permissions in a Zalo Mini App is by using reusable custom hooks that enforce permission checks and handle errors before executing SDK API calls.

Does the zmp-sdk wrapper support storage and routing for Zalo Mini App projects?

Yes, the zmp-sdk wrapper supports storage, routing, UI control, media, events, Zalo interactions, and device permissions across Zalo Mini App projects for comprehensive feature development.

How do I start using Zalo Mini App SDK wrappers after installing the package?

After running npm install for the zmp-sdk package, create a wrapper around the API calls and use the provided custom hooks to quickly fetch user info or handle events.

Why should I use custom hooks for Zalo interactions instead of direct SDK calls?

Using custom hooks for Zalo interactions promotes safe usage by enforcing a unified API surface, permission checks, and error handling, which prevents direct zmp-sdk calls in your UI components.