primary-pinyin-update

Update a character's pinyin JSON and run backend scripts to synchronize the database.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jarodmeng/daydreamedu-scripts --skill primary-pinyin-update
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: primary-pinyin-update
Source: https://github.com/jarodmeng/daydreamedu-scripts/tree/main/.cursor/skills/primary-pinyin-update
Command: npx skills add https://github.com/jarodmeng/daydreamedu-scripts --skill primary-pinyin-update

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow ensures the primary pinyin for a Chinese character is correct and removes unwanted readings from the character's pinyin list, streamlining searches and recall.

Core Features & Use Cases

  • Update the JSON entry for a character to prune incorrect readings and set the desired primary pinyin.
  • Run the backend update and verification scripts to synchronize the database and search indexes.
  • Maintain a changelog to document primary pinyin fixes for future reference.

Quick Start

Update a character's pinyin to set the primary reading and prune incorrect readings.

Frequently Asked Questions about primary-pinyin-update

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

FAQPage Schema
How do I update a character's primary pinyin and remove incorrect readings from a JSON file?

To update a character's primary pinyin, you modify the JSON entry to prune unwanted readings, run the backend update script to sync the hwxnet_characters table, and verify results with a verification script.

What does setting a primary pinyin reading achieve for Chinese character search?

Setting a primary pinyin reading standardizes character pronunciations and removes incorrect readings, which streamlines search queries and improves recall accuracy for Chinese characters.

How do I synchronize the hwxnet_characters database table after pruning incorrect pinyin readings?

After modifying the JSON entry to correct the pinyin list, trigger the backend update script to synchronize the hwxnet_characters database table and update the search indexes.

Why should I maintain a changelog when standardizing Chinese character pinyin data?

Maintaining a changelog documents primary pinyin fixes for future reference, ensuring that any modifications to the character JSON entries and database synchronization are tracked properly.

Can I skip the verification script after running the backend update for pinyin data cleaning?

No, the workflow enforces a strict sequence: modify the JSON entry, run the update script for the hwxnet_characters table, and then verify results with the verification script to ensure accuracy.

What is the best way to prune unwanted readings from a Chinese character's pinyin list?

The best way to prune unwanted readings is to update the JSON entry to set the desired primary pinyin, trigger the backend update script, and verify the synchronization results.