Astronox Docs

Workflow Examples

Real-world scenarios showing Astronox in action.

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.