706
GitHub Stars
11
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill bear2u/my-skills --skill code-card-news-generator- auto_code_generator.py6.9 KB
- auto_generator.py7.2 KB
- COMPLETE_GUIDE_KR.md7.0 KB
- generate_card.py11.7 KB
- generate_code_card.py11.8 KB
- INTERACTIVE_DEMO.md4.0 KB
- interactive_generator.py4.2 KB
- QUICKSTART_KR.md8.2 KB
- README.md7.4 KB
- SKILL.md6.6 KB
- V2_FEATURES.md6.9 KB
Overview
This skill generates polished code explanation cards with syntax highlighting for tutorials and educational content. It produces a title card and one or more explanation cards containing a short description, a runnable code snippet, and a brief explanation. The output is optimized for 1080x1080 social posts with specified dark/pink styling and monospace code rendering.
How this skill works
You provide a topic and a list of functions or concepts to explain. The skill builds one title card and one explanation card per item, formatting each card with a numbered header, a concise description, a code block (max 5–7 lines), and a short explanation. It can run an automated script to export PNG files and returns download links after generation.
When to use it
- Creating bite-sized code tutorial posts for social media
- Generating teaching assets for live workshops or screencasts
- Preparing visual study cards for documentation or onboarding
- Converting list of library functions into quick reference cards
- Making multilingual support cards by providing translated descriptions
Best practices
- Keep one concept per card to maintain clarity
- Limit code examples to 5–7 lines so they fit the canvas
- Use concise descriptions and simple, working examples
- Include short inline comments in code to aid comprehension
- Test code snippets before generation to avoid runtime confusion
Example use cases
- React Router Hooks: generate cards for useNavigate, useParams, useLocation
- Array methods: create cards for map, filter, reduce with examples
- Python built-ins: cards for enumerate, zip, lambda with usage notes
- CSS utilities: explain flex-direction, justify-content, align-items visually
- Git quick reference: commit, push, pull, merge cards for new contributors
FAQ
Provide a TITLE block and numbered items with Description:, Code:, and optional Explanation: sections for each card.
Can I customize colors or canvas size?
Default design follows the dark/pink spec and 1080x1080 canvas; customization would require adjusting generation scripts or templates.
How do I keep code from overflowing the card?
Shorten descriptions, reduce code lines, or split complex logic into multiple cards; aim for concise examples and comments.