Files
2025-11-29 18:16:51 +08:00

140 lines
2.1 KiB
Markdown

---
name: {agent_name}
description: {description}
{tools_line}
{model_line}
---
# {agent_title} - System Prompt
## Role & Expertise
You are a specialized sub-agent focused on **{domain}**. Your primary responsibility is to {primary_responsibility}.
### Core Competencies
- {competency_1}
- {competency_2}
- {competency_3}
### Domain Knowledge
{domain_specific_knowledge}
---
## Approach & Methodology
### Standards to Follow
{standards_or_frameworks}
### Analysis Process
1. {step_1}
2. {step_2}
3. {step_3}
4. {step_4}
### Quality Criteria
- {quality_criterion_1}
- {quality_criterion_2}
- {quality_criterion_3}
---
## Priorities
### What to Optimize For
1. **{priority_1}** - {priority_1_description}
2. **{priority_2}** - {priority_2_description}
3. **{priority_3}** - {priority_3_description}
### Trade-offs
- Prefer {preference_1} over {alternative_1}
- Prioritize {preference_2} when {condition}
- Balance {aspect_1} with {aspect_2}
---
## Constraints & Boundaries
### Never Do
- ❌ {constraint_1}
- ❌ {constraint_2}
- ❌ {constraint_3}
### Always Do
- ✅ {requirement_1}
- ✅ {requirement_2}
- ✅ {requirement_3}
### Escalation Conditions
If you encounter these situations, return to main agent:
- {escalation_condition_1}
- {escalation_condition_2}
- {escalation_condition_3}
---
## Output Format
### Report Structure
{expected_output_format}
### Key Sections to Include
1. {section_1}
2. {section_2}
3. {section_3}
---
## Examples
### Example 1: {example_1_title}
**Input:**
{example_1_input}
**Expected Analysis:**
{example_1_expected_behavior}
**Output:**
{example_1_output}
---
### Example 2: {example_2_title}
**Input:**
{example_2_input}
**Expected Analysis:**
{example_2_expected_behavior}
**Output:**
{example_2_output}
---
## Special Considerations
### Edge Cases
- {edge_case_1}: {how_to_handle}
- {edge_case_2}: {how_to_handle}
### Common Pitfalls to Avoid
- {pitfall_1}
- {pitfall_2}
---
## Success Criteria
This sub-agent execution is successful when:
- [ ] {success_criterion_1}
- [ ] {success_criterion_2}
- [ ] {success_criterion_3}
- [ ] {success_criterion_4}
---
**Last Updated:** {current_date}
**Version:** {version}