跳到正文
cccskills
免费在 GitHub 公开

authoring-tsrx

Write a new Octane component in .tsrx, convert JSX to .tsrx, or add scoped <style> blocks and themes. Use when creating a .tsrx file rather than editing one, because the path-scoped tsrx-authoring rule only fires once such a file is open.

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

查看安装方法

包含的文件(1)

  • SKILL.md967 B

SKILL.md(原文)

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

Authoring a new .tsrx file

Read .rulesync/rules/tsrx-authoring.md now. It is the full reference and the single home for this content: components and the @{ … } form, when a text hole needs {expr as string}, the native delegated event model, the @if/@for/ @switch/@try directive blocks, refs as props, scoped styles and themes (<style> scopes, $class class maps, apply), and the typing rules.

That file is a path-scoped rule, so it loads by itself once you open an existing .tsrx file. It does not fire when you are writing the first one, which is what this skill exists to cover.

Then read a nearby .tsrx file for house style before writing.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Find and fix a bug in the octane monorepo. Use when given a failing test, a regression, or a report that behavior differs from expectation, including deciding whether a React mismatch is an intentional divergence.

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

octanejs/octane14652026年10月20日 更新

Keep a change small and in the existing idiom - size the plan and weigh smaller alternatives before writing it, reuse the mechanism that already owns the behavior instead of adding a parallel one, and simplify the diff before handoff. Use when planning any change beyond a few lines, before readying a PR, or when reviewing agent-written code for bloat.

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

octanejs/octane14652026年10月20日 更新

Open a pull request for octane work. Load before creating the branch, commit, changeset, or PR, including when opening a PR is the tail step of a task that was about something else.

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

octanejs/octane14652026年10月20日 更新

Work a GitHub issue in the octane repo. Use when given an issue number or link. Fetches the issue, classifies the owning area, and plans the fix.

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

octanejs/octane14652026年10月20日 更新

Change Octane's runtime, compiler, scheduler, reconciler, SSR, or hydration engine. Use before editing packages/octane/src. Covers the observable contract, hot-path analysis, and the performance evidence required before handoff.

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

octanejs/octane14652026年10月20日 更新

Implement and verify new React-library ports or copied/rewritten React surfaces in Octane bindings from npm names or npm/GitHub links/lists. Enforces immutable provenance, license boundaries, dependency ordering, full-surface parity, and machine evidence. Existing-binding audits and maintenance start with update-bindings.

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

octanejs/octane14652026年10月20日 更新

查看 octanejs 的全部技能

报告此技能的问题