### Markdown Installation Steps Example Source: https://ai-native.panaversity.org/docs/Markdown-Prompt-Context-Engineering/markdown-language-of-ai/lists An example of an ordered list demonstrating installation steps for a weather app. This format is crucial because the sequence of installation is vital for the application to function correctly. ```markdown # Weather Dashboard ## Installation 1. Install Python 3.9 or higher from python.org 2. Download the project files 3. Navigate to the project folder: `cd weather-dashboard` 4. Install required packages: `pip install requests` 5. Run the program: `python weather.py` ``` -------------------------------- ### AI-Assisted Package Installation Prompt Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/bash-essentials/packages-dependencies An example prompt for an AI tool to install a package, showing the installation command, output, dependencies, and verification method. This demonstrates how AI can abstract package management complexities. ```markdown Install a package for me (choose: requests, numpy, express, or lodash). Show me: 1. The installation command 2. The installation output (what gets downloaded and installed) 3. What dependencies were installed and why 4. How to verify it worked in my code ``` -------------------------------- ### Launch and Interact with Gemini CLI Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/installation-authentication-first-steps This example illustrates the workflow for starting a Gemini CLI session and initiating a conversation. It shows the command to launch Gemini ('gemini'), followed by an example of asking a question about artificial intelligence. The subsequent steps demonstrate asking follow-up questions and exiting the session. ```shell gemini ``` ```cli Help me understand what artificial intelligence means ``` ```cli Explain machine learning to me in simple terms with a real example ``` ```cli What are some real-world applications of machine learning? ``` ```cli How do companies use machine learning to recommend products? ``` ```cli /quit ``` -------------------------------- ### Navigate to Project Directory (Shell) Source: https://ai-native.panaversity.org/docs/Spec-Driven-Development/spec-kit-plus-hands-on/installation-and-setup Changes the current working directory to the newly created 'calculator-project' folder, preparing for further setup or command execution. ```shell cd calculator-project ``` -------------------------------- ### Launch Gemini CLI and Initiate Authentication Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/installation-authentication-first-steps Starts the Gemini CLI and automatically guides the user through the authentication process. This command is used after installation or when running via npx. The CLI will prompt for theme selection and authentication method (Google login, API Key, or Vertex AI). ```bash gemini ``` -------------------------------- ### Example UV Installation Output Source: https://ai-native.panaversity.org/docs/Python-Fundamentals/python-uv-package-manager/creating-first-uv-project-with-ai Illustrates the expected output after running a 'uv add' command, showing the resolution and installation of packages, including the requested package and its transitive dependencies. ```shell Resolved 6 packages in 2.85s Installed 5 packages in 274ms + certifi==2025.11.12 + charset-normalizer==3.4.4 + idna==3.11 + requests==2.32.5 + urllib3==2.5.0 ``` -------------------------------- ### Installation Commands for Task Tracker App Source: https://ai-native.panaversity.org/docs/Markdown-Prompt-Context-Engineering/markdown-language-of-ai/code-blocks Shows how to format installation instructions using inline code for commands and file paths. This makes it easy for users to identify and execute the necessary steps for setting up the application. ```text ## Installation 1. Install Python 3.9 or higher from python.org 2. Download the task tracker files from GitHub 3. Navigate to the project folder: `cd task-tracker` 4. Run the program: `python tracker.py` ``` -------------------------------- ### Ordered List Example: Setup Process Source: https://ai-native.panaversity.org/docs/Markdown-Prompt-Context-Engineering/markdown-language-of-ai/lists Illustrates the use of an ordered list for a setup process where sequence is critical. Each step must be completed in the specified order for the process to be successful. ```Markdown ## Setup Process 1. Create account 2. Verify email address 3. Set up profile 4. Start using the app ``` -------------------------------- ### Install and Verify Spec-Kit Plus (Shell) Source: https://ai-native.panaversity.org/docs/Spec-Driven-Development/spec-kit-plus-hands-on/installation-and-setup Installs the latest version of the Spec-Kit Plus framework using pip and verifies the installation by checking its version. Assumes Python 3.12+ is already confirmed. ```shell # Install the latest version pip install specifyplus # Verify installation specifyplus --version ``` -------------------------------- ### Gemini Web Fetch Tool Activation Examples Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/built-in-tools-deep-dive Demonstrates when the Gemini Web Fetch tool is activated, typically for retrieving official documentation, tutorials, release notes, guides, or course materials from specified websites. ```text Fetch Python.org to learn about Python Get the Git official tutorial from git-scm.com Fetch the latest Python release notes Get the Bash user guide from the GNU website Fetch the official Markdown guide from commonmark.org ``` -------------------------------- ### Security Workflow: Creating .env.example Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/configuration-and-settings Example content for a .env.example file, which serves as a template for required environment variables. This file is safe to commit and guides collaborators on necessary settings without revealing secrets. ```env # .env.example GEMINI_MODEL=gemini-2.5-flash GEMINI_THEME=dark GEMINI_API_KEY=your_api_key_here ``` -------------------------------- ### Python Dependency Installation and Execution Source: https://ai-native.panaversity.org/docs/Markdown-Prompt-Context-Engineering/markdown-language-of-ai/code-blocks This snippet shows the typical steps for installing Python dependencies using pip and running a Python script. It highlights the use of inline code for commands and filenames within a specification. ```text 1. Install Python 3.9 or higher 2. Run `pip install requests` to install dependencies 3. Create a file named `config.py` with your API key 4. Run the program with `python weather.py` ``` -------------------------------- ### Starter Python Script (main.py) Source: https://ai-native.panaversity.org/docs/Python-Fundamentals/python-uv-package-manager/creating-first-uv-project-with-ai This is the default entry point script generated for a new UV project. It provides a basic function and execution block to get you started with writing Python code. ```python def main() -> None: print("Hello from my-first-app!") if __name__ == "__main__": main() ``` -------------------------------- ### Install Gemini Extension from GitHub Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/extensions-security-and-ide-integration Installs an extension by downloading it from a specified GitHub repository. This process includes downloading the extension, installing MCP servers, adding custom commands, loading context files, and applying configurations. ```bash gemini extensions install https://github.com/username/extension-name ``` ```bash gemini extensions install https://github.com/gemini-cli-extensions/security ``` -------------------------------- ### Verify Claude Code Setup Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/claude-code-features-and-workflows/free-claude-setup Verifies that the Claude Code installation and router are working correctly after setup. It checks the versions of the installed tools and confirms the API key is set. ```bash claude --version # Should show: Claude Code v2.x.x ccr version # it will show version number (without hyphen) echo $GOOGLE_API_KEY # Should show your key (not empty!) # If any fail, see Troubleshooting section ``` -------------------------------- ### Verify Node.js Version Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/claude-code-features-and-workflows/free-claude-setup Checks if Node.js version 18 or higher is installed. This is a prerequisite for the setup. If not installed, users are directed to download it from nodejs.org. ```bash node --version # Should show v18.x.x or higher ``` -------------------------------- ### Intentional Context Management Example Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/ai-native-ides/cursor-ai-features-and-workflows An example of how to provide focused context to the AI by referencing previous decisions, specific files, and constraints to guide code generation. ```markdown You (Message 5): "We now need API endpoints for authentication. Remember our constraints from earlier: - SQLite database (@models.py shows current schema) - Rate limiting on login (implemented in auth.py) - JWT tokens for stateless auth Focus on the POST /login endpoint first" ``` -------------------------------- ### Onboard New Team Member with UV Sync Source: https://ai-native.panaversity.org/docs/Python-Fundamentals/python-uv-package-manager/team-collaboration-reproducible-environments Illustrates the process for a new team member to set up the project environment. It involves cloning the repository, running `uv sync` to recreate the exact environment, and verifying the setup with `uv run pytest`. ```shell # Step 1: Clone git clone https://github.com/yourorg/web-scraper.git cd web-scraper # Step 2: Sync (recreates exact environment) uv sync # Step 3: Verify uv run pytest ``` -------------------------------- ### Bash Command Example with Language Tag Source: https://ai-native.panaversity.org/docs/Markdown-Prompt-Context-Engineering/markdown-language-of-ai/code-blocks Demonstrates the importance of using language tags for fenced code blocks. This example shows how specifying 'bash' for a command-line instruction like 'pip install requests' improves clarity. ```bash pip install requests ``` -------------------------------- ### Install Plugin Bundle from Marketplace Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/claude-code-features-and-workflows/plugins-putting-it-all-together This command installs a specific plugin bundle, 'example-skills', from the 'anthropic-agent-skills' marketplace. After installation, the skills within the bundle are downloaded to the `.claude/skills/` directory and become immediately available for use. ```bash /plugin install example-skills@anthropic-agent-skills ``` -------------------------------- ### Create Project Structure and Initial Files Source: https://ai-native.panaversity.org/docs/Spec-Driven-Development/spec-kit-plus-hands-on/brownfield-adoption This snippet demonstrates creating directories, initializing a README file, and defining the main Python application entry point and its corresponding test file using shell commands and heredoc syntax. ```shell mkdir -p src tests echo "# My Project" > README.md cat > src/main.py << 'EOF' """Main application entry point.""" def main() -> None: """Run the application.""" print("Hello from my project!") if __name__ == "__main__": main() EOF cat > tests/test_main.py << 'EOF' """Tests for main module.""" from src.main import main def test_main() -> None: """Test main function runs without error.""" main() # Should not raise EOF ``` -------------------------------- ### Gemini Scenario 1: Learning Path Example Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/gemini-cli-installation-and-basics/built-in-tools-deep-dive Shows an example of Gemini's response in a learning scenario, including a suggested learning path and tool usage. ```text πŸ” Searching the web... Your Learning Path (Beginner-Friendly): **Part 1-4: Foundations (No Coding Yet)** βœ“ Chapter 1-4: AI Development concepts (you completed these) βœ“ Chapter 5: Claude Code basics (you completed this) β†’ Chapter 6: Gemini CLI (you're here!) **Part 2: Developer Fundamentals (Next)** β†’ Chapter 7: Bash Essentials (terminal commands) β†’ Chapter 10: Git Basics (version control) β†’ Chapters 11-11: Documentation (Markdown, Prompts, Context) **Part 3: Programming Starts Here** β†’ Chapter 14-17: Python Fundamentals (your first programming language) β†’ Chapters 18+: Advanced Python and beyond **Why This Order?** 1. Learn concepts before code (less overwhelming) 2. Master terminal before programming (essential skill) 3. Learn version control early (professional practice) 4. Start with Python (beginner-friendly language) **Next Steps:** Finish Chapter 6, then Chapter 7 teaches you terminal basics before Chapter 14 coding! Sources: - Educational programming standards - Stack Overflow Learning Path reports ``` -------------------------------- ### Python Variable Naming: Valid and Invalid Examples Source: https://ai-native.panaversity.org/docs/Python-Fundamentals/introduction-to-python/variables-and-type-hints Provides examples of valid and invalid Python variable names according to PEP 8 guidelines. Invalid names include those starting with numbers, containing spaces, or being reserved keywords. Valid names start with a letter or underscore, use lowercase_with_underscores, and avoid keywords. ```python 2age: int = 25 # βœ— Can't start with number user age: int = 25 # βœ— Can't have spaces class: str = "student" # βœ— 'class' is a Python keyword age2: int = 25 # βœ“ Validβ€”can end with number _age: int = 25 # βœ“ Validβ€”can start with underscore ``` -------------------------------- ### Install Claude Code Router Tools Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/claude-code-features-and-workflows/free-claude-setup Installs the necessary command-line tools for Claude Code and its router using npm. This command should be run in the terminal. ```bash # Install tools npm install -g @anthropic-ai/claude-code @musistudio/claude-code-router # Create config directories mkdir -p ~/.claude-code-router ~/.claude # Create router config # Create new config with native Gemini endpoint cat > ~/.claude-code-router/config.json << 'EOF' { "LOG": true, "LOG_LEVEL": "info", "HOST": "127.0.0.1", "PORT": 3456, "API_TIMEOUT_MS": 600000, "Providers": [ { "name": "gemini", "api_base_url": "https://generativelanguage.googleapis.com/v1beta/models/", "api_key": "$GOOGLE_API_KEY", "models": [ "gemini-2.5-flash", "gemini-2.0-flash" ], "transformer": { "use": ["gemini"] } } ], "Router": { "default": "gemini,gemini-2.5-flash", "background": "gemini,gemini-2.5-flash", "think": "gemini,gemini-2.5-flash", "longContext": "gemini,gemini-2.5-flash", "longContextThreshold": 60000 } } EOF # Verify file was created cat ~/.claude-code-router/config.json # Set your API key (REPLACE "YOUR_KEY_HERE" with actual key!) echo 'export GOOGLE_API_KEY="YOUR_KEY_HERE"' >> ~/.zshrc source ~/.zshrc ``` -------------------------------- ### Walkthrough Artifact Example Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/ai-native-ides/installing-antigravity An example of a 'walkthrough.md' artifact, which serves as the final report. It summarizes completed tasks, implementation details, verification results, and suggests next steps after the agent has finished a task. ```markdown # Walkthrough: Hello World Web Page ## Completed Tasks - [x] Created index.html with HTML structure - [x] Added CSS styling with blue background - [x] Tested page in browser ## Implementation Summary Created index.html with: - Semantic HTML structure - Inline CSS styling (blue background, centered text) - Flexbox layout for vertical/horizontal centering ## Verification Results βœ… Page displays successfully in browser βœ… Text "Hello, Antigravity!" visible and centered βœ… Background color is blue βœ… No console errors ## Screenshots [Agent captured browser screenshot here] ## What's Next - Could add hover effects to text - Could add animations - Could refactor CSS into separate file for larger projects ``` -------------------------------- ### Setting Up a Practice Project for Brownfield Workflow Source: https://ai-native.panaversity.org/docs/Spec-Driven-Development/spec-kit-plus-hands-on/brownfield-adoption This section details the shell commands necessary to set up a realistic test project for practicing the full brownfield workflow. It includes creating a directory, initializing git, and configuring user details. ```shell # Step 1: Create test project directory mkdir -p /tmp/my-brownfield-test cd /tmp/my-brownfield-test # Step 2: Initialize git (required for safety workflow) git init git config user.name "Your Name" git config user.email "you@example.com" ``` -------------------------------- ### Implementation Plan Artifact Example Source: https://ai-native.panaversity.org/docs/AI-Tool-Landscape/ai-native-ides/installing-antigravity An example of an 'implementation-plan.md' artifact. This details the agent's strategy, approach, design decisions, and potential challenges before writing code, enabling a spec-first development process. ```markdown # Implementation Plan ## Overview Create a simple HTML page with "Hello, Antigravity!" text and blue background. ## Approach 1. Create index.html with semantic HTML 2. Inline CSS in