원클릭으로
coding-style
Guidelines for formatting TypeScript code in the fx-fetch package.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guidelines for formatting TypeScript code in the fx-fetch package.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | coding-style |
| description | Guidelines for formatting TypeScript code in the fx-fetch package. |
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.