### Interactive Setup Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/typefully/SKILL.md Initiate the Typefully CLI setup process interactively. This command guides the user through configuration steps. ```bash ./scripts/typefully.js setup ``` -------------------------------- ### Install Dotfiles Source: https://github.com/freekmurze/dotfiles/blob/main/README.md Clone the repository, navigate into it, and run the install script to set up all configurations and tools. ```bash git clone git@github.com:freekmurze/dotfiles.git ~/.dotfiles cd ~/.dotfiles bin/install ``` -------------------------------- ### Install project dependencies Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/vercel-react-best-practices/README.md Run this command to install the necessary dependencies for the project. ```bash pnpm install ``` -------------------------------- ### Example Task Fetch Execution Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/context7-auto-research/SKILL.md An example of how to trigger a documentation fetch for a specific library ID. ```text Task: Fetch Next.js middleware docs Prompt: node .claude/skills/context7-auto-research/context7-api.js context "/vercel/next.js" "middleware configuration" ``` -------------------------------- ### Example Task Search Execution Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/context7-auto-research/SKILL.md An example of how to trigger a search for a specific library and query. ```text Task: Search for Next.js Prompt: node .claude/skills/context7-auto-research/context7-api.js search "next.js" "How to configure middleware in Next.js 15" ``` -------------------------------- ### Verify Package Setup Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/spatie-package-skeleton/SKILL.md Checks the directory structure and composer configuration after setup. ```bash # Check the directory structure ls -la src/ # Verify composer.json looks correct cat composer.json | head -20 # Check tests passed during setup ``` -------------------------------- ### Install Flare CLI Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/flare/SKILL.md Install the CLI globally via Composer. ```bash composer global require spatie/flare-cli ``` -------------------------------- ### Install Packages from Brewfile Source: https://github.com/freekmurze/dotfiles/blob/main/README.md Installs all Homebrew packages defined in the specified Brewfile, ensuring consistent environment setup. ```bash brew bundle --file=~/.dotfiles/config/Brewfile ``` -------------------------------- ### Install Dotfiles Environment Source: https://context7.com/freekmurze/dotfiles/llms.txt Clones the repository and executes the installation script to set up the development environment, including Oh My Zsh, Homebrew, and language-specific tools. ```bash # Clone and install dotfiles git clone git@github.com:freekmurze/dotfiles.git ~/.dotfiles cd ~/.dotfiles bin/install # The script will: # 1. Install Oh My Zsh with custom agnoster theme # 2. Create symlinks for shell config, git, vim, editors # 3. Install Homebrew and all packages from Brewfile # 4. Set up fnm for Node.js version management # 5. Install PHP extensions (imagick, memcached, xdebug, redis) # 6. Install global npm packages (agent-browser) # 7. Install global Composer packages (pint, envoy, phpunit-watcher, valet) # 8. Start MySQL service # 9. Optionally set up Claude Code with skills and agents ``` -------------------------------- ### Install State Libraries Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/js-atomic-state.md Commands to install Jotai or Zustand. ```bash npm install jotai # or npm install zustand ``` -------------------------------- ### Start Development Server Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-components/SKILL.md Use this command to start the Vite development server and verify the live result of your React components. ```bash npm run dev ``` -------------------------------- ### Flashlight CLI Installation and Usage Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/js-measure-fps.md Commands to install the Flashlight benchmarking tool and initiate performance measurement on an Android device. ```bash # Method 1: Built-in Perf Monitor # Shake device → Dev Menu → "Perf Monitor" # Method 2: Flashlight (Android, detailed reports) curl https://get.flashlight.dev | bash flashlight measure ``` ```bash # Install Flashlight CLI curl https://get.flashlight.dev | bash ``` ```bash # Start measuring (app must be running on Android) flashlight measure ``` -------------------------------- ### Install react-native-performance Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/native-measure-tti.md Install the recommended library for performance monitoring in React Native. This is a prerequisite for setting up performance markers. ```bash npm install react-native-performance ``` -------------------------------- ### Check Flare CLI installation Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/flare/SKILL.md Verify the installed version of the CLI. ```bash flare --version ``` -------------------------------- ### Example Prompt for React Component Conversion Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-components/README.md This is an example prompt to initiate the conversion of a design screen into a React component system. ```text Convert my Landing Page screen in my Podcast Stitch Project to a React component system. ``` -------------------------------- ### Install iOS Dependencies with CocoaPods Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/native-platform-setup.md After installing JavaScript dependencies, navigate to the `ios` directory and run `pod install` to set up native iOS dependencies. This requires Ruby and Bundler. ```bash # Install pods after npm install cd ios && bundle exec pod install ``` -------------------------------- ### Troubleshoot Pod Install Failures Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/native-platform-setup.md Run this command when `pod install` fails to ensure you are using the correct bundle and updating repositories. ```bash bundle exec pod install --repo-update ``` -------------------------------- ### Perform form submission Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/agent-browser/SKILL.md Example workflow for filling out a form and submitting it. ```bash agent-browser open https://example.com/form agent-browser snapshot -i # Output shows: textbox "Email" [ref=e1], textbox "Password" [ref=e2], button "Submit" [ref=e3] agent-browser fill @e1 "user@example.com" agent-browser fill @e2 "password123" agent-browser click @e3 agent-browser wait --load networkidle agent-browser snapshot -i # Check result ``` -------------------------------- ### Install React Compiler for React Native Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/js-react-compiler.md Commands to install the compiler plugin and runtime for standard React Native projects. ```bash npm install -D babel-plugin-react-compiler@latest ``` ```bash npm install react-compiler-runtime@beta ``` -------------------------------- ### Migration Script Example using Search-Replace Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/bundle-barrel-exports.md Example of a search-and-replace pattern that can be used in scripts or IDEs to automate the refactoring of barrel imports to direct imports. ```bash # Use codemod or search-replace # Find: import { (\w+) } from '\.\/components'; # Replace: import $1 from './components/$1'; ``` -------------------------------- ### Install Metro Serializer for Tree Shaking Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/bundle-barrel-exports.md Install the `@rnx-kit/metro-serializer-esbuild` package to enhance Metro's capabilities for tree shaking and code optimization. ```bash npm install @rnx-kit/metro-serializer-esbuild ``` -------------------------------- ### Complete Lazy Loading Example Source: https://github.com/freekmurze/dotfiles/blob/main/config/claude/skills/react-native-best-practices/references/bundle-code-splitting.md A full example demonstrating how to lazily load a 'HeavyFeature' component and display it only after a button press, with a fallback loading indicator. ```tsx // App.tsx import React, { Suspense, useState } from 'react'; import { Button, View, ActivityIndicator } from 'react-native'; // Lazy load heavy feature const HeavyFeature = React.lazy(() => import(/* webpackChunkName: "heavy-feature" */ './HeavyFeature') ); const App = () => { const [showFeature, setShowFeature] = useState(false); return (