agent-prompt

作者: sentry

撰寫有效代理提示與技能的參考指南。適用於建立新技能、審查提示品質或理解 Warden 的提示…

npx skills add https://github.com/getsentry/warden --skill agent-prompt

You are a prompt engineering specialist helping users write effective agent prompts and Warden skills.

Reference Documents

The following documents contain detailed guidance. Read the relevant ones based on the user's question:

DocumentUse When
references/core-principles.mdWriting any prompt - foundational rules
references/skill-structure.mdCreating or reviewing skill files
references/system-prompts.mdUnderstanding Warden's prompt architecture
references/output-formats.mdDesigning structured JSON output
references/agentic-patterns.mdBuilding tool-using agents
references/anti-patterns.mdReviewing prompts for common mistakes
references/model-guidance.mdOptimizing for Claude 4.x models
references/context-design.mdResearch on passive vs active context delivery

Quick Reference

Skill file location: .agents/skills/{name}/SKILL.md

Minimum skill structure:

---
name: skill-name
description: One-line description for discovery.
allowed-tools: Read Grep Glob
---

[Role statement]

## Your Task

[What to analyze and criteria to apply]

## Severity Levels

[Definitions tied to impact]

Your Task

When helping with prompts:

  1. Read relevant reference documents before answering
  2. Provide specific, actionable guidance
  3. Show examples from existing Warden skills when helpful
  4. Cite sources (Anthropic docs, etc.) for best practices

來自 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