Skip to content
Back to skills

Animation Skill

ASecurity

Create splash screens, ASCII art banners, and terminal animations. Use when building visual effects, loading screens, and branding elements.

  • 57 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 31, 2026
developmentpythongogit

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill animation-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Animation Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Animation Skill
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-animation-skill/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-animation-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: animation-skill
description: Create splash screens, ASCII art banners, and terminal animations. Use when building visual effects, loading screens, and branding elements.
allowed-tools: Write, Read
---

# Animation Skill

## Purpose
Create eye-catching splash screens and animations for terminal apps.

## Instructions

### Splash Screen with PyFiglet
```python
from rich.console import Console
from rich.panel import Panel
from rich.align import Align
from rich.text import Text
import pyfiglet
import time

console = Console()

def show_splash_screen():
    """Display animated splash screen with developer credit."""
    console.clear()
    
    # Generate ASCII art
    logo = pyfiglet.figlet_format("TODO", font="banner3-D")
    
    # Build content
    content = Text()
    content.append(logo, style="bold cyan")
    content.append("\n\n")
    content.append("๐ŸŽฎ Retro Terminal Task Manager ๐ŸŽฎ", style="bold magenta")
    content.append("\n\n")
    content.append("โ”" * 40, style="dim cyan")
    content.append("\n\n")
    content.append("Developer by: ", style="dim white")
    content.append("maneeshanif", style="bold green")
    content.append("\n")
    
    # Create panel
    panel = Panel(
        Align.center(content),
        border_style="bright_cyan",
        padding=(2, 4),
        title="[bold yellow]โœจ Welcome โœจ[/bold yellow]",
        subtitle="[dim]Press ENTER to continue[/dim]"
    )
    
    console.print(panel)
    input()
    console.clear()
```

### Alternative Fonts
```python
# Available fonts to try:
COOL_FONTS = [
    "banner3-D",   # 3D block letters
    "slant",       # Slanted text
    "doom",        # DOOM game style
    "big",         # Large letters
    "digital",     # Digital clock style
    "standard",    # Classic figlet
    "small",       # Compact
    "smslant",     # Small slant
    "cyberlarge",  # Cyberpunk style
    "cybermedium", # Medium cyberpunk
]

def generate_banner(text: str, font: str = "slant") -> str:
    """Generate ASCII banner with specified font."""
    try:
        return pyfiglet.figlet_format(text, font=font)
    except:
        return pyfiglet.figlet_format(text, font="standard")
```

### Animated Loading
```python
from rich.progress import Progress, SpinnerColumn, TextColumn
import time

def show_loading(message: str = "Loading", duration: float = 2.0):
    """Show animated loading spinner."""
    with Progress(
        SpinnerColumn("dots"),
        TextColumn("[bold cyan]{task.description}[/bold cyan]"),
        transient=True
    ) as progress:
        task = progress.add_task(message, total=None)
        time.sleep(duration)

def show_typing_effect(text: str, delay: float = 0.03):
    """Display text with typing effect."""
    for char in text:
        console.print(char, end="", style="bold cyan")
        time.sleep(delay)
    console.print()
```

### Animated Welcome
```python
import time

def animated_welcome():
    """Animated welcome sequence."""
    console.clear()
    
    frames = [
        "๐ŸŒ‘", "๐ŸŒ’", "๐ŸŒ“", "๐ŸŒ”", "๐ŸŒ•", "๐ŸŒ–", "๐ŸŒ—", "๐ŸŒ˜"
    ]
    
    # Moon animation
    for _ in range(2):
        for frame in frames:
            console.print(f"\r{frame} Loading...", end="")
            time.sleep(0.1)
    
    console.print("\rโœจ Ready!     ")
    time.sleep(0.5)
    
    # Show main splash
    show_splash_screen()
```

### Colorful Border Box
```python
def create_fancy_box(content: str, title: str = "") -> Panel:
    """Create a fancy box with gradient-like border."""
    return Panel(
        Align.center(Text(content)),
        title=f"[bold magenta]โ•”โ• {title} โ•โ•—[/bold magenta]",
        border_style="bright_cyan",
        padding=(1, 3),
        subtitle="[dim cyan]โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•[/dim cyan]"
    )
```

### Full Splash Module
```python
"""
splash.py - Splash screen and animations for Retro Todo CLI
"""

from rich.console import Console
from rich.panel import Panel
from rich.align import Align
from rich.text import Text
import pyfiglet
import time

console = Console()

# ASCII Art alternatives if pyfiglet fails
FALLBACK_LOGO = """
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— 
โ•šโ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—
   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘
   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘
   โ–ˆโ–ˆโ•‘   โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
   โ•šโ•โ•    โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•โ•โ• 
"""

def get_logo() -> str:
    """Get ASCII logo, with fallback."""
    try:
        return pyfiglet.figlet_format("TODO", font="banner3-D")
    except:
        return FALLBACK_LOGO

def show_splash():
    """Main splash screen."""
    console.clear()
    
    logo = get_logo()
    
    content = Text()
    content.append(logo, style="bold cyan")
    content.append("\n")
    content.append("๐ŸŽฎ ", style="")
    content.append("Retro Terminal Task Manager", style="bold magenta")
    content.append(" ๐ŸŽฎ", style="")
    content.append("\n\n")
    content.append("โ”€" * 45, style="dim cyan")
    content.append("\n\n")
    content.append("Developer by: ", style="white")
    content.append("maneeshanif", style="bold green underline")
    content.append("\n")
    
    panel = Panel(
        Align.center(content),
        border_style="bright_cyan",
        padding=(1, 4),
        title="[bold yellow]โ˜… WELCOME โ˜…[/bold yellow]",
        subtitle="[dim white][ Press ENTER to continue ][/dim white]"
    )
    
    # Animate border colors (simple version)
    console.print(panel)
    input()
    console.clear()

def show_goodbye():
    """Goodbye screen."""
    console.clear()
    
    content = Text()
    content.append("\n")
    content.append("๐Ÿ‘‹ Goodbye!", style="bold cyan")
    content.append("\n\n")
    content.append("Thanks for using ", style="white")
    content.append("Retro Todo", style="bold magenta")
    content.append("\n\n")
    content.append("See you next time!", style="dim")
    content.append("\n")
    
    panel = Panel(
        Align.center(content),
        border_style="cyan",
        padding=(1, 4)
    )
    
    console.print(panel)
    time.sleep(1)

if __name__ == "__main__":
    show_splash()
```

## Best Practices

- Always include developer credit in splash
- Have fallback ASCII art if pyfiglet fails
- Keep animations short (1-3 seconds)
- Use transient progress bars for loading
- Clear screen before and after splash
- Handle KeyboardInterrupt gracefully
- Test with different terminal sizes
- Use consistent color theme

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.