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
根據每個問題的標題與描述內容,從 Sentry 工作區的標籤分類法中分類 Linear 問題,並套用對應的類型標籤。
official
sentry-flutter-sdk
sentry
完整的 Sentry SDK 設定,適用於 Flutter 和 Dart。當被要求「為 Flutter 加入 Sentry」、「安裝 sentry_flutter」、「在 Dart 中設定 Sentry」或設定錯誤…時使用。
official
sentry-svelte-sdk
sentry
完整的 Sentry SDK 設定,適用於 Svelte 和 SvelteKit。當被要求「將 Sentry 加入 Svelte」、「將 Sentry 加入 SvelteKit」、「安裝 @sentry/sveltekit」或進行設定時使用…
official
vercel-react-best-practices
sentry
來自 Vercel Engineering 的 React 與 Next.js 效能優化指南。此技能應在撰寫、審查或重構 React/Next.js… 時使用。
official
sentry-tanstack-start-sdk
sentry
完整的 Sentry SDK 設定,適用於 TanStack Start React。當被要求「將 Sentry 加入 TanStack Start」、「安裝 @sentry/tanstackstart-react」或設定錯誤…時使用。
official