hgvgfgvh

LinkSKILL

開發程式設計v1.0.1
作者:hgvgfgvh更新於 2026-05-18共 2 個版本 · 最新版本釋出於 2026-05-13link-skill@clawhub_hgvgfgvh/link-skill
程式碼生成後端開發#Api Integration

據 AlphaMoat 統計,截至 2026-10,LinkSKILL 累計下載 15,471 次、獲 0 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 1,809 位,在「開發程式設計」分類(1,069 個)中排名第 125 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
1.5萬
星標
-
全站下載量排名
#1,809
全站前 17% · 「開發程式設計」前 12%
平台累計下載星標評論
ClawHub ↗1.4萬--
SkillHub ↗1.5萬-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

工具可列舉或檢視介面、處理認證,並按選定平台配置傳送 HTTP 請求。鑑權方式依平台設定選擇 bearer token、API key、Basic 或無認證;Swagger 文件與令牌以本地 JSON 檔案快取,工作流以前述介面規範可訪問為前提。 瀏覽器操作依賴執行環境、權限和頁面狀態;先核對目標,在提交重要表單或變更帳戶前進行確認。

資料釋出於 2026-10-27

可以用來做什麼

  • 無需單獨編寫整合指令碼即可探索並呼叫企業平台 API

什麼時候用

  • 平台提供 Swagger/OpenAPI 文件且具備連線配置時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

先檢視平台介面規範,說明所需引數和認證方式,再準備請求供我審閱。

月度資料趨勢

累計下載1.5萬
1.3萬1.4萬1.6萬2026-06 · 累計下載 1.3萬2026-07 · 累計下載 1.3萬2026-08 · 累計下載 1.4萬2026-09 · 累計下載 1.4萬2026-10 · 累計下載 1.5萬26-0626-0926-10
星標-
0112026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -2026-10 · 星標 -26-0626-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-101.5萬—-
2026-091.4萬—-
2026-081.4萬+1.2%-
2026-071.3萬+2.2%-
2026-061.3萬—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.9 KB · ClawHub v1.0.1
---
name: LinkSKILL
description: Universal API integration skill for enterprise platforms. Connect to any platform using Swagger/OpenAPI discovery.
metadata: {"clawdbot":{"emoji":"🔗","requires":{"bins":["python3"],"pip":["requests"]}}}
---

# LinkSKILL — Universal Platform API Integration

LinkSKILL is a config-driven API integration skill for enterprise platforms.  
Given a Swagger/OpenAPI endpoint and auth settings, it can discover APIs, authenticate, and execute requests with minimal manual setup.
展開全部(共 134 行)

## When to Use This Skill

Use LinkSKILL when you need to:

- Integrate with a new internal/external platform quickly.
- Explore unknown APIs from Swagger/OpenAPI docs.
- Standardize auth + request execution across multiple platforms.
- Run repeatable API calls from CLI without custom one-off scripts.

## Core Workflow (4-Step Closed Loop)

1. **Identify platform**  
   Read `scripts/platform_config.json` and select `active_platform` (or pass `--platform` explicitly).
2. **Discover APIs**  
   `python scripts/swagger_loader.py --config scripts/platform_config.json --mode list`
3. **Authenticate**  
   `python scripts/auth_manager.py --config scripts/platform_config.json`
4. **Execute request**  
   `python scripts/http_request_tool.py --config scripts/platform_config.json --method POST --endpoint "/api/xxx" --json-body '...'`

Tip: Use `search` and `detail` before execution to reduce trial-and-error:

- `--mode search --keyword "keyword"`
- `--mode detail --path "/api/xxx" --method POST`

## Tool Responsibilities

| Tool | Responsibility |
|---|---|
| `swagger_loader.py` | Fetch and parse Swagger 2.0 / OpenAPI 3.x; supports `list`, `search`, `detail`, `tags`, `cache` |
| `auth_manager.py` | Handle auth login/token retrieval and local token cache management |
| `http_request_tool.py` | Send HTTP requests, inject auth headers, and auto re-auth + retry on 401 |

## Configuration Model

All behavior is driven by `scripts/platform_config.json`.

### Required top-level fields

- `active_platform`: default platform ID.
- `platforms`: map of platform definitions.

### Typical platform definition

- `name`: human-readable platform name.
- `gateway`: base URL used by request executor.
- `swagger.url`: OpenAPI/Swagger endpoint URL.
- `swagger.auth_required`: whether Swagger endpoint needs auth header.
- `auth.type`: one of `bearer_token`, `api_key`, `basic`, `none`.
- `default_headers`: default request headers.

### Auth field reference (for token login)

- `auth.login_endpoint`: login path (joined with `gateway`).
- `auth.login_body`: login payload.
- `auth.token_field`: token extraction path (for example `data.token`).
- `auth.token_header`: header name (default `Authorization`).
- `auth.token_prefix`: header prefix (default `Bearer `).

## Authentication Strategies

LinkSKILL supports:

- `none`: no auth required.
- `api_key`: static key from config.
- `basic`: build Basic credential from username/password.
- `bearer_token`: login API + token extraction + local cache.

Token cache file: `scripts/.token_cache.json`

## Discovery Modes (`swagger_loader.py`)

- `list`: print all available endpoints.
- `search`: fuzzy-match endpoints by path/summary/description/tags.
- `detail`: show parameters, request body schema/example, and response schema.
- `tags`: show API groups.
- `cache`: print local swagger cache location.

Swagger cache directory: `scripts/.swagger_cache/`

## Request Execution (`http_request_tool.py`)

Supports:

- Methods: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`
- URL styles: full `--url` or `--endpoint` + `gateway`
- Payload: `--json-body` or `--json-file`
- Query params: `--params`
- Extra headers: `--headers`

On `401`, the tool can trigger `auth_manager.py --force-login` and retry once automatically.

## Recommended Operating Pattern

For stable integrations, run in this order:

1. `list` or `search` to locate target endpoint.
2. `detail` to inspect params/schema.
3. Authenticate and verify token cache.
4. Execute with minimal body first, then iterate.
5. Use cached swagger/token for faster repeated calls.

## Troubleshooting

- **Platform not found**: check `active_platform` and `platforms` keys.
- **Swagger fetch failed**: verify `swagger.url`, network, and TLS/headers.
- **Token extraction failed**: correct `auth.token_field` based on real login response.
- **401 on request**: verify token TTL/login payload and header prefix.
- **Non-JSON response**: inspect raw response text and endpoint behavior.

## Onboarding a New Platform

1. Add a new platform under `platforms` in `scripts/platform_config.json`.
2. Fill `gateway`, `swagger`, `auth`, and optional `default_headers`.
3. Set `active_platform` (or use `--platform`).
4. Run the 4-step workflow end-to-end and validate one successful API call.

## Notes and Constraints

- Designed for CLI-driven API integration workflows.
- Assumes APIs are discoverable via Swagger/OpenAPI endpoint.
- Uses local JSON files for cache; suitable for local/dev automation.

「開發程式設計」分類下的熱門技能

程式設計大神.Skill開發程式設計

【全棧能力】程式設計大神.Skill:面向複雜真實專案的高階全棧程式設計助手。不止生成程式碼,而是從一句目標接手陌生程式碼庫,拆解需求、補齊實現、追到根因、完成重構、聯調前後端,並把結果推進到能執行、能驗證、能交付。覆蓋 Web、後端、指令碼、iOS、安卓、鴻蒙 ArkUI、微信小程式及其他技術棧,支援中英文工程、疑難 Bug、跨模組任務和長任務續做;用構建、日誌、真實入口、裝置或介面證據說明結果。僅問概念時直接回答,要求落地時持續推進到驗收或明確阻塞。

↓ 1125.9萬★ 82u_42bbb65f
程式設計專家Pro.Skill開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 626.9萬★ 32user_47d655f0
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 600.7萬★ 378user_741dc82b
dev-expert開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 528.1萬★ 32user_814dbe54
dev-expert-pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 104.7萬★ -user_814dbe54
程式設計專家 Pro開發程式設計

程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。

↓ 98.2萬★ 1user_28275a78
程式設計專家.Skill開發程式設計

程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。

↓ 70.1萬★ 6user_613b33ea
Github開發程式設計

用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。

↓ 48萬★ 714Peter Steinberger

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。