Introduction¶
When integrating the Tencent Marketing DataNexus data collection SDK, the common bottleneck isn’t “finding the documentation,” but rather the long process and variety of platforms: you first need to select the correct SDK for Mini Programs, Mini Games, APPs (iOS, Android, HarmonyOS), or JS. Then, you must complete initialization, event tracking, mandatory event reporting, and action_type compliance. Finally, there is debugging, data reconciliation, and monitoring dashboards for quality, with troubleshooting often required against error codes like code 51000 or data not valid. Without a unified checklist, teams can easily waste time on trial and error regarding configurations such as user_action_set_id, secret_key, and Data Source IDs.
Below is an introduction to the enterprise-level Skill on SkillHub: “Tencent Marketing DataNexus SDK Integration Assistant,” published by the Tencent Marketing DataNexus team. It consolidates the aforementioned steps into an assistant capability that can be advanced step-by-step within an AI IDE. Note that automated integration for AI IDEs is marked as Beta, and projects already integrated can utilize an integration health check.
What is this¶
One-sentence positioning: A DataNexus data collection SDK integration and governance assistant. It covers the complete chain from selection to troubleshooting and supports triggering “Auto Integration” and “Integration Audit/Health Check” requests within the conversation.
- Identifier:
@tencent-adm/datanexus-sdk-skills - Current Version: 1.0.2 (shown as v1.0.2 on the SkillHub page)
- Source: enterprise
- Category: business-ops
- Publisher: Tencent Marketing DataNexus Team
- SkillHub: https://www.skillhub.cn/skills/tencent-adm/datanexus-sdk-skills
- Skill Package Address: https://api.skillhub.cn/tencent-adm/datanexus-sdk-skills
- Tag:
requires_api_key=false(According to SkillHub metadata, installing this Skill itself does not require an API Key configuration)
Core Features¶
The capabilities explicitly listed in the materials are organized into six main areas and two extended features:
- SDK Selection: Assists in determining which SDK category to use across scenarios such as Mini Program SDK, Mini Game SDK, APP SDK (including iOS, Android, HarmonyOS), and JS SDK.
- Integration Development: Provides actionable guidance on development steps including SDK initialization, integration workflows, and generating or organizing integration code.
- Event Tracking: Implementation and verification related to event reporting, tracking,
action_type, behavior lists, and event semantics such asSTART_APP,PURCHASE, andREGISTER. - Debugging and Reconciliation: Debugging within the SDK integration workflow, data reconciliation, and verification logic related to the SDK quality dashboard.
- Quality Assessment: Assessment dimensions involving mandatory events, event coverage rates, SDK compliance, and tracking quality checks.
- Troubleshooting: Assists in locating issues for scenarios such as SDK errors and reporting exceptions (examples in the materials include
code 51000,data not valid, etc.).
Extended Capabilities:
- Automated Integration for AI IDEs (Beta): When a user expresses intents such as “integrate SDK,” “auto-integrate,” “help me integrate,” or “generate integration code,” the assistant proceeds according to the specifications within the Skill.
- Integration Health Check for Integrated Projects: Corresponds to requests like “check integration,” “audit integration,” “audit,” or “health check,” providing assistance for integration-side inspection and auditing for already integrated projects.
The Skill’s trigger words are comprehensively listed in the official description: In addition to the above capabilities, when keywords like “Mini Program SDK,” “Data Source ID,” “SDK Quality Dashboard,” or “Event Coverage” appear in the conversation, or when the user explicitly requests to select an SDK type, troubleshoot reporting issues, or check tracking quality, the Agent should prioritize enabling this Skill.
Installation and Activation¶
Please refer to the official SkillHub instructions for installation. First, prepare the skillhub CLI according to the SkillHub Installation and Priority Source Configuration, and then install the skill to the skills directory actually read by your current Agent (installing to the wrong directory may prevent the Agent from recognizing it; the documentation requires the use of --dir).
1. Check or Install SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, you can use the official installation script (the full installation includes the CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
If only the CLI is needed:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
skillhub install @tencent-adm/datanexus-sdk-skills --dir <current Agent's skills directory>
The SkillHub page also provides an AI-oriented prompt-style installation instruction: Ask the Agent to install @tencent-adm/datanexus-sdk-skills based on https://skillhub.cn/install/skillhub.md.
3. Skills Directories for Various Clients (Excerpt)¶
The following paths are from the SkillHub installation documentation. Please replace them with the actual directories in your environment when installing:
| Environment | Skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ under the project |
After installation, restart or refresh the skill index according to the conventions of your Agent to enable the new Skill.
Typical Usage¶
This Skill is driven by conversation and project context; there are no separate “Hello World” commands listed that are unrelated to business logic. The typical usage is to align DataNexus integration tasks using natural language while a project is open, allowing the assistant to unfold the process according to the Skill’s internal workflows.
Selection and Integration Development
Specify the platform type and goal in the conversation, for example: “I want to integrate DataNexus in a WeChat Mini Program, help me select the SDK type and outline the SDK initialization steps.” Or: “Generate an iOS SDK integration code skeleton, requiring configuration of user_action_set_id and secret_key.”
Tracking and Mandatory Events
For example: “Complete the action_type tracking for PURCHASE and REGISTER according to the behavior list, and verify if mandatory events are complete.”
Debugging, Reconciliation, and Quality
For example: “Walk through the debugging and reconciliation in the SDK integration workflow, and check the event coverage rate against the SDK quality dashboard.”
Troubleshooting
For example: “Event reporting failed with errors containing code 51000 / data not valid, help me troubleshoot the SDK reporting issue.”
Automated Integration (Beta) and Health Check
For example: “Help me automatically integrate the DataNexus JS SDK.” Or: “Perform an SDK integration health check / audit on the current repository.”
The above sentence patterns are consistent with the “Use when” list in the official description; actual output still depends on the code structure in your repository and the configuration on the DataNexus console side. The assistant is responsible for guiding the steps according to Skill specifications rather than replacing official console operations.
Applicable Scenarios and Notes¶
Who is it for
- Frontend, client-side, and Mini Game/Mini Program developers who are currently integrating or planning to integrate the DataNexus data collection SDK.
- Teams that need to unify integration terminology and checklists across multiple platforms (iOS, Android, HarmonyOS, JS, Mini Programs, Mini Games).
- Projects that are already integrated but need to review tracking quality, compliance, and coverage, or need to perform integration audits/health checks on legacy projects.
Usage Notes
- Automated Integration is Beta: Before generating or modifying code, you should review it yourself in version control and complete debugging and reconciliation in a test environment.
- Sensitive Configurations:
secret_key,user_action_set_id, Data Source IDs, etc., should only come from your DataNexus/Marketing console and must not be written into public repositories. The Skill metadata indicatesrequires_api_key=false, which refers to the Skill installation item itself, not implying that keys are not needed for business reporting. - Data is Subject to Official Sources: The rating and download count of this Skill on SkillHub may change over time (page statistics may not be fully consistent with store listings). Integration behavior and event definitions remain subject to Tencent Marketing DataNexus official documentation and the console.
- Installation Path: Ensure
skillhub install ... --dirpoints to the skills directory of the current IDE Agent to avoid installing to the default./skills/which would result in the Skill not taking effect.
Conclusion¶
The “Tencent Marketing DataNexus SDK Integration Assistant” connects DataNexus SDK selection, integration development, event tracking, debugging, reconciliation, quality assessment, and troubleshooting into an executable assistant chain within AI IDEs, supplemented by Beta-level automated integration and integration health check capabilities. If you are currently dealing with SDK initialization, tracking, action_type, or reporting errors, you can directly invoke this Skill with clear semantic integration/audit requests after installing @tencent-adm/datanexus-sdk-skills.
- SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/datanexus-sdk-skills
- Skill Package Address: https://api.skillhub.cn/tencent-adm/datanexus-sdk-skills
- Installation Guide: https://skillhub.cn/install/skillhub.md