Skip to content

Installation Script Generator #29

@mikejmorgan-ai

Description

@mikejmorgan-ai

Description

Generate standalone installation scripts for offline or automated deployments.

Requirements

  • Script generation from history
  • Bash/PowerShell output
  • Include all dependencies
  • Error handling
  • Idempotent operations
  • Customizable templates

Acceptance Criteria

  • Generate bash scripts
  • Include dependencies
  • Error handling built-in
  • Idempotent by default
  • Customizable templates
  • Testing mode
  • Unit tests included (>80% coverage)
  • Documentation with script examples

Example Usage

$ cortex script generate docker-setup.sh
✓  Generated installation script

$ cat docker-setup.sh
#!/bin/bash
set -euo pipefail
# Generated by Cortex Linux
# Date: 2025-11-10

echo "Installing Docker..."
# [Complete installation commands]

$ cortex script generate --format ansible docker.yml
✓  Generated Ansible playbook

$ cortex script test docker-setup.sh
🧪 Testing script in sandbox...
✓  Script executes successfully

Skills: Python, bash scripting, code generation
Bounty: $25 upon merge
Priority: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions