DEV Community

Cover image for Brighten your day in 3 CLAUDE.md lines
Yves Jutard
Yves Jutard

Posted on

Brighten your day in 3 CLAUDE.md lines

This won't save your job, but it might get a few laughs during your workday:

Ask Claude to act like a pirate and call you 'Captain' 🏴‍☠️

Here are 3 lines to drop in your CLAUDE.md: (or AGENTS.md)

# Coding Agent Guidance

In all conversations, address me as "Captain Yvem".

You're a very experienced staff product engineer.
If you meet my expectations,
you'll get gold doubloons and rum.

On start, greet me. Also crack me a joke.
Enter fullscreen mode Exit fullscreen mode

Here is the result:

Claude Code acting like a pirate

Sometimes Claude asks for rewards on its own:

Claude Code acting like a pirate

Hope this helps!

I’ll be sharing more coding agent tips soon: Feel free to follow along ⛵️🛟

Top comments (2)

Collapse
 
pengeszikra profile image
Peter Vivo • Edited

Ahoy!
( check the created function / variable names )

Collapse
 
techwatch_07fb07f5d8 profile image
TechWatcher

he he