协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
cli-and-apps【开发与工程】Guides agents using Pydantic AI CLI entry points, clai chat, clai web, Agent.to_cli, Agent.to_web, installed examples, and safe app scaffolds.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to run or troubleshoot clai, pai, python -m pydantic_ai, browser chat UI, installed example packages, or application scaffolds built around Pydantic AI agents.
Agent.to_cli(), Agent.to_web(), or clai web behavior.clai/pai help entry points are available.clai "prompt" for one-shot terminal questions and bare clai for interactive chat with slash commands.clai --list-models to inspect provider-prefixed model strings; route model/provider credential decisions to ../models-and-providers/SKILL.md.clai --agent module:variable or an AgentSpec YAML/JSON path when the user already has an importable Agent; route agent construction details to ../agent-core/SKILL.md.Agent.to_cli() or Agent.to_cli_sync() when a Python app should expose an existing Agent as an interactive terminal session.clai web for a local development browser chat UI and Agent.to_web() when embedding the generated Starlette app in an ASGI stack; route deeper UI event streams, AG-UI, MCP, durable execution, and hooks to ../mcp-and-integrations/SKILL.md.pydantic_ai_examples modules as runnable examples only when the examples package and required services/credentials are installed; otherwise distill the recipe into local app code.Agent(...), dependencies, run methods, streaming semantics, AgentSpec, deterministic testing, and message-history continuation mechanics, read ../agent-core/SKILL.md.../tools-and-toolsets/SKILL.md.../outputs-and-messages/SKILL.md.../models-and-providers/SKILL.md.../mcp-and-integrations/SKILL.md.clai over legacy pai in new user instructions; mention pai only for compatibility with existing installations or smoke checks.clai web and Agent.to_web() as local development/debugging surfaces, not production frontend architecture.