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