refactor: move skill to skills/inkreach-teable (from .agents/skills/)
git mv rename (history preserved); install.sh + README updated. The skill is consumed via user-level install (~/.zcode/skills), so in-repo .agents discovery was unnecessary.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
| 内容 | 位置 | 说明 |
|
||||
|---|---|---|
|
||||
| **CLI**(命令 `inkreach-teable`) | 仓库根(`src/`,包即仓库) | 表、字段、记录、视图、自动化(8 触发器 + 7 动作)、密钥、执行历史、插件、订阅等全部 REST API 封装 |
|
||||
| **Agent Skill** | `.agents/skills/inkreach-teable/` | ZCode/Claude 技能:模块地图、路由规则、API 参考、实例运维指南 |
|
||||
| **Agent Skill** | `skills/inkreach-teable/` | ZCode 技能:模块地图、路由规则、API 参考、实例运维指南(安装到 `~/.zcode/skills/` 用户级后生效) |
|
||||
|
||||
设计文档见 [`docs/cli-skill-design.md`](docs/cli-skill-design.md)。
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
```bash
|
||||
git clone ssh://git@gitea.inkreach.cc:2222/inkreachhub/inkreach-teable-cli.git
|
||||
cd inkreach-teable-cli
|
||||
bash .agents/skills/inkreach-teable/scripts/install.sh
|
||||
bash skills/inkreach-teable/scripts/install.sh
|
||||
```
|
||||
|
||||
安装脚本会:构建 CLI → 全局链接 `inkreach-teable` 命令 → 把 skill 安装到
|
||||
@@ -45,6 +45,6 @@ pnpm typecheck
|
||||
## 来源
|
||||
|
||||
2026-09-23 从 inkreach-teable monorepo 拆分独立(原路径 `packages/inkreach-cli/` +
|
||||
`.agents/skills/inkreach-teable/`),git 历史完整保留。应用本体的开发/部署文档见
|
||||
skill 内 [development.md](.agents/skills/inkreach-teable/guides/development.md)(描述的是
|
||||
`.agents/skills/inkreach-teable/`,后者在本仓库移至 `skills/inkreach-teable/`),git 历史完整保留。应用本体的开发/部署文档见
|
||||
skill 内 [development.md](skills/inkreach-teable/guides/development.md)(描述的是
|
||||
inkreach-teable 应用仓库,不是本仓库)。
|
||||
|
||||
+3
-3
@@ -10,9 +10,9 @@
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# Resolve the repo root: skill lives at <root>/.agents/skills/inkreach-teable/scripts/
|
||||
REPO_ROOT="$(cd "$SCRIPT_DIR/../../../.." && pwd)"
|
||||
SKILL_DIR="$REPO_ROOT/.agents/skills/inkreach-teable"
|
||||
# Resolve the repo root: skill lives at <root>/skills/inkreach-teable/scripts/
|
||||
REPO_ROOT="$(cd "$SCRIPT_DIR/../../.." && pwd)"
|
||||
SKILL_DIR="$REPO_ROOT/skills/inkreach-teable"
|
||||
|
||||
echo "=== inkreach-teable CLI installation ==="
|
||||
|
||||
Reference in New Issue
Block a user