common-accessibility
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Build API clients with URLSession, Alamofire, and Codable. Use when implementing URLSession networking, Alamofire, or API clients in iOS.
Claude Code
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill ios-networking --agent claude-code
Codex
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a codex -y
Cursor
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a cursor -y
Gemini CLI
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a github-copilot -y
OpenCode
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a opencode -y
Windsurf
$ npx skills add hoangnguyen0403/agent-skills-standard --skill ios-networking -a windsurf -y
name: ios-networking
description: Build API clients with URLSession, Alamofire, and Codable. Use when implementing URLSession networking, Alamofire, or API clients in iOS.
metadata:
triggers:
files:
- '**/*Service.swift'
- '**/*API.swift'
- '**/*Client.swift'
keywords:
- URLSession
- Alamofire
- Moya
- URLRequest
- URLComponents
- Codable1. **Choose networking layer** — Use native `URLSession` with async/await for simple apps; `Alamofire` for production APIs with interceptors. 2. **Build URLs safely** — Use `URLComponents` and `URLQueryItem`; never use string interpolation for URL parameters. 3. **Decode with Codable** — Use `Codable` for all JSON mapping. Prefer `snake_case` key decoding strategies. 4. **Add auth interceptor** — Use `RequestInterceptor` to inject `Authorization: Bearer <token>` on all requests. 5. **Handle token refresh** — On 401, use `RequestInterceptor.onRetry` to call `refreshToken()` and retry. 6. **Pin certificates** — Use `ServerTrustManager` or `TrustKit` for production-grade security.
See [URLSession and Alamofire implementation examples](references/implementation.md)
The portable standards layer for AI coding agents. Sync once, then work in your own runtime.
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Define deterministic guardrails for agent tool calls — protected paths, test-file locks during bug fixes, post-edit formatters,…
Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use…
Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing…
Draws architecture diagrams as editable draw.io files with a fixed house style, C4 levels, evidence-tagged shapes, and optional…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.