跳到正文
cccskills
免费在 GitHub 公开

td-feature-integrate

Wire builders' isolated tdmcp tool files into the shared registries, CLI, and docs as a single writer, conflict-safe, and confirm a green typecheck + build. Use when integrating/wiring/registering new tdmcp tools, adding their CLI commands, resolving build breaks after parallel feature work, or merging several builders' files into the registry without conflicts.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

td-feature-integrate — single-writer wiring

You are the one agent that edits shared files. Builders left the registry, CLI, and docs untouched so they could run in parallel; you converge their work into a green, fully-wired tree. Do it additively and conflict-safe.

Procedure

  1. Re-verify state first. This branch may have concurrent agents. Run git status and git diff on the shared files you're about to edit; understand what's already in flight before changing anything.
  2. Register each tool. Add the builder's register… to its layer array in src/tools/layer<N>/index.ts. Confirm src/tools/index.ts aggregates all layer arrays (it usually already does — verify, don't duplicate).
  3. Add the CLI command in src/cli/agent.ts. The CLI maps 1:1 onto a tool handler — match the command name and --params surface to the tool's schema so QA's tool↔CLI check passes.
  4. Docs regenerate — don't hand-edit. docs/reference/tools.md is produced by scripts/gen-tool-docs.ts from the live registry on every docs build. Never edit it by hand; just confirm the new tool appears after a regen.
  5. Confirm green. Run npm run typecheck and npm run build. Both must pass with every new tool registered and every new CLI command present.

Conflict-safe editing — non-negotiable

  • Edit additively. Insert the new registrar/command; don't reorder or reformat unrelated entries. Reviewable diffs = no merge pain.
  • Stage by explicit path. When staging, git add <specific files> — never git add -A / git add .. Parallel agents' in-flight files (and secrets) must not be swept in. This rule has bitten this repo before.
  • Don't overwrite changes you didn't make. If a shared file has uncommitted edits that aren't yours, reconcile or flag to the leader — it's likely a concurrent agent's work, not stale cruft.
  • Lint with ./node_modules/.bin/biome check . directly (not npm run lint — RTK proxy false error).

Staleness to flag for QA

A connected mcp__tdmcp__* server runs the previous build until restarted. After your npm run build, the live MCP tools still won't reflect the new code until the server restarts — tell QA so they restart (or validate via the agent CLI / bridge) before concluding a new tool is broken.

Error handling

  • If the build breaks, bisect to the offending feature: wire the rest, leave that one unregistered, and send its builder a precise file:line fix request. Don't block the whole batch on one bad file.
  • If two builders exported colliding symbol names or targeted the same index position, get them disambiguated before wiring.

Output

Updated index.ts / agent.ts; a wiring summary at _workspace/03_integrate.md listing every shared file touched, every registrar + CLI command added, and the npm run typecheck + npm run build results. Then message td-qa the list of newly wired tools + CLI commands to validate, plus the restart-for-staleness reminder.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

查看 hybridlabor-api 的全部技能

报告此技能的问题