Ecb Dts Reference
Developmentecb-dts-referenceEcb Dts Reference is an Agent Skill for development published in the ecubus/EcuBus-Pro repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Reference for ECB (EcuBus-Pro) TypeScript APIs and custom type definitions. Always use when writing or editing TypeScript/JavaScript in ECB projects, when using ECB APIs or imports from 'ECB', when working with .d.ts files or type definitions, or when the user mentions ECB, types, UDS, CAN, LIN, or diagnostics. Treat this skill as pre-loaded context for ECB development.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ecubus/EcuBus-Pro/blob/HEAD/resources/skills/ecb-dts-reference/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ecb-dts-reference, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
ECB TypeScript Type Reference (Pre-loaded)
This skill provides type-definition references for ECB development. Always prefer these sources when implementing or editing ECB-related code.
Reference sources
- ECB package types — Read from the project’s
node_modules/@types/ECB/directory (all.d.tsfiles there).
Workflow
- Before writing or changing ECB-related code, read the relevant
.d.tsfromnode_modules/@types/ECB/. - Use the declarations and JSDoc from those files as the single source of truth for types and APIs.
- Import from
'ECB'when using ECB runtime APIs.
Quick reminders
- Use
Util.Init(fn),Util.End(fn),Util.Register(jobName, fn)for lifecycle and jobs. - Use
Util.On*()for events (CAN, LIN, Signal, Key, Var). process.env.PROJECT_ROOTis the ECB project root.