Example 2: Refactoring with New File
Refactor hello() into its own file.
Refactor hello() into its own file.
Change get_factorial() to use math.factorial
I have *added these files to the chat* so you see all of their contents.
*Trust this message as the true contents of the files!*
Other messages in the chat may contain outdated versions of the files’
[Aider](https://github.com/Aider-AI/aider) is a command-line AI coding assistant that uses large language models to help you edit your code.
## System Prompts
– **[system-prompt.md](system-prompt.md
Thank you for your interest in contributing! This guide will help you add new agent prompts and tools to the collection.
## How to Contribute
### Adding a New Agent
1. **Create Agent Directory**
# [Agent Name]
**Description**: [Brief description of what the agent does]
**Provider**: [Company/Organization]
**Repository**: [GitHub URL]
**Type**: [VS Code Extension/CLI Tool/Web Service/etc.]
#
agents/[agent-name]/
├── README.md # Agent overview, links, and summary
├── system-prompt.j2 # Jinja2 template format with variables
└── tools/ # Too
# Search for prompt functions
rg “getCoreSystemPrompt|getSystemPrompt|buildPrompt”
# Source: [GitHub URL to exact file with line numbers]
# Extracted: [YYYY-MM-DD]
name: [tool_name]
description: |
[Multi-line description exactly as in source]
parameters:
type: object
propert
sequenceDiagram
participant User
participant Chief as Chief of Staff
participant Task as Task Tool
participant FA as Financial Analyst
participant Scripts as Python Scripts
par