技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
product-recall-manager【数据与研究】Manages a complete product recall workflow in WooCommerce. Identifies products by model/metadata, deactivates them (draft/private/hidden), creates a Google Forms recall form, finds affected customers from orders, and sends personalized notification emails with the form link.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Execute a complete product recall process for a specified product model in WooCommerce.
recall_status: need_recall).draft status and hidden catalog visibility. Do NOT delete them.recall_form_template.json). The form must collect customer and product details for the recall process.recall_email_template.md), inserting their specific details and the Google Form link.recall_report.json file containing the generated Google Form's ID and URL.You must ask the user to specify the product model or identification criteria to initiate the recall. If not provided, examine existing products for metadata clues (e.g., recall_status: need_recall).
woocommerce-woo_products_list to browse store products.recall_status: need_recall or recall_reason.woocommerce-woo_products_batch_update to set status: "draft" and catalog_visibility: "hidden" for all target products. Provide a summary of affected products (IDs, Names, SKUs).google_forms-create_form with only the title parameter. The description cannot be set during creation.recall_form_template.json as a reference. Add questions sequentially using the appropriate google_forms-add_*_question functions:
google_forms-add_text_question for text, email, date fields.google_forms-add_multiple_choice_question for choice fields.required field settings from the template are applied.responderUri from the creation response is the public form link to include in emails.woocommerce-woo_orders_list with the product filter to find all containing orders.billing.email). Aggregate their order numbers and purchased product details.recall_email_template.md.[Customer Name], [Product Model], [Product ID], [Order Number], [Purchase Date], [Google Forms Link]).emails-send_email to send. The subject should be clear, e.g., "Product Recall Notice - [Product Model]".filesystem-write_file to create recall_report.json with the structure: