vnstock-migration-expert

Migrate vnstock imports to vnstock_data using AST-based Python scripts.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/quangkmhd/Vietstock_Agent --skill vnstock-migration-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vnstock-migration-expert
Source: https://github.com/quangkmhd/Vietstock_Agent/tree/main/.agents/skills/vnstock-migration-expert
Command: npx skills add https://github.com/quangkmhd/Vietstock_Agent --skill vnstock-migration-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires os, re, argparse, sys, and includes scripts (resource) components.

What problem does it solve?

Expert guidance and tooling to migrate vnstock code during upgrades from the Free tier to Sponsor (vnstock_data) and to the Unified UI (v3.0.0+), safeguarding user projects from disruption.

Core Features & Use Cases

  • Guided migration: Provides a clear, multi-step process to prepare backups, validate environments, and execute AST-based imports migration.
  • Automated refactor: Includes a Python-based migration script that converts vnstock imports to vnstock_data across a codebase.
  • Unified UI alignment: Maps legacy API usage to the 7 UI layers and guides updates for a smooth transition.

Quick Start

Run migrate_to_vnstock_data.py on your project to convert vnstock imports to vnstock_data and prepare for Unified UI.

Frequently Asked Questions about vnstock-migration-expert

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

FAQPage Schema
How do I migrate vnstock code to vnstock_data for Sponsor upgrades?

To migrate vnstock code to vnstock_data, run the provided Python script which uses AST-based refactoring to convert imports. This automated process prepares projects transitioning from Free to Sponsor for v3.0.0+ architectures.

What is the process to update vnstock imports for Unified UI deployment?

Updating vnstock imports for Unified UI involves a guided, multi-step process: creating backups, validating virtual environments, and executing AST-based import migration. Legacy API usage is then mapped to the 7 UI layers.

Do I need a virtual environment to upgrade vnstock to v3.0.0+?

Yes, a virtual environment is enforced when upgrading vnstock to v3.0.0+ architectures. Validating environments and creating project backups are mandatory preparatory steps before executing the AST-based code changes.

Can I automate refactoring vnstock imports across my codebase?

Yes, you can automate refactoring vnstock imports using the included Python migration script. It performs AST-based code changes to systematically convert vnstock references to vnstock_data across your project.

What are the limitations of the vnstock migration script?

The vnstock migration script targets projects upgrading from Free to Sponsor and adopting v3.0.0+ architectures. It enforces backups and virtual environment usage, meaning projects outside this transition scope may not be suitable candidates.

Why does the vnstock migration script use AST-based code changes?

The vnstock migration script uses AST-based code changes to safely and accurately parse Python syntax. This ensures precise import conversion from vnstock to vnstock_data without causing disruption to user codebases.