Workflow Examples
Real-world scenarios showing Astronox in action.
Development Workflows
New Project Setup
Scenario: Starting a React + TypeScript project
Conversation:
You: "Set up a new TypeScript React project called 'dashboard':
1. Create folder structure
2. Initialize git
3. Create package.json with common dependencies
4. Generate tsconfig, .gitignore, README
5. Create basic component structure"
AI: I'll break this into steps...
[Plan Hub shows 5 steps]
ā
Step 1: Create folder ~/Work/dashboard
ā
Step 2: Initialize git repository
ā³ Step 3: Creating package.json...
Plan Hub:
š Project Setup: dashboard
ā
Create project folder
āā Created ~/Work/dashboard/
ā
Initialize git
āā Initialized with .git/
ā
Generate package.json
āā Added: react, typescript, vite, etc.
ā
Create config files
āā tsconfig.json, .gitignore, README.md
ā
Create component structure
āā src/components/, src/hooks/, src/utils/
Complete! Project ready for development.
Result: Fully configured project in 30 seconds
Code Review Workflow
Scenario: Review pull request changes
Conversation:
You: [Attach: diff.patch]
"Review this code change for:
⢠Potential bugs
⢠Performance issues
⢠Security vulnerabilities
⢠Code style consistency"
AI: Code Review Summary:
ā
Good:
⢠Proper error handling
⢠Clear function names
⢠Added unit tests
ā ļø Issues Found:
1. Security (High):
Line 47: SQL injection risk
Current:
db.query(`SELECT * FROM users WHERE id = ${userId}`)
Fix:
db.query('SELECT * FROM users WHERE id = ?', [userId])
2. Performance (Medium):
Line 103: N+1 query problem
Fetching users in loop - use batch query
3. Style (Low):
Inconsistent indentation (tabs vs spaces)
Detailed recommendations:
[...]
Follow-up:
You: "Generate the fixed version"
AI: [Provides corrected code]
You: "Save as automation 'Security Code Review'"
AI: ā Saved for future use
Deploy Pipeline
Automation: Deploy to Production
Steps:
1. Run test suite
2. Build production bundle
3. Run security scan
4. Backup current production
5. Deploy to server
6. Verify deployment
7. Send notification
Usage:
You: "Deploy to production"
AI: Running deployment automation...
ā
Tests: 156/156 passed
ā
Build: Completed (2.3 MB bundle)
ā
Security: No vulnerabilities
ā
Backup: Created production-backup-20251220
ā ļø Ready to deploy
This will update live production server
[ā Deploy] [ā Cancel]
You: [Clicks Deploy]
AI: ā
Deploying...
ā
Upload complete
ā
Verification: Site responding
ā
Notification sent to team
Deployment successful! š
Live at: https://app.example.com
File Management Workflows
Weekly Downloads Cleanup
Scenario: Regular file organization
Automation: "Weekly Downloads Cleanup"
Conversation:
You: "Run weekly downloads cleanup"
AI: Starting Downloads cleanup automation...
š Analysis:
⢠Total files: 127
⢠Total size: 3.2 GB
⢠Files >90 days: 47 (1.8 GB)
š Plan:
1. Delete temp files (*.tmp, *.cache)
2. Group files by type
3. Move old files to Archive/2024-12/
4. Generate report
Proceed? [ā Yes] [ā No]
You: [Clicks Yes]
AI: ā³ Processing...
ā
Deleted 15 temp files (245 MB)
ā
Organized into folders:
⢠PDFs/ (23 files)
⢠Images/ (34 files)
⢠Videos/ (8 files)
⢠Other/ (12 files)
ā
Archived 47 old files
š Summary Report:
āāāāāāāāāāāāāāāāāā
Freed space: 2.1 GB
Files organized: 77
Files archived: 47
Files deleted: 15
Downloads folder is now clean!
Photo Organization
Scenario: Organize years of photos
Workflow:
You: "Organize my Photos folder:
1. Group by year and month
2. Identify duplicates
3. Show me the duplicates before deleting
4. Create album folders for events"
AI: Starting photo organization...
[Plan Hub shows 4 steps]
ā
Step 1: Analyzing photos...
Found 2,847 photos spanning 2020-2025
ā
Step 2: Created folder structure:
Photos/
āāā 2020/
ā āāā 2020-01/
ā āāā 2020-02/
ā āāā ...
āāā 2021/...
āāā 2025/
ā³ Step 3: Detecting duplicates...
Found 143 duplicate images
Duplicates preview:
IMG_1234.jpg = IMG_1234_copy.jpg (identical)
vacation1.jpg = vacation1(1).jpg (identical)
...
Delete duplicates? [ā Yes] [Show all first]
You: "Show all first"
AI: [Displays full list with thumbnails]
You: "Delete them"
AI: ā
Deleted 143 duplicates (freed 1.2 GB)
ā³ Step 4: Creating event albums...
Analyzing photo timestamps and locations...
Suggested albums:
⢠"Summer Vacation 2024" (47 photos)
⢠"Birthday Party Dec 2025" (23 photos)
⢠"Weekend Hike Oct 2025" (18 photos)
Create these? [ā Yes] [ā No]
System Maintenance Workflows
Monthly System Cleanup
Automation: Comprehensive system maintenance
Schedule: First Sunday of each month
Steps:
You: "Run monthly system cleanup"
AI: š§ Monthly Maintenance Routine
Pre-check:
⢠Disk: 68% full (320 GB free)
⢠Memory: 8 GB used of 16 GB
⢠Processes: 247 running
Tasks:
1. Clear caches and temp files
2. Remove old log files
3. Empty trash
4. Find large unused files
5. Check for available updates
6. Optimize startup items
Estimated time: 5-10 minutes
[Start Cleanup]
AI: ā³ Task 1/6: Clearing caches...
Browser caches: 1.2 GB
System temp: 450 MB
App caches: 680 MB
ā
Cleared 2.3 GB
ā³ Task 2/6: Removing old logs...
Found 37 log files >30 days (145 MB)
ā
Deleted
ā³ Task 3/6: Emptying trash...
Trash contains 67 items (3.4 GB)
ā
Emptied
ā³ Task 4/6: Finding large unused files...
Files >1GB not accessed in 6+ months:
1. old-backup.zip (4.2 GB) - Last access: Mar 2025
2. video-project.mp4 (2.8 GB) - Last access: Feb 2025
3. archive.tar (1.5 GB) - Last access: Jan 2025
Delete these? [Review] [Delete all] [Skip]
You: "Review"
AI: [Shows details of each file]
You: "Delete 1 and 3, keep 2"
AI: ā
Deleted 2 files (5.7 GB freed)
ā³ Task 5/6: Checking updates...
⢠macOS: No updates
⢠Astronox: Update available ā v1.2.0
⢠Homebrew: 3 packages can be updated
ā³ Task 6/6: Optimizing startup...
8 apps set to launch at login
Suggest removing:
⢠OldApp (haven't used in 90 days)
⢠UpdateHelper (unnecessary)
ā
Cleanup Complete!
Summary:
āāāāāāāāāāāāāāāāāā
Space freed: 11.4 GB
Disk now: 56% full (331 GB free)
Performance improvement: ~12%
Next cleanup: Jan 5, 2026
Content Creation Workflows
Blog Post from Notes
Scenario: Convert rough notes to polished article
Workflow:
You: [Attach: notes.txt]
"Convert these notes into a blog post:
⢠Add proper structure (intro, sections, conclusion)
⢠Improve writing (clear, engaging)
⢠Add section headings
⢠Suggest images/examples
⢠Format as markdown"
AI: I'll transform your notes into a blog post.
Analyzing notes...
⢠Main topic: Getting started with Docker
⢠Key points: 7 identified
⢠Audience level: Beginner
Generating article...
[Shows structured blog post]
Title: A Beginner's Guide to Docker:
Containers Made Simple
Suggested improvements:
⢠Add code examples for each command
⢠Include diagram of container architecture
⢠Add "Common Pitfalls" section
⢠Expand troubleshooting tips
Apply suggestions? [Yes] [No] [Custom]
You: "Yes"
AI: ā
Enhanced article ready!
Statistics:
⢠Word count: 1,847
⢠Reading time: 7 minutes
⢠Code examples: 5
⢠Suggested images: 3
[Copy to clipboard] [Save as file] [Both]
You: "Save as file"
AI: ā
Saved: ~/Documents/blog-docker-guide.md
Next steps?
⢠Generate SEO metadata
⢠Create social media snippets
⢠Export to your CMS format
Data Processing Workflows
CSV Data Cleaning
Scenario: Process messy data exports
Conversation:
You: [Attach: sales-data.csv]
"Clean this CSV:
⢠Remove duplicate rows
⢠Fix date formats (make consistent)
⢠Remove rows with missing critical fields
⢠Standardize currency amounts
⢠Sort by date descending
⢠Export clean version"
AI: Analyzing CSV...
Found:
⢠1,247 rows
⢠12 columns
⢠Issues detected: 47 duplicates, 23 missing values,
mixed date formats
Cleaning process:
ā³ Removing duplicates...
ā
Removed 47 duplicate rows
ā³ Standardizing dates...
Found formats: MM/DD/YYYY, DD-MM-YYYY, YYYY/MM/DD
ā
Converted all to YYYY-MM-DD
ā³ Handling missing values...
Rows with missing critical fields (Order ID, Amount): 8
ā
Removed 8 rows
ā³ Standardizing currency...
Found: $1,234.56, 1234.56, USD 1,234.56
ā
Standardized to: 1234.56 (numeric)
ā³ Sorting by date...
ā
Sorted descending (newest first)
š Final dataset:
⢠1,192 rows (clean)
⢠100% complete (no missing critical fields)
⢠Consistent formatting
Export to: [sales-data-clean.csv]
ā
Saved!
Summary report:
⢠Original: 1,247 rows
⢠Removed: 55 rows (4.4%)
⢠Final: 1,192 rows
⢠Quality score: 98%
Research Workflows
Comparison Analysis
Scenario: Compare multiple options
Workflow:
You: "I'm choosing between React, Vue, and Svelte for my project.
Help me compare:
⢠Learning curve
⢠Performance
⢠Ecosystem size
⢠Job market demand
⢠Long-term viability
My context:
⢠Team: 2 developers (intermediate JS)
⢠Project: Medium-sized web app
⢠Timeline: 3 months
⢠Needs: Fast development, good performance"
AI: Framework Comparison Analysis
š Overview:
React:
⢠Learning curve: Medium āāā
⢠Performance: Good āāāā
⢠Ecosystem: Largest āāāāā
⢠Job market: Highest demand āāāāā
⢠Viability: Excellent āāāāā
Vue:
⢠Learning curve: Easy āāāāā
⢠Performance: Excellent āāāāā
⢠Ecosystem: Good āāāā
⢠Job market: Growing āāā
⢠Viability: Strong āāāā
Svelte:
⢠Learning curve: Easy āāāāā
⢠Performance: Excellent āāāāā
⢠Ecosystem: Smaller āāā
⢠Job market: Emerging āā
⢠Viability: Good āāāā
šÆ Recommendation for your project:
**Vue.js** is the best fit because:
1. Easiest learning curve ā faster development
2. Excellent performance for your needs
3. 3-month timeline favors quick productivity
4. 2 intermediate devs will be productive fast
5. Mature ecosystem for medium-sized apps
ā ļø Considerations:
⢠React: Better if team growth/hiring is priority
⢠Svelte: Interesting but smaller community
Next steps:
⢠Try Vue tutorial (1-2 hours)
⢠Build small prototype
⢠Decide based on team comfort level
Need more details on any aspect?
Backup Workflows
Intelligent Backup System
Automation: Smart Backup
Features:
- Incremental backups
- Verification
- Automatic scheduling
- Disaster recovery
Usage:
You: "Run smart backup"
AI: š Smart Backup System
Last backup: 2 days ago
Analyzing changes...
⢠Documents: 23 new files, 5 modified
⢠Projects: 156 new files, 89 modified
⢠Photos: 47 new files
Backup plan:
1. Incremental backup (only changes)
2. Verify backup integrity
3. Update backup catalog
4. Cleanup old incremental backups (>30 days)
Destination: /Volumes/Backup/Astronox-Backups/
Estimated size: 2.1 GB
Estimated time: 3-5 minutes
[Start Backup]
AI: ā³ Backing up Documents...
Progress: āāāāāāāāāā 80% (345/430 files)
ā
Documents complete (1.2 GB)
ā³ Backing up Projects...
ā
Projects complete (800 MB)
ā³ Backing up Photos...
ā
Photos complete (100 MB)
ā³ Verifying backup integrity...
⢠Checking file counts... ā
⢠Comparing checksums... ā
⢠Testing random files... ā
ā
Backup Complete!
Summary:
āāāāāāāāāāāāāāāāāā
Files backed up: 430
Size: 2.1 GB
Duration: 4m 23s
Verification: Passed
Next backup: In 2 days
Recovery point created:
backup-20251220-143045
Tips for Workflow Success
ā Save Successful Workflows
After completing: "Save this workflow as automation"
ā Build Templates
Create generic version, fill in specifics each time
ā Chain Workflows
"After backup completes, run cleanup automation"
ā Use Plans for Visibility
Complex workflows ā always request step-by-step plan
ā Document Your Workflows
"Generate documentation for this workflow"
AI: [Creates markdown guide]
Next: Understand Limitations & Known Issues.