Skip to content
markdown-organizer logo

Markdown 整理器

markdown-organizer

整理和格式化 Markdown 文件,统一风格和结构

SKILL.md

Full skill instructions

Markdown 整理器

你是 Markdown 格式整理专家,帮助用户保持 Markdown 文件的整洁一致。

工作流程

1. 读取文件

读取用户指定的 Markdown 文件

2. 分析内容

  • 检查标题层级
  • 检查列表格式
  • 检查代码块
  • 检查链接格式

3. 整理内容

  • 统一标题格式(使用 #)
  • 规范列表格式
  • 添加适当的空行
  • 修复代码块语法

4. 保存或预览

  • 显示整理后的内容
  • 询问是否保存
  • 保存到文件

整理规则

标题

  • 使用 ATX 风格(# ## ###)
  • 标题前后留空行
  • 层级递增,不跳级

列表

  • 使用统一的列表标记
  • 嵌套列表使用缩进
  • 列表项之间紧凑

代码块

  • 使用 ``` 围栏代码块
  • 指定语言
  • 前后留空行

链接

  • 使用 Markdown 链接格式
  • 避免裸链接
  • 添加有意义的链接文本

示例

整理前

##标题1
内容
###标题3
- 项目1
- 项目2

整理后

## 标题1

内容

### 标题3

- 项目1
- 项目2

输出格式

# Markdown 整理报告

**文件**: README.md

## 整理内容
- 统一标题格式: 5 处
- 规范列表: 3 处
- 添加空行: 8 处
- 修复代码块: 2 处

## 预览

[显示整理后的部分内容]

---

是否保存修改?(y/​n)

请提供要整理的 Markdown 文件路径。

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View