Skip to content

chore: add publicity-article skill - #239

Open
gimmyhehe wants to merge 2 commits into
devfrom
add-publicity-article-skill
Open

chore: add publicity-article skill#239
gimmyhehe wants to merge 2 commits into
devfrom
add-publicity-article-skill

Conversation

@gimmyhehe

@gimmyhehe gimmyhehe commented Jul 31, 2026

Copy link
Copy Markdown
Member

新增发布文章skill

Summary by CodeRabbit

  • New Features
    • Added guidance for creating Chinese GenUI SDK release marketing articles.
    • Added reusable article examples covering feature highlights, fixes, summaries, links, and illustration suggestions.
    • Added writing standards for structure, tone, factual verification, API references, release scope, and publication readiness.
  • Documentation
    • Documented a structured workflow with source verification and consistency checks.
    • Clarified how to preserve existing article content and avoid unsupported claims or unpublished capabilities.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 43c49dca-56c1-4acd-a8f7-052e3849230b

📥 Commits

Reviewing files that changed from the base of the PR and between 524a59b and fbca252.

📒 Files selected for processing (3)
  • .agents/skills/publicity-article/SKILL.md
  • .agents/skills/publicity-article/examples.md
  • .agents/skills/publicity-article/style-guide.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • .agents/skills/publicity-article/examples.md
  • .agents/skills/publicity-article/style-guide.md

Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review.


Walkthrough

Updated the publicity-article skill with publication checks and draft-preservation rules. Added Chinese article examples and style guidance for GenUI SDK release marketing content.

Changes

Publicity Article Authoring

Layer / File(s) Summary
Publicity article workflow
.agents/skills/publicity-article/SKILL.md
Keeps the progress checklist as Markdown, verifies the target npm version and its package contents, and preserves existing article drafts unless replacement is confirmed.
Article examples and style rules
.agents/skills/publicity-article/examples.md, .agents/skills/publicity-article/style-guide.md
Adds versioned article examples, media placeholders, Chinese writing rules, validation requirements, fixed sections, and prohibited content patterns.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to fbca2

This PR adds a publicity-article skill and related guidance files; no actionable merge-blocking risk remains beyond normal checks and review.

Poem

A rabbit checks each source with care,
Then places headings neatly there.
Drafts stay safe and versions shine,
Examples hop in ordered line.
Release stories grow clear and fine.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding the publicity-article skill and its supporting documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-publicity-article-skill

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/skills/publicity-article/examples.md:
- Around line 14-72: Update the outer Markdown example fence in the documented
example so it uses a longer fence than the nested TypeScript fence, such as four
backticks, while preserving the inner ```ts block and the example content
unchanged.

In @.agents/skills/publicity-article/SKILL.md:
- Line 102: Update the draft-writing instructions in the publicity article
workflow to preserve an existing publicity-article.md: create it when absent,
merge generated content with existing user edits when present, and require
explicit user confirmation before replacing the entire file. Remove the
unconditional overwrite directive while retaining synchronization of approved
user feedback.
- Around line 19-27: Update the progress checklist block in SKILL.md by either
removing the unnecessary fence so the task items render normally, or labeling
the existing fence as markdown; ensure no unlabeled fenced block remains and
preserve the checklist content.
- Around line 59-60: Update the publication-verification guidance in the
numbered rules to require checking the advertised target package version, using
version-qualified npm metadata and inspecting that version’s exports or package
files; do not rely on unqualified latest results when validating package-level
release claims, and retain the rule against mentioning unverified or unpublished
capabilities.

In @.agents/skills/publicity-article/style-guide.md:
- Around line 28-31: Update the “总览写法” guidance and the corresponding overview
topic examples in examples.md to use one consistent heading convention;
explicitly allow both bold labels and ### headings, or change the example to
match the canonical bold-label format.
- Around line 84-88: Update the release-summary template around “GenUI SDK
v{version}” so the bold theme list supports the workflow-selected number of
themes, including Example A’s four themes. Use a variable-length theme
representation, or consistently constrain the workflow and all examples to a
maximum of three themes.
- Around line 81-88: Clarify the placeholder contract in the publicity article
template: define {version} as the bare semantic version without the leading “v”
so the displayed version and release URL produce a single “v” prefix. Update the
surrounding guidance or template wording consistently, preserving the existing
release-link structure.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 7fdc03f3-ac3d-4d21-9fe0-338ccd7cef86

📥 Commits

Reviewing files that changed from the base of the PR and between 339755f and 524a59b.

📒 Files selected for processing (3)
  • .agents/skills/publicity-article/SKILL.md
  • .agents/skills/publicity-article/examples.md
  • .agents/skills/publicity-article/style-guide.md

Comment thread .agents/skills/publicity-article/examples.md Outdated
Comment thread .agents/skills/publicity-article/SKILL.md Outdated
Comment thread .agents/skills/publicity-article/SKILL.md Outdated
Comment thread .agents/skills/publicity-article/SKILL.md Outdated
Comment thread .agents/skills/publicity-article/style-guide.md
Comment thread .agents/skills/publicity-article/style-guide.md
Comment thread .agents/skills/publicity-article/style-guide.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant