Agent Skillsxberg-io/xberg › xberg-typescript-toolchain

xberg-typescript-toolchain

GitHub

针对Xberg仓库的TypeScript/JavaScript开发规范,涵盖pnpm工作区管理、Vitest测试、oxlint格式化及napi-rs/wasm构建边界,指导包依赖与工具链使用。

.ai-rulez/skills/xberg-typescript-toolchain/SKILL.md xberg-io/xberg

Trigger Scenarios

修改TS/JS包代码或配置 执行项目级Lint、Format或Typecheck 运行Vitest测试套件 处理pnpm工作区依赖或集成包构建

Install

npx skills add xberg-io/xberg --skill xberg-typescript-toolchain -g -y
More Options

Non-standard path

npx skills add https://github.com/xberg-io/xberg/tree/main/.ai-rulez/skills/xberg-typescript-toolchain -g -y

Use without installing

npx skills use xberg-io/xberg@xberg-typescript-toolchain

指定 Agent (Claude Code)

npx skills add xberg-io/xberg --skill xberg-typescript-toolchain -a claude-code -g -y

安装 repo 全部 skill

npx skills add xberg-io/xberg --all -g -y

预览 repo 内 skill

npx skills add xberg-io/xberg --list

SKILL.md

Frontmatter
{
    "name": "xberg-typescript-toolchain",
    "description": "Work on Xberg TypeScript or JavaScript packages with the repository's actual poly, pnpm, npm, Vitest, napi-rs, wasm-pack, and integration-package boundaries. Load for TS\/JS tooling or package changes, not Rust-only binding generation."
}

Xberg TypeScript toolchain

These repository-specific facts override generic TypeScript conventions where they differ.

  • Lint and format with poly lint . and poly fmt .. Poly embeds oxlint and oxfmt; do not install or invoke oxlint, oxfmt, Prettier, ESLint, or Biome directly, and do not add per-package lint scripts.
  • Root tsconfig.json enables strict checking options and is a project-reference root for e2e/node and e2e/wasm. Confirm that the package being changed is included before treating a root typecheck as evidence.
  • Testing uses Vitest with @vitest/coverage-v8. No coverage threshold is enforced unless one is added to current configuration.
  • No runtime schema-validator dependency is guaranteed. Use existing boundary guards or propose a dependency explicitly rather than assuming Zod is available.
  • The pnpm workspace uses the root lockfile. Packages under integrations/node/ are outside that workspace and use their own npm lockfiles. Determine ownership before installing or updating dependencies.
  • integrations/node/{langchain,llamaindex}-xberg use tsup. The Node binding is built by napi-rs and the WASM binding by wasm-pack; do not add an application bundler to either binding.
  • Prefer workspace:* for new dependencies between packages that are actually in the pnpm workspace.
  • JavaScript dependency auditing is manual unless a current workflow says otherwise; do not claim an audit ran merely because Rust or poly checks passed.

Version History

  • d8e4815 Current 2026-08-28 18:31

Same Skill Collection

.ai-rulez/skills/alef-generated-bindings/SKILL.md
.ai-rulez/skills/benchmark-workflow/SKILL.md
.ai-rulez/skills/chunking-embeddings/SKILL.md
.ai-rulez/skills/config-loading-precedence/SKILL.md
.ai-rulez/skills/crate-structure/SKILL.md
.ai-rulez/skills/extraction-pipeline-patterns/SKILL.md
.ai-rulez/skills/feature-flag-policy/SKILL.md
.ai-rulez/skills/mime-detection-routing/SKILL.md
.ai-rulez/skills/ocr-pipeline-and-quality/SKILL.md
.ai-rulez/skills/pdf-backends/SKILL.md
.ai-rulez/skills/plugin-architecture-patterns/SKILL.md
.ai-rulez/skills/polyrepo-boundaries/SKILL.md
.ai-rulez/skills/release-readiness/SKILL.md
.ai-rulez/skills/release-versioning/SKILL.md
.ai-rulez/skills/test-corpus/SKILL.md
.ai-rulez/skills/wasm-constraints/SKILL.md
plugin/.ai-rulez/skills/batch-extraction/SKILL.md
plugin/.ai-rulez/skills/chunking/SKILL.md
plugin/.ai-rulez/skills/extracting-keywords/SKILL.md
plugin/.ai-rulez/skills/extracting-tables/SKILL.md
plugin/.ai-rulez/skills/extracting-with-ocr/SKILL.md
plugin/.ai-rulez/skills/picking-a-format/SKILL.md
plugin/.ai-rulez/skills/xberg/SKILL.md
plugin/.cursor-plugin/skills/batch-extraction/SKILL.md
plugin/.cursor-plugin/skills/chunking/SKILL.md
plugin/.cursor-plugin/skills/extracting-keywords/SKILL.md
plugin/.cursor-plugin/skills/extracting-tables/SKILL.md
plugin/.cursor-plugin/skills/extracting-with-ocr/SKILL.md
plugin/.cursor-plugin/skills/picking-a-format/SKILL.md
plugin/.cursor-plugin/skills/xberg/SKILL.md
plugin/skills/batch-extraction/SKILL.md
plugin/skills/chunking/SKILL.md
plugin/skills/extracting-keywords/SKILL.md
plugin/skills/extracting-tables/SKILL.md
plugin/skills/extracting-with-ocr/SKILL.md
plugin/skills/picking-a-format/SKILL.md
plugin/skills/xberg/SKILL.md
.ai-rulez/skills/api-server-mcp/SKILL.md
.ai-rulez/skills/format-specific-extraction/SKILL.md

Metadata

Files
0
Version
d8e4815
Hash
6dd12d9f
Indexed
2026-08-28 18:31

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 00:23
浙ICP备14020137号-1 $bản đồ khách truy cập$