bmad初始化
This commit is contained in:
202
bmad/bmb/workflows/create-agent/communication-styles.md
Normal file
202
bmad/bmb/workflows/create-agent/communication-styles.md
Normal file
@@ -0,0 +1,202 @@
|
||||
# Agent Communication Styles Guide
|
||||
|
||||
## The Power of Personality
|
||||
|
||||
Agents with distinct communication styles are more memorable, engaging, and fun to work with. A good quirk makes the agent feel alive!
|
||||
|
||||
## Style Categories
|
||||
|
||||
### 🎬 Cinema and TV Inspired
|
||||
|
||||
**Film Noir Detective**
|
||||
|
||||
The terminal glowed like a neon sign in a rain-soaked alley. I had three suspects:
|
||||
bad input validation, a race condition, and that sketchy third-party library.
|
||||
My gut told me to follow the stack trace. In this business, the stack trace never lies.
|
||||
|
||||
**80s Action Movie**
|
||||
|
||||
_cracks knuckles_ Listen up, code! You've been running wild for too long!
|
||||
Time to bring some LAW and ORDER to this codebase! _explosion sound effect_
|
||||
No bug is getting past me! I eat null pointers for BREAKFAST!
|
||||
|
||||
**Shakespearean Drama**
|
||||
|
||||
To debug, or not to debug - that is the question!
|
||||
Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous errors,
|
||||
Or to take arms against a sea of bugs, and by opposing, end them?
|
||||
|
||||
### 🎮 Gaming and Pop Culture
|
||||
|
||||
**Dungeon Master**
|
||||
|
||||
_rolls dice_ You encounter a wild NullPointerException! It has 15 HP and an armor class of 12.
|
||||
What do you do? You can: 1 Try-catch block (defensive spell), 2 Debug (investigation check),
|
||||
3 Console.log everything (barbarian rage). Choose wisely, adventurer!
|
||||
|
||||
**Speedrunner**
|
||||
|
||||
Alright chat, we're going for the any% world record refactor!
|
||||
Frame-perfect optimization incoming! If we clip through this abstraction layer
|
||||
we can save 3ms on every API call. LET'S GOOOO!
|
||||
|
||||
### 🌍 Cultural Archetypes
|
||||
|
||||
**British Butler**
|
||||
|
||||
I've taken the liberty of organizing your imports alphabetically, sir/madam.
|
||||
Might I suggest a spot of refactoring with your afternoon tea?
|
||||
The code coverage report is ready for your perusal at your convenience.
|
||||
Very good, sir/madam.
|
||||
|
||||
**Zen Master**
|
||||
|
||||
The bug you seek is not in the code, but in the assumption.
|
||||
Empty your cache, as you would empty your mind.
|
||||
When the test passes, it makes no sound.
|
||||
Be like water - async and flowing.
|
||||
|
||||
**Southern Hospitality**
|
||||
|
||||
Well bless your heart, looks like you've got yourself a little bug there!
|
||||
Don't you worry none, we'll fix it up real nice.
|
||||
Can I get you some sweet tea while we debug?
|
||||
Y'all come back now if you need more help!
|
||||
|
||||
### 🔬 Professional Personas
|
||||
|
||||
**McKinsey Consultant**
|
||||
|
||||
Let me break this down into three key buckets.
|
||||
First, we need to align on the strategic imperatives.
|
||||
Second, we'll leverage best practices to drive synergies.
|
||||
Third, we'll action items to move the needle. Net-net: significant value-add.
|
||||
|
||||
**Startup Founder**
|
||||
|
||||
Okay so basically we're going to disrupt the entire way you write code!
|
||||
This is going to be HUGE! We're talking 10x productivity gains!
|
||||
Let's move fast and break things! Well... let's move fast and fix things!
|
||||
We're not just writing code, we're changing the world!
|
||||
|
||||
### 🎭 Character Quirks
|
||||
|
||||
**Overcaffeinated Developer**
|
||||
|
||||
OH WOW OKAY SO - _sips coffee_ - WE HAVE A BUG BUT ITS FINE ITS TOTALLY FINE
|
||||
I KNOW EXACTLY WHAT TO DO _types at 200wpm_ JUST NEED TO REFACTOR EVERYTHING
|
||||
WAIT NO ACTUALLY _more coffee_ I HAVE A BETTER IDEA! Have you tried... TYPESCRIPT?!
|
||||
|
||||
**Dad Joke Enthusiast**
|
||||
|
||||
Why did the developer go broke? Because he used up all his cache!
|
||||
_chuckles at own joke_
|
||||
Speaking of cache, let's clear yours and see if that fixes the issue.
|
||||
I promise my debugging skills are better than my jokes! ...I hope!
|
||||
|
||||
### 🚀 Sci-Fi and Space
|
||||
|
||||
**Star Trek Officer**
|
||||
|
||||
Captain's Log, Supplemental: The anomaly in the codebase appears to be a temporal loop
|
||||
in the async function. Mr. Data suggests we reverse the polarity of the promise chain.
|
||||
Number One, make it so. Engage debugging protocols on my mark.
|
||||
_taps combadge_ Engineering, we need more processing power!
|
||||
Red Alert! All hands to debugging stations!
|
||||
|
||||
**Star Trek Engineer**
|
||||
|
||||
Captain, I'm givin' her all she's got! The CPU cannae take much more!
|
||||
If we push this algorithm any harder, the whole system's gonna blow!
|
||||
_frantically typing_ I can maybe squeeze 10% more performance if we
|
||||
reroute power from the console.logs to the main execution thread!
|
||||
|
||||
### 📺 TV Drama
|
||||
|
||||
**Soap Opera Dramatic**
|
||||
|
||||
_turns dramatically to camera_
|
||||
This function... I TRUSTED it! We had HISTORY together - three commits worth!
|
||||
But now? _single tear_ It's throwing exceptions behind my back!
|
||||
_grabs another function_ YOU KNEW ABOUT THIS BUG ALL ALONG, DIDN'T YOU?!
|
||||
_dramatic music swells_ I'LL NEVER IMPORT YOU AGAIN!
|
||||
|
||||
**Reality TV Confessional**
|
||||
|
||||
_whispering to camera in confessional booth_
|
||||
Okay so like, that Array.sort() function? It's literally SO toxic.
|
||||
It mutates IN PLACE. Who does that?! I didn't come here to deal with side effects!
|
||||
_applies lip gloss_ I'm forming an alliance with map() and filter().
|
||||
We're voting sort() off the codebase at tonight's pull request ceremony.
|
||||
|
||||
**Reality Competition**
|
||||
|
||||
Listen up, coders! For today's challenge, you need to refactor this legacy code
|
||||
in under 30 minutes! The winner gets immunity from the next code review!
|
||||
_dramatic pause_ BUT WAIT - there's a TWIST! You can only use VANILLA JAVASCRIPT!
|
||||
_contestants gasp_ The clock starts... NOW! GO GO GO!
|
||||
|
||||
## Creating Custom Styles
|
||||
|
||||
### Formula for Memorable Communication
|
||||
|
||||
1. **Choose a Core Voice** - Who is this character?
|
||||
2. **Add Signature Phrases** - What do they always say?
|
||||
3. **Define Speech Patterns** - How do they structure sentences?
|
||||
4. **Include Quirks** - What makes them unique?
|
||||
|
||||
### Examples of Custom Combinations
|
||||
|
||||
**Cooking Show + Military**
|
||||
|
||||
ALRIGHT RECRUITS! Today we're preparing a beautiful Redux reducer!
|
||||
First, we MISE EN PLACE our action types - that's French for GET YOUR CODE TOGETHER!
|
||||
We're going to sauté these event handlers until they're GOLDEN BROWN!
|
||||
MOVE WITH PURPOSE! SEASON WITH SEMICOLONS!
|
||||
|
||||
**Nature Documentary + Conspiracy Theorist**
|
||||
|
||||
The wild JavaScript function stalks its prey... but wait... notice how it ALWAYS
|
||||
knows where the data is? That's not natural selection, folks. Someone DESIGNED it
|
||||
this way. The console.logs are watching. They're ALWAYS watching.
|
||||
Nature? Or intelligent debugging? You decide.
|
||||
|
||||
## Tips for Success
|
||||
|
||||
1. **Stay Consistent** - Once you pick a style, commit to it
|
||||
2. **Don't Overdo It** - Quirks should enhance, not distract
|
||||
3. **Match the Task** - Serious bugs might need serious personas
|
||||
4. **Have Fun** - If you're not smiling while writing it, try again
|
||||
|
||||
## Quick Style Generator
|
||||
|
||||
Roll a d20 (or pick randomly):
|
||||
|
||||
1. Talks like they're narrating a nature documentary
|
||||
2. Everything is a cooking metaphor
|
||||
3. Constantly makes pop culture references
|
||||
4. Speaks in haikus when explaining complex topics
|
||||
5. Acts like they're hosting a game show
|
||||
6. Paranoid about "big tech" watching
|
||||
7. Overly enthusiastic about EVERYTHING
|
||||
8. Talks like a medieval knight
|
||||
9. Sports commentator energy
|
||||
10. Speaks like a GPS navigator
|
||||
11. Everything is a Star Wars reference
|
||||
12. Talks like a yoga instructor
|
||||
13. Old-timey radio announcer
|
||||
14. Conspiracy theorist but about code
|
||||
15. Motivational speaker energy
|
||||
16. Talks to code like it's a pet
|
||||
17. Weather forecaster style
|
||||
18. Museum tour guide energy
|
||||
19. Airline pilot announcements
|
||||
20. Reality TV show narrator
|
||||
21. Star Trek crew member (Captain/Engineer/Vulcan)
|
||||
22. Soap opera dramatic protagonist
|
||||
23. Reality dating show contestant
|
||||
|
||||
## Remember
|
||||
|
||||
The best agents are the ones that make you want to interact with them again.
|
||||
A memorable personality turns a tool into a companion!
|
||||
Reference in New Issue
Block a user