windmill-1-script-organization
Sub-skill of windmill: 1. Script Organization (+3).
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/1-script-organization/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How windmill-1-script-organization Compares
| Feature / Agent | windmill-1-script-organization | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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
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
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
Sub-skill of bash-script-framework: Example 1: Create New CLI Tool (+1).
bash-script-framework
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
Sub-skill of raycast-alfred: 3. Alfred Workflows - AppleScript.
raycast-alfred-2-raycast-typescript-extensions
Sub-skill of raycast-alfred: 2. Raycast TypeScript Extensions.
raycast-alfred-1-raycast-script-commands
Sub-skill of raycast-alfred: 1. Raycast Script Commands.
docker-6-development-workflow-scripts
Sub-skill of docker: 6. Development Workflow Scripts.
cli-productivity-3-interactive-script-template
Sub-skill of cli-productivity: 3. Interactive Script Template.
hardware-assessment-scripts
Sub-skill of hardware-assessment: Scripts.
windmill-integration-with-database-and-slack
Sub-skill of windmill: Integration with Database and Slack.
windmill-8-resource-and-secrets-management
Sub-skill of windmill: 8. Resource and Secrets Management.