Replies: 1 comment
-
Thank you for the excellent question. Here are concrete examples of how these commands integrate into daily development workflows: Morning: Feature DevelopmentScenario: Starting work on a user authentication feature # Use the feature-development workflow to plan and implement
/workflows:feature-development Add OAuth2 authentication with Google and GitHub
# This orchestrates multiple subagents to:
# - Design the auth architecture
# - Create backend endpoints
# - Build frontend components
# - Add tests
# - Set up security measures Mid-Morning: API DevelopmentScenario: Need to quickly scaffold a new API endpoint for user profiles # Use api-scaffold for rapid API creation
/tools:api-scaffold user profile CRUD with avatar upload and privacy settings
# This generates:
# - RESTful endpoints with proper HTTP methods
# - Input validation schemas
# - Database models
# - Authentication middleware
# - Basic tests
# - OpenAPI documentation Late Morning: Production DebuggingScenario: Users reporting slow page loads on the dashboard # Use smart-fix to diagnose and resolve
/workflows:smart-fix Dashboard loading slowly, users seeing 5+ second wait times
# This delegates to specialized subagents that:
# - Analyze performance metrics
# - Review database queries
# - Check API response times
# - Identify bottlenecks
# - Implement fixes Afternoon: Code ReviewScenario: Team member submitted PR for payment processing feature # Use multi-agent-review for comprehensive analysis
/tools:multi-agent-review Review PR #123 payment processing implementation
# Multiple specialized agents review for:
# - Security vulnerabilities
# - Performance issues
# - Code quality
# - Test coverage
# - Best practices Security and ComplianceScenario: Preparing for security compliance audit # Run security scan on the entire codebase
/tools:security-scan Comprehensive scan for OWASP Top 10 vulnerabilities
# Check compliance requirements
/tools:compliance-check Verify SOC2 and GDPR compliance for user data handling Deployment PreparationScenario: Preparing to deploy the authentication feature to production # Generate deployment checklist
/tools:deploy-checklist OAuth2 authentication feature deployment to production
# This creates:
# - Pre-deployment verification checklist
# - Kubernetes manifests
# - Environment configurations
# - Rollback procedures
# - Monitoring setup
# Optimize Docker images
/tools:docker-optimize Optimize authentication service container for production
# Create Kubernetes manifests
/tools:k8s-manifest Production deployment for auth service with auto-scaling Documentation and MonitoringScenario: Documenting the new feature and setting up monitoring # Generate documentation
/tools:doc-generate API documentation for OAuth2 authentication endpoints
# Set up monitoring
/tools:monitor-setup Authentication service metrics and alerts for production Incident ResponseScenario: Production API throwing 500 errors # Immediate incident response
/workflows:incident-response API returning 500 errors, affecting 30% of users
# This coordinates subagents to:
# - Analyze logs and metrics
# - Identify root cause
# - Implement hotfix
# - Document incident
# - Create post-mortem Weekly Workflow PatternsMonday: Sprint Planning# Break down epic into implementable features
/workflows:feature-development Plan social media integration epic for sprint Wednesday: Technical Debt Review# Analyze and prioritize technical debt
/tools:tech-debt Analyze backend services for refactoring opportunities
# Modernize legacy code
/workflows:legacy-modernize Migrate legacy Express.js v3 API to modern architecture Friday: Dependency Management# Audit and update dependencies
/tools:deps-audit Check for security vulnerabilities in dependencies
/tools:deps-upgrade Safely upgrade all minor and patch versions Command Chaining PatternsBuilding a Complete Feature# 1. Start with workflow for complex implementation
/workflows:full-stack-feature Real-time chat with websockets
# 2. Add specific security measures
/tools:security-scan Focus on websocket security vulnerabilities
# 3. Optimize performance
/tools:multi-agent-optimize Optimize chat message delivery and rendering
# 4. Prepare for deployment
/tools:deploy-checklist Real-time chat feature deployment
/tools:k8s-manifest WebSocket service with sticky sessions Performance Troubleshooting# 1. Diagnose the problem
/tools:error-trace Analyze high memory usage in production workers
# 2. Fix with smart debugging
/workflows:smart-fix Memory leak in background job processing
# 3. Optimize the solution
/workflows:performance-optimization Reduce memory footprint of job workers
# 4. Add monitoring
/tools:monitor-setup Memory usage alerts for background workers Best Practices from Production Use
Most Frequently Used CommandsDaily Operations:
Pre-Release:
Deployment:
Troubleshooting:
Feature Development:
I hope these concrete examples help illustrate the practical application of these commands. Please let me know if you'd like more specific examples for your particular use cases or technology stack. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@wshobson thank you for sharing great workflows and commands!
Would you be able to share your daily workflow example using the command. Some examples, e.g. how and when do you use deploy checklist or other commands
Beta Was this translation helpful? Give feedback.
All reactions