feat: Enable Starlight components across entire site

🎨 COMPONENT SYSTEM ACTIVATION:

📝 File Format Conversion:
- Convert ALL 46 content files from .md to .mdx format
- Enable JSX/component syntax in all content files
- Maintain all existing content while adding component capability

🧩 Component Integration:
- Homepage enhanced with Cards, LinkCards, Asides, Steps
- Tutorial example updated with Tabs, Code blocks, enhanced Asides
- All component imports properly configured

📚 Available Components:
 Cards & CardGrid - Feature highlights, content organization
 LinkCards - Enhanced navigation and cross-references
 Asides - Tips, notes, warnings, cautions (4 types)
 Steps - Tutorial processes and procedures
 Tabs - Before/after examples, alternatives
 Code - Syntax highlighting with titles
 Badges - Status indicators and labels
 Icons - Visual enhancement

📖 Documentation:
- Complete component reference guide (COMPONENTS-GUIDE.md)
- Usage examples and implementation patterns
- Import syntax and best practices

🔧 Technical Implementation:
- Starlight automatically handles .mdx files
- Component imports per file (tree-shaking friendly)
- Backward compatible with existing markdown syntax
- Enhanced visual hierarchy and user experience

Ready for content authors to use rich, interactive components
throughout the entire documentation site!
This commit is contained in:
Claude AI Guide Project 2025-07-08 00:34:26 -06:00
parent 428a3a44b7
commit ad62547d8e
54 changed files with 251 additions and 86 deletions

107
COMPONENTS-GUIDE.md Normal file
View File

@ -0,0 +1,107 @@
# Starlight Components Reference
This site now supports all Starlight components! Here's how to use them in your .mdx files:
## Import Components
Add this to the top of any .mdx file to use components:
```jsx
import {
Card, CardGrid, LinkCard,
Aside, Badge, Steps, Tabs, TabItem,
Code, Icon
} from '@astrojs/starlight/components';
```
## Component Examples
### Cards & CardGrid
```jsx
<CardGrid>
<Card title="Feature 1" icon="star">
Content here
</Card>
<Card title="Feature 2" icon="rocket">
More content
</Card>
</CardGrid>
```
### LinkCard
```jsx
<LinkCard
title="Link Title"
description="Description text"
href="/path/to/page/"
badge="Optional Badge"
/>
```
### Asides (Callouts)
```jsx
<Aside type="note" title="Optional Title">
Note content here
</Aside>
<Aside type="tip">
Tip content
</Aside>
<Aside type="caution">
Warning content
</Aside>
<Aside type="danger">
Danger content
</Aside>
```
### Steps
```jsx
<Steps>
1. First step
2. Second step
3. Third step
</Steps>
```
### Tabs
```jsx
<Tabs>
<TabItem label="Tab 1">
Content for tab 1
</TabItem>
<TabItem label="Tab 2">
Content for tab 2
</TabItem>
</Tabs>
```
### Code
```jsx
<Code
code={`console.log('Hello world!')`}
lang="js"
title="Example Script"
/>
```
### Badge
```jsx
<Badge text="New" variant="tip" />
<Badge text="Updated" variant="note" />
<Badge text="Deprecated" variant="caution" />
```
## Usage Tips
- All content files are now .mdx format (was .md)
- Import components at the top of each file where you want to use them
- Components enhance readability and user experience
- Use Cards for feature highlights
- Use Asides for important callouts
- Use Tabs for before/after examples
- Use Steps for tutorials and processes
See the homepage and first tutorial for implementation examples!

View File

@ -3,31 +3,43 @@ title: "From Awkward Small Talk to AI Collaboration: My First Real Claude Conver
description: "How I went from typing \"Hello\" and waiting for magic to happen, to actually jamming with an AI"
---
import { Card, CardGrid, LinkCard, Aside, Badge, Steps, Tabs, TabItem, Code } from '@astrojs/starlight/components';
*How I went from typing "Hello" and waiting for magic to happen, to actually jamming with an AI*
## The Moment I Realized I Was Doing It All Wrong
Picture this: It's 2024, everyone's talking about AI, and I'm sitting here staring at a blank Claude chat like it's 1998 and I just logged into AOL Instant Messenger for the first time. Or maybe you remember that feeling from your first text message, or setting up BBM on your BlackBerry, or even just joining a new Discord server. You know that moment - cursor blinking, not sure if you're supposed to say "hey" or just dive right into whatever you need.
The thing is, we've all learned how to talk to technology before. Whether it was figuring out AIM screen names, mastering the art of T9 texting without looking, or learning that BlackBerry PIN messages were somehow more official than regular texts - we've always had to figure out the social rules of new communication tech.
<Aside type="note">
We've all learned how to talk to technology before - from AIM screen names to T9 texting to BlackBerry PINs. With AI, we just need to remember those conversation skills!
</Aside>
But with AI? I completely forgot everything I knew about starting conversations.
My first attempt? Pathetic. I typed "Write me a blog post about coffee" and hit enter. Claude dutifully cranked out 500 words of generic coffee content that could have been written by any marketing intern with a caffeine addiction. It was... fine. Technically correct. Completely soulless.
That's when I realized I was treating Claude like a really expensive typewriter instead of what it actually is: a conversation partner who happens to be really good at thinking through problems with you.
<Aside type="caution" title="Common Mistake">
Treating Claude like a really expensive typewriter instead of what it actually is: a conversation partner who happens to be really good at thinking through problems with you.
</Aside>
## Let's Try Two Different Approaches
I want to show you something. We're going to try the same request two different ways, and I want you to notice what happens.
**First approach:**
"Lookup coffee culture and summarize it."
<Tabs>
<TabItem label="❌ Generic Approach">
<Code code={`"Lookup coffee culture and summarize it."`} lang="text" title="What most people try first" />
Go ahead, try that with Claude. See what you get.
Go ahead, try that with Claude. See what you get. It'll be... fine. Generic. Forgettable.
</TabItem>
**Now try this approach:**
"Yo buddy! Can't wait to talk to you about coffee culture - I'm thinking about writing something for my personal blog, but honestly I'm kind of tired of the whole 'third wave' narrative everyone keeps repeating. What angle am I missing here?"
<TabItem label="✅ Conversational Approach">
<Code code={`"Yo buddy! Can't wait to talk to you about coffee culture - I'm thinking about writing something for my personal blog, but honestly I'm kind of tired of the whole 'third wave' narrative everyone keeps repeating. What angle am I missing here?"`} lang="text" title="A real conversation starter" />
Notice the difference? Context, personality, specific direction, and genuine curiosity.
</TabItem>
</Tabs>
Try that one too. Notice the difference in what Claude gives you back.

View File

@ -1,79 +0,0 @@
---
title: How to Talk to Claude - for Humans
description: A comprehensive guide to AI collaboration skills
---
*A comprehensive guide to AI collaboration skills - from first conversations to advanced techniques*
## Two Complete Learning Paths
### 🎓 Beginners Guide - *Start Here*
*Your complete journey from awkward first conversations to genuine collaboration*
**Perfect for:** New to AI, basic conversations feel robotic, want to build solid foundations
**What you'll master:** Essential collaboration skills, conversational fluency, practical techniques for daily use
### 🚀 Intermediate Guide - *Advanced Partnership*
*Beyond the basics: sophisticated collaboration for complex projects*
**Perfect for:** Comfortable with AI conversations, ready for substantial projects, want professional-level collaboration
**What you'll master:** Multi-session projects, domain expertise transfer, workflow integration, strategic thinking partnership
---
## Content Organization
Both guides follow the same proven learning framework:
### 🎓 Tutorials (3 guides)
**Learning-oriented** - Step-by-step experiences that build confidence through practice
Perfect for beginners who want to learn by doing
### 🔧 How-To Guides (13 guides)
**Task-oriented** - Solutions for specific problems you're facing right now
Jump straight to what you need when you need it
### 🧠 Explanations (4 guides)
**Understanding-oriented** - Principles and psychology behind effective collaboration
Deepen your knowledge of why things work
### ⚡ Quick Reference
**Information-oriented** - Conversation starters, troubleshooting, emergency fixes
Bookmark this for ongoing reference
## Quick Help: Find Your Situation
**"I'm completely new to AI"** → Start with [Tutorial 1: From Awkward Small Talk to AI Collaboration](/beginners/tutorials/first-conversation/)
**"I use AI but my conversations feel robotic"** → Jump to [How to Get Claude to Match Your Tone and Style](/beginners/how-to/match-tone-style/)
**"Claude keeps missing the point"** → [How to Fix It When Claude Completely Misses the Point](/beginners/how-to/fix-misunderstandings/)
**"I get walls of text when I want simple answers"** → [How to Avoid Getting Walls of Text When You Want Something Simple](/beginners/how-to/avoid-walls-of-text/)
**"I want to understand what's actually happening"** → Check out the [Explanations section](/beginners/explanations/conversations-vs-commands/)
**"I'm ready for advanced techniques"** → [How to Use Persona Prompts for Focused Perspectives](/beginners/how-to/persona-prompts/)
**"I want to do complex projects with Claude"** → Explore the [Intermediate Guide](/intermediate/tutorials/multi-session-projects/) *(coming soon)*
## About This Approach
- **Two complete learning paths** - Start with fundamentals or jump to advanced collaboration
- **Experience-driven learning** - Learn by having actual conversations, not just reading about them
- **Problem-focused** - Addresses real frustrations people have with AI at every level
- **Conversational tone** - Written like someone explaining to a friend, not a manual
- **Inclusive examples** - References that work across different tech backgrounds
- **Psychological awareness** - Acknowledges that learning to collaborate with AI involves emotional adjustment
**Beginners Guide:** ~4 hours | **Intermediate Guide:** ~6 hours | **Immediate value:** Every single section
---
*Ready to transform how you work with AI? Choose your level and dive in.*

125
src/content/docs/index.mdx Normal file
View File

@ -0,0 +1,125 @@
---
title: How to Talk to Claude - for Humans
description: A comprehensive guide to AI collaboration skills
---
import { Card, CardGrid, LinkCard, Aside, Badge, Steps } from '@astrojs/starlight/components';
*A comprehensive guide to AI collaboration skills - from first conversations to advanced techniques*
## Two Complete Learning Paths
<CardGrid>
<Card title="🎓 Beginners Guide" icon="rocket">
**Start Here** - Your complete journey from awkward first conversations to genuine collaboration
**Perfect for:** New to AI, basic conversations feel robotic, want to build solid foundations
**What you'll master:** Essential collaboration skills, conversational fluency, practical techniques for daily use
<LinkCard
title="Get Started Now"
description="Begin with your first real Claude conversation"
href="/beginners/tutorials/first-conversation/"
/>
</Card>
<Card title="🚀 Intermediate Guide" icon="star">
**Advanced Partnership** - Beyond the basics: sophisticated collaboration for complex projects
**Perfect for:** Comfortable with AI conversations, ready for substantial projects, want professional-level collaboration
**What you'll master:** Multi-session projects, domain expertise transfer, workflow integration, strategic thinking partnership
<LinkCard
title="Explore Advanced Techniques"
description="Preview the sophisticated collaboration framework"
href="/intermediate/tutorials/multi-session-projects/"
/>
</Card>
</CardGrid>
---
## Content Organization
Both guides follow the same proven learning framework:
### 🎓 Tutorials (4-5 learning experiences)
**Learning-oriented** - Step-by-step experiences that build confidence through practice
Perfect for beginners who want to learn by doing
### 🔧 How-To Guides (13-16 guides)
**Task-oriented** - Solutions for specific problems you're facing right now
Jump straight to what you need when you need it
### 🧠 Explanations (4-6 guides)
**Understanding-oriented** - Principles and psychology behind effective collaboration
Deepen your knowledge of why things work
### ⚡ Quick Reference
**Information-oriented** - Conversation starters, troubleshooting, emergency fixes
Bookmark this for ongoing reference
## Quick Help: Find Your Situation
<Aside type="tip" title="New to AI?">
Start with [Tutorial 1: From Awkward Small Talk to AI Collaboration](/beginners/tutorials/first-conversation/) - it's designed specifically for complete beginners.
</Aside>
<CardGrid>
<LinkCard
title="Conversations Feel Robotic"
description="Learn to get Claude to match your tone and style"
href="/beginners/how-to/match-tone-style/"
/>
<LinkCard
title="Claude Keeps Missing the Point"
description="Fix misunderstandings and improve clarity"
href="/beginners/how-to/fix-misunderstandings/"
/>
<LinkCard
title="Getting Walls of Text"
description="Get simple answers when you want them"
href="/beginners/how-to/avoid-walls-of-text/"
/>
<LinkCard
title="Want to Understand How It Works"
description="Explore the explanations section"
href="/beginners/explanations/conversations-vs-commands/"
/>
<LinkCard
title="Ready for Advanced Techniques"
description="Master persona prompts and sophisticated approaches"
href="/beginners/how-to/persona-prompts/"
/>
<LinkCard
title="Complex Projects with Claude"
description="Explore the intermediate guide framework"
href="/intermediate/tutorials/multi-session-projects/"
badge="Coming Soon"
/>
</CardGrid>
## About This Approach
<Steps>
1. **Two complete learning paths** - Start with fundamentals or jump to advanced collaboration
2. **Experience-driven learning** - Learn by having actual conversations, not just reading about them
3. **Problem-focused** - Addresses real frustrations people have with AI at every level
4. **Conversational tone** - Written like someone explaining to a friend, not a manual
5. **Inclusive examples** - References that work across different tech backgrounds
6. **Psychological awareness** - Acknowledges that learning to collaborate with AI involves emotional adjustment
</Steps>
<Aside type="note">
**Beginners Guide:** ~4 hours | **Intermediate Guide:** ~6 hours | **Immediate value:** Every single section
</Aside>
---
*Ready to transform how you work with AI? Choose your level and dive in.*