// @ts-check import { defineConfig } from 'astro/config'; import starlight from '@astrojs/starlight'; import starlightSiteGraph from 'starlight-site-graph'; import starlightThemeObsidian from 'starlight-theme-obsidian'; // https://astro.build/config export default defineConfig({ integrations: [ starlight({ title: 'How to Talk to Claude', description: 'A comprehensive guide to AI collaboration skills - for humans', logo: { src: './src/assets/logo.svg', }, social: [ { icon: 'github', label: 'GitHub', href: 'https://github.com/your-username/how-to-talk-to-claude' } ], plugins: [ starlightThemeObsidian(), starlightSiteGraph({ config: { graphTitle: 'Site Graph', graphDescription: 'Navigate the connections between guides and concepts', graphConfig: { "nodeDefaultStyle": { "shape": "star", "shapePoints": 5 } } } }) ], sidebar: [ { label: 'Beginners Guide', badge: 'Start here', collapsed: false, items: [ { label: 'Tutorials', badge: '3 guides', collapsed: false, items: [ { label: 'Start Here: First Conversation', link: '/beginners/tutorials/first-conversation/', badge: 'New to AI?' }, { label: 'Messy Ideas to Results', link: '/beginners/tutorials/messy-ideas/' }, { label: 'Creative Collaboration', link: '/beginners/tutorials/creative-project/' }, ], }, { label: 'How-To Guides', badge: '13 guides', collapsed: true, items: [ { label: 'Communication & Style', collapsed: true, items: [ { label: 'Ask When Uncertain', link: '/beginners/how-to/ask-when-uncertain/' }, { label: 'Match Your Tone', link: '/beginners/how-to/match-tone-style/' }, { label: 'Fix Misunderstandings', link: '/beginners/how-to/fix-misunderstandings/' }, ], }, { label: 'Information & Research', collapsed: true, items: [ { label: 'Fact-Check Answers', link: '/beginners/how-to/fact-check/' }, { label: 'Avoid Walls of Text', link: '/beginners/how-to/avoid-walls-of-text/' }, { label: 'Get Useful Sources', link: '/beginners/how-to/get-useful-sources/' }, { label: 'Research Unfamiliar Topics', link: '/beginners/how-to/research-unfamiliar-topics/' }, { label: 'Organize Information', link: '/beginners/how-to/organize-information/' }, ], }, { label: 'Creative & Personal Work', collapsed: true, items: [ { label: 'Brainstorm Comfortably', link: '/beginners/how-to/brainstorm-comfortably/' }, { label: 'Get Helpful Feedback', link: '/beginners/how-to/get-helpful-feedback/' }, { label: 'Personal Decisions', link: '/beginners/how-to/personal-decisions/' }, { label: 'Maintain Your Voice', link: '/beginners/how-to/maintain-voice-writing/' }, ], }, { label: 'Advanced Techniques', collapsed: true, items: [ { label: 'Persona Prompts', link: '/beginners/how-to/persona-prompts/' }, ], }, ], }, { label: 'Explanations', badge: '4 guides', collapsed: true, items: [ { label: 'Conversations vs Commands', link: '/beginners/explanations/conversations-vs-commands/' }, { label: 'Psychology of Collaboration', link: '/beginners/explanations/psychology-collaboration/' }, { label: 'How Claude Thinks', link: '/beginners/explanations/how-claude-thinks/' }, { label: 'Making AI Work for Life', link: '/beginners/explanations/making-ai-work-for-life/' }, ], }, { label: 'Quick Reference', items: [ { label: 'Conversation Starters', link: '/beginners/reference/' }, ], }, ], }, { label: 'Intermediate Guide', badge: '11 complete', collapsed: true, items: [ { label: 'Tutorials', badge: '5 guides', collapsed: false, items: [ { label: 'Multi-Session Projects', link: '/intermediate/tutorials/multi-session-projects/' }, { label: 'Teaching Your Domain', link: '/intermediate/tutorials/teaching-your-domain/' }, { label: 'Collaborative Research', link: '/intermediate/tutorials/collaborative-research/' }, { label: 'Creative Co-Creation', link: '/intermediate/tutorials/creative-co-creation/', badge: 'Preview' }, { label: 'Learning Partnership', link: '/intermediate/tutorials/learning-partnership/', badge: 'Preview' }, ], }, { label: 'How-To Guides', badge: '16 guides', collapsed: true, items: [ { label: 'Project & Workflow', collapsed: true, items: [ { label: 'Maintain Context', link: '/intermediate/how-to/maintain-context/' }, { label: 'Hand Off Work Between Sessions', link: '/intermediate/how-to/handoff-work-sessions/', badge: 'Preview' }, { label: 'Integrate into Workflows', link: '/intermediate/how-to/integrate-workflows-tools/', badge: 'Preview' }, { label: 'Iterative Design & Development', link: '/intermediate/how-to/iterative-design-development/', badge: 'Preview' }, ], }, { label: 'Advanced Communication', collapsed: true, items: [ { label: 'Company Style Guides', link: '/intermediate/how-to/company-style-guides/', badge: 'Preview' }, { label: 'Meta-Conversations', link: '/intermediate/how-to/meta-conversations/' }, { label: 'Debug Advanced Conversations', link: '/intermediate/how-to/debug-advanced-conversations/', badge: 'Preview' }, { label: 'Balance Human-AI Judgment', link: '/intermediate/how-to/balance-human-ai-judgment/', badge: 'Preview' }, ], }, { label: 'Specialized Applications', collapsed: true, items: [ { label: 'Complex Problem Decomposition', link: '/intermediate/how-to/complex-problem-decomposition/' }, { label: 'Technical Documentation', link: '/intermediate/how-to/technical-documentation/', badge: 'Preview' }, { label: 'Advanced Fact-Checking', link: '/intermediate/how-to/advanced-fact-checking/' }, { label: 'Strategic Thinking Support', link: '/intermediate/how-to/strategic-thinking-support/' }, { label: 'Facilitate Group Discussions', link: '/intermediate/how-to/facilitate-group-discussions/', badge: 'Preview' }, ], }, { label: 'Domain-Specific', collapsed: true, items: [ { label: 'Research & Academic Work', link: '/intermediate/how-to/research-academic-work/', badge: 'Preview' }, { label: 'Business Strategy & Planning', link: '/intermediate/how-to/business-strategy-planning/', badge: 'Preview' }, { label: 'Complex Creative Projects', link: '/intermediate/how-to/complex-creative-projects/', badge: 'Preview' }, { label: 'Learning & Skill Development', link: '/intermediate/how-to/learning-skill-development/', badge: 'Preview' }, ], }, ], }, { label: 'Explanations', badge: '6 guides', collapsed: true, items: [ { label: 'Extended Partnership Psychology', link: '/intermediate/explanations/extended-partnership/' }, { label: 'Context Architecture', link: '/intermediate/explanations/context-architecture/' }, { label: 'Cognitive Load Balancing', link: '/intermediate/explanations/cognitive-load-balancing/', badge: 'Preview' }, { label: 'Collaboration Spectrum', link: '/intermediate/explanations/collaboration-spectrum/', badge: 'Preview' }, { label: 'Failure Modes', link: '/intermediate/explanations/failure-modes/', badge: 'Preview' }, { label: 'AI-Augmented Workflows', link: '/intermediate/explanations/ai-augmented-workflows/', badge: 'Preview' }, ], }, { label: 'Advanced Reference', items: [ { label: 'Power-User Guide', link: '/intermediate/reference/' }, ], }, ], }, ], customCss: [ './src/styles/custom.css', ], }), ], });