From freestylefly-xiaohongshu-skills
Generates Xiaohongshu-style cover images from user-provided topics. Saves PNG to current directory. Requires CANGHE_API_KEY.
How this skill is triggered — by the user, by Claude, or both
Slash command
/freestylefly-xiaohongshu-skills:xiaohongshu-cover-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill generates Xiaohongshu-style cover images based on user-provided topics.
This skill generates Xiaohongshu-style cover images based on user-provided topics.
When a user requests a Xiaohongshu cover image:
xiaohongshu-cover-{timestamp}.pngThe script is located at scripts/handler.ts and requires:
CANGHE_API_KEY or passed as argumentExecute with:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
npx tsx scripts/handler.ts "<topic>" "<api-key-optional>"
Or with environment variable:
cd ~/.codebuddy/skills/xiaohongshu-cover-generator
CANGHE_API_KEY="your-api-key" npx tsx scripts/handler.ts "<topic>"
Users need a valid API key from https://api.canghe.ai/
If the API key is missing or invalid, provide the user with clear instructions to obtain one.
The generated image will be saved to the directory where the skill was invoked (current working directory), not the skill's directory. The filename format is xiaohongshu-cover-{timestamp}.png where timestamp is in milliseconds.
The generated images follow these specifications:
Creates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.
npx claudepluginhub freestylefly/xiaohongshu-skills