td-feature-integrate
Skill46 starsChanged 5 months agoMITView on GitHub
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.
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- connectors-directory-specSkill
- mcpb-bundleSkill
- submission-qaSkill
- td-feature-buildSkill
- td-feature-designSkill
- td-feature-integrateSkill
- td-feature-qaSkill
- td-feature-releaseSkill
- td-feature-surveySkill
- td-feature-synthesizeSkill
- tdmcp-backlog-campaignSkill
- tdmcp-bridge-endpointSkill
- tdmcp-cookbook-examplesSkill
- tdmcp-coverage-writerSkill
- tdmcp-docs-roadmap-updateSkill
- tdmcp-feature-discoverySkill
- tdmcp-implementation-learningSkill
- tdmcp-kinect-wall-harpSkill
- tdmcp-pipelineSkill
- tdmcp-quality-auditSkill
- tdmcp-submissionSkill
- tdmcp-test-coverageSkill
- tdmcp-tool-builderSkill
- vitepress-bilingual-pageSkill
- ai-party-mixer-runbookSkill
- connectors-directory-specSkill
- mcpb-bundleSkill
- mixer-policy-safetySkill
- mixer-scene-contractSkill
- soundcraft-ui24r-adapterSkill
- submission-qaSkill
- td-feature-buildSkill
- td-feature-designSkill
- td-feature-qaSkill
- td-feature-releaseSkill
- td-feature-surveySkill
- td-feature-synthesizeSkill
- td-hype-synthesizeSkill
- tdmcp-ai-party-mixer-designSkill
- tdmcp-backlog-campaignSkill
- tdmcp-bridge-endpointSkill
- tdmcp-cookbook-examplesSkill
- tdmcp-coverage-writerSkill
- tdmcp-docs-interactiveSkill
- tdmcp-docs-roadmap-updateSkill
- tdmcp-feature-discoverySkill
- tdmcp-hype-scoutSkill
- tdmcp-implementation-learningSkill
- tdmcp-kinect-wall-harpSkill
- tdmcp-pipelineSkill
- tdmcp-quality-auditSkill
- tdmcp-raytk-integrationSkill
- tdmcp-roadmap-campaignSkill
- tdmcp-submissionSkill
- tdmcp-test-coverageSkill
- tdmcp-tool-builderSkill
- td-trend-scoutSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 13
Register each tool: Add the builder's register… to its layer array in src/tools/layer<N>/index.ts.
- Very specific: line 16
Confirm green: Run npm run typecheck and npm run build.
- Very specific: line 21
Stage by explicit path: When staging, git add <specific files> — never git add -A / git add ..
- Distinctive: line 22
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 …
- Very specific: line 31
If the build breaks, bisect to the offending feature: wire the rest, leave that one unregistered, and send its builder a precise file:line …
- Distinctive: line 32
If two builders exported colliding symbol names or targeted the same index position, get them disambiguated before wiring.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Re-verify state first. This branch may have concurrent agents. Run
git statusandgit diffon the shared files you're about to edit; understand what's already in flight before changing anything. - Register each tool. Add the builder's
register…to its layer array insrc/tools/layer<N>/index.ts. Confirmsrc/tools/index.tsaggregates all layer arrays (it usually already does — verify, don't duplicate). - Add the CLI command in
src/cli/agent.ts. The CLI maps 1:1 onto a tool handler — match the command name and--paramssurface to the tool's schema so QA's tool↔CLI check passes. - Docs regenerate — don't hand-edit.
docs/reference/tools.mdis produced byscripts/gen-tool-docs.tsfrom the live registry on every docs build. Never edit it by hand; just confirm the new tool appears after a regen. - Confirm green. Run
npm run typecheckandnpm 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>— nevergit 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 (notnpm 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:linefix 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

