mirror of
https://github.com/coleam00/context-engineering-intro.git
synced 2025-12-17 17:55:29 +00:00
Virtual environment instructions
This commit is contained in:
parent
2b8bac6393
commit
8b0020395f
@ -20,6 +20,7 @@ This file contains the global rules and principles that apply to ALL PydanticAI
|
||||
|
||||
## 📚 Project Awareness & Context
|
||||
|
||||
- **Use a virtual environment** to run all code and tests. If one isn't already in the codebase when needed, create it
|
||||
- **Use consistent PydanticAI naming conventions** and agent structure patterns
|
||||
- **Follow established agent directory organization** patterns (agent.py, tools.py, models.py)
|
||||
- **Leverage PydanticAI examples extensively** - Study existing patterns before creating new agents
|
||||
|
||||
@ -17,16 +17,14 @@ python copy_template.py /path/to/my-agent-project
|
||||
# 2. Navigate to your project
|
||||
cd /path/to/my-agent-project
|
||||
|
||||
# 3. Set up environment
|
||||
python -m venv venv
|
||||
source venv/bin/activate # On Windows: venv\Scripts\activate
|
||||
|
||||
# 4. Start building with the PRP workflow
|
||||
# 3. Start building with the PRP workflow
|
||||
# Edit PRPs/INITIAL.md with your requirements, then:
|
||||
/generate-pydantic-ai-prp PRPs/INITIAL.md
|
||||
/execute-pydantic-ai-prp PRPs/generated_prp.md
|
||||
```
|
||||
|
||||
If you are not using Claude Code, you can simply tell your AI coding assistant to use the generate-pydantic-ai-prp and execute-pydantic-ai-prp slash commands in .claude/commands as prompts.
|
||||
|
||||
## 📖 What is This Template?
|
||||
|
||||
This template provides everything you need to build sophisticated Pydantic AI agents using proven context engineering workflows. It combines:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user