What problem does it solve?
This Skill fills the missing frontmatter excerpt field in translated Chinese Markdown articles by choosing the real opening body paragraph when the author did not provide a subtitle.
Core Features & Use Cases
- Detect existing excerpt and avoid overwriting: Skips articles that already have an excerpt unless overwrite is explicitly requested.
- Extract and rank candidate opening paragraphs: Uses helper logic to skip non-body elements like headings, images, code blocks, and CTA lines, then provides candidates for semantic selection.
- Write excerpt back into YAML frontmatter: Inserts or replaces the excerpt field in the correct location (after translated and before tags) without modifying the article body.
Quick Start
Use the extract-excerpt skill to fill excerpt for slugs you provide under a target_root by invoking it with explicit slugs and target_root, and optionally set max_chars and overwrite.