SKILL.md
286 tokens · o200k_base · 1,214 bytes
Create a new plugin with:
npx @tauri-apps/cli plugin new NAME \
--no-example \
--directory ./plugins/NAME
Decide NAME from the user request, then run the generator.
Follow the style and conventions used in plugins/analytics:
- remove generated
rollup.config.js - remove generated
README.md - update
tsconfig.json - update
package.json
If the user does not ask for different command behavior, keep the single ping function in both ext.rs and commands.rs.
After the code changes are in place, generate bindings:
pnpm -F @anlg/plugin-<NAME> codegen
Finish by updating these integration points:
Cargo.tomlapps/desktop/src-tauri/Cargo.tomlapps/desktop/package.jsonapps/desktop/src-tauri/capabilities/default.json
Run pnpm i after updating apps/desktop/package.json.
Discovery context
Discovered by repository scan. No exact path reference found in the snapshot’s root AGENTS.md.