A previous channel might've been saved in a file and will be used by the script.
On success, tell the user to manually check the result, and correct it if needed. Next possible skills: `implement`, `improve`.
Pass any errors to the user.
This needs `https://www.figma.com/community/plugin/1485687494525374295/cursor-talk-to-figma-mcp-plugin` opened in a Figma file, connected to a channel, with a page/screen element selected to work. If the process takes a long time, the user might need to keep the Figma app / web page on the foreground.
This skill and script is just a workaround to give the user the exact cli command to call a script in this plugin, because the script might conflict with Claude Code's permission.
This needs \`https://www.figma.com/community/plugin/1485687494525374295/cursor-talk-to-figma-mcp-plugin\` opened in a Figma file, connected to a channel, with a page/screen element selected to work.
If a previous channel is saved, the script will try to use it as a fallback.
An invalid channel might fail silently!
If image export takes a long time, you might need to keep the Figma app / web page on the foreground.
`;
// Write to the project directory (cwd = the user's project when Claude Code runs)