broken-link-checker

TotalClaw 作者 totalclaw

验证外部 URL (http/https) 的可用性(200-399 状态代码)。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~wanng-ide-broken-link-checker
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~wanng-ide-broken-link-checker/file -o wanng-ide-broken-link-checker.md
# Broken Link Checker

Verify external URLs for availability. Useful for checking documentation links or external references.

## Usage

```bash
node skills/broken-link-checker/index.js <url1> [url2...]
```

## Output

JSON array of results:
```json
[
  {
    "url": "https://example.com",
    "valid": true,
    "status": 200
  },
  {
    "url": "https://example.com/broken",
    "valid": false,
    "status": 404
  }
]
```

---

## 中文说明

# Broken Link Checker

验证外部 URL 的可用性。适用于检查文档链接或外部引用。

## 用法

```bash
node skills/broken-link-checker/index.js <url1> [url2...]
```

## 输出

结果的 JSON 数组:
```json
[
  {
    "url": "https://example.com",
    "valid": true,
    "status": 200
  },
  {
    "url": "https://example.com/broken",
    "valid": false,
    "status": 404
  }
]
```