| name | automation-best-practices |
| description | Sub-skill of automation: Best Practices. |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
Best Practices
Best Practices
1. Version Control Workflows
git add automation/workflows/
git commit -m "feat: Add data sync workflow"
2. Environment Separation
production:
schedule: "0 */6 * * *"
parallelism: 10
development:
schedule: null
parallelism: 2
3. Monitoring and Alerting
def with_monitoring(workflow_name):
start_time = time.time()
try:
result = execute_workflow()
metrics.record_success(workflow_name, time.time() - start_time)
return result
except Exception as e:
metrics.record_failure(workflow_name, str(e))
alerts.send(f"Workflow {workflow_name} failed: {e}")
raise
4. Documentation