Skip to content
Agentmart
Submit a tool

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.

Skill by hybridlabor-api

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hybridlabor-api-td-feature-integrate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/td-feature-integrate

What's inside

Skill name
td-feature-integrate
Description
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.
License
Apache-2.0
Instructions
33 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: scripts/gen-tool-docs.ts

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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.

From hybridlabor-api/aos, Apache-2.0.

More from hybridlabor-api/aos

Signals

Stars
6
Forks
0
Open issues
19
Last commit (this folder)
Aug 13, 2026 (2 months ago)
Last release
Oct 14, 2026 (15 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hybridlabor-api

Cite this page

td-feature-integrate skill. Agent Mart. https://agentmart.dev/skills/hybridlabor-api-td-feature-integrate (last updated 2026-10-24)