public-docs

作者: sentry

Create and maintain public, user-facing product documentation for this repo's `packages/docs` app. Use when asked to write, revise, or review docs pages…

npx skills add https://github.com/getsentry/junior --skill public-docs

Public Docs

Use this workflow to produce docs that are crisp, task-oriented, and trustworthy for external users.

Load only the references needed for the request:

TaskRead
Understand docs app layout and constraintsreferences/api-surface.md
Draft or revise common docs pagesreferences/common-use-cases.md
Diagnose docs quality/build failuresreferences/troubleshooting-workarounds.md

Core invariants

  1. Keep docs audience-facing: explain user outcomes, not internal implementation chatter.
  2. Match the local docs contract in packages/docs/src/content/docs/contribute/documentation-guidelines.md.
  3. For new or substantially edited pages, require frontmatter fields: type, summary, prerequisites, related.
  4. Include concrete verification steps for tutorial/troubleshooting content.
  5. End each page with an explicit "next step" path through internal links.
  6. Prefer minimal runnable examples over long conceptual exposition.
  7. Keep prose present around lists; avoid heading-plus-bullets-only sections.

Workflow

1. Classify the request

Select one primary path:

  • New page authoring
  • Existing page refactor/clarification
  • Information architecture update (sidebar/redirects/navigation)
  • Docs quality pass (accuracy, scannability, consistency)
  • Troubleshooting/build-fix for docs app

2. Gather local context

  1. Read packages/docs/src/content/docs/contribute/documentation-guidelines.md.
  2. Read neighboring docs in the same section (start-here, concepts, extend, operate, reference, contribute).
  3. If navigation is involved, read packages/docs/astro.config.mjs (sidebar and redirects).
  4. If public interfaces are involved, verify the exported TypeScript surface and its code comments directly.

3. Author or edit with the right page shape

  1. Pick doc type (conceptual, tutorial, reference, troubleshooting) from intent.
  2. Follow depth and section guidance from documentation guidelines.
  3. Keep wording direct and plain; remove filler or internal-only caveats.
  4. Use titled code fences for file snippets.
  5. Prefer internal links that advance the reader to the next concrete action.

4. Validate changes

Run the narrowest meaningful checks:

pnpm docs:check

When structure, sidebar, or redirects change, also run:

pnpm docs:build

5. Report completion

Return:

  1. Changed files and what each change improves for readers
  2. Validation commands executed and outcome
  3. Residual risks (for example, missing screenshots, unverified env-specific setup)

来自 sentry 的更多技能

generate-frontend-forms
sentry
使用Sentry新表单系统创建表单的指南。在实现表单、表单字段、验证或自动保存功能时使用。
official
sentry-snapshots-cocoa
sentry
完整的 Sentry Snapshots 配置,适用于 Apple/Cocoa 项目。当被要求“设置 SnapshotPreviews”、“设置 Apple 快照测试”、“上传 Apple 快照到…”时使用。
official
architecture-review
sentry
员工级代码库健康审查。发现单体模块、静默失败、类型安全漏洞、测试覆盖缺口以及LLM友好性问题。
official
linear-type-labeler
sentry
根据每个问题的标题和描述内容,对Linear问题进行分类,并从Sentry工作区的标签分类体系中应用一个类型标签。
official
sentry-flutter-sdk
sentry
完整的Sentry SDK配置,适用于Flutter和Dart。当被要求“为Flutter添加Sentry”、“安装sentry_flutter”、“在Dart中配置Sentry”或配置错误…时使用。
official
sentry-svelte-sdk
sentry
为Svelte和SvelteKit提供完整的Sentry SDK设置。当被要求“为Svelte添加Sentry”、“为SvelteKit添加Sentry”、“安装@sentry/sveltekit”或配置……时使用。
official
vercel-react-best-practices
sentry
来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。在编写、审查或重构 React/Next.js… 时应使用此技能。
official
sentry-tanstack-start-sdk
sentry
为TanStack Start React提供完整的Sentry SDK设置。当被要求“向TanStack Start添加Sentry”、“安装@sentry/tanstackstart-react”或配置错误…时使用。
official