Skip to main content

matrixorigin-blog-content-edit

Use when editing existing matrixorigin-blog articles, preserving frontmatter, changing dates or status, updating local image paths, keeping edits scoped to one article, and validating the result.

跳到安装

来源信息

仓库
matrixorigin/matrixorigin-blog
最近来源活动
2026年7月10日 02:27
检测到的 SKILL.md 语言
英语
星标
0
分支
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
matrixorigin-blog-content-edit
description
Use when editing existing matrixorigin-blog articles, preserving frontmatter, changing dates or status, updating local image paths, keeping edits scoped to one article, and validating the result.
# MatrixOrigin Blog Content Edit Use this skill for edits to existing posts in `matrixorigin-blog`. ## Owner Map - Target article: `<project>/<slug>/index.md` - Authoring rules: `README.md` - Frontmatter contract: `schema/frontmatter.ts` - Workflow checklist: `docs/AGENT-WORKFLOWS.md` ## Workflow 1. Locate the exact article directory before editing. 2. Read the current frontmatter and preserve unrelated fields. 3. Edit only the requested text, metadata, or local assets. 4. If changing `date`, tell the user it can affect blog list ordering. 5. If changing `status`, state whether visibility should change after downstream sync. 6. Prefer article-local media paths such as `./images/<filename>`. 7. Do not normalize historical formatting unless requested. 8. Run `pnpm validate`. 9. Review `git diff --stat` and `git diff -- <article-path>`. ## Common Failure Modes - Reformatting old articles while making a small content edit. - Accidentally changing `date` or `status`. - Treating `pnpm validate` as proof that image files exist. - Migrating assets as part of a text-only change. ## Verification - Article edit: `pnpm validate` - Documentation-only note: `git diff --check`
在 GitHub 查看