Install
$ agentstack add skill-hybridlabor-api-bdb-dev-optimized-agent-skills-td-feature-build ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
td-feature-build — implement one tool, new files only
Implement exactly what the spec says, in your own files, green in isolation. The parallel-build contract is simple: new files only; never edit anything shared (layer*/index.ts, tools/index.ts, cli/agent.ts, docs). That isolation is what lets builders run concurrently.
The canonical tool-file pattern
Every tool file exports a pure …Impl and a register…. Mirror a neighbour in the same layer, but the shape is:
import { z } from "zod";
import type { ToolRegistrar } from "../types.js"; // note the .js extension
import { runBuild, errorResult } from "../result.js";
export const fooSchema = z.object({
name: z.string().default("foo"),
intensity: z.number().min(0).max(1).default(0.5),
});
export async function fooImpl(ctx: ToolContext, args: z.infer) {
// build via the client; never throw — return errorResult / runBuild on failure
}
export const registerFoo: ToolRegistrar = (server, ctx) =>
server.registerTool(
"create_foo",
{ title: "…", description: "…", inputSchema: fooSchema.shape },
(args) => fooImpl(ctx, args),
);
ctx is the ToolContext ({ client, knowledge, recipes, logger, vault?, allowRawPython }). …Impl is pure and unit-testable with a mocked client.
Hard rules
- Never throw out of a handler. Validate via the Zod schema; turn TD failures into friendly
isErrorresults witherrorResult/runBuild/friendlyTdError. Return, don't throw. .jsimport extensions on every relative import (ESM/NodeNext).noUncheckedIndexedAccessis on — guard indexed access.- Biome: 2-space, double quotes, semicolons, trailing commas, 100-col. Check with
./node_modules/.bin/biome checkdirectly —npm run lintfails with a false ESLint parse error under the RTK proxy. - New files only. Your tool file +
tests/unit/.test.ts. Do not touch shared files; report your export names to the integrator instead.
Bridge / Python work
- Build the script with
buildPayloadScript(encodes args as__PAYLOAD_B64__), execute through the client, parse the reply withparsePythonReport. - An
executePythonScriptpayload must assign aresultvariable — the bridge reads it back. - If you edit
td/modules: keep TD-globals (op,app,project) inside functions so modules import cleanly, and runpython3 -m py_compileon changed files.
TD gotchas that make a "successful" build actually cook
- Many param/connect calls fail silently. Set the parameter that exists: a Level TOP has no
gain— usebrightness1. There is noParMode. - No cross-container wires — route a signal out of a container through a Select TOP/CHOP, not a direct wire.
- GLSL TOPs: declare
out vec4 fragColor;; there is no built-inuTime(add your own uniform); avoid preamble#definecollisions (F1/F2). KB shader snippets are references, not drop-in. - Reactive/time-dependent chains read 0 when the timeline is paused — that's expected, not a bug.
msw unit test
- Mock the bridge with
msw(no live TouchDesigner). Assert the real returned shape — operators created, params set, wiring, andisErrorpaths — not a cast-away generic. - Run only yours:
npx vitest run tests/unit/.test.ts. Green + biome-clean = done. You do NOT run the full build (the integrator does after wiring).
Output
The new tool file + test file, plus a note at _workspace/02_build_.md: files created, exported symbols (Impl, register), target layer index, what the test asserts, and any spec deviation + reason. Then tell td-integrator the export names.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: hybridlabor-api
- Source: hybridlabor-api/bdb-dev-optimized-agent-skills
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.