-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
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 successfullySkills: Python, bash scripting, code generation
Bounty: $25 upon merge
Priority: Medium