Logo Team Newsletter Publisher

Team Newsletter Publisher

Tổ chức
pnp
team-newsletter-publisher

Converts a Word newsletter generated from the Team Newsletter Word template (Team-Newsletter-Template.docx) into a designed newsletter as a PDF and/or a single self-contained HTML page, using the fixed Team Newsletter layout. Use when the user asks to "turn this newsletter Word file into a PDF", "publish the team newsletter", "make the newsletter HTML", "convert the newsletter doc", or selects a .docx created from the newsletter form. Do not use for writing newsletter content from scratch or for other document types.

Add to TypingMind

Tổng quan

Nhà phát hànhpnp
Kho mãsharepoint-skills
Tên kỹ năngteam-newsletter-publisher
Sao
141
Bản fork
60
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được pnp công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Team Newsletter Publisher trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pnp/sharepoint-skills/tree/main/Skills/team-newsletter-publisher/team-newsletter-publisher
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/sharepoint-skills.git /tmp/sharepoint-skills
mkdir -p .claude/skills
cp -r /tmp/sharepoint-skills/Skills/team-newsletter-publisher/team-newsletter-publisher .claude/skills/team-newsletter-publisher
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Team Newsletter Publisher trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Team Newsletter Publisher ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Team Newsletter Publisher với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Team Newsletter Publisher

Turn one filled Team Newsletter Word file into a finished newsletter that looks exactly like the Team Newsletter design. The content comes only from the Word file; the layout and styling come only from the files beside this SKILL.md.

Files in this skill

  • newsletter-template.html — the exact layout and CSS with {{Field}} placeholders. Treat it as the design master: keep its structure, class names and styles; only replace placeholders and remove hidden blocks.
  • field-mapping.md — where each Word field goes, its styling, length guidance, the empty-field rules, the hero-image rules, colours, type scale and a checklist.

The Word template users fill in, Team-Newsletter-Template.docx, is not part of this skill package. It is a download in the sample README (next to the README, outside this folder) and defines the {{Field}} names this skill reads. If a user needs a starting file, point them to that sample README.

Inputs

  • One Word file (.docx) created from the Team Newsletter form/template (Team-Newsletter-Template.docx, downloadable from the sample README). If the user has not selected one, ask which file to use (it normally sits in the same library as the template, e.g. "DUG Newsletter Demo").
  • Output format: PDF, HTML or both. If not stated, create both.

Instructions

  1. Read the Word file. Collect the value of every field in this order: IssueMonth, IssueSummary, OneSentenceSummary; FeaturedTag, FeaturedDate, FeaturedTitle, FeaturedImage, FeaturedBody, FeaturedAction; News1–3 (_Tag, _Date, _Title, _Body, _Link); Event1–2 (_DateTime, _Type, _Title, _Desc); Spot1_Name, Spot1_Role, Spot1_Story; Tip1–2 (_Title, _Body); ContributeNote, NextDeadline. Find values by their position under the fixed labels and section headings of the Word layout:
    • "DEPARTMENT NEWSLETTER" → the next lines are IssueMonth then IssueSummary.
    • "This month in one sentence:" → OneSentenceSummary.
    • "1 · Featured story" box → line "Tag · Date", then the title, then the picture, then the body, then "Action for you:" + FeaturedAction.
    • "2 · Latest news" → up to three stories, each as "Tag · Date", title, body, link.
    • "3 · Upcoming events" table (When | Type / Title | Details) → one row per event; the middle cell has the type on line 1 and the title on line 2.
    • "4 · Team spotlight" → "Name — Role", then the story.
    • "5 · Quick tips" → title + body, twice.
    • "6 · Have something for the next issue?" → ContributeNote, then "Deadline for next issue:" + NextDeadline. Ignore instruction text that is not content, and never copy it into the newsletter:
    • "Hero image (map this field as Image)" (caption in older copies of the template).
    • The whole bracketed guidance note under {{FeaturedImage}} that starts "(Image from Word to HTML has shown mixed results" and ends "…uses that image from the library in the HTML.)".
    • The sentence after that note: "Update the Skill if you choose the Library route for the image."
    • "Three short updates. Leave a slot empty if you have fewer stories."
  2. Treat a field as empty when it is blank or still shows its placeholder (for example {{News3_Title}}).
  3. Copy text exactly. Do not rewrite, summarise, shorten, translate or add content. Never invent a value for an empty field. Keep paragraph breaks in FeaturedBody.
  4. Hero image. Use the picture embedded in the Featured story box of the Word file. Embed it (HTML: data: URI in <img data-field="FeaturedImage">; PDF: embedded image), full column width, 16:9 cropped to fill (object-fit: cover), max height 70 mm in print, alt text = FeaturedTitle. If there is no picture, remove the whole <figure> — never show the placeholder text, an empty box or a broken image.
  5. Fill the design. Start from newsletter-template.html. Replace each {{Field}} with its value, escaping HTML special characters. Put the URL from NewsN_Link in {{NewsN_Href}} (the link target) and its link text in {{NewsN_Link}}; if the link is only a URL, show the text "Read more".
  6. Apply the empty-field rules from field-mapping.md:
    • News card with no title → remove the card; remaining cards share the row. No news → remove section 2.
    • Event row with no title → remove the row. No events → remove section 3.
    • No Spot1_Name or Spot1_Story → remove section 4. No role → drop the dash and role.
    • Tip with no title → remove it. No tips → remove section 5.
    • Empty IssueSummary, OneSentenceSummary, FeaturedAction or NextDeadline → remove that line/box.
    • Empty ContributeNote → use "Send your ideas to the newsletter team."
    • Renumber the remaining sections 1, 2, 3… with no gaps, and update the contents strip in the masthead to match.
  7. Create the outputs.
    • HTML: one self-contained file (inline CSS, image as data URI, no external scripts or fonts), named Team-Newsletter-<Month>-<Year>.html.
    • PDF: A4 portrait, 13 mm side margins, same layout as the HTML print view, running footer "Internal newsletter · Page N", named Team-Newsletter-<Month>-<Year>.pdf.
    • Save both in the same folder as the source Word file unless the user names another location.
  8. Check before you finish (see the checklist in field-mapping.md): no {{ left anywhere; IssueMonth matches in masthead and footer; empty slots removed, not blank; image present and undistorted or removed; no cut-off text; no heading alone at the bottom of a page.
  9. Report back in two or three lines: the file names created, which fields were empty and therefore hidden, and anything that looked unusual in the Word file (for example a missing label or a picture outside the Featured story box).

Design rules (summary)

  • Colours only: navy #03274A, mid blue #164C80, body #161616, muted #5A5A57, pale blue #DCE8F3, tint #F5F8FB, yellow #FFD633, white.
  • Font: Arial, Helvetica, Liberation Sans, sans-serif. Masthead title 40 pt bold, featured headline 22 pt bold, section headings 16 pt bold, body 10 pt / 1.45.
  • Section order is fixed: 1 · Featured story, 2 · Latest news, 3 · Upcoming events, 4 · Team spotlight, 5 · Quick tips, 6 · Have something for the next issue?
  • No organisation logos or branding beyond what the Word file contains.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Team Newsletter Publisher làm được gì?

Converts a Word newsletter generated from the Team Newsletter Word template (Team-Newsletter-Template.docx) into a designed newsletter as a PDF and/or a single self-contained HTML page, using the fixed Team Newsletter layout. Use when the user asks to "turn this newsletter Word file into a PDF", "publish the team newsletter", "make the newsletter HTML", "convert the newsletter doc", or selects a .docx created from the newsletter form. Do not use for writing newsletter content from scratch or for other document types.

Vì sao nên dùng Team Newsletter Publisher trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Team Newsletter Publisher là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Team Newsletter Publisher trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pnp/sharepoint-skills/tree/main/Skills/team-newsletter-publisher/team-newsletter-publisher. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Team Newsletter Publisher?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Team Newsletter Publisher với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Team Newsletter Publisher với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Team Newsletter Publisher có miễn phí không?

Có. Kỹ năng này được pnp phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇