跳到正文
cccskills
免费在 GitHub 公开

ruckus-core

Use when working with the Racket backend, adding or modifying RPC methods, or understanding the Racket-Swift communication layer. Covers define-rpc, Backend.swift codegen, and the Noise RPC framework.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Ruckus Core (Racket Backend)

Racket handles business logic; Swift/SwiftUI provides the iOS UI layer. They communicate via the Noise RPC framework.

RPC methods are defined in ruckus-core/main.rkt using define-rpc. The Makefile runs noise-serde-codegen to auto-generate Ruckus/Backend.swift with corresponding async Swift methods. Do not edit Backend.swift manually — it is regenerated from Racket source.

Flow: ruckus-core/*.rkt → make → Backend.swift (auto-generated) + res/core.zo (bytecode)

Adding an RPC Method

  1. Add (define-rpc (name : ReturnType) body) in ruckus-core/main.rkt
  2. Run make to regenerate Backend.swift and recompile bytecode
  3. Call Backend.shared.name() from Swift

Naming Conventions

  • Racket module names should be singular (e.g. example.rkt, not examples.rkt).

Key Files

  • ruckus-core/main.rkt — Racket backend: RPC definitions and server entry point

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

qa

免费

Use after making changes to visually validate the app in the iOS Simulator. Builds, installs, launches the app, then uses screenshots and accessibility descriptions to verify the change looks and behaves correctly.

中文简介正在准备中。当前显示原文说明。

Bogdanp/Ruckus282026年4月15日 更新

release

免费

Prepare a release by bumping the build number, collecting user-facing changes into a changelog, and committing the result.

中文简介正在准备中。当前显示原文说明。

Bogdanp/Ruckus282026年4月15日 更新

ruckus

免费

Use when building, testing, or linting the Ruckus iOS app, regenerating the Tuist project, running tests, or adding new Swift files. Covers xcodebuild, tuist, make, swiftlint, and test workflows.

中文简介正在准备中。当前显示原文说明。

Bogdanp/Ruckus282026年4月15日 更新

查看 Bogdanp 的全部技能

报告此技能的问题