jsdocs
Public API JSDoc. Use when authoring or reviewing Effect API documentation, refining a module's documentation, or fixing documentation related diagnostics.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- jsdocs
- description
- Public API JSDoc. Use when authoring or reviewing Effect API documentation, refining a module's documentation, or fixing documentation related diagnostics.
02 资源文件 3
- 参考文档categories.md1.2 KB
- 参考文档declarations.md3.7 KB
- 参考文档examples.md1.2 KB
03 SKILL.md 正文
Workflow
- Inspect the declaration, implementation, nearby JSDoc, tests, and call sites.
- Select every applicable branch and load its reference before editing:
- tags, modules, or links: declarations.md;
- categories: categories.md;
- examples: examples.md.
- Make a focused API fix or module refinement. Preserve verified facts and valuable examples rather than rewriting mechanically.
- For module refinement or APIs with close alternatives, audit
@seelinks and inspect implementation and tests for concrete**Gotchas**. - Run
pnpm jsdocs --checkand every applicable root validation command.
@internal declarations and default exports are outside public JSDoc
authoring. Checked files do not support exported enums or empty export
declarations.
Public declarations use a multiline block with one self-contained practical
description paragraph. Start functions and methods with a present-tense action;
match nearby noun-family phrasing for values. Optional non-empty sections appear
once in this order: **When to use**, **Details**, **Gotchas**. Separate
descriptions, sections, examples, and tags with one blank line. **When to use** states a positive use case distinct from the description; reserve
**Gotchas** for concrete caveats and failure modes.
The task is complete when every changed public declaration satisfies each applicable reference, the checker passes, runnable examples pass their targeted doctest, and all other applicable root checks pass or are reported as not run.
04 同仓库更多 Skills
vendored-assets
Vendored assets. Use when importing or updating checked-in third-party or externally generated JavaScript, CSS, registries, schemas, snapshots, or Scalar, Swagger, and MIME artifacts.
test-development
Test development. Use when adding or changing Vitest or Tstyche coverage. Choose Tstyche only for intended compiler behavior such as inference, assignability, rejection, or displayed public types.
pull-requests
Pull request finalization. Use when a change works and is about to be opened as a pull request, or when updating or continuing an existing one.
performance-analysis
Performance analysis. Use for runtime throughput or latency benchmarks, TypeScript compiler cost, performance regressions, comparison harnesses, or thresholds.
package-development
Package registration. Use when adding a workspace package, making a private package publishable, renaming a package, or moving its workspace path.
migration-guidance
Use when changing how a v3 public API maps to v4, editing migration annotations, or regenerating migration/v3-to-v4.md.