write-docs

作成者: sentry

Abacusドキュメントサイト向けにドキュメントページを作成または更新します。新しいドキュメントの追加、既存ページの更新、またはドキュメントを最新の状態に保つ際に使用します。

npx skills add https://github.com/getsentry/abacus --skill write-docs

Write Docs Skill

Create and maintain documentation for the Abacus docs site (Astro Starlight).

Before Starting

  1. Read existing pages in docs/src/content/docs/ to understand patterns
  2. Check docs/astro.config.mjs for sidebar structure
  3. Understand the section you're adding to (getting-started, providers, cli, deployment, development)

Workflow

Adding a New Page

  1. Create .mdx file in the appropriate directory
  2. Add required frontmatter (see below)
  3. Use existing pages as reference for component usage
  4. Run cd docs && pnpm build to verify

Updating an Existing Page

  1. Read the current page first
  2. Make changes, preserving existing patterns
  3. Run cd docs && pnpm build to verify

Frontmatter

Every page requires:

---
title: Page Title
description: One-line description for SEO
sidebar:
  order: 1  # Position within section
---

Key Rules

Links Must Include Base Path

Internal links need /abacus/ prefix (GitHub Pages requirement):

[Quick Start](/abacus/getting-started/quick-start/)  ✓
[Quick Start](/getting-started/quick-start/)          ✗

Import Components Before Use

import { Steps, Aside } from '@astrojs/starlight/components';

<Steps>
1. First step
2. Second step
</Steps>

<Aside type="tip">Helpful note</Aside>

Code Blocks Need Language Tags

```bash
pnpm cli sync

## Build Verification

**Always verify before committing:**

```bash
cd docs && pnpm build

Common errors:

  • Missing imports
  • Invalid frontmatter
  • Broken links (wrong path or missing /abacus/)

Style Guidelines

  • Imperative mood ("Run this" not "You should run")
  • Code examples over abstract descriptions
  • Keep paragraphs short - users skim
  • Tables for reference data (env vars, options)

sentryのその他のスキル

generate-frontend-forms
sentry
Sentryの新しいフォームシステムを使用してフォームを作成するためのガイドです。フォーム、フォームフィールド、バリデーション、または自動保存機能を実装する際に使用してください。
official
sentry-snapshots-cocoa
sentry
Apple/Cocoaプロジェクト向けの完全なSentry Snapshots設定。 「SnapshotPreviewsを設定」「Appleスナップショットテストを設定」「Appleスナップショットをアップロード」と依頼された場合に使用します。
official
architecture-review
sentry
スタッフレベルのコードベースヘルスレビュー。モノリシックモジュール、サイレント障害、型安全性のギャップ、テストカバレッジの穴、LLMフレンドリー性の問題を発見します。
official
linear-type-labeler
sentry
Linearの課題を分類し、各課題のタイトルと説明の内容に基づいて、Sentryワークスペースのラベル分類からTypeラベルを適用します。
official
sentry-flutter-sdk
sentry
FlutterおよびDart向けの完全なSentry SDKセットアップ。「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 EngineeringによるReactおよびNext.jsのパフォーマンス最適化ガイドライン。このスキルは、React/Next.jsのコードを記述、レビュー、またはリファクタリングする際に使用すべきものです。
official
sentry-tanstack-start-sdk
sentry
TanStack Start React向けの完全なSentry SDKセットアップ。「TanStack StartにSentryを追加」、「@sentry/tanstackstart-reactをインストール」、またはエラー設定を求められた場合に使用します。
official