js-literals-protocol
Installation
SKILL.md
JavaScript Literals Protocol Tool Skill
Overview
This skill establishes a new protocol for LLM to call tools using JavaScript's template literal syntax. It allows seamless integration between LLM prompts and local JavaScript functions through a tag function mechanism.
Protocol Definition
Core Concept
The protocol uses JavaScript template literals with tag functions to enable LLM to invoke local functions. This provides a natural, JavaScript-native way for LLMs to interact with tools.
Syntax Format
// Define variables
const var1 = value1;
const var2 = value2;