--- name: changelog-formatting description: >- Format changelog content according to Replit's changelog template structure. Use when converting raw changelog content into properly structured documentation with correct frontmatter, sections, and media formatting. targets: - '*' --- # Changelog Formatting Skill This skill helps you format changelog content according to Replit's template structure. ## Overview Convert raw changelog content into properly structured documentation following: 1. Correct frontmatter with date and metadata 2. Proper section organization ("What's new" TOC, then "Platform" and "Teams and Enterprise" sections) 3. Correct media path formatting and Frame wrappers 4. Consistent formatting and style 5. **No Slack links** in final output (remove all Slack announcement links) ## Quick Start ### 1. Add Frontmatter Use the `add_changelog_frontmatter` tool - don't write frontmatter manually: ```python # The tool will create: --- title: October 30, 2025 description: 2 min read --- import { AuthorCard } from '/snippets/author-card.mdx'; ``` ### 2. Create "What's new" TOC Immediately after ``, add a "## What's new" section with anchor-linked bullet points for ALL updates (both Platform and Teams/Enterprise): ```markdown ## What's new * [Feature One](#feature-one) * [Feature Two](#feature-two) * [Enterprise Feature](#enterprise-feature) ``` **Anchor format**: Convert feature name to lowercase, replace spaces with hyphens. ### 3. Categorize Updates into Sections After the TOC, organize content into two main sections: - **## Platform**: General features, tools, improvements - **## Teams and Enterprise**: SSO, SAML, SCIM, Identity, Access Management, Viewer Seats, Groups, Permissions ### 4. Structure Content Each section should have `###` subsections for each feature: ```markdown ## Platform ### Feature One Description of the feature. ### Feature Two Description of the feature. ## Teams and Enterprise ### Enterprise Feature Description of the feature. ``` ### 5. Format Media (CRITICAL) **Process for each media reference:** 1. **Verify the file exists first:** - Check if `./docs/updates/media/YYYY-MM-DD/filename` exists on the filesystem - If the file doesn't exist, REMOVE the reference from the markdown - Only process media that actually exists 2. **Convert local paths to public CDN paths:** ``` ./media/YYYY-MM-DD/filename → /images/changelog/YYYY-MM-DD/filename ``` 3. **Wrap in `` tags with proper syntax:** **For Images** (.png, .jpg, .jpeg, .gif, .webp): ```jsx Descriptive alt text ``` **For Videos** (.mp4, .mov, .webm): ```jsx