windmill-1-script-organization

Sub-skill of windmill: 1. Script Organization (+3).

5 stars

Best use case

windmill-1-script-organization is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of windmill: 1. Script Organization (+3).

Teams using windmill-1-script-organization should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/1-script-organization/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/operations/automation/windmill/1-script-organization/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1-script-organization/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How windmill-1-script-organization Compares

Feature / Agentwindmill-1-script-organizationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of windmill: 1. Script Organization (+3).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 1. Script Organization (+3)

## 1. Script Organization

```
scripts/
├── data/
│   ├── fetch_api_data.py
│   ├── transform_records.ts
│   └── aggregate_metrics.py
├── integrations/
│   ├── sync_crm.py
│   ├── webhook_handler.ts
│   └── slack_notifications.py
├── devops/
│   ├── deploy_service.sh
│   ├── health_checks.py
│   └── cleanup_resources.py
└── admin/
    ├── manage_resources.py
    └── user_management.py
```


## 2. Error Handling

```python
import wmill

def main(input_data: dict):
    try:
        result = process_data(input_data)
        return {"success": True, "data": result}
    except ValueError as e:
        # Business logic error - don't retry
        wmill.set_state({"error": str(e), "retryable": False})
        raise
    except ConnectionError as e:
        # Transient error - allow retry
        wmill.set_state({"error": str(e), "retryable": True})
        raise
```


## 3. Resource Management

```python
# Always use resources for credentials
api_key = wmill.get_resource("u/admin/api_key")  # Good
# api_key = "sk-1234567890"  # Never hardcode

# Use variables for configuration
config = wmill.get_variable("u/admin/app_config")
```


## 4. Testing Scripts

```bash
# Test script locally
wmill script run f/data/fetch_api_data \
  --data '{"api_endpoint": "https://api.example.com", "limit": 10}'

# Run with specific resource
wmill script run f/data/fetch_api_data \
  --resource u/admin/test_api_credentials
```

Related Skills

webhook-subscriptions

5
from vamseeachanta/workspace-hub

Create and manage webhook subscriptions for event-driven agent activation. Use when the user wants external services to trigger agent runs automatically.

shell-script-hardening-patterns

5
from vamseeachanta/workspace-hub

Harden Bash automation scripts with TDD-first static and behavioral checks, safe Python invocation via uv, locking, persistent state, and review-driven correction loops.

bash-script-framework-example-1-create-new-cli-tool

5
from vamseeachanta/workspace-hub

Sub-skill of bash-script-framework: Example 1: Create New CLI Tool (+1).

bash-script-framework

5
from vamseeachanta/workspace-hub

Create organized bash script structure with color output, menu systems, error handling, and cross-platform support. Standardizes CLI tooling.

raycast-alfred-3-alfred-workflows-applescript

5
from vamseeachanta/workspace-hub

Sub-skill of raycast-alfred: 3. Alfred Workflows - AppleScript.

raycast-alfred-2-raycast-typescript-extensions

5
from vamseeachanta/workspace-hub

Sub-skill of raycast-alfred: 2. Raycast TypeScript Extensions.

raycast-alfred-1-raycast-script-commands

5
from vamseeachanta/workspace-hub

Sub-skill of raycast-alfred: 1. Raycast Script Commands.

docker-6-development-workflow-scripts

5
from vamseeachanta/workspace-hub

Sub-skill of docker: 6. Development Workflow Scripts.

cli-productivity-3-interactive-script-template

5
from vamseeachanta/workspace-hub

Sub-skill of cli-productivity: 3. Interactive Script Template.

hardware-assessment-scripts

5
from vamseeachanta/workspace-hub

Sub-skill of hardware-assessment: Scripts.

windmill-integration-with-database-and-slack

5
from vamseeachanta/workspace-hub

Sub-skill of windmill: Integration with Database and Slack.

windmill-8-resource-and-secrets-management

5
from vamseeachanta/workspace-hub

Sub-skill of windmill: 8. Resource and Secrets Management.