Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Mapbox Agent Skills Examples

This directory contains both conversation examples and working code examples demonstrating how the Mapbox Agent Skills work in practice.

📝 Conversation Examples

Realistic conversation transcripts showing how AI assistants use the skills to help with common tasks.

💻 Working Code Examples

Complete, runnable applications that follow the patterns from the skills.

Web Examples

iOS Examples

Android Examples

How to Use These Examples

Conversation Examples

Read through the conversation transcripts to see:

  • What skills get activated for different tasks
  • How skills inform better decision-making
  • The quality of guidance provided by skill-enhanced AI assistants

Code Examples

Each code example includes:

  • Complete, working code following skill patterns
  • README explaining what patterns are demonstrated
  • Comments highlighting key practices from the skills
  • Instructions for running the example

Prerequisites:

  • Web: Node.js 18+, Mapbox access token
  • iOS: Xcode 15+, Mapbox access token
  • Android: Android Studio, Mapbox access token

See individual example READMEs for specific setup instructions.

Testing the Skills

Want to test if an AI assistant is using the skills correctly? Try these prompts:

Web Performance:

"I have a Mapbox map with 50,000 restaurant markers and it's really slow.
How do I optimize it?"

iOS Integration:

"I need to add a Mapbox map to my SwiftUI app.
Show me the correct pattern with proper cleanup."

Android Integration:

"How do I integrate Mapbox Maps SDK into my Jetpack Compose app
with proper lifecycle handling?"

Map Design:

"I'm building a real estate app. What map style should I use
and what colors work best for property markers?"

Compare the AI's response with the guidance in the skills to verify it's being applied correctly.

Contributing Examples

Have a great example that demonstrates skill usage? We'd love to include it!

For conversation examples:

  1. Use the skill with an AI assistant
  2. Copy the conversation transcript
  3. Annotate which skills were used
  4. Submit a PR

For code examples:

  1. Create a minimal, focused example
  2. Follow patterns from the relevant skill
  3. Add comments explaining key decisions
  4. Include a README with setup instructions
  5. Test thoroughly
  6. Submit a PR

See CONTRIBUTING.md for more details.