update-local-development-agents
БесплатноБез исполняемых скриптовНе проверенWorkflow for propagating penguiflow library changes to test agents. Use when modifying library code and need to test changes in test_generation agents.
Об этом скилле
Updating Local Development Agents
Overview
When developing the penguiflow library, changes need to be propagated to test agents in test_generation/. This skill documents the workflow.
Directory Structure
penguiflow/
├── penguiflow/ # Library source code
│ ├── tools/
│ │ ├── node.py # ToolNode implementation
│ │ └── config.py # ExternalToolConfig, AuthType
│ ├── planner/
│ └── ...
├── test_generation/
│ └── reporting-agent/ # Test agent using local penguiflow
│ ├── src/reporting_agent/
│ ├── pyproject.toml
│ └── .env
└── .claude/skills/
Workflow: After Library Changes
1. Make changes to library
Edit files in penguiflow/ (e.g., penguiflow/tools/node.py)
2. Reinstall library in test agent venv
cd test_generation/reporting-agent
uv sync --reinstall-package penguiflow
This rebuilds and reinstalls the local penguiflow into the agent's venv.
3. Test the changes
# Quick test
uv run python -c "from penguiflow.tools import ToolNode; print('OK')"
# Run agent tests
uv run pytest tests/
# Or run the agent directly
uv run penguiflow dev
Common Issues
"VIRTUAL_ENV does not match" Warning
When running from the main penguiflow directory:
warning: `VIRTUAL_ENV=/path/to/penguiflow/.venv` does not match the project environment
This is harmless - uv uses the correct venv based on the project.
Import Errors After Changes
If imports fail after library changes:
- Ensure you ran
uv sync --reinstall-package penguiflow - Check for syntax errors in the library code
- Verify the library installs:
uv run python -c "import penguiflow"
Type Errors
Run mypy after changes:
cd /path/to/penguiflow
uv run mypy penguiflow
Agent Configuration
pyproject.toml Reference
[project]
dependencies = [
"penguiflow[planner] @ file:///absolute/path/to/penguiflow",
# other deps...
]
.env Configuration
Test agents use .env for configuration:
# MCP Server URLs
TABLEAU_MCP_SERVER_URL=https://...
CHARTING_MCP_SERVER_URL=https://...
# Auth credentials
TABLEAU_MCP_COOKIE=<session_cookie>
DATABRICKS_CLIENT_ID=...
DATABRICKS_CLIENT_SECRET=...
Quick Reference Commands
# From test agent directory
cd test_generation/reporting-agent
# Reinstall library
uv sync --reinstall-package penguiflow
# Run tests
uv run pytest tests/ -v
# Run specific test
uv run pytest tests/test_orchestrator.py -k "test_name"
# Interactive testing
uv run python -c "
import asyncio
from reporting_agent.orchestrator import ReportingAgentOrchestrator
# ... test code
"
# Start dev server
uv run penguiflow dev
CI Pipeline
Before committing library changes:
cd /path/to/penguiflow
uv run ruff check penguiflow
uv run mypy penguiflow
uv run pytest --cov=penguiflow
Установить update-local-development-agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл update-local-development-agents?
Workflow for propagating penguiflow library changes to test agents. Use when modifying library code and need to test changes in test_generation agents.
Как установить скилл update-local-development-agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-local-development-agents запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic