Agent skill

Publicity Article

by opentiny in opentiny/genui-sdk

Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes.

MITAuto-check passedDevelopment

Install Publicity Article

skills CLI
$ npx skills add opentiny/genui-sdk --skill publicity-article -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opentiny/genui-sdk publicity-article --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opentiny/genui-sdk.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/publicity-article .claude/skills/publicity-article && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
publicity-article
GitHub stars
172
Token cost
~1.1k tokens
SKILL.md length
241 words
Files
3
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes.

  • Works in 6 steps: :确认版本与素材 → :核实代码事实 → :提炼主题方向 → …
  • The user asks for a 宣传文章
  • SKILL.md covers Step 1:确认版本与素材, Step 2:核实代码事实, Step 3:提炼主题方向 and Step 4:拟定标题与导语, plus 3 more sections
  • Calls rg, gh and git

What it does

Publicity Article is an agent skill from opentiny/genui-sdk. Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes. Extracts highlight themes, drafts catchy titles, and produces a full Chinese marketing post with overview, feature deep-dives, and OpenTiny NEXT footer. Use when the user asks for a 宣传文章, 版本推广文, 掘金文章, 公众号文章, publicity article, or marketing post for a genui-sdk release.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `examples.md` and `style-guide.md`).

It sits in Development, covering Changelog and release notes. It works with npm. The repository describes itself as: A Generative UI SDK for Vue, Angular and React. The licence is MIT.

When your agent uses it

  • The user asks for a 宣传文章
  • Publicity article
  • Marketing post for a genui-sdk release

Example prompts

  • “/publicity-article”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. :确认版本与素材
  2. :核实代码事实
  3. :提炼主题方向
  4. :拟定标题与导语
  5. :按固定结构撰写
  6. :终稿自检与交付

What it can do on your machine

Read from SKILL.md and the folder at commit 98fb5d1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • rg
    • gh
    • git
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • juejin.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Publicity Article loads about 1.1k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 241 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~96
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opentiny/genui-sdk at commit 98fb5d1, republished under its MIT licence (© opentiny). 241 words, ~1,054 tokens.

Download SKILL.mdSave it as .claude/skills/publicity-article/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
publicity-article
description
Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes. Extracts highlight themes, drafts catchy titles, and produces a full Chinese marketing post with overview, feature deep-dives, and OpenTiny NEXT footer. Use when the user asks for a 宣传文章, 版本推广文, 掘金文章, 公众号文章, publicity article, or marketing post for a genui-sdk release.

GenUI SDK 版本宣传文章

为 opentiny/genui-sdk 撰写版本宣传文章,面向掘金、公众号及其他技术社区。

参考既往文章:v1.2.0、v1.1.0。

分工:本文件只写流程;文风、固定文案、各章节写法与禁忌以 style-guide.md 为唯一事实源;成稿骨架见 examples.md。三者内容不互相重复。

进度:

  • 1. 确认版本与素材,筛选有价值变更
  • 2. 核实代码事实(包名 / 导出 / 子路径 / API 签名)
  • 3. 提炼主题方向
  • 4. 拟定标题与导语
  • 5. 撰写全文并写入 publicity-article.md
  • 6. 终稿自检 + 输出配图清单

Step 1:确认版本与素材

  1. 确认本次宣传的 tag(如 v1.3.0)。
  2. 素材按优先级取用:仓库根目录 releaseNote.md(对应本版本时)→ GitHub Release(gh release view <tag> --repo opentiny/genui-sdk --json name,body,url)→ 都没有则先走 release-notes 技能生成。

变更筛选(决定文章写什么,比怎么写更影响质量):

  • Features 优先;对体验有感知的 Bug Fixes / Refactor 进「其他值得关注的修复」;Docs / Site / Build / CI / dependabot 不展开(除非用户点名)
  • 同一迭代内新增又修掉的问题不写:若某 fix 修的是本版新特性(如本版新增 refs,同版又修流式空 ref 报错),读者在稳定版从未踩过,写出来反而像自曝,留给 Release Note;只写升级用户可感知的存量问题修复
  • 打 patch 修的不写:改动落在 patches/ 目录(pnpm patchedDependencies)的修复只在本仓库生效,SDK 用户升级拿不到,不能当作版本能力宣传。拿不准时用 git show --stat <merge-commit> 看该 fix 改了哪些文件
  • 修复筛完不足 3 条就少写,整节可省略,不硬凑

Step 2:核实代码事实

文章会贴代码、包名、import 路径与 API 签名,必须与仓库源码一致——模型对自家 API 的记忆常出错(臆造导出名、子路径、方法签名),贴错直接误导开发者。写代码片段前逐项核对:

  • 包名:packages/*/package.json 的 name;注意框架包(@opentiny/genui-sdk-vue / -angular)与物料包(@opentiny/genui-sdk-materials-*)的命名差异
  • 导出名:组件 / 函数 / 类型是否真实导出,看 src/index.ts 与 package.json 的 exports
  • 子路径:/meta、/materials 这类子路径必须存在于 exports map,不凭包名臆测
  • API 签名:参数顺序与可选字段,读对应 .ts 源码确认
  • Schema 字段:refs / lifeCycles / methods / state 等对照 Zod schema(packages/core/src/protocols/schema.ts)
bash
# 例:确认导出与子路径
rg "export" packages/core/src/index.ts
cat packages/materials/vue-element-plus/package.json   # 看 exports map

两条红线:

  1. 未在源码确认的 API / 包名 / 子路径不得写入代码示例,改为文字描述或标「以实际版本为准」
  2. 未发布 / 未合并的能力不写。「已发布」要能按目标版本在 npm 查到:npm view <pkg>@<target-version> version(不带版本号会默认取 latest,可能落后于目标版本),并核对目标版本的 exports / 包内文件确认确实发布了该能力;仓库里只有构建产物、查无源码与发包记录的,一律不提

Step 3:提炼主题方向

从变更中归纳宣传主题(不是按 PR 罗列)。数量按变更体量定,相近能力合并、差异大的拆开,勿为凑数硬拆硬并。命名口语化、利益导向:

坏(工程日志)好(宣传主题)
feat: materials decoupling物料可插拔,接入更灵活
fix streaming buffer流式渲染更稳
playground A2A / SkillsPlayground 能力全面升级

每个主题挂若干短 bullet 供「版本特性总览」使用。同一能力只归属一个主题并只在该处展开,其他地方最多一句带过(例:Legacy 组件属于物料迁移,就不要在多框架一节再解释一遍)。

注意归属事实:框架切换、混用渲染等若实际是演练场特性,就放 Playground 主题下,不要另立「SDK 能力」小节造成结构重叠。

Step 4:拟定标题与导语

标题公式、收益词要求、字数限制见 style-guide「标题风格」。流程要求:

  • 一次给出 2~3 个候选,正文采用最贴合的,其余在对话中备选
  • 情绪钩子每版换新,不复用上一版标题的钩子(连用「这次更新太良心!」会显得模板化)

导语节奏:固定产品介绍句(style-guide)→ 可加 1~2 句场景化铺垫把读者代入痛点 → 宣布版本与主题(加粗主题词,与全文一致)→ 收益词收尾 → 链接块。

Step 5:按固定结构撰写

章节顺序(名称可微调,顺序不变):

markdown
## 前言
## 版本特性总览
## 新特性详解
## 其他值得关注的修复   # 可省略
## 总结
## 关于 OpenTiny NEXT

各章节写法、语气、配图占位规范见 style-guide。一条总原则:不写成 changelog 翻译,用场景与收益串联,让读者感到「这跟我有关」。

分寸感:面向接入方的章节(Core、物料、渲染器)可以贴 API 与代码;面向体验方的章节(Playground 等)只讲「有什么特性、怎么用」,不讲实现机制与内部命名。

成稿写入仓库根目录 publicity-article.md:文件不存在时新建;已存在时(可能是上次草稿或用户改过)先读一遍,把用户手写/手改过的内容并入新稿,未经用户确认不得整体覆盖;用户提出的修改意见在后续迭代中同步回写。

Step 6:终稿自检与交付

多轮增量修改后文章极易「结构漂移」。初稿完成后、以及每次较大修改后,通读全文过一遍:

  • 标题、前言、总览、总结中的主题词一致(数量与措辞对齐)
  • 总览每个 bullet 在详解有落点;详解没有总览未提的大节
  • 同一能力只展开一次,没有两节重复解释
  • 占位统一 【占位:一句话说明】 格式,全文不超过 5 处
  • 用户手写 / 手改过的段落未被后续编辑覆盖
  • 新增或改动过的代码块、包名再对一遍源码

对话中交付:选用标题与备选、配图清单(位置 / 建议内容 / 格式)、需用户补充的事实(数据、截图、未确认能力)。不要擅自发布到掘金、公众号或其他平台。

与 release-notes 技能的关系

技能产出受众
release-notesreleaseNote.md(按 PR 分类的变更清单)开发者 / GitHub Release
publicity-articlepublicity-article.md(主题化叙事)掘金 / 公众号读者

宣传文以 release notes 为「做了什么」的事实源;代码 / API 类事实以仓库源码为最终事实源(Step 2)。预览特性需标明「预览 / 需开关」并写清开启方式。

© opentiny, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in .agents/skills/publicity-article of opentiny/genui-sdk.

  • SKILL.md
  • examples.md
  • style-guide.md

Open the folder on GitHubat commit 98fb5d1

Compare with similar skills

Publicity Article next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Publicity Article compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Publicity Article this skillopentiny/genui-sdk172—~1.1kAutomated safety check: PassMIT
Cutting A ReleaseTriliumNext/Trilium38k—~3.2kAutomated safety check: PassAGPL-3.0
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT
Hunk Release Workflowmodem-dev/hunk9.6k—~3.8kAutomated safety check: PassMIT
Version ReleaseNG-ZORRO/ng-zorro-antd9.2k—~3.1kAutomated safety check: PassMIT
AionUi Version BumpiOfficeAI/AionUi33k—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Cutting A Release

    TriliumNext/Trilium

    A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.

    38k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Hunk Release Workflow

    modem-dev/hunk

    Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.

    9.6k GitHub stars~3.8k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Version Release

    NG-ZORRO/ng-zorro-antd

    NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.

    9.2k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • AionUi Version Bump

    iOfficeAI/AionUi

    Automates an AionUi release: checks the latest AionCore release and its artifacts, updates package.json, writes the changelog, opens a PR and tags the release.

    33k GitHub stars~2.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Release Round

    ethereumjs/ethereumjs-monorepo

    Runs a coordinated EthereumJS npm release round in six human-gated phases — intent and readiness, CHANGELOG, version bump, publish (human executes), post-publish verification, and announcements.

    2.8k GitHub stars~2k tokensUpdated 21 days ago
    DevelopmentAuto-check passed

More from opentiny/genui-sdk

  • Release Notes

    opentiny/genui-sdk

    Generate and publish formatted GitHub Release Notes for opentiny/genui-sdk.

    172 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Genui Integration

    opentiny/genui-sdk

    genui-sdk 全方位指南:安装、配置、集成、示例。用户提到 genui-sdk、genui-sdk-server,或想构建 AI 聊天界面、动态 UI 组件、Node.js 后端 LLM 代理(OpenAI 兼容 chat/completions API)时使用。涵盖 Vue/Angular 前端(主题、物料、GenuiChat/GenuiRenderer)与 Server…

    172 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Docs I18n

    opentiny/genui-sdk

    Sync GenUI SDK docs between Chinese and English when adding, editing, renaming, or deleting documentation under docs/.

    172 GitHub stars~962 tokensUpdated today
    Auto-check passed
  • Update Docs PR

    opentiny/genui-sdk

    After publishing a new @opentiny/genui-sdk package, update opentiny/docs (submodule, genui package versions, VitePress sidebar) and opentiny/opentiny.design (submodule commit only), then open PRs on…

    172 GitHub stars~819 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Publicity Article

What does Publicity Article do?

Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes. Publicity Article is an agent skill from opentiny/genui-sdk. Write GenUI SDK version publicity articles for 掘金, 公众号, and other platforms from release notes.

When should I use Publicity Article?

Publicity Article fits situations like: the user asks for a 宣传文章; publicity article; marketing post for a genui-sdk release.

How do I install Publicity Article in Claude Code?

Run `npx skills add opentiny/genui-sdk --skill publicity-article -a claude-code`. Or copy the skill folder (.agents/skills/publicity-article in opentiny/genui-sdk) into .claude/skills/publicity-article in your project. Claude Code loads it when a task matches its description.

How do I install Publicity Article in Codex?

Run `npx skills add opentiny/genui-sdk --skill publicity-article -a codex`. Or copy the skill folder (.agents/skills/publicity-article in opentiny/genui-sdk) into .agents/skills/publicity-article in your project. Codex loads it when a task matches its description.

Can I use Publicity Article in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opentiny/genui-sdk --skill publicity-article -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/publicity-article, .gemini/skills/publicity-article, .github/skills/publicity-article and .opencode/skills/publicity-article in your project.

What does Publicity Article need to run?

Going by SKILL.md and its folder, Publicity Article needs the command-line tools its instructions call (rg, gh, git and npm).

Does Publicity Article access the network?

SKILL.md names 1 domain. As links in the text: juejin.cn. This is read from the text; nothing was executed.

Is Publicity Article safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Publicity Article use?

Publicity Article is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Publicity Article use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Publicity Article?

Skills that share tags, products or a category with Publicity Article: Cutting A Release (TriliumNext/Trilium, 38k stars), Verdaccio Pull Request Workflow (verdaccio/verdaccio, 18k stars), Hunk Release Workflow (modem-dev/hunk, 9.6k stars) and Version Release (NG-ZORRO/ng-zorro-antd, 9.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Publicity Article?

opentiny (a GitHub organization) maintains it in opentiny/genui-sdk, which has 172 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 10, 2026.

Source: opentiny/genui-sdk on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.