Prompt — Tạo script kéo data tự động
# Prompt — Tạo script kéo data tự động
Dùng khi: bạn đang làm một việc lặp đi lặp lại — copy data từ chỗ A, paste vào chỗ B, xử lý — và muốn tự động hóa nó.
Copy toàn bộ phần dưới, paste vào Claude, điền vào chỗ []:
Mình là growth marketer, không chuyên về code. Mình cần một Python script đơn giản để tự động hóa việc sau:
**Việc mình đang làm thủ công:**
[Mô tả chi tiết từng bước — ví dụ: mỗi sáng mình mở Google Sheets, copy cột A và B, paste vào Excel, tính tổng, lưu file]
**Data source:**
[Data đang nằm ở đâu — Google Sheets, CSV file, Excel, API, v.v.]
**Output mình muốn:**
[Kết quả cuối cùng là gì — file CSV, báo cáo text, email, v.v.]
**Tần suất chạy:**
[Hàng ngày / hàng tuần / khi nào mình cần]
**Môi trường:**
- Hệ điều hành: [Mac / Windows]
- Python đã cài chưa: [có / không biết]
- Đã dùng Terminal chưa: [có / chưa bao giờ]
Viết script Python đơn giản nhất có thể làm được việc trên. Requirements:
- Comment tiếng Việt giải thích mỗi phần làm gì
- Xử lý lỗi cơ bản — nếu file không tìm thấy hoặc kết nối lỗi thì thông báo rõ ràng
- Không dùng library phức tạp nếu có cách đơn giản hơn
- Cuối script in ra thông báo rõ là đã xong hay có vấn đề gì
Kèm hướng dẫn cài đặt và chạy lần đầu, viết cho người chưa bao giờ dùng Terminal.
*English version*
I'm a growth marketer, not a developer. I need a simple Python script to automate the following:
**What I'm doing manually:**
[Describe each step — e.g. every Monday I open Google Sheets, copy columns A and B, paste into Excel, calculate totals, save the file]
**Data source:**
[Where the data lives — Google Sheets, CSV, Excel, API, etc.]
**Output I want:**
[What the final result should be — CSV file, text report, email, etc.]
**How often:**
[Daily / weekly / on demand]
**My setup:**
- OS: [Mac / Windows]
- Python installed: [yes / not sure]
- Used Terminal before: [yes / never]
Write the simplest Python script that does this. Requirements: comments explaining each section, basic error handling, and a clear success/failure message at the end. Include setup and first-run instructions for someone who has never used Terminal.when to use it
Community prompt sourced from the open-source GitHub repo thaolst/ai-growth-agents-for-marketers (MIT). A "Prompt — Tạo script kéo data tự động" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
thaolst/ai-growth-agents-for-marketers · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions