| 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
- Locate the exact article directory before editing.
- Read the current frontmatter and preserve unrelated fields.
- Edit only the requested text, metadata, or local assets.
- If changing
date, tell the user it can affect blog list ordering.
- If changing
status, state whether visibility should change after downstream
sync.
- Prefer article-local media paths such as
./images/<filename>.
- Do not normalize historical formatting unless requested.
- Run
pnpm validate.
- 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