Agent skill

Octane Core Extend

by octanejs in octanejs/octane

Change Octane's runtime, compiler, scheduler, reconciler, SSR, or hydration engine.

MITAuto-check passedDevelopment

Install Octane Core Extend

skills CLI
$ npx skills add octanejs/octane --skill octane-core-extend -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install octanejs/octane octane-core-extend --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/octanejs/octane.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/octane-core-extend .claude/skills/octane-core-extend && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
octane-core-extend
GitHub stars
1.5k
Token cost
~2.2k tokens
SKILL.md length
1,136 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

Change Octane's runtime, compiler, scheduler, reconciler, SSR, or hydration engine.

  • Works in 5 steps: Add a minimal .tsrx or .tsx fixture… → Add the regression test: assert runtime… → Inspect compile.js and any @tsrx/core… → …
  • Development work in your project
  • SKILL.md covers Read first, Required preflight, Every change lands with a… and Hot-path rules, plus 8 more sections
  • Calls pnpm and node

What it does

Octane Core Extend is an agent skill from octanejs/octane. 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.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: React’s programming model, compiled. The successor to Inferno. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/octane-core-extend”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Add a minimal .tsrx or .tsx fixture under packages/octane/tests/_fixtures/.
  2. Add the regression test: assert runtime behavior, or emitted behavior through the public compiler path.
  3. Inspect compile.js and any @tsrx/core AST assumptions.
  4. Preserve source-location/dev diagnostics where applicable.
  5. Ensure generated code still works with hook-slot injection and server/client paths.

What it can do on your machine

Read from SKILL.md and the folder at commit 4cc2a1e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Octane Core Extend loads about 2.2k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 1,136 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from octanejs/octane at commit 4cc2a1e, republished under its MIT licence (© octanejs). 1,136 words, ~2,239 tokens.

Download SKILL.mdSave it as .claude/skills/octane-core-extend/SKILL.md (or your agent's skills folder).
name
octane-core-extend
description
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.

Skill: Extend Octane core

Use this when changing core runtime, compiler, AST/TSRX transforms, SSR, hydration, or public octane APIs.

Read first

  • AGENTS.md
  • .rulesync/rules/core-engineering.md
  • README.md
  • docs/differences-from-react.md
  • Owning source comments and nearby tests

Required preflight

Before editing, write down:

  • the consumer-observable contract and invariants;
  • affected execution modes (dev/prod, client/server, render/hydrate, error/abort);
  • hot paths and expected call frequency: per render, node, item, event, signal notification, or request, versus once per root or module;
  • a credible failing behavioral test for a bug, or a relevant benchmark baseline for an optimization;
  • what the plan adds and the smaller alternatives you weighed, per concise-code.

Assume framework-fundamental code is performance-sensitive until the call graph shows otherwise. Use the performance-audit skill alongside this skill whenever the change can affect per-component, per-render, per-node, compiler-output, SSR, hydration, scheduling, reconciliation, or bundle costs.

Every change lands with a regression test

No exceptions, and not only for bug fixes. Core code multiplies across every Octane application, so each change ships with a test that would catch the regression it could introduce.

  • Bug fix: the test reproduces the report and fails before the fix.
  • New behavior: the test pins the new contract, and a separate one pins the neighbouring behavior the change could have disturbed.
  • Refactor or optimization: behavior is supposed to be identical, so the test pins the behavior being preserved. "The existing tests still pass" is not enough on its own; if no existing test would have caught the breakage you were worried about, that gap is the test to add.

A test only counts once you have seen it fail. Break the implementation deliberately, confirm the test goes red, then restore. If it stays green it is not protecting anything.

Cover the execution modes the change actually reaches: dev and prod compile, client and server, render and hydrate, and the error, abort, and cleanup paths. Assert consumer-observable behavior, never internals; .rulesync/rules/testing.md sets the observation boundary and the harness to use.

Exact render counts, allocation identity, and codegen size are optimization claims, so they belong in the benchmark ratio system with semantic controls rather than in a correctness test.

Hot-path rules

The full rules, with the runtime code that already follows each one, are in performance-audit's references: V8 shapes, DOM work, and scheduling. The ones core changes break most often:

  • Block and Scope shape. A new field on BlockImpl, ScopeImpl, or LiteBlockImpl is a declare field, initialized unconditionally in the constructor with null, undefined, or 0 when it is feature-only. Never write an undeclared field, even through (block as any). Before #990, 13 such writes forked the Block map until that PR declared and initialized their fields. Per-call-site state goes in scope.slots, not on the instance.
  • Records. Build hot records in one literal or constructor with every key, in one order, across every allocation site. No delete, conditional spreads, or per-instance Object.freeze. Keep numeric fields integral and arrays packed.
  • Reachability. Never name a heavy function from a compiled hot path. Optional features stay behind their driver or capability, and hydration-only reads behind hydrating guards that fold. Declare a driver above its readers and test it by truthiness (if (D), D ? D.f() : x), never D !== null or D?.f(), or Vite's minifier keeps the code it guards (see the driver declarations in runtime.ts).
  • DOM. The commit writes and does not read geometry. Measure in a batched phase or after paint.
  • Scheduling. scheduleRender coalesces a synchronous burst into one queueMicrotask(flush). Do not add a render or commit per microtask hop, value, item, or dispatch. Do not treat await, queueMicrotask, or requestAnimationFrame as a yield, and do not add another ad-hoc task poster. The microtask-batched contract in docs/differences-from-react.md §Scheduler changes only through issue #1864's decisions, never in passing.

Decide owner

  • Client behavior/hooks/events/refs/scheduler/context/Suspense/transitions/reconciler: packages/octane/src/runtime.ts
  • SSR/server render: packages/octane/src/runtime.server.ts, packages/octane/src/server/index.ts
  • Compiler/AST/TSRX lowering/Vite/Volar: packages/octane/src/compiler/*
  • Public API: packages/octane/src/index.ts, constants.ts, README/types/tests
  • Vite metaframework behavior: packages/vite-plugin-octane/*

Compiler/AST workflow

  1. Add a minimal .tsrx or .tsx fixture under packages/octane/tests/_fixtures/.
  2. Add the regression test: assert runtime behavior, or emitted behavior through the public compiler path.
  3. Inspect compile.js and any @tsrx/core AST assumptions.
  4. Preserve source-location/dev diagnostics where applicable.
  5. Ensure generated code still works with hook-slot injection and server/client paths.
Show full SKILL.md (448 more words)Show less

Runtime workflow

  1. Add the regression test before patching, and watch it fail.
  2. Identify whether behavior is mount, update, deletion, hydration, event delegation, scheduling, or effect flushing.
  3. Read nearby runtime comments; treat them as design spec.
  4. Preserve intentional divergences from React.
  5. For React parity, use conformance or differential harness appropriately.

Public API workflow

  1. Update exports, and add a test covering the new or changed surface.
  2. Update README/docs if user-facing.
  3. Add changeset unless docs/test-only.
  4. Consider ecosystem binding impacts and aliases in vitest.config.js.

Strong diagnostics

A new or changed OCTANE_STRONG_* code, or a new hook that replaces a pattern Strong rejects, belongs in packages/octane/src/compiler/strong-diagnostics.js. Add its entry, and a recipe when it replaces a React idiom, then run pnpm strong:diagnostics. That regenerates the website reference, llms.txt, docs/strong-compiler-checks.md, and the MCP server's copy, and strong-diagnostics-catalog.test.ts fails on a code without an entry or a recipe the compiler does not accept. The message should name the replacement API; the compile error is the documentation an agent reads first.

Validation

  • New/changed targeted tests.
  • Nearby core tests.
  • pnpm typecheck for API/compiler TS changes.
  • pnpm test for broad runtime/compiler changes when feasible.
  • The relevant benchmark suite before and after performance-sensitive changes, using the same environment, warmup, iterations, and semantic controls. Run only the owning suite locally; CI runs the wide ones.
  • The perf-review skill on the final diff (node scripts/perf-review-scan.mjs), with every must-fix finding resolved and the report in the handoff.
  • pnpm format:files <path...> while iterating and pnpm format:files:check <path...> for a scoped check.

Risk checks

  • Does the change alter hook slot stability?
  • Does it change SSR/hydration consistency?
  • Does it change event semantics from native to synthetic? If yes, likely wrong.
  • Does it add React controlled-input behavior? If yes, likely intentional divergence violation.
  • Does keyed reconciliation preserve final DOM and survivor identity?
  • Are tsrx and tsx/jsx paths both considered?
  • Does it add a field, receiver map, or allocation to a per-render or per-node path?
  • Can a burst of ready values, dispatches, or notifications now render or commit once per microtask hop?
  • Does a hot or compiled path now reach code it did not reach before?

Adversarial self-review

Inspect the complete diff after validation. Try applicable empty, large, repeated, nested, reordered, reentrant, error, abort, cleanup, and hydration cases. Trace each allocation and retained reference through release, inspect adjacent fast paths and every changed caller, compare with a simpler design, and remove complexity that does not justify its permanent cost, using the concise-code simplification pass. Resolve findings and repeat the review on the final diff.

The handoff must report the contract, correctness evidence, measured baseline and candidate deltas (or why trustworthy measurement was impossible), self-review improvements, and residual risk.

© octanejs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/octane-core-extend of octanejs/octane.

Open the folder on GitHubat commit 4cc2a1e

Compare with similar skills

Octane Core Extend next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Octane Core Extend compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Octane Core Extend this skilloctanejs/octane1.5k—~2.2kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from octanejs/octane

All 13 skills in this repo
  • Performance Audit

    octanejs/octane

    Audit or defend Octane performance. An agent skill from octanejs/octane.

    1.5k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Update Bindings

    octanejs/octane

    Audit one, several, or all existing Octane bindings; implement selected maintenance findings or remove redundant copied files with evidence matched to source ownership.

    1.5k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Concise Code

    octanejs/octane

    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…

    1.5k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Handle Issue

    octanejs/octane

    Work a GitHub issue in the octane repo. An agent skill from octanejs/octane.

    1.5k GitHub stars~638 tokensUpdated today
    Auto-check passed
  • Implement and verify new React-library ports or copied/rewritten React surfaces in Octane bindings from npm names or npm/GitHub links/lists.

    1.5k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Triage

    octanejs/octane

    Work out which part of the octane monorepo owns an unfamiliar failure or task.

    1.5k GitHub stars~374 tokensUpdated today
    Auto-check passed

Categories

Questions about Octane Core Extend

What does Octane Core Extend do?

Change Octane's runtime, compiler, scheduler, reconciler, SSR, or hydration engine. Octane Core Extend is an agent skill from octanejs/octane. Change Octane's runtime, compiler, scheduler, reconciler, SSR, or hydration engine.

When should I use Octane Core Extend?

Octane Core Extend fits situations like: development work in your project.

How do I install Octane Core Extend in Claude Code?

Run `npx skills add octanejs/octane --skill octane-core-extend -a claude-code`. Or copy the skill folder (.agents/skills/octane-core-extend in octanejs/octane) into .claude/skills/octane-core-extend in your project. Claude Code loads it when a task matches its description.

How do I install Octane Core Extend in Codex?

Run `npx skills add octanejs/octane --skill octane-core-extend -a codex`. Or copy the skill folder (.agents/skills/octane-core-extend in octanejs/octane) into .agents/skills/octane-core-extend in your project. Codex loads it when a task matches its description.

Can I use Octane Core Extend in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add octanejs/octane --skill octane-core-extend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/octane-core-extend, .gemini/skills/octane-core-extend, .github/skills/octane-core-extend and .opencode/skills/octane-core-extend in your project.

What does Octane Core Extend need to run?

Going by SKILL.md and its folder, Octane Core Extend needs the command-line tools its instructions call (pnpm and node).

Does Octane Core Extend access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Octane Core Extend safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Octane Core Extend use?

Octane Core Extend is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Octane Core Extend use?

About 2.2k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Octane Core Extend?

Skills that share tags, products or a category with Octane Core Extend: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Octane Core Extend?

octanejs (a GitHub organization) maintains it in octanejs/octane, which has 1,455 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 10, 2026.

Source: octanejs/octane on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.