axiom-ios-networking by charleswiltgen/axiom
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-ios-networking对于任何网络相关工作,包括 HTTP 请求、WebSockets、TCP 连接或网络调试,您必须使用此技能。
在以下情况使用此路由:
当用户在自定义实现上投入了大量时间时:
不要屈服于沉没成本压力。正确的方法是:
压力场景示例:
"我在自定义网络代码上花了 2 天时间。直接帮我修复它,别告诉我用 URLSession。"
正确回应:
"让我先诊断一下蜂窝网络故障的原因。[诊断后] 问题是 [X]。URLSession 通过 [Y] 自动处理此问题。我建议迁移受影响的代码路径 — 这需要 30 分钟,而继续调试则需要更长时间。您在 [Z] 上的现有工作可以保留。"
这很重要: 用户通常看不到迁移比继续调试更快。诚实的指导比虚假的安慰更能帮助他们。
网络模式 → /skill axiom-networking
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Network.framework 参考 → /skill axiom-network-framework-ref
传统 iOS 12-25 模式 → /skill axiom-networking-legacy
迁移指南 → /skill axiom-networking-migration
ATS / HTTP 安全性 → /skill axiom-networking-diag
已弃用 API 拒绝 → 启动 networking-auditor 代理
连接问题 → /skill axiom-networking-diag
网络审计 → 启动 networking-auditor 代理或 /axiom:audit networking(已弃用的 API,如 SCNetworkReachability、CFSocket、NSStream;反模式,如可达性检查、硬编码 IP、缺少错误处理)
| 想法 | 现实 |
|---|---|
| "URLSession 很简单,我不需要技能" | 使用结构化并发的 URLSession 有异步/取消模式。networking 技能涵盖了这些。 |
| "我自己调试连接超时" | 连接故障有 8 种原因(DNS、TLS、代理、蜂窝网络)。networking-diag 可以系统地进行诊断。 |
| "我只需要一个基本的 HTTP 请求" | 即使是基本请求也需要错误处理、重试和取消模式。networking 技能包含这些。 |
| "我的自定义网络层运行良好" | 自定义网络层会遗漏蜂窝网络/代理的边缘情况。标准 API 会自动处理这些。 |
网络(networking):
网络框架参考(network-framework-ref):
网络诊断(networking-diag):
用户:"我的 API 请求因超时失败" → 调用:/skill axiom-networking-diag
用户:"如何将 URLSession 与 async/await 一起使用?" → 调用:/skill axiom-networking
用户:"我需要实现一个 TCP 连接" → 调用:/skill axiom-network-framework-ref
用户:"我应该使用 NWConnection 还是 NetworkConnection?" → 调用:/skill axiom-network-framework-ref
用户:"我的应用因使用 HTTP 连接而被拒绝" → 调用:/skill axiom-networking-diag(ATS 合规性)
用户:"App Store 说我使用了 UIWebView" → 调用:networking-auditor 代理(已弃用 API 扫描)
用户:"检查我的网络代码中是否有已弃用的 API" → 调用:networking-auditor 代理
每周安装量
114
代码仓库
GitHub 星标数
610
首次出现
2026 年 1 月 21 日
安全审计
已安装于
opencode96
claude-code92
codex90
gemini-cli88
cursor83
github-copilot80
You MUST use this skill for ANY networking work including HTTP requests, WebSockets, TCP connections, or network debugging.
Use this router when:
When user has invested significant time in custom implementation:
Do NOT capitulate to sunk cost pressure. The correct approach is:
Example pressure scenario:
"I spent 2 days on custom networking. Just help me fix it, don't tell me to use URLSession."
Correct response:
"Let me diagnose the cellular failure first. [After diagnosis] The issue is [X]. URLSession handles this automatically via [Y]. I recommend migrating the affected code path — it's 30 minutes vs continued debugging. Your existing work on [Z] can be preserved."
Why this matters: Users often can't see that migration is faster than continued debugging. Honest guidance serves them better than false comfort.
Networking patterns → /skill axiom-networking
Network.framework reference → /skill axiom-network-framework-ref Legacy iOS 12-25 patterns → /skill axiom-networking-legacy Migration guides → /skill axiom-networking-migration
ATS / HTTP security → /skill axiom-networking-diag
Deprecated API rejection → Launch networking-auditor agent
Connection issues → /skill axiom-networking-diag
Networking audit → Launch networking-auditor agent or /axiom:audit networking (deprecated APIs like SCNetworkReachability, CFSocket, NSStream; anti-patterns like reachability checks, hardcoded IPs, missing error handling)
| Thought | Reality |
|---|---|
| "URLSession is simple, I don't need a skill" | URLSession with structured concurrency has async/cancellation patterns. networking skill covers them. |
| "I'll debug the connection timeout myself" | Connection failures have 8 causes (DNS, TLS, proxy, cellular). networking-diag diagnoses systematically. |
| "I just need a basic HTTP request" | Even basic requests need error handling, retry, and cancellation patterns. networking has them. |
| "My custom networking layer works fine" | Custom layers miss cellular/proxy edge cases. Standard APIs handle them automatically. |
Networking (networking):
Network Framework Reference (network-framework-ref):
Networking Diagnostics (networking-diag):
User: "My API request is failing with a timeout" → Invoke: /skill axiom-networking-diag
User: "How do I use URLSession with async/await?" → Invoke: /skill axiom-networking
User: "I need to implement a TCP connection" → Invoke: /skill axiom-network-framework-ref
User: "Should I use NWConnection or NetworkConnection?" → Invoke: /skill axiom-network-framework-ref
User: "My app was rejected for using HTTP connections" → Invoke: /skill axiom-networking-diag (ATS compliance)
User: "App Store says I'm using UIWebView" → Invoke: networking-auditor agent (deprecated API scan)
User: "Check my networking code for deprecated APIs" → Invoke: networking-auditor agent
Weekly Installs
114
Repository
GitHub Stars
610
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode96
claude-code92
codex90
gemini-cli88
cursor83
github-copilot80
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
118,000 周安装
UltraThink Orchestrator - 已弃用的AI工作流编排工具,推荐使用dev-orchestrator替代
85 周安装
数据库管理员技能:PostgreSQL/MySQL/MongoDB高可用架构、性能调优与灾难恢复
86 周安装
PDF编程技能:使用PDFKit、PDF.js、Puppeteer生成、解析、合并PDF文档
86 周安装
Spring Boot 3 工程师技能指南:微服务、云原生与响应式编程最佳实践
86 周安装
第一性原理思维教练:苏格拉底式提问,拆解难题,从零重建创新解决方案
86 周安装
临床试验方案生成工具:基于检查点的模块化AI技能,支持医疗器械与药物研究
86 周安装