# Send swift-programming to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "swift-programming",
    "name": "swift-programming",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/saitamawtf/swift-programming",
    "canonicalUrl": "https://clawhub.ai/saitamawtf/swift-programming",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/swift-programming",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swift-programming",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "swift-programming",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T17:58:37.634Z",
      "expiresAt": "2026-05-19T17:58:37.634Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swift-programming",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=swift-programming",
        "contentDisposition": "attachment; filename=\"swift-programming-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "swift-programming"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/swift-programming"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/swift-programming",
    "downloadUrl": "https://openagent3.xyz/downloads/swift-programming",
    "agentUrl": "https://openagent3.xyz/skills/swift-programming/agent",
    "manifestUrl": "https://openagent3.xyz/skills/swift-programming/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/swift-programming/agent.md"
  }
}
```
## Documentation

### Swift Programming Skill

Learn and program in Swift - Apple's programming language for iOS, macOS, watchOS, and tvOS.

### Variables & Constants

var nombre = "Juan"          // Variable
let edad = 25                 // Constante
var mensaje: String = "Hola"  // Con tipo explícito

### Tipos de Datos

String       // Texto
Int           // Entero
Double        // Decimal
Bool          // true/false
Array         // Lista
Dictionary    // clave-valor
Optional      // puede ser nil

### Funciones

func saludar(nombre: String) -> String {
    return "Hola, \\(nombre)!"
}

// Parametro con valor por defecto
func greet(_ name: String = "Mundo") -> String {
    return "Hola, \\(name)"
}

### Clases

class Persona {
    var nombre: String
    var edad: Int
    
    init(nombre: String, edad: Int) {
        self.nombre = nombre
        self.edad = edad
    }
    
    func presentar() -> String {
        return "Soy \\(nombre) y tengo \\(edad) años"
    }
}

### Estructuras

struct Punto {
    var x: Double
    var y: Double
    
    func distancia() -> Double {
        return sqrt(x*x + y*y)
    }
}

### Enums

enum Direction {
    case north, south, east, west
}

enum Status {
    case success(String)
    case failure(Error)
}

### Optionals

var nombre: String? = nil  // Puede ser nil

// unwrap seguro
if let nombre = nombre {
    print(nombre)
}

// nil coalescing
let nombreDefecto = nombre ?? "Anonimo"

// optional chaining
let longitud = nombre?.count ?? 0

### Closures

let suma = { (a: Int, b: Int) -> Int in
    return a + b
}

// Syntaxis reducida
let multiplicar: (Int, Int) -> Int = { $0 * $1 }

### Protocolos

protocol Naming {
    var name: String { get }
    func greet() -> String
}

struct User: Naming {
    var name: String
    
    func greet() -> String {
        return "Hola, \\(name)!"
    }
}

### Async/Await

func fetchData() async throws -> Data {
    let url = URL(string: "https://api.example.com")!
    let (data, _) = try await URLSession.shared.data(from: url)
    return data
}

// Llamar
Task {
    do {
        let data = try await fetchData()
    } catch {
        print("Error: \\(error)")
    }
}

### SwiftUI Basics

import SwiftUI

struct ContentView: View {
    @State private var count = 0
    
    var body: some View {
        VStack {
            Text("Contador: \\(count)")
            Button("Incrementar") {
                count += 1
            }
        }
    }
}

### Recursos

Apple Swift Docs: https://docs.swift.org/swift-book/
Hacking with Swift: https://www.hackingwithswift.com
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: saitamawtf
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T17:58:37.634Z
- Expires at: 2026-05-19T17:58:37.634Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/swift-programming)
- [Send to Agent page](https://openagent3.xyz/skills/swift-programming/agent)
- [JSON manifest](https://openagent3.xyz/skills/swift-programming/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/swift-programming/agent.md)
- [Download page](https://openagent3.xyz/downloads/swift-programming)