{
  "markdown": "# SwiftWasm Agent Skills\n\nA collection of [Agent Skills](https://agentskills.io/) designed to help AI coding agents build and maintain Swift applications targeting WebAssembly.\n\n## What are Agent Skills?\n\nAgent Skills are specialized modules containing instructions, scripts, and documentation that give AI agents (like Claude, Gemini, or Codex) the domain expertise needed to perform complex tasks.\n\nThis repository is compatible with major agent tools, leveraging standardized formats to ensure your agent has the right context for SwiftWasm development.\n\n## Installation\n\n### Agent Skills CLI (Recommended)\n\nInstall individual skills directly from this repository:\n\n```bash\nnpx skills add https://github.com/swiftwasm/skills --skill javascriptkit\nnpx skills add https://github.com/swiftwasm/skills --skill bridge-js\nnpx skills add https://github.com/swiftwasm/skills --skill porting\n```\n\n### Claude Code Plugin\n\n1. Add this repository as a plugin marketplace:\n   ```bash\n   claude plugin marketplace add swiftwasm/skills\n   ```\n\n2. Install skills:\n   ```bash\n   for skill in javascriptkit bridge-js porting; do\n     claude plugin install ${skill}@swiftwasm-skills\n   done\n   ```\n\nAlternatively, add to your project's `.claude/settings.json`:\n\n```json\n{\n  \"enabledPlugins\": [\n    \"javascriptkit@swiftwasm-skills\",\n    \"bridge-js@swiftwasm-skills\",\n    \"porting@swiftwasm-skills\"\n  ],\n  \"extraKnownMarketplaces\": [\"swiftwasm/skills\"]\n}\n```\n\n### OpenAI Codex\n\nOpenAI Codex CLI and compatible tools support the Agent Skills format by searching specific directories.\n\n#### User-Level Installation\nTo make all skills from this repository available across all your projects:\n\n```bash\n# Create the Codex skills directory\nmkdir -p ~/.codex/skills\n\n# Clone and copy all skills\ngit clone https://github.com/swiftwasm/skills.git /tmp/swiftwasm-skills\nfor skill_path in /tmp/swiftwasm-skills/javascriptkit /tmp/swiftwasm-skills/bridge-js /tmp/swiftwasm-skills/porting; do\n  cp -r \"$skill_path\" ~/.codex/skills/\ndone\n```\n\n#### Project-Level Installation\nTo use skills only within a specific project:\n\n```bash\n# In your project root\nmkdir -p .codex/skills\nfor skill_path in /path/to/swiftwasm-skills/javascriptkit /path/to/swiftwasm-skills/bridge-js /path/to/swiftwasm-skills/porting; do\n  cp -r \"$skill_path\" .codex/skills/\ndone\n```\n\n### Gemini CLI\n\nThis repository includes a `gemini-extension.json` for integration. Install it using the following command:\n\n```bash\ngemini extensions install https://github.com/swiftwasm/skills.git --consent\n```\n\n### Cursor\n\nFor Cursor, please refer to [Installing Skills from GitHub](https://cursor.com/docs/context/skills#installing-skills-from-github).\n\n## Available Skills\n\n| Name | Description | Documentation |\n|------|-------------|---------------|\n| `javascriptkit` | Assist with Swift & JavaScript interop, project initialization, and memory management for WebAssembly. | [SKILL.md](javascriptkit/SKILL.md) |\n| `bridge-js` | Assist with BridgeJS for type-safe Swift-to-JavaScript bindings, exporting Swift APIs, and importing TypeScript definitions. | [SKILL.md](bridge-js/SKILL.md) |\n| `porting` | Check Swift on Wasm compatibility, identify incompatible frameworks, port and refactor code for WebAssembly. | [SKILL.md](porting/SKILL.md) |\n\n## Usage\n\nOnce a skill is installed or loaded, you can trigger its logic by mentioning relevant tasks to your agent. For example, using the `javascriptkit` skill:\n\n- \"Initialize a new JavaScriptKit project named 'MyWebApp' in the current directory.\"\n- \"How do I safely pass a Swift closure to a JavaScript event listener?\"\n- \"Check my environment using the doctor script to ensure I can build for Wasm.\"\n\nThe agent will automatically refer to the appropriate `SKILL.md` file and any associated helper scripts to fulfill your request.\n",
  "bytes": 3809,
  "sha": "1f38139ad9e4f44ac5e774c16dcf0df12d8cdccb412e1a8772ee7619a59d9461",
  "repo_slug": "swiftwasm/swift-wasm-agent-skill",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_swiftwasm_swift_wasm_agent_skill_3d55ea8e/readme"
}