Workflow Execution
Launch a general-purpose agent that executes all 3 phases in a single task.
Prompt template:
Execute the complete update-gitignore workflow (3 phases).
Phase 1: Technology Detection
Goal: Identify operating systems and technologies to include in .gitignore
Actions:
- Detect operating systems and technologies from context
- Combine detected platforms with $ARGUMENTS into the generator request (e.g.
<os>,<language>,<tool>)
Phase 2: Generate or Update .gitignore
Goal: Create or update .gitignore file using Toptal API
Actions:
- Generate or update
.gitignoreusing the Toptal API - Preserve existing custom sections when updating
.gitignore - Retain all custom rules from existing file
Phase 3: Confirmation
Goal: Present changes for user review
Actions:
- Show the repository changes (diff) to confirm the update
- Present the resulting diff for user confirmation
Execute: Launch a general-purpose agent using the prompt template above