Agent Skills › akeit0/okojo › okojo-test262

okojo-test262

GitHub

专注于Okajo引擎的Test262合规性工作,处理测试失败、运行合规扫描及修复标准对齐问题。适用于涉及Test262Runner、跳过列表或缓存的场景,排除普通实现与重构。

.agents/skills/okojo-test262/SKILL.md akeit0/okojo

Trigger Scenarios

Test262 compliance work failing Test262 cases compliance sweeps

Install

npx skills add akeit0/okojo --skill okojo-test262 -g -y
More Options

Non-standard path

npx skills add https://github.com/akeit0/okojo/tree/main/.agents/skills/okojo-test262 -g -y

Use without installing

npx skills use akeit0/okojo@okojo-test262

指定 Agent (Claude Code)

npx skills add akeit0/okojo --skill okojo-test262 -a claude-code -g -y

安装 repo 全部 skill

npx skills add akeit0/okojo --all -g -y

预览 repo 内 skill

npx skills add akeit0/okojo --list

SKILL.md

Frontmatter
{
    "name": "okojo-test262",
    "description": "Run and continue Okojo Test262 compliance work. Use only when the request involves Test262, Test262Runner, compliance sweeps, failing Test262 cases, the passed cache, or SkipList. Do not use for ordinary Okojo implementation, refactoring, review, or debugging."
}

Okojo Test262

Use this skill only for Test262-driven work in tools/Test262Runner and the engine/test files needed to resolve a selected Test262 failure. Ordinary engine work belongs to the general Okojo development workflow.

Core policy

Fix standards-aligned behavior.

Do not prioritize deprecated/legacy behavior unless explicitly re-approved. Treat these as intentionally unsupported by default:

  • direct-eval-specific semantics
  • with
  • legacy __proto__
  • deprecated legacy accessor APIs
  • Function.prototype.arguments / Function.prototype.caller
  • arguments.callee

For these, prefer narrow intended Test262 skips with a clear reason over regressing core paths.

Do not add a skip merely to make a run green. A skip requires an intentionally unsupported feature or an explicit user decision.

Workflow

  1. reproduce the exact Test262 case
  2. classify it as engine/compiler/runtime behavior or intentionally unsupported coverage
  3. compare V8 for language/compiler/VM behavior or Node for built-in/runtime behavior
  4. implement the narrow root-cause fix
  5. add a focused regression under tests/Okojo.Tests
  6. rebuild the runner before trusting an exact rerun
  7. rerun the exact case, nearby coverage, and the requested continuation batch

Focused engine loop

dotnet build tests/Okojo.Tests/Okojo.Tests.csproj -c Release /p:UseSharedCompilation=false
dotnet test tests/Okojo.Tests/Okojo.Tests.csproj -c Release --no-build --filter <Name>

When the runner is involved:

dotnet build tools/Test262Runner/Test262Runner.csproj -c Release /p:UseSharedCompilation=false

Test262 runner

Show help:

dotnet run --project tools/Test262Runner/Test262Runner.csproj -c Release -- --help

Common continuation pattern:

dotnet run --project tools/Test262Runner/Test262Runner.csproj -c Release -- --max-tests 30 --full-path --skip-passed

Array.prototype sweep example:

dotnet run --project tools/Test262Runner/Test262Runner.csproj -c Release -- --max-tests 30 --category built-ins --filter Array/prototype --full-path --skip-passed

Useful runner notes:

  • --skip-passed uses the local passed cache
  • rebuild the runner after runtime/compiler changes before trusting exact reruns
  • SkipList.cs contains intentional exclusions
  • do not run a broad sweep when an exact or category-filtered rerun answers the current question

Editing guidance

  • Prefer minimal, local fixes.
  • Add a focused regression test for each fix.
  • Do not revert unrelated user changes.
  • Do not widen policy support accidentally just to satisfy a single Test262 file.

Version History

  • 0.2.0-preview.2 Current 2026-09-22 11:31

    从通用开发工作流中分离出专门的 Test262 合规性任务范围;新增针对 Test262 runner 的具体命令示例(如 --skip-passed, category sweep)和更严格的跳过策略说明。

  • 0.1.2-preview1 2026-07-24 22:32

Same Skill Collection

.agents/skills/okojo-engine-development/SKILL.md
.agents/skills/okojo-node-ink-debug/SKILL.md

Metadata

Files
0
Version
0.2.0-preview.2
Hash
1b92bb9e
Indexed
2026-07-24 22:32

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-30 22:31
浙ICP备14020137号-1