Output Formatter by jmsktm/claude-settings
npx skills add https://github.com/jmsktm/claude-settings --skill 'Output Formatter'输出格式化器技能将 AI 生成的内容转换为适合特定上下文的正确格式。无论您需要用于文档的 Markdown、用于 API 的 JSON、用于分析的表格,还是用于演示的散文,此技能都能确保输出结构恰当且一致。
此技能理解跨不同平台(GitHub、Notion、Slack、电子邮件)、用例(技术文档、用户指南、报告、代码注释)和受众(开发人员、利益相关者、最终用户)的格式要求。它帮助您避免手动重新格式化,并确保专业、一致的呈现。
每当 AI 输出需要为特定平台转换、集成到现有文档中或呈现给特定受众时,请使用此技能。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 操作 | 命令/触发 |
|---|---|
| 转换为 markdown | "Format as markdown" |
| 转换为 JSON | "Format as JSON" |
| 转换为表格 | "Format as table" |
| 为 GitHub 格式化 | "Format for GitHub" |
| 为 Notion 格式化 | "Format for Notion" |
| 为 Slack 格式化 | "Format for Slack" |
| 使其技术化 | "Format for developers" |
| 使其非技术化 | "Format for stakeholders" |
| 创建摘要 | "Format as executive summary" |
# 主标题
## 概述
主题的简要介绍。
## 关键概念
- **概念 1**: 描述
- **概念 2**: 描述
## 用法
```language
code example
```
## 参考
| 参数 | 类型 | 描述 |
|-----------|------|-------------|
| param1 | string | 它的作用 |
{
"status": "success",
"data": {
"items": [],
"pagination": {
"page": 1,
"totalPages": 10,
"totalItems": 100
}
},
"metadata": {
"timestamp": "2026-01-06T00:00:00Z",
"version": "1.0"
}
}
| 特性 | 选项 A | 选项 B | 选项 C |
|---------|----------|----------|----------|
| 速度 | 快 | 中 | 慢 |
| 成本 | 高 | 中 | 低 |
| 易用性 | 易 | 中 | 复杂 |
| **推荐** | ✓ | | |
## 执行摘要
**目标**: [一行目标]
**状态**: [当前状态]
**关键成果**:
- 成果 1
- 成果 2
- 成果 3
**后续步骤**:
1. 行动项 1
2. 行动项 2
**阻碍**: [需要升级的问题]
## [组件名称]
**目的**: [它的作用]
**依赖项**: [它需要什么]
**接口**:
```typescript
interface ComponentProps {
prop1: string;
prop2?: number;
}
```
**行为**:
1. 逐步描述
**错误处理**:
- 错误类型: 响应
**示例**:
```typescript
// 使用示例
```
*项目更新* :rocket:
*状态*: 按计划进行
*已完成*:
• 功能 A 已部署
• 错误修复已合并
*下一步*:
• 功能 B 审查
• 性能测试
*阻碍*: 无
<link|完整详情>
之前:"系统支持通过 OAuth、API 密钥和会话令牌进行身份验证。它还提供基于角色的访问控制。"
之后:
## 身份验证方法
- OAuth 2.0
- API 密钥
- 会话令牌
## 授权
- 基于角色的访问控制 (RBAC)
之前:
- JavaScript: 45%
- TypeScript: 30%
- CSS: 15%
- HTML: 10%
之后:
| 语言 | 百分比 |
|----------|------------|
| JavaScript | 45% |
| TypeScript | 30% |
| CSS | 15% |
| HTML | 10% |
之前:
function processData(input: string[], options?: ProcessOptions): Result
之后:
### processData
根据指定选项处理输入数据。
**参数**:
- `input` (string[]): 要处理的字符串数组
- `options` (ProcessOptions, optional): 配置对象
**返回**: `Result` - 处理后的数据结果
**示例**:
```typescript
const result = processData(['a', 'b', 'c'], { sort: true });
```
diff 语法[!NOTE]<details>:rocket:)#123 链接到问题/PR*粗体* 和 _斜体_> 表示引用每周安装次数
–
代码仓库
GitHub 星标数
2
首次出现时间
–
安全审计
The Output Formatter skill transforms AI-generated content into the right format for your specific context. Whether you need markdown for documentation, JSON for APIs, tables for analysis, or prose for presentations, this skill ensures outputs are structured appropriately and consistently.
This skill understands format requirements across different platforms (GitHub, Notion, Slack, email), use cases (technical docs, user guides, reports, code comments), and audiences (developers, stakeholders, end users). It helps you avoid manual reformatting and ensures professional, consistent presentation.
Use this skill whenever AI output needs to be transformed for a specific platform, integrated into existing documentation, or presented to a particular audience.
| Action | Command/Trigger |
|---|---|
| Convert to markdown | "Format as markdown" |
| Convert to JSON | "Format as JSON" |
| Convert to table | "Format as table" |
| Format for GitHub | "Format for GitHub" |
| Format for Notion | "Format for Notion" |
| Format for Slack | "Format for Slack" |
| Make it technical | "Format for developers" |
| Make it non-technical | "Format for stakeholders" |
| Create summary | "Format as executive summary" |
Preserve Meaning : Don't lose information during transformation
Follow Conventions : Use format-specific best practices
Optimize Readability : Format for human consumption
Validate Output : Ensure format correctness
Be Consistent : Maintain uniform style
Consider Context : Format appropriately for use case
# Main Title
## Overview
Brief introduction to the topic.
## Key Concepts
- **Concept 1**: Description
- **Concept 2**: Description
## Usage
\`\`\`language
code example
\`\`\`
## Reference
| Parameter | Type | Description |
|-----------|------|-------------|
| param1 | string | What it does |
{
"status": "success",
"data": {
"items": [],
"pagination": {
"page": 1,
"totalPages": 10,
"totalItems": 100
}
},
"metadata": {
"timestamp": "2026-01-06T00:00:00Z",
"version": "1.0"
}
}
| Feature | Option A | Option B | Option C |
|---------|----------|----------|----------|
| Speed | Fast | Medium | Slow |
| Cost | High | Medium | Low |
| Ease | Easy | Medium | Complex |
| **Recommend** | ✓ | | |
## Executive Summary
**Objective**: [One-line goal]
**Status**: [Current state]
**Key Results**:
- Result 1
- Result 2
- Result 3
**Next Steps**:
1. Action item 1
2. Action item 2
**Blockers**: [Issues requiring escalation]
## [Component Name]
**Purpose**: [What it does]
**Dependencies**: [What it requires]
**Interface**:
\`\`\`typescript
interface ComponentProps {
prop1: string;
prop2?: number;
}
\`\`\`
**Behavior**:
1. Step-by-step description
**Error Handling**:
- Error type: Response
**Examples**:
\`\`\`typescript
// Usage example
\`\`\`
*Project Update* :rocket:
*Status*: On track
*Completed*:
• Feature A deployed
• Bug fixes merged
*Next*:
• Feature B review
• Performance testing
*Blockers*: None
<link|Full details>
Before : "The system supports authentication through OAuth, API keys, and session tokens. It also provides role-based access control."
After :
## Authentication Methods
- OAuth 2.0
- API Keys
- Session Tokens
## Authorization
- Role-based Access Control (RBAC)
Before :
- JavaScript: 45%
- TypeScript: 30%
- CSS: 15%
- HTML: 10%
After :
| Language | Percentage |
|----------|------------|
| JavaScript | 45% |
| TypeScript | 30% |
| CSS | 15% |
| HTML | 10% |
Before :
function processData(input: string[], options?: ProcessOptions): Result
After :
### processData
Processes input data according to specified options.
**Parameters**:
- `input` (string[]): Array of strings to process
- `options` (ProcessOptions, optional): Configuration object
**Returns**: `Result` - Processed data result
**Example**:
\`\`\`typescript
const result = processData(['a', 'b', 'c'], { sort: true });
\`\`\`
diff syntax for code changes[!NOTE] for callouts<details> for collapsible sections:rocket:)#123*bold* and _italic_> for quotesWeekly Installs
–
Repository
GitHub Stars
2
First Seen
–
Security Audits
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
31,600 周安装