woocommerce-markdown by woocommerce/woocommerce
npx skills add https://github.com/woocommerce/woocommerce --skill woocommerce-markdown此技能为 WooCommerce 项目中创建和编辑 Markdown 文件提供指导。
markdownlint --fix,然后运行 markdownlint 进行验证.markdownlint.json 配置项目使用 markdownlint 并遵循以下特定规则(来自 .markdownlint.json):
# 标题 而非 标题\n===)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
<video> 元素的 HTML# 主标题 (H1) - 每个文件仅一个
## 章节 (H2)
### 子章节 (H3)
#### 次要章节 (H4)
#),而非下划线样式无序列表:
- 项目一
- 项目二
- 嵌套项目 (4 个空格)
- 另一个嵌套项目
- 项目三
有序列表:
1. 第一项
2. 第二项
3. 第三项
重要提示:
-(而非 * 或 +)始终指定语言:
```bash
pnpm test:php:env
```
```php
public function process_order( int $order_id ) {
// 此处代码
}
```
```javascript
const result = calculateTotal(items);
```
常用语言标识符:
bash - Shell 命令php - PHP 代码javascript 或 js - JavaScripttypescript 或 ts - TypeScriptjson - JSON 数据sql - SQL 查询markdown 或 md - Markdown 示例代码块规则:
使用反引号表示行内代码:
使用 `process_order()` 方法来处理订单。
`$order_id` 参数必须是整数。
[链接文本](https://example.com)
[内部链接](../path/to/file.md)
[带标题的链接](https://example.com "可选标题")
| 列 1 | 列 2 | 列 3 |
|----------|----------|----------|
| 值 1 | 值 2 | 值 3 |
| 值 4 | 值 5 | 值 6 |
|) 作为列分隔符:---, :---:, ---:)始终使用 UTF-8 制表符字符:
src/
├── Internal/
│ ├── Admin/
│ │ └── Controller.php
│ └── Utils/
│ └── Helper.php
└── External/
└── API.php
切勿使用:
+--, |--)**粗体文本** 用于强烈强调
*斜体文本* 用于常规强调
***粗斜体*** 用于非常强烈的强调
进行更改 到 Markdown 文件
自动修复代码检查问题:
markdownlint --fix path/to/file.md
检查剩余问题:
markdownlint path/to/file.md
手动修复 剩余问题(通常是代码块的语言规范)
验证清理完成 - 无输出表示成功
提交更改
问题:
- 项目
- 嵌套 (仅 2 个空格)
修复:
- 项目
- 嵌套 (4 个空格)
问题:
一些文本
```bash
command
```
更多文本
修复:
一些文本
```bash
command
```
更多文本
问题:
一些文本
- 列表项
修复:
一些文本
- 列表项
问题:
**示例:使用粗体作为标题**
此处是一些内容
修复:
#### 示例:使用正确的标题
此处是一些内容
问题:
```
code here
```
修复:
```bash
code here
```
CLAUDE.md 文件是 AI 助手文档:
问题: 文件因控制字符而损坏
修复:
tr -d '\000-\037' < file.md > file.clean.md && mv file.clean.md file.md
file file.md # 验证显示为 "UTF-8 text"
问题: 未从仓库根目录运行
修复:
# 始终从根目录运行
cd /path/to/woocommerce
markdownlint path/to/file.md
# 不要像这样运行
markdownlint /absolute/path/to/file.md
问题: 某些问题需要手动干预
修复:
markdownlint --fix 自动修复woocommerce-dev-cycle 技能每周安装次数
77
仓库
GitHub 星标数
10.2K
首次出现
2026年1月23日
安全审计
安装于
gemini-cli72
codex70
opencode70
claude-code69
github-copilot69
cursor68
This skill provides guidance for creating and editing markdown files in the WooCommerce project.
markdownlint --fix then markdownlint to verify.markdownlint.json config is loadedThe project uses markdownlint with these specific rules (from .markdownlint.json):
# Heading not Heading\n===)<video> elements only# Main Title (H1) - Only one per file
## Section (H2)
### Subsection (H3)
#### Minor Section (H4)
#) not underline styleUnordered lists:
- Item one
- Item two
- Nested item (4 spaces)
- Another nested item
- Item three
Ordered lists:
1. First item
2. Second item
3. Third item
Important:
- for unordered lists (not * or +)Always specify the language:
```bash
pnpm test:php:env
```
```php
public function process_order( int $order_id ) {
// code here
}
```
```javascript
const result = calculateTotal(items);
```
Common language identifiers:
bash - Shell commandsphp - PHP codejavascript or js - JavaScripttypescript or ts - TypeScriptjson - JSON datasql - SQL queriesmarkdown or md - Markdown examplesCode block rules:
Use backticks for inline code:
Use the `process_order()` method to handle orders.
The `$order_id` parameter must be an integer.
[Link text](https://example.com)
[Internal link](../path/to/file.md)
[Link with title](https://example.com "Optional title")
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Value 1 | Value 2 | Value 3 |
| Value 4 | Value 5 | Value 6 |
|) for column separators:---, :---:, ---:)Always use UTF-8 box-drawing characters:
src/
├── Internal/
│ ├── Admin/
│ │ └── Controller.php
│ └── Utils/
│ └── Helper.php
└── External/
└── API.php
Never use:
+--, |--)**Bold text** for strong emphasis
*Italic text* for regular emphasis
***Bold and italic*** for very strong emphasis
Make your changes to the markdown file
Auto-fix linting issues:
markdownlint --fix path/to/file.md
Check for remaining issues:
markdownlint path/to/file.md
Manually fix what remains (usually language specs for code blocks)
Verify clean - No output means success
Commit changes
Problem:
- Item
- Nested (only 2 spaces)
Fix:
- Item
- Nested (4 spaces)
Problem:
Some text
```bash
command
```
More text
Fix:
Some text
```bash
command
```
More text
Problem:
Some text
- List item
Fix:
Some text
- List item
Problem:
**Example: Using bold as a heading**
Some content here
Fix:
#### Example: Using a proper heading
Some content here
Problem:
```
code here
```
Fix:
```bash
code here
```
CLAUDE.md files are AI assistant documentation:
Problem: File is corrupted with control characters
Fix:
tr -d '\000-\037' < file.md > file.clean.md && mv file.clean.md file.md
file file.md # Verify shows "UTF-8 text"
Problem: Not running from repository root
Fix:
# Always run from root
cd /path/to/woocommerce
markdownlint path/to/file.md
# NOT like this
markdownlint /absolute/path/to/file.md
Problem: Some issues require manual intervention
Fix:
markdownlint --fixwoocommerce-dev-cycle skill for markdown linting commandsWeekly Installs
77
Repository
GitHub Stars
10.2K
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli72
codex70
opencode70
claude-code69
github-copilot69
cursor68
Claude技能创建器指南:构建模块化AI技能包,优化工作流与工具集成
5,700 周安装
Bazel构建优化指南:大规模单体仓库配置、远程缓存与性能调优
125 周安装
Google Slides API 集成工具:无需MCP服务器,实现演示文稿自动化读写与管理
106 周安装
Transformers.js - 在浏览器和Node.js中运行Hugging Face机器学习模型
158 周安装
Claude代码配置健康审计工具:六层框架检测项目设置违规与层级校准
112 周安装
XcodeBuildMCP:替代xcodebuild的iOS/macOS开发自动化与调试工具
94 周安装
OMC通知配置教程:集成Telegram、Discord、Slack会话提醒
146 周安装