agent-prompt

bởi sentry

Tài liệu tham khảo để viết prompt và skill cho agent hiệu quả. Sử dụng khi tạo skill mới, đánh giá chất lượng prompt, hoặc tìm hiểu về prompt của 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

Thêm skills từ sentry

generate-frontend-forms
sentry
Hướng dẫn tạo biểu mẫu bằng hệ thống biểu mẫu mới của Sentry. Sử dụng khi triển khai biểu mẫu, trường biểu mẫu, xác thực hoặc chức năng tự động lưu.
official
sentry-snapshots-cocoa
sentry
Thiết lập đầy đủ Sentry Snapshots cho các dự án Apple/Cocoa. Sử dụng khi được yêu cầu "thiết lập SnapshotPreviews", "thiết lập kiểm thử snapshot Apple", "tải lên snapshot Apple lên…
official
architecture-review
sentry
Đánh giá sức khỏe mã nguồn ở cấp độ nhân viên. Phát hiện các module nguyên khối, lỗi âm thầm, khoảng trống an toàn kiểu dữ liệu, lỗ hổng độ phủ kiểm thử và các vấn đề về thân thiện với LLM.
official
linear-type-labeler
sentry
Phân loại các vấn đề Linear và áp dụng nhãn Loại từ hệ thống phân loại nhãn của không gian làm việc Sentry dựa trên nội dung tiêu đề và mô tả của từng vấn đề.
official
vercel-react-best-practices
sentry
Hướng dẫn tối ưu hiệu suất React và Next.js từ Vercel Engineering. Kỹ năng này nên được sử dụng khi viết, xem xét hoặc tái cấu trúc mã React/Next.js…
official
bump-size-limit
sentry
Tăng giới hạn kích thước trong .size-limit.js khi kiểm tra CI size-limit thất bại. Sử dụng khi người dùng đề cập đến lỗi giới hạn kích thước, kiểm tra kích thước bundle thất bại, CI size…
official
generate-migration
sentry
Tạo migrations cơ sở dữ liệu Django cho Sentry. Sử dụng khi tạo migrations, thêm/xóa cột hoặc bảng, thêm chỉ mục, hoặc giải quyết migration…
official
security-review
sentry
Phát hiện các lỗ hổng bảo mật ứng dụng có thể khai thác trong các thay đổi mã nguồn. Sử dụng cho quét bảo mật Warden, đánh giá appsec, kiểm tra theo phong cách OWASP, xác thực hoặc…
official