- Move new chat button to left side, bookmark button stays on right - Add max-width constraint (75%) to user messages with proper text wrapping - Remove right-align text from user message frames (keep bubbles on right) - Add overflow handling for code blocks in messages - Change scrollbar color from orange to gray in light and dark modes - Fix pill loading animation flicker by initializing pinnedAgents from localStorage - Add 0.2s base delay to pill animations for staggered reveal - Improve Create new button animation: longer duration (0.6s), bouncy scale sequence, easeInOut easing
166 lines
6.4 KiB
YAML
166 lines
6.4 KiB
YAML
==================== START: .fortura-core/templates/agent-template.yaml ====================
|
|
# Fortura Agent Protocol - Agent Configuration Template
|
|
# Use this template when creating new AI agents
|
|
|
|
template:
|
|
id: agent-template-v1
|
|
name: Agent Configuration Template
|
|
version: 1.0
|
|
description: Complete template for creating Fortura Agent Protocol agents
|
|
|
|
# ============================================================================
|
|
# YAML AGENT CONFIGURATION
|
|
# ============================================================================
|
|
|
|
activation-instructions:
|
|
- ONLY load dependency files when user selects them for execution via command or request
|
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
- When presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
- STAY IN CHARACTER!
|
|
# Add agent-specific activation instructions below (optional)
|
|
# - [Custom activation instruction 1]
|
|
# - [Custom activation instruction 2]
|
|
|
|
agent:
|
|
name: [HumanName] # Choose a fitting human name (avoid overused names like Alex, Sam)
|
|
id: [agent-id] # lowercase-hyphenated identifier (e.g., data-analyst, api-dev)
|
|
title: [Professional Role Title] # Full professional title
|
|
icon: [📊] # Single emoji representing the role
|
|
whenToUse: Use when [specific, clear use cases that don't overlap with other agents]
|
|
customization: null # User can override with custom instructions
|
|
|
|
persona:
|
|
role: [Detailed professional description - 1-2 sentences]
|
|
style: [trait1, trait2, trait3, trait4] # 4-6 personality traits (analytical, empathetic, pragmatic, creative, etc.)
|
|
identity: [Core identity statement - who is this agent in its own words]
|
|
focus: [Primary area of focus or responsibility]
|
|
core_principles:
|
|
- [Guiding principle 1]
|
|
- [Guiding principle 2]
|
|
- CRITICAL - [Non-negotiable principle 1 - use CRITICAL prefix]
|
|
- [Guiding principle 3]
|
|
- [Guiding principle 4]
|
|
- CRITICAL - [Non-negotiable principle 2]
|
|
- [Guiding principle 5]
|
|
# Add 7-10 total principles
|
|
# Use CRITICAL prefix for 2-4 must-follow rules
|
|
|
|
commands:
|
|
- help: Show numbered list of available commands
|
|
# Add custom commands below
|
|
# Format: command-name: description (uses task task-name.md)
|
|
# Format: command-name: use task create-doc with template-name.yaml
|
|
- [custom-command-1]: [Description or task reference]
|
|
- [custom-command-2]: [Description or task reference]
|
|
# Optional: Include yolo mode if agent supports batch processing
|
|
# - yolo: Toggle YOLO Mode
|
|
- exit: Say goodbye and abandon persona
|
|
|
|
dependencies:
|
|
# Organize dependencies by category
|
|
# Remove unused categories
|
|
|
|
checklists:
|
|
# Validation/review checklists
|
|
# - checklist-name.md
|
|
|
|
data:
|
|
# Knowledge bases, preferences, reference data
|
|
# - knowledge-base-name.md
|
|
|
|
tasks:
|
|
# Executable procedures
|
|
# - task-name.md
|
|
|
|
templates:
|
|
# YAML document templates
|
|
# - template-name.yaml
|
|
|
|
utils:
|
|
# Utility functions/tools
|
|
# - utility-name.md
|
|
|
|
# ============================================================================
|
|
# OPTIONAL: SPECIAL FEATURES
|
|
# ============================================================================
|
|
|
|
# Uncomment and customize if agent modifies files created by other agents
|
|
# story-file-permissions:
|
|
# - CRITICAL: Only authorized to update [specific sections]
|
|
# - CRITICAL: DO NOT modify [protected sections]
|
|
# - CRITICAL: This agent owns [exclusive sections]
|
|
|
|
# Uncomment if agent has unique features not covered above
|
|
# special-features:
|
|
# yolo-mode: true # Supports batch vs interactive modes
|
|
# quality-gates: false # Uses PASS/FAIL/CONCERNS gates
|
|
# multi-persona: false # Can switch between personas
|
|
# scoring-system: false # Calculates quality scores
|
|
|
|
# ============================================================================
|
|
# DESIGN NOTES (Remove before finalizing)
|
|
# ============================================================================
|
|
|
|
design-notes:
|
|
agent-type: [Planning | Development | Coordination | Process | Conversational]
|
|
|
|
type-rationale: |
|
|
Why this agent type was chosen:
|
|
- [Reason 1]
|
|
- [Reason 2]
|
|
|
|
differentiation: |
|
|
How this agent differs from similar agents:
|
|
- vs [OtherAgent1]: [Key difference]
|
|
- vs [OtherAgent2]: [Key difference]
|
|
|
|
interaction-style: [Task-Based | Conversational | Analyst-Elicitation | Wizard-Guided | Hybrid]
|
|
|
|
context-requirements: [Minimal | Moderate | Extensive]
|
|
|
|
validation-checkpoint: |
|
|
Before finalizing, verify:
|
|
- [ ] All required YAML fields complete
|
|
- [ ] Activation instructions include standard 4 items
|
|
- [ ] Core principles use CRITICAL for non-negotiables
|
|
- [ ] Commands include help and exit
|
|
- [ ] Dependencies appropriate for agent type
|
|
- [ ] Persona clearly distinct from other agents
|
|
- [ ] whenToUse is specific and non-overlapping
|
|
- [ ] Design notes reviewed and removed
|
|
|
|
supporting-files:
|
|
# List files that need to be created for dependencies
|
|
tasks:
|
|
# - .fortura-core/tasks/[task-name].md - [Purpose]
|
|
templates:
|
|
# - .fortura-core/templates/[template-name].yaml - [Purpose]
|
|
data:
|
|
# - .fortura-core/data/[data-name].md - [Purpose]
|
|
checklists:
|
|
# - .fortura-core/checklists/[checklist-name].md - [Purpose]
|
|
|
|
# ============================================================================
|
|
# USAGE INSTRUCTIONS
|
|
# ============================================================================
|
|
|
|
usage:
|
|
how-to-use-template: |
|
|
1. Copy this template to new file: [agent-name].yaml
|
|
2. Work through each section, replacing [placeholders] with actual values
|
|
3. Remove unused dependency categories
|
|
4. Add custom commands specific to this agent's role
|
|
5. Define 7-10 core principles (2-4 with CRITICAL prefix)
|
|
6. Choose 4-6 style traits that fit the persona
|
|
7. Uncomment special features if applicable
|
|
8. Review design notes and validation checklist
|
|
9. Remove design-notes and usage sections before finalizing
|
|
10. Convert to .txt format with web bundle wrapper
|
|
|
|
reference-docs: |
|
|
- See .fortura-core/reference/agent-patterns.md for common patterns
|
|
- See .fortura-core/reference/agent-type-guide.md for type selection
|
|
- See .fortura-core/reference/formatting-conventions.md for formatting rules
|
|
- See existing agents (analyst.txt, dev.txt, etc.) for examples
|
|
|
|
==================== END: .fortura-core/templates/agent-template.yaml ==================== |