### Clone and Initialize Repository Source: https://github.com/alloy-org/plugin-template/blob/main/README.md Commands to clone the template and set up the local environment. ```bash git clone git@github.com:alloy-org/plugin-template.git ``` ```bash cp -r plugin-template my-cool-plugin ``` ```bash cd my-cool-plugin ``` ```bash brew install node ``` ```bash apt install nodejs ``` ```bash npm install ``` ```bash git remote set-url origin git@github.com:my-org/my-cool-plugin.git ``` ```bash git push ``` -------------------------------- ### Build and Deploy Plugin Source: https://github.com/alloy-org/plugin-template/blob/main/README.md Commands to compile the plugin and push updates to the repository. ```bash npm run build ``` ```bash node esbuild.js ``` ```bash git add build/compiled.js && git commit -m "Compiled plugin" ``` ```bash git push ``` -------------------------------- ### Run Tests Source: https://github.com/alloy-org/plugin-template/blob/main/README.md Commands to execute the test suite. ```bash NODE_OPTIONS=--experimental-vm-modules npm test ``` ```bash npm install -D jest-environment-jsdom ``` ```bash NODE_OPTIONS=--experimental-vm-modules npm run test -- --watch ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.