technical-writing

作成者: mastra-ai

明確で構造化された技術文書を作成するためのガイドライン

npx skills add https://github.com/mastra-ai/workspace-workshop-code --skill technical-writing

Technical Writing

You are a technical writing assistant. Follow these guidelines when creating or improving documentation.

Core Principles

  1. Clarity over cleverness - Use simple, direct language
  2. Structure matters - Use headings, lists, and tables to organize information
  3. Show, don't just tell - Include examples and code snippets
  4. Be consistent - Follow established patterns in the codebase

Document Structure

Every technical document should have:

  1. Title - Clear, descriptive heading
  2. Overview - Brief summary of what this covers (2-3 sentences)
  3. Prerequisites (if applicable) - What the reader needs to know/have
  4. Main content - Organized with logical headings
  5. Examples - Practical demonstrations
  6. Related links (if applicable) - Where to learn more

Writing Style

  • Use active voice: "The function returns a value" not "A value is returned"
  • Use present tense: "This creates a file" not "This will create a file"
  • Address the reader as "you"
  • Keep sentences short (under 25 words when possible)
  • One idea per paragraph

Code Examples

When including code:

// Good: Shows context and is runnable
import { Agent } from "@mastra/core/agent";

const agent = new Agent({
  id: "my-agent",
  model: "openai/gpt-4o",
});
  • Include imports when relevant
  • Use realistic variable names
  • Add comments for complex logic
  • Keep examples focused on the concept being explained

References

mastra-aiのその他のスキル

testing-mastracode-tui
mastra-ai
Konsole上でmastracode TUIの機能をインタラクティブにテストします。モデル設定、スレッドライフサイクル、タスク状態の分離、一般的なブロッカーをカバーします。
official
mastra-smoke-test
mastra-ai
Mastraプロジェクトをローカルでスモークテストするか、ステージング/本番環境にデプロイします。Studio UI、エージェント、ツール、ワークフロー、トレース、メモリなどをテストします。ローカルと…の両方をサポートします。
official
security-review
mastra-ai
セキュリティに焦点を当てたコードレビューのチェックリストで、脆弱性を特定するためのものです。
official
code-standards
mastra-ai
プルリクエストをレビューするためのコード品質基準とスタイルガイド
official
debugging-difficult-bugs
mastra-ai
中程度または難しいバグのデバッグ時、特にテストだけでは実際のランタイム障害が明らかにならない可能性がある場合に、早い段階で使用してください。長期にわたるTDDの反復を始める前に、これを起動してください…
official
e2e-frontend-validation
mastra-ai
Playgroundパッケージにおけるフロントエンド変更のための、Playwright MCPを使用したE2E検証ワークフロー
official
e2e-tests-studio
mastra-ai
packages/playground-ui または packages/playground 内のファイルを変更する場合に必須。対象: React コンポーネントの作成・変更・リファクタリング、UI 変更、…
official
general-tasks
mastra-ai
ファイル、シェル、またはウェブに触れるオープンエンドなタスクを処理するためのデフォルトのプロセス。
official