Write blog from brief

From cubxxw/blog · View interactive version

Write blog from brief is an AI agent skill from the GitHub repository cubxxw/blog. Turn one `_briefs/` task into an authorial Hugo article and stop for author review. Use when writing, rewriting, or deepening a blog article from a brief, including themes connected by recurring `source_refs`. Preserve the author's lived perspective, trace only approved public material, research in

How to use this skill

Skill file

Write Blog from Brief

Write one article from one brief. Treat the brief as material and boundaries, not as a section plan.

Read first

Read AGENTS.md, _briefs/README.md, docs/blog-editorial-workflow.md, the brief, and config/tags-mapping.json.

When needed:

Never open the private target behind brain://.

Keep only the hard boundaries

Everything else—shape, order, length, headings, amount of research, and ending—depends on the material.

Work in three passes

Pass 1 — Find the living center

Identify:

who is speaking to whom
what actually happened or was observed
what the author felt, believed, or could not resolve
what changed in this source lineage
what must stay private

For source_refs, trace the related public briefs and articles. Look separately for continuity in experience, emotion, and thought. Do not force old material into the draft.

Choose the mode:

For a thinking article, draft the author's account before doing broad research. If there is no authorial presence to write from, stop instead of filling the gap with explanation.

Pass 2 — Let the article discover its shape

Write freely from the strongest approved material. Follow the natural movement of the experience or question; ignore brief headings and acceptance criteria that would make the prose mechanically complete.

Research only claims that matter. Let evidence challenge the draft, but keep research in a supporting role unless the article is research-led.

Do not add a framework, checklist, FAQ, counterargument, or tidy conclusion by habit. An unresolved ending is valid when it is true.

Pass 3 — Reread three times

  1. Presence: Can the reader feel why this belongs to this author? Where did explanation hide the person?
  2. Movement: Does each surviving part deepen or change the experience, question, or judgment?
  3. Integrity: Are facts, citations, privacy, attribution, metadata, links, and assets correct?

Rewrite as needed. Prefer cutting a well-written paragraph over keeping one that could appear unchanged under another author's name.

Finish

Use canonical tags, a reached Shanghai +08:00 timestamp, plain-text description, adjacent citations for external claims, and a deduplicated ## 参考资料 / ## References section when public sources are used.

Finish the Chinese article only. After author approval, delegate English translation and optional bilingual rendering to ../translate-and-format-blog/SKILL.md; do not make this writing pass produce the English edition.

Before handing off any new or revised Chinese article, read and apply ../lieflat-less-ai-tone/SKILL.md after the content and structure are stable. This is the author's default requirement; do not ask again. Read the author's voice guidance first, change only explicit whitelist matches, and preserve unmatched text, structure, claims, facts, qualifications, quotations, code, foreign-language passages, machine metadata, and resource paths. Only Chinese visible copy is in scope; the author's documented style takes precedence. Recheck factual meaning and citations afterward. Repeat the cleanup if further prose edits occur before handoff. Record completion in the brief's checks; the existing detector alone does not satisfy this step.

For standard Markdown, run:

node scripts/check-ai-flavor.mjs <article...> --check
npm run frontmatter:check
npm run tags:check
git diff --check

Record the article path, source lineage, meaningful revision, checks, and unresolved human choices in the brief. Stop for author review; publication remains a separate decision.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.