Community写作与编辑github.com

chunyun1998-sudo/xhs-khazix-pipeline

小红书长文写作标准化工作流 Skill - 卡兹克风格长文 Pipeline / Standardized Xiaohongshu long-form writing pipeline skill

xhs-khazix-pipeline 是什么?

xhs-khazix-pipeline is a Claude Code agent skill that 小红书长文写作标准化工作流 Skill - 卡兹克风格长文 Pipeline / Standardized Xiaohongshu long-form writing pipeline skill.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add chunyun1998-sudo/xhs-khazix-pipeline

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Xiaohongshu Long-Form Writing Standardized Workflow

Applicable Scenarios

The user provides a topic (typically an AI hot topic or business/finance news), and the skill must produce a complete Xiaohongshu long-form article in the Khazix style following a standardized process. Each time this skill is initiated, the following steps must be executed strictly in order, with explicit user confirmation nodes at each stage.

Prerequisites

  • File naming convention: ✕✕✕_date_version.md (AI auto-assigns based on the article topic)
  • Default file path: /Users/chunyun/Library/Mobile Documents/com~apple~CloudDocs/Hermes Agent Delivery Files/Xiaohongshu Long-Form Series/
  • Writing style: Khazix style. For detailed guidelines, refer to the khazix-writer skill's style guide.
  • Calling khazix-writer: In Step 4 (drafting), automatically invoke the khazix-writer skill to load its style rules.
  • Wait for user confirmation: After each step, you must wait for the user to confirm or make a choice before proceeding to the next step.
  • Visual interaction: All user confirmation nodes should preferentially use the AskUserQuestion tool to provide button-based choices. The user can simply click a button without typing.

Standardized Workflow

Step 1 — Receive Topic

The user provides a topic direction, typically from:

  • AI hot news (from AI HOT updates)
  • Business/finance news
  • The user's own inspiration

→ Acknowledge receipt of the topic, then proceed to Step 2.

Step 2 — Search for Materials

Perform a web search based on the topic provided by the user. The search scope includes:

  • Core facts of the event (time, people, data)
  • Cross-verification from multiple sources
  • Comment section / public reaction (if available)

Output: A structured material summary containing key data points and source links.

→ After materials are compiled, proceed to Step 3.

Step 3 — Propose Article Angle + Visual Confirmation

Based on the collected materials, present 2-3 optional article angle directions to the user. For each direction, explain:

  • Core angle (one sentence summary)
  • Why this angle is interesting
  • Potential risks or pitfalls to watch out for (if any)

Then launch an interactive selection using the AskUserQuestion tool:

  • question: Please select the angle direction you are interested in.
  • header: Select Angle
  • options: One button per direction. The label should be a short name for the direction (e.g., "Direction A: Catching Up"), and the description should be the one-sentence core angle.
  • multiSelect: false

After the user clicks a button or provides other input, proceed following the chosen direction.

→ After the user confirms the angle, proceed to Step 4.

Step 4 — Auto-Search for Materials + Drafting

Based on the confirmed angle direction, automatically perform supplementary material searches to ensure the article has sufficient specific data, examples, and details.

Then invoke the khazix-writer skill to load its style rules and write a long-form article in the Khazix style:

  • Start with a concrete event/scenario, not a grand narrative.
  • Keep paragraphs short; a single sentence can be its own paragraph.
  • Do not use colons, em dashes, or double quotation marks.
  • Avoid AI clichés (e.g., "in other words," "essentially," "frankly speaking," "it means that," "undeniably").
  • Avoid the "not... but..." sentence structure.
  • Use specific scenarios, people, and data to support points.
  • Maintain the tone of "an insightful ordinary person sincerely discussing something that moved them."

Output: A complete article draft.

→ After drafting is complete, proceed to Step 5.

Step 5 — AI-Taint Removal (Automatic)

Perform AI-taint removal on the entire article:

  • Scan and replace forbidden words.
  • Scan and replace forbidden punctuation.
  • Dismantle typical AI structural markers such as three-part parallelism, rhetorical closing sentences, textbook-style transitions, etc.
  • Increase colloquial expressions and a sense of human authenticity.
  • Fix "not... but..." sentence structures.

Output a quality inspection report.

→ After AI-taint removal is complete, proceed to Step 6.

Step 6 — Sensitive Word Check (Automatic)

Scan the entire article for Xiaohongshu sensitive words, focusing on:

  • Financial data (specific amounts, percentage changes, negative market trend characterizations)
  • China-US comparisons / geopolitical expressions
  • Negative industry judgments (e.g., "end," "collapse," "crisis")
  • Absolute statements

Provide modification suggestions for high-risk content and automatically execute substitutions.

→ After the sensitive word check is complete, proceed to Step 7.

Step 7 — Subtitle Proposal + Visual Confirmation

Based on the article's emotional arc and content structure, propose 4 subtitle suggestions (note: AskUserQuestion supports a maximum of 4 buttons, so refine from 4-5 options down to 4). Each subtitle must:

  • Be short and powerful; ideally 2-6 characters.
  • Capture the core emotion or point of that section.
  • Form a progression or contrast relationship with the preceding and following subtitles.
  • Be ordered according to the article's narrative flow.

Then list the 4 subtitles in text, and launch an interactive confirmation using the AskUserQuestion tool:

  • question: Please confirm whether to execute the above subtitle plan.
  • header: Confirm Subtitles
  • options: Option 1: "Confirm, Insert" ; Option 2: "Regenerate Subtitles"
  • multiSelect: false

If the user selects "Confirm," insert them directly into the article body. If "Regenerate," return to this step to re-propose.

→ After the user confirms, insert the subtitles into the corresponding positions in the article body, then proceed to Step 8.

Step 8 — Headline Proposal + Visual Selection

Based on the article's core angle, list 5 headline options. Each option must be a complete headline sentence. Requirements:

  • Objective, rigorous, in-depth reporting style.
  • Avoid emotional expressions and exaggerated wording.
  • Sufficient information density so readers immediately understand what the article is about.
  • Cover different angles (event-driven, suspense-driven, comparison-driven, etc.).

List all 5 headlines in text, then launch an interactive selection using the AskUserQuestion tool:

  • question: Please select the headline you want.
  • header: Select Headline
  • options: One button for each of the first 4 headlines. The label should be the core phrase of the headline (no more than 8 characters), and the description should be the complete headline sentence.
  • The 5th headline should be annotated in text: "If you choose the 5th one, please type '5' in the input box."
  • multiSelect: false

The user clicks a button to select one of the first 4, or types "5" in the input box to select the 5th. Either way, it is considered a selection. The user may also request a combination in the input box (e.g., "combine 2 and 4"), in which case return to this step to regenerate.

→ After the user confirms the headline, insert it at the very top of the document as the article's main headline, then proceed to Step 9.

Step 9 — Abstract Writing + Visual Confirmation

Based on the article content, write an abstract of approximately 100 characters in an in-depth reporting style. Requirements:

  • Capture the core benefit and information density of the article.
  • Include an attractive hook.
  • In-depth reporting style (formal, rigorous, informative).
  • Not a Xiaohongshu copywriting style.

Display the full abstract in text, then launch an interactive confirmation using the AskUserQuestion tool:

  • question: Please confirm whether to use the above abstract.
  • header: Confirm Abstract
  • options: Option 1: "Confirm, Insert at Document Start" ; Option 2: "Rewrite Abstract"
  • multiSelect: false

If the user selects "Rewrite Abstract," return to this step to re-write. If the user requests a different direction, also return to this step to re-write with the new direction.

→ After the user confirms, proceed to Step 10.

Step 10 — Insert Abstract at Document Start

Insert the finalized abstract in quote format (> ...) at the beginning of the document (below the main headline, above the first paragraph of the body).

→ The entire workflow is complete.


Workflow Overview Diagram

User provides a topic
    ↓
Step 1 — Receive Topic
    ↓
Step 2 — Search for Materials
    ↓
Step 3 — Propose Article Angle → 🟦 Button Selection
    ↓
Step 4 — Auto-Search + Drafting (invokes khazix-writer)
    ↓
Step 5 — AI-Taint Removal (Automatic)
    ↓
Step 6 — Sensitive Word Check (Automatic)
    ↓
Step 7 — Subtitle Proposal → 🟦 Button Confirm/Regenerate
    ↓
Step 8 — Headline Proposal (choose 1 from 5: first 4 buttons + text 5) → 🟦 Button Selection
    ↓
Step 9 — Abstract Writing → 🟦 Button Confirm/Rewrite
    ↓
Step 10 — Insert Abstract at Document Start
    ↓
✅ Complete

Visual Interaction Description

This skill uses the AskUserQuestion tool at 4 user confirmation nodes to provide button-based interactions. Tool specifications:

  • Number of questions: Only one question per interaction.
  • Number of options: 2-4 buttons (tool limit is 4). Any excess must be handled via text explanation + a "Other" input box.
  • Multi-select: All set to false (single-choice questions).
  • Button label: Keep within 8 characters as the option tag.
  • Button description: One sentence explaining the meaning or effect of that option.

Quick Reference for Option Configurations at Each Node

NodeQuestionoptionsCustom Input Use Case
Step 3: Select AnglePlease select the angle direction you are interested in.2-3 direction labelsUser proposes own direction
Step 7: Confirm SubtitlesPlease confirm whether to execute the above subtitle plan."Confirm, Insert" "Regenerate Subtitles"User provides modification suggestions
Step 8: Select HeadlinePlease select the headline you want.Labels for first 4 headlinesSelect 5th / Request combination regeneration
Step 9: Confirm AbstractPlease confirm whether to use the above abstract."Confirm, Insert at Document Start" "Rewrite Abstract"User proposes adjustment direction

Important Notes

  1. Pause after each step — wait for the user's instruction before proceeding to the next step. Do not automatically execute consecutively.
  2. Step 2 (Search for Materials) may reference AI HOT data or other web sources; data must be cross-validated.
  3. Step 4 will automatically invoke the khazix-writer skill to load style rules when drafting.
  4. If the user requests modifications to headlines or abstracts, return to the corresponding step to re-execute before continuing.
  5. The file save path should always be the workspace folder; do not save to a temporary directory.
  6. Visual interaction is limited to the capabilities of the AskUserQuestion tool; it does not support custom UI components, rich text rendering, or embedded previews.

相关技能