report-to-google-doc
यह क्या करती है
यह स्किल एक मौजूदा HTML विश्लेषण रिपोर्ट को ऐसे दस्तावेज़ में बदलती है जो Google Drive पर साझा हो सके। यह उन लोगों के लिए है जिन्हें रिपोर्ट को संपादन योग्य दस्तावेज़ के रूप में दूसरों को भेजना है।
कब इस्तेमाल करें
- ✓जब आपके पास HTML रिपोर्ट है और आप उसे Google Doc के रूप में चाहते हैं।
- ✓जब आपको रिपोर्ट Word फ़ाइल के रूप में साझा करने या संपादित करने के लिए चाहिए।
- ✓जब कोई रिपोर्ट दूसरों के पढ़ने के लिए Drive पर अपलोड करनी हो।
Skill का लिंक
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/data-analytics/workflows/build-report/report-to-google-doc/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपनी HTML बिक्री रिपोर्ट को अपने Drive में साझा होने वाले Google Doc में बदलना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक हेल्पर स्क्रिप्ट चलाता है जो HTML रिपोर्ट को Word फ़ाइल में बदलती है, फिर उसे Drive पर अपलोड करती है। बदलने से पहले एजेंट जाँचता है कि स्रोत असली रिपोर्ट है, साइन-इन पेज या खाली फ़ाइल नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Report To Google Doc
Use this skill only when the user explicitly needs a shareable Google Drive document from an existing HTML analytics report. The source must be an HTML report: a local file, a downloaded blob-hosted report, or a report produced by $build-report
HTML mode or an equivalent local portable report source.
The expected path is HTML -> DOCX -> Drive upload. It is acceptable for Drive to host the upload as a DOCX-backed viewer file rather than a native Google Docs MIME type. Do not use the old Google Docs batch-update request path.
Workflow
Resolve the HTML report.
Use an absolute local path. If the user provides a remote report, retrieve it first and pass the local HTML file to the helper. If the file is a sign-in page, redirect page, or tiny stub, stop and obtain the real report.
Run the bundled helper.
python3 <REPORT_TO_GOOGLE_DOC_SKILL_DIR>/scripts/report_to_google_doc_plan.py \ /absolute/path/to/report.html \ --out-dir /tmp/report_to_google_doc_planOmit
--render-workerson the normal path. Only pass a worker count after benchmarking the same report family locally. If dependencies are missing, use a local virtual environment withbeautifulsoup4,pillow, andpython-docx;cairosvgor headless Playwright are optional renderers.Inspect helper outputs.
Required outputs:
skeleton.txt: source text with stable placeholdersmanifest.json: parsed headings, tables, callouts, lists, styles, links, and rendered visual inventorypreflight_checks.json: source, width, DOCX, and rendered-image checksreport.docx: generated local Word documentdocx_upload_plan.json: compact upload instructionsplaceholder_queries.json: source mapping debug labels
Do not upload until
preflight_checks.jsonhasstatus: "passed"with zero errors. Warnings must either be fixed or called out in the handoff.Upload the DOCX.
mcp__codex_apps__google_drive._upload_file({ "file_uri": "/tmp/report_to_google_doc_plan/report.docx", "file_name": "Report Name.docx", "mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document" })Treat the returned Drive URL as the deliverable. Do not attempt to force native Google Docs conversion, and do not fall back to
_batch_update_document.Validate the uploaded result.
Confirm the uploaded file is readable and non-empty. Compare uploaded text against the source inventory: title, section headings, executive summary or answer callout, caveats, recommendations, source notes, and source links. Inspect the local
report.docxstructure when available: heading counts, lists, tables, hyperlink relationships, and image relationships should matchmanifest.json.Hand off the link.
Return the Drive/Docs URL and, when useful, the local DOCX path or source HTML path. Connector success alone is not enough; the handoff is complete only after the uploaded file and local DOCX structure have been checked against the source report. Keep routine check and preflight details in support artifacts. Do not list internal checks in the user-facing handoff unless a check failed, was unavailable, or produced a user-relevant caveat.
Standards
- Preserve every section, headline claim, metric card, metric definition, source note, chart takeaway, recommendation, caveat, and link from the HTML report.
- Preserve semantic formatting: headings, paragraphs, inline bold/emphasis, inline code, positive/negative colors, links, lists, callouts, metric-card grids, tables, notes, captions, and charts.
- Use DOCX-native structures wherever practical: headings, paragraphs, tables, bullets/numbered lists, links, inline images, paragraph shading, table cell shading, and text styles.
- Keep the report text column readable. Tables, charts, rendered table grids, screenshots, and visual blocks must not exceed the DOCX page text width.
- Preserve charts as inline images rendered from the source visual or its same-data SVG fallback, aligned to the same left edge as text and tables. A chart with missing bars, missing legend swatches, or all-black/all-white marks fails validation even if the DOCX contains an image object.
- Preserve multi-column report blocks. A two-column grid made only of titled mini-tables can remain a two-column rendered image capped to the text width; mixed two-column blocks with narrative text,
अक्सर पूछे जाने वाले सवाल
क्या यह कोई भी फ़ाइल बदल देगी?
नहीं। स्रोत HTML रिपोर्ट होना चाहिए, और साइन-इन पेज या अधूरी फ़ाइल पर स्किल रुक जाती है।
क्या यह असली Google Doc बनेगा?
स्किल बताती है कि Drive इसे Word पर आधारित व्यूअर फ़ाइल के रूप में रख सकता है, असली Google Docs फ़ाइल के रूप में नहीं।
क्या यह दूर से मिली रिपोर्ट से शुरू हो सकती है?
हाँ। एजेंट पहले रिपोर्ट डाउनलोड करता है और फिर स्थानीय फ़ाइल हेल्पर को देता है।
जानकारी
लेखक का मूल विवरण
Narrow conversion skill. Invoke only when the user explicitly asks to convert an existing local or blob-hosted HTML analytics report into a Google Doc, DOCX, or shareable document.
repo: XiaomiMiMo/MiMo-Code
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11311
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
effect
14kआपके एजेंट को Effect TypeScript फ़्रेमवर्क के सवालों के जवाब देने में मदद करती है, याददाश्त पर भरोसा करने के बजाय उसका सोर्स कोड और दस्तावेज़ जाँचकर।
arxiv
14kआपके एजेंट को arXiv पर शोधपत्र खोजने, पढ़ने, उद्धृत करने और उन पर नज़र रखने में मदद करती है, जिसमें सार, BibTeX उद्धरण, PDF डाउनलोड और उद्धरण लिंक शामिल हैं।
claude-code
14kआपके एजेंट को कोडिंग का काम Claude Code कमांड-लाइन टूल को सौंपने में मदद करती है, एक बार चलने वाले रन, इंटरैक्टिव सेशन या पृष्ठभूमि जॉब के रूप में।
codex
14kआपके एजेंट को बिना चैट विंडो के OpenAI Codex कमांड-लाइन टूल चलाने में मदद करती है, कोडिंग काम, स्क्रिप्ट और स्वचालित पाइपलाइन के लिए।
मिलती-जुलती skills
feishu-doc
394kयह आपके एजेंट को document टूल से Feishu क्लाउड दस्तावेज़ पढ़ने, बनाने और बदलने में मदद करती है, जिसमें टेक्स्ट, इमेज और टेबल शामिल हैं।
feishu-drive
394kयह आपके एजेंट को बॉट के साथ साझा किए गए Feishu क्लाउड फ़ोल्डर में फ़ाइलें देखने, व्यवस्थित करने और उन पर टिप्पणी करने देती है।
feishu-perm
394kयह आपके एजेंट को Feishu फ़ाइल तक किसकी पहुंच है, यह जांचने और बदलने देती है, और आपके अनुरोध के लिए सबसे छोटी अनुमति चुनती है।