Skip to content

[Sync to prerelease] Rework blog-post skill for the new blog home - #2134

Merged
cderv merged 1 commit into
prereleasefrom
sync-2133-to-prerelease
Jul 31, 2026
Merged

[Sync to prerelease] Rework blog-post skill for the new blog home#2134
cderv merged 1 commit into
prereleasefrom
sync-2133-to-prerelease

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Description

Sync of #2133 to prerelease.

Original PR

Rework blog-post skill for the new blog home

The Quarto blog moved to posit-dev/open-source-website in May 2026, but .claude/skills/blog-post/ still described the old docs/blog/posts/ workflow. This reworks the skill so posts are authored where they publish, while keeping the Quarto-specific knowledge (post types, voice, thumbnail production) here.

Changes

  • Publishing target: posts are created in an open-source-website clone at content/blog/<slug>/ on a blog/<slug> branch; index.qmd + rendered index.md are committed together; PR to its main for a Netlify preview. The old quarto.org scaffolding, categories, _metadata.yml, subtitle, _tools/publish-date.ts, and backport sections are dropped.
  • Frontmatter is never hardcoded: scaffolding runs hugo new against open-source-website's archetypes/blog.md (mirroring its /new-post command), so the schema can't drift out of sync. The skill keeps only Quarto-specific additions (source: quarto, thumbnail conventions, date-based scheduling).
  • Docs sourcing vs. linking: terminology is read from this repo (working tree, then origin/prerelease), while posts link with absolute https://quarto.org/docs/... URLs derived from repo paths — each verified, with pending-merge links flagged for a re-check at publish time.
  • Thumbnails: 1920×1080 (16:9, hero + card) replaces 1200×630; the bundled Typst templates are rescaled and re-verified (--ppi 72 → exact size, --ppi 144 → 2x).
  • Release-post specifics (title convention, _contribs.md, summary-paragraph and lean-prose guidance) move out of the general sections into references/post-types.md.

Validation

Prototyped by drafting the Quarto 1.10 release post with the reworked skill from a cold session (posit-dev/open-source-website#363); the prose lessons from that run are folded into references/post-types.md.

* Rework blog-post skill for the open-source-website blog home

Posts are now authored in posit-dev/open-source-website: frontmatter is
scaffolded from its blog archetype via hugo new (mirroring /new-post),
docs links become absolute quarto.org URLs, thumbnails move to 1920x1080
(Typst templates rescaled and re-verified), and the old quarto.org
scaffolding, categories, publish-date.ts, and backport sections are
dropped. Release-post specifics move out of the general sections into
references/post-types.md.

* Read docs from the repo, link to quarto.org, flag pending-merge links

Drafting ahead of a release means the docs may only exist on the
prerelease branch, not yet on quarto.org. Direct the skill to source
terminology from quarto-web (working tree, then origin/prerelease),
derive absolute quarto.org URLs from repo paths, verify each link, and
flag links that won't resolve until the release-time merge.

* Add release-post prose guidance from the 1.10 draft run

Document the summary-paragraph convention (one short noun phrase per
major feature) and lean feature prose: cut why-this-matters clauses,
scope claims precisely, cover only the headline change.

* Document how to display literal shortcode syntax in posts

Verified against the ported Quarto posts and scratch renders: displayed
shortcode examples need a code context (never prose), a Quarto-side
escape (triple braces or shortcodes="false" on the fence), and the
site's escape-shortcodes Lua filter, which ported Quarto posts get via
_metadata.yml and new posts opt into via frontmatter. Escapes in prose
reach Hugo live - a known name silently renders, an unknown name fails
the site build.

* Advise on tags as the home for the old categories vocabulary

The port moved each post's quarto.org categories into its tags, so tags
carry that vocabulary forward (Releases, Quarto X.Y, Features, Learn,
...). Reuse existing corpus tags, skip a bare Quarto tag that would
duplicate source/software, and give release posts Quarto X.Y + Releases.

(cherry picked from commit 29bccf3)
@cderv

cderv commented Jul 31, 2026

Copy link
Copy Markdown
Member

/deploy-preview

@github-actions

Copy link
Copy Markdown
Contributor Author

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2134.quarto.org

@cderv
cderv merged commit d2c1d5a into prerelease Jul 31, 2026
@cderv
cderv deleted the sync-2133-to-prerelease branch July 31, 2026 16:50
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.

2 participants