惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog
WordPress大学
WordPress大学
Jina AI
Jina AI
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
腾讯CDC
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
Google DeepMind News
Google DeepMind News
月光博客
月光博客
博客园 - Franky
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
雷峰网
雷峰网
小众软件
小众软件
H
Hackread – Cybersecurity News, Data Breaches, AI and More

Blog — PlanetScale

Keeping a Postgres queue healthy — PlanetScale Patterns for Postgres Traffic Control — PlanetScale Graceful degradation in Postgres — PlanetScale High memory usage in Postgres is good, actually — PlanetScale Stripe Projects partnership: Provision PlanetScale Postgres and MySQL databases from the Stripe CLI — PlanetScale Enhanced tagging in Postgres Query Insights — PlanetScale Behind the scenes: How Database Traffic Control works — PlanetScale Introducing Database Traffic Control — PlanetScale Scaling Postgres connections with PgBouncer — PlanetScale Drizzle joins PlanetScale — PlanetScale Video Conferencing with Postgres — PlanetScale Faster PlanetScale Postgres connections with Cloudflare Hyperdrive — PlanetScale Introducing the PlanetScale MCP server — PlanetScale Database Transactions — PlanetScale Postgres 18 is now available — PlanetScale Using MotherDuck with PlanetScale — PlanetScale $50 PlanetScale Metal is GA for Postgres — PlanetScale AI-Powered Postgres index suggestions — PlanetScale $5 PlanetScale is live — PlanetScale Announcing Vitess 23 — PlanetScale $50 PlanetScale Metal — PlanetScale Report on our investigation of the 2025-10-20 incident in AWS us-east-1 — PlanetScale $5 PlanetScale — PlanetScale Benchmarking Postgres 17 vs 18 — PlanetScale Larger than RAM Vector Indexes for Relational Databases — PlanetScale Partnering with Cloudflare to bring you the fastest globally distributed applications — PlanetScale Processes and Threads — PlanetScale PlanetScale for Postgres is now GA — PlanetScale Postgres High Availability with CDC — PlanetScale Announcing Neki — PlanetScale
Automating our changelog with Cursor commands — PlanetScale
Mike Coutermarsh · 2026-01-07 · via Blog — PlanetScale

Mike Coutermarsh |

Ever since Cursor commands were released, we've been using them to find ways to shortcut common tasks at PlanetScale.

A Cursor command allows you to add slash (/actions) commands directly into Cursor. Each command guides the LLM on completing a common and repeatable workflow for you.

Updating our changelog

Each time we ship a feature or improvement at PlanetScale, we release an update on our changelog. Each changelog entry is a markdown file in a single directory checked into a Git repository.

Whenever someone wants to write a new entry, they add a markdown file, open a GitHub pull request and merge it. Shortly after, it gets published on our website and sent out on the changelog RSS feed.

Example changelog:

---
title: 'Webhook API endpoints'
createdAt: '2025-04-25'
---

We've just added new...

Each changelog follows a similar format and almost always ships after we have already written the docs for the feature.

This makes it a perfect use case for Cursor to generate. The format is specific and the context about the feature is already in our documentation repo. Cursor has everything it needs to publish for us.

Iterating to perfection

We found the easiest way to make a rule is to have Cursor create the initial version itself based on a task we just had it complete.

For example, if I recently used Cursor to update our API docs, I'd finish up the conversation by having it make it repeatable with a command in the future.

Please create a new Cursor command for the process we just went through, so that it is easy to replicate in the future for others. Call it /updateapi.

This gives you a good starting point. From there, each time you run it, you can update the command if the results aren't satisfactory. We've found it only takes a couple tweaks to get the workflow into a place that we can rely on it.

Launching from Slack

Another benefit of using commands is that they can be kicked off from the Slack bot.

Cursor changelog slackbot

This resulted in Cursor automatically opening the pull request on my behalf. All I needed to do was review and merge it.

Our changelog command

Here's an example of what our changelog command looks like.

## Create a changelog

This command creates a new changelog entry following PlanetScale's established format and style guidelines.

### Changelog Format Requirements

**File Structure:**
- Filename: `kebab-case-title.md` (descriptive, lowercase with hyphens)
- Location: `content/changelog/`

**Frontmatter:**
---
title: 'Human-readable title'
category: 'Feature|Enhancement|Bug Fix' # Optional
createdAt: 'YYYY-MM-DD' # Current date, sometimes with time
---

**Content Guidelines:**
- **Concise**: 1-3 paragraphs maximum
- **Consistent**: Examine recent similar changelogs to understand format
- **Simple language**: Avoid jargon, be conversational
- **Human tone**: Informal, not corporate-sounding
- **Avoid "programmatically"**: Do not use this word in changelog entries
- **Clear scope**: Explicitly mention if feature is Vitess-only or Postgres-only
- **External links**: Link to relevant documentation when available
- **Screenshots**: Include if available, using `![Alt text](./filename.png)` format

**Common Patterns:**
- Start with what was added/changed
- Explain the benefit or use case
- Include links to documentation with `**[Read more](/docs/path)**`
- For API features, link to API docs
- For UI features, include screenshots
- Use bullet points for multiple related items