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 की और Skills

e2e-frontend-validation
mastra-ai
प्ले Playwright MCP का उपयोग करके प्लेग्राउंड पैकेजों में फ्रंटएंड बदलावों के लिए E2E सत्यापन वर्कफ़्लो
code-standards
mastra-ai
कोड गुणवत्ता मानक और पुल रिक्वेस्ट की समीक्षा के लिए शैली मार्गदर्शिका
general-tasks
mastra-ai
खुली-समाप्ति वाले कार्यों को संभालने की डिफ़ॉल्ट प्रक्रिया जो फ़ाइलों, शेल या वेब से संबंधित हैं।
gh-bulk-issues
mastra-ai
समानांतर Mastra Code हेडलेस इंस्टेंस को व्यवस्थित करके एक साथ कई GitHub मुद्दों को डीबग और ठीक करें
create-mastra
mastra-ai
Mastra AI फ्रेमवर्क के लिए पूर्ण प्रोजेक्ट सेटअप गाइड। इसमें शामिल: CLI इंस्टॉलेशन (create-mastra), मैन्युअल इंस्टॉलेशन, TypeScript कॉन्फ़िगरेशन (ES2022…
understand-issue
mastra-ai
सहयोगात्मक रूप से GitHub मुद्दे या बग की जाँच करें — इतिहास का पता लगाएँ, आर्किटेक्चर समझें, मूल कारण का निदान करें
performance-review
mastra-ai
प्रदर्शन-केंद्रित कोड समीक्षा जो बाधाओं और अनुकूलन अवसरों की पहचान करने के लिए होती है
research-tasks
mastra-ai
वेब का उपयोग करके शोध प्रश्नों के उत्तर देने और निष्कर्षों को वर्कस्पेस में सहेजने की प्रक्रिया।