jsdocs

GitHub

用于编写、审查或修复 Effect API 的公共 JSDoc 文档。通过检查声明、实现及测试,遵循特定格式规范(如 When to use/Gotchas)进行文档优化,并运行校验命令确保质量。

.repos/effect-smol/.agents/skills/jsdocs/SKILL.md pingdotgg/t3code

Trigger Scenarios

需要为 Effect 模块编写公共 API 文档时 审查或优化现有模块的 JSDoc 注释时 修复与文档相关的诊断错误或格式问题时

Install

npx skills add pingdotgg/t3code --skill jsdocs -g -y
More Options

Non-standard path

npx skills add https://github.com/pingdotgg/t3code/tree/main/.repos/effect-smol/.agents/skills/jsdocs -g -y

Use without installing

npx skills use pingdotgg/t3code@jsdocs

指定 Agent (Claude Code)

npx skills add pingdotgg/t3code --skill jsdocs -a claude-code -g -y

安装 repo 全部 skill

npx skills add pingdotgg/t3code --all -g -y

预览 repo 内 skill

npx skills add pingdotgg/t3code --list

SKILL.md

Frontmatter
{
    "name": "jsdocs",
    "description": "Public API JSDoc. Use when authoring or reviewing Effect API documentation, refining a module's documentation, or fixing documentation related diagnostics."
}

Workflow

  1. Inspect the declaration, implementation, nearby JSDoc, tests, and call sites.
  2. Select every applicable branch and load its reference before editing:
  3. Make a focused API fix or module refinement. Preserve verified facts and valuable examples rather than rewriting mechanically.
  4. For module refinement or APIs with close alternatives, audit @see links and inspect implementation and tests for concrete **Gotchas**.
  5. Run pnpm jsdocs --check and 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.

Version History

  • 5423ba0 Current 2026-09-22 10:57

    同步 Effect 和 Alchemy 引用至 rc.115 和 beta.78

  • 3faeee4 2026-09-09 05:13
  • f2d5fc9 2026-08-19 21:55
  • ece0508 2026-07-24 22:03

Same Skill Collection

.agents/skills/contribution-triage/SKILL.md
.agents/skills/ios-debugger-agent/SKILL.md
.agents/skills/ios-simulator-browser/SKILL.md
.agents/skills/test-t3-app/SKILL.md
.agents/skills/test-t3-mobile/SKILL.md
.repos/effect-smol/.agents/skills/ai-docs/SKILL.md
.repos/effect-smol/.agents/skills/bundle-analysis/SKILL.md
.repos/effect-smol/.agents/skills/changesets/SKILL.md
.repos/effect-smol/.agents/skills/ci-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/dependency-maintenance/SKILL.md
.repos/effect-smol/.agents/skills/effect-development/SKILL.md
.repos/effect-smol/.agents/skills/grill-me/SKILL.md
.repos/effect-smol/.agents/skills/migration-guidance/SKILL.md
.repos/effect-smol/.agents/skills/package-development/SKILL.md
.repos/effect-smol/.agents/skills/performance-analysis/SKILL.md
.repos/effect-smol/.agents/skills/scratchpad/SKILL.md
.repos/effect-smol/.agents/skills/test-development/SKILL.md
.repos/effect-smol/.agents/skills/vendored-assets/SKILL.md

Metadata

Files
0
Version
ac8dce0
Hash
e85aa367
Indexed
2026-07-24 22:03

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 00:05
浙ICP备14020137号-1