Skip to content

Commit 4b1153b

Browse files
authored
docs: remove duplicated root cli workflow guides (#748)
1 parent 7aafd4a commit 4b1153b

8 files changed

Lines changed: 10 additions & 950 deletions

File tree

CLI-EXPLORER.md

Lines changed: 0 additions & 724 deletions
This file was deleted.

CLI-ONESHOT.md

Lines changed: 0 additions & 216 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ cli({
109109
});
110110
```
111111

112-
Use `opencli explore <url>` to discover APIs and see [CLI-EXPLORER.md](./CLI-EXPLORER.md) if you need the full adapter workflow.
112+
Use `opencli explore <url>` to discover APIs and see [opencli-explorer skill](./skills/opencli-explorer/SKILL.md) if you need the full adapter workflow.
113113

114114
### Validate Your Adapter
115115

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ See [Plugins Guide](./docs/guide/plugins.md) for creating your own plugin.
250250

251251
## For AI Agents (Developer Guide)
252252

253-
> **Quick mode**: To generate a single command for a specific page URL, see [CLI-ONESHOT.md](./CLI-ONESHOT.md) — just a URL + one-line goal, 4 steps done.
253+
> **Quick mode**: To generate a single command for a specific page URL, see [opencli-oneshot skill](./skills/opencli-oneshot/SKILL.md) — just a URL + one-line goal, 4 steps done.
254254
255-
> **Full mode**: Before writing any adapter code, read [CLI-EXPLORER.md](./CLI-EXPLORER.md). It contains the complete browser exploration workflow, the 5-tier authentication strategy decision tree, and debugging guide.
255+
> **Full mode**: Before writing any adapter code, read [opencli-explorer skill](./skills/opencli-explorer/SKILL.md). It contains the complete browser exploration workflow, the 5-tier authentication strategy decision tree, and debugging guide.
256256
257257
```bash
258258
opencli explore https://example.com --site mysite # Discover APIs + capabilities

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ opencli plugin uninstall my-tool # 卸载
364364

365365
如果你是一个被要求查阅代码并编写新 `opencli` 适配器的 AI,请遵守以下工作流。
366366

367-
> **快速模式**:只想为某个页面快速生成一个命令?看 [CLI-ONESHOT.md](./CLI-ONESHOT.md) — 给一个 URL + 一句话描述,4 步搞定。
367+
> **快速模式**:只想为某个页面快速生成一个命令?看 [opencli-oneshot skill](./skills/opencli-oneshot/SKILL.md) — 给一个 URL + 一句话描述,4 步搞定。
368368
369-
> **完整模式**:在编写任何新代码前,先阅读 [CLI-EXPLORER.md](./CLI-EXPLORER.md)。它包含完整的适配器探索开发指南、API 探测流程、5级认证策略以及常见陷阱。
369+
> **完整模式**:在编写任何新代码前,先阅读 [opencli-explorer skill](./skills/opencli-explorer/SKILL.md)。它包含完整的适配器探索开发指南、API 探测流程、5级认证策略以及常见陷阱。
370370
371371
```bash
372372
# 1. Deep Explore — 网络拦截 → 响应分析 → 能力推理 → 框架检测

docs/developer/ai-workflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ opencli generate https://example.com --goal "trending"
1212

1313
This runs: explore → synthesize → register in one shot.
1414

15-
For the complete one-shot workflow details, see [CLI-ONESHOT.md](https://github.com/jackwener/opencli/blob/main/CLI-ONESHOT.md).
15+
For the complete one-shot workflow details, see [opencli-oneshot skill](https://github.com/jackwener/opencli/blob/main/skills/opencli-oneshot/SKILL.md).
1616

1717
## Full Mode (Explorer Workflow)
1818

@@ -63,4 +63,4 @@ The explorer uses a decision tree to determine the best authentication approach:
6363
4. **BROWSER** — Full browser automation
6464
5. **CDP** — Chrome DevTools Protocol for Electron apps
6565

66-
For the complete browser exploration workflow and debugging guide, see [CLI-EXPLORER.md](https://github.com/jackwener/opencli/blob/main/CLI-EXPLORER.md).
66+
For the complete browser exploration workflow and debugging guide, see [opencli-explorer skill](https://github.com/jackwener/opencli/blob/main/skills/opencli-explorer/SKILL.md).

skills/opencli-explorer/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ tags: [opencli, adapter, browser, api-discovery, cli, web-scraping, automation]
1010
> 从零到发布,覆盖 API 发现、方案选择、适配器编写、测试验证全流程。
1111
1212
> [!TIP]
13-
> **只想为一个具体页面快速生成一个命令?**[CLI-ONESHOT.md](./CLI-ONESHOT.md)~150 行,4 步搞定)。
13+
> **只想为一个具体页面快速生成一个命令?**[opencli-oneshot skill](../opencli-oneshot/SKILL.md)~150 行,4 步搞定)。
1414
> 本文档适合从零探索一个新站点的完整流程。
1515
1616
---

skills/opencli-oneshot/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: [opencli, adapter, quick-start, yaml, cli, one-shot, automation]
77
# CLI-ONESHOT — 单点快速 CLI 生成
88

99
> 给一个 URL + 一句话描述,4 步生成一个 CLI 命令。
10-
> 完整探索式开发请看 [CLI-EXPLORER.md](./CLI-EXPLORER.md)
10+
> 完整探索式开发请看 [opencli-explorer skill](../opencli-explorer/SKILL.md)
1111
1212
---
1313

@@ -219,4 +219,4 @@ opencli mysite mycommand --limit 3 -v # 实际运行
219219

220220
## 就这样,没了
221221

222-
写完文件 → build → run → 提交。有问题再看 [CLI-EXPLORER.md](./CLI-EXPLORER.md)
222+
写完文件 → build → run → 提交。有问题再看 [opencli-explorer skill](../opencli-explorer/SKILL.md)

0 commit comments

Comments
 (0)