用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/posit-dev/open-source-website --skill review-post命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | review-post |
| description | Review a blog post's content against its frontmatter and the authoring guide |
| argument-hint | [post-path] |
Review a blog post's content the way a reviewer would — checking that the content lines up with its frontmatter, surfacing things authors commonly miss, and flagging accessibility issues. Complements the check-post skill, which validates frontmatter mechanically; this skill reads the actual post text.
This skill does not check writing style. At the end, remind the author to get a human review for tone, clarity, and flow.
If the user provided a path in their request, use that. Otherwise, look for blog posts changed on the current branch:
git diff --name-only --diff-filter=d origin/main...HEAD -- 'content/blog/**/index.md' 'content/blog/**/index.qmd'
If no changed posts are found, ask the user which post to review.
For each post, read both the frontmatter and the body. If an index.qmd exists, prefer it as the source of truth; otherwise read index.md. You need the actual prose, not just the metadata.
Compare what the post actually says to what its frontmatter claims. Flag mismatches:
description drift — does the description still summarize the post accurately? Descriptions written by the new-post skill often stop matching the finished draft.software / languages / topics — do the values reflect what the post is actually about? If the post discusses ggplot2 but software only lists dplyr, flag it. If the inferred topics no longer fit, flag it. Suggest the values that would match.source — if the post is clearly about one of the projects with a blog listing page (positron, tidyverse, ai, shiny, great_tables, plotnine, pointblank, quarto) and source isn't set, flag it. See content/blog/_authoring-guide.md for the rule.title — does it match the post's actual focus, or has the angle shifted during writing?TODO, TBD, XXX, FIXME, lorem ipsum, [insert ...], [link], etc. List each occurrence with line context./blog/<source>/<year>/<slug>/ or other content-directory paths instead of /blog/YYYY-MM-DD_slug/. (See "Linking to other blog posts" in the authoring guide.)```r, ```python, ```sh, etc.), not bare ```..qmd images use fig-alt — alt text in .qmd should be {fig-alt="..."}, not  (the bracket text becomes a caption in Quarto).# (H1) headings — the page H1 is rendered from frontmatter title. Top-level body sections should start at ## (H2), and lower-level headings shouldn't skip levels (don't jump ## → ####).From the frontmatter date and slug (or folder name), report the URL the post will live at:
/blog/{date}_{slug-or-folder}/
This lets the author sanity-check the slug before publishing and copy the URL for cross-linking from other posts.
Summarize results grouped by severity:
.qmd images, heading hierarchy violations.description, software, languages, topics, source, title), title-vs-content focus shifts.For each item, quote the relevant line(s) and explain what to change.
If there are no findings, say so.
Ask whether to apply the fixes. For accepted items:
index.qmd, edit the .qmd (source of truth), then re-render to update index.md.index.md directly.After any frontmatter edits, use the check-post skill (or the underlying script) on the post so the author sees a clean mechanical-validation pass before moving on.
Finish with a one-line reminder: this skill doesn't check writing style, tone, or flow — ask a teammate to read the draft before merging.