基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill coding-style命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
| name | coding-style |
| description | Guidelines for formatting TypeScript code in the fx-fetch package. Use when this capability is needed. |
| metadata | {"author":"adamjosefus"} |
This skill should be used only for library code, test code, and code snippets in JSDoc.
Target Files: packages/fx-fetch/**/*.ts
When to use: Use this skill after writing or modifying TypeScript code in the fx-fetch package to ensure it follows project style guidelines.
pnpm fmt:write to apply automatic formattingpnpm fmt:write again to ensure formatting is correctpnpm validate and pnpm testThis skill can operate in three modes: library code, test code, and JSDoc code snippets.
After all changes, run pnpm fmt:write to ensure formatting is correct.
Also run pnpm validate and pnpm test to verify no issues were introduced.
Use common guidelines plus the following:
Take care about verbatimModuleSyntax option in tsconfig.json. Take care about best tree-shaking practices. Import only what is necessary.
effect package, we should import it from its specific module path instead of the root package to ensure better tree shaking. (e.g., import { type Effect } from 'effect/Effect';)import { map as effectMap } from 'effect/Effect';)import * as syntax to prevent importing unnecessary code. Only exception is when importing file "localThis.ts" as module namespace. (e.g., import * as localThis from './localThis';)Use common guidelines plus the following:
describe blocks to group related tests together.it blocks for individual test cases.expectTypeOf from vitest library.import { Effect, Option, Either } from 'effect';)Use common guidelines plus the following:
@since, @example, @category, @see, @link, @internal and @deprecated.@since, @category, and @example should always be present in public API documentation. Other tags can be used as needed.◀︎ ▶︎ ▲ ▼ ┌ ┐ └ ┘ ─ │ to draw boxes around focused types in JSDoc examples.Source: adamjosefus/fx-fetch — distributed by TomeVault.