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 的更多技能

add-ai-integration
sentry
向Sentry JavaScript SDK添加新的AI提供商集成。在贡献新的AI工具(OpenAI、Anthropic、Vercel AI、LangChain等)时使用…
add-cdn-bundle
sentry
为浏览器包创建具有指定功能的新CDN捆绑包
agents-md
sentry
当用户要求“创建AGENTS.md”、“更新AGENTS.md”、“维护代理文档”、“设置CLAUDE.md”或需要保持代理…时,应使用此技能。
agents-md
sentry
创建和维护不超过60行的精简、高信号代理文档。强制执行基于研究的最佳实践,确保面向代理的文档质量;指令质量随长度下降。需要三个核心部分:包管理器、文件级命令(每个文件的测试/代码检查/类型检查)以及带有代理身份的提交归属。分析项目结构(锁定文件、代码检查配置、CI命令、单仓库指示器)以确定文件中应包含的内容。仅使用标题和项目符号;引用...
agents-md
sentry
当用户要求“创建AGENTS.md”、“更新AGENTS.md”、“维护代理文档”、“设置CLAUDE.md”或需要保持代理…时,应使用此技能。
ai-sdk
sentry
ai-sdk — 一个可安装的AI代理技能,由getsentry/webvitals.com发布。
analytics
sentry
在Sentry的前端UI中检测并发现分析事件。用于为按钮、页面、弹窗或自定义交互添加追踪,以及定义新的…
architecture-review
sentry
员工级代码库健康审查。发现单体模块、静默失败、类型安全漏洞、测试覆盖缺口以及LLM友好性问题。