xiaohongshu
xiaohongshu
lesson-runner
Run Python code in lesson context with proper uv and venv handling for agent-spike project. Activate when user wants to run tests, demos, or CLI commands for lessons in lessons/ directories. Project-specific for agent-spike multi-agent learning.
Full skill instructions
Standard patterns for running lesson code in the agent-spike multi-agent learning project.
This skill activates when:
Navigate to lesson directory first:
cd lessons/lesson-XXX
Run test scripts:
uv run python test_router.py
uv run python test_coordinator.py
uv run python test_*.py
Run demo scripts:
uv run python demo.py "https://example.com"
uv run python demo.py "https://youtube.com/watch?v=..."
Run module CLI (if lesson has one):
# Interactive mode
uv run python -m youtube_agent.cli interactive
uv run python -m webpage_agent.cli interactive
# Analyze mode
uv run python -m youtube_agent.cli analyze "URL"
uv run python -m <name>_agent.cli analyze "URL"
You can also run from project root (uv finds the lesson automatically):
# From root directory
uv run python lessons/lesson-003/demo.py "URL"
uv run python lessons/lesson-001/test_agent.py
Cross-directory execution:
uv searches upward for pyproject.toml (finds project root).venv at project root.venv if in lesson directoryBenefits:
This project has a hybrid .venv structure:
uv sync --all-groups)You don't need to manage this - uv run python handles it automatically.
# Install lesson dependencies
uv sync --group lesson-001
uv sync --group lesson-002
uv sync --group lesson-003
uv sync --all-groups # Install all lessons (recommended)
# Check what's installed
uv pip list
# Run specific lesson
cd lessons/lesson-001
uv run python -m youtube_agent.cli analyze "https://youtube.com/watch?v=..."
cd lessons/lesson-002
uv run python -m webpage_agent.cli analyze "https://github.com/..."
cd lessons/lesson-003
uv run python test_coordinator.py
If you get "module not found" errors:
uv sync --group lesson-XXXuv run python (not python directly)If you get ".env not found" warnings:
.env from another lesson: cp ../lesson-001/.env ..env with API keys (see lesson README)If tests fail:
.envMost common pattern:
cd lessons/lesson-XXX
uv run python <script>.py
Always use:
uv run python (handles venv automatically)-m flag for module execution (e.g., -m youtube_agent.cli)Never use:
.venv/Scripts/python.exe)python command directly../../../.venv/)Note: See python-workflow skill for general Python/uv best practices. This skill is specific to running agent-spike lesson code.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience