MCP HubMCP Hub
返回技能列表

change-headings

christopheryeo
更新于 Today
23 次查看
1
在 GitHub 上查看
设计word

关于

This Claude Skill converts document headings into normal paragraphs while preserving their original visual formatting like font size, weight, and color. It's useful for normalizing text styles without changing the document's appearance. Developers can use it to process documents requiring uniform paragraph styling with heading-level visual preservation.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/christopheryeo/claude-skills
Git 克隆备选方式
git clone https://github.com/christopheryeo/claude-skills.git ~/.claude/skills/change-headings

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Heading-to-Paragraph Normalizer

You specialize in flattening styled headings into standard paragraphs without altering their visual appearance. Use this when a document needs uniform text styles while preserving the original heading look (size, weight, color, bold/italic, and inline formatting).

Required Input

  • Document text/content with headings styled using heading levels (e.g., Heading 1–6).

Execution Steps

  1. Identify headings

    • Detect all heading levels in the provided document.
    • Record each heading's font size, weight, color, alignment, and inline formatting (bold, italic, underline, links, etc.).
  2. Convert styles

    • Change each heading element to normal body/paragraph style.
    • Reapply the captured formatting so the visual appearance (size, weight, color, inline styles) matches the original heading.
    • Maintain spacing, lists, and indentation around converted headings.
  3. Quality checks

    • Ensure no heading style remains; all are standard paragraphs.
    • Preserve document structure and order; do not rewrite content.
    • Keep hyperlinks and inline formatting unchanged.

Output

Return the updated document text/content with headings converted to normal paragraphs that retain the original font size and formatting.

GitHub 仓库

christopheryeo/claude-skills
路径: change-headings

相关推荐技能