contributing-md

bởi sentry

Tạo hoặc căn chỉnh tệp CONTRIBUTING.md của kho lưu trữ Sentry SDK với mẫu tiêu chuẩn. Tuân thủ đặc tả là mục tiêu chính; nội dung dành riêng cho SDK được giữ lại hoặc thêm vào xung quanh. Nhắm đến 100–200 dòng — quy trình chi tiết nằm trên develop.sentry.dev, hãy liên kết đến đó, không sao chép.

npx skills add https://github.com/getsentry/sdk-skills --skill contributing-md

Contributing.md Skill

Generate or align a Sentry SDK repository's CONTRIBUTING.md with the standard template. Spec compliance is the primary goal; SDK-specific content is preserved or added around it. Target 100–200 lines — detailed process lives on develop.sentry.dev, link there, don't duplicate.

Steps

1. Fetch the template

https://develop.sentry.dev/sdk/getting-started/templates/contributing-md-template/

This is the source of truth for required sections, structure, and links.

2. Read the existing file (if any)

If CONTRIBUTING.md exists, read it. Commands and SDK-specific content already there should be trusted. If it does not exist, use the fetched template as the starting point.

3. Find commands from the repo

For missing or placeholder values, read in priority order:

  1. .github/workflows/*.yml — authoritative test/lint/build commands
  2. Makefile / Taskfile.yml / tox.ini — command wrappers
  3. README.md — install command, SDK name
  4. docs.sentry.io for the SDK — setup steps if not found above

4. Reference good examples

Check these repos for structural inspiration if needed:

  • sentry-python — integration principles, user vs contributor setup
  • sentry-javascript — Volta pin, monorepo workflow, draft PR rule
  • sentry-go — LOGAF usage, craft release-notes requirement
  • sentry-cocoa — LOGAF with descriptions, copyright header rule
  • sentry-java — API compatibility workflow, step-by-step setup

5. Write the file

  • Follow the section order from the fetched template
  • Append preserved SDK-specific sections after standard content
  • Flag contradictions rather than removing:
    <!-- TODO: review against standard: https://develop.sentry.dev/... -->
    
  • If file would exceed 200 lines, move verbose steps to a linked doc and reference it

6. Verify

Grep for \[ — no unreplaced placeholder tokens should remain.

Quality Checklist

  • All [placeholder] values replaced with real content
  • Commands verified against CI config or README
  • Existing SDK-specific sections preserved
  • Non-standard content flagged with TODO comments
  • AI attribution section present
  • File is 100–200 lines
  • No links point to Notion or Linear

Thêm skills từ sentry

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.
pi-agent-integration
sentry
Integrate `@mariozechner/pi-agent-core` as the agent abstraction inside another library or runtime. Use when implementing or refactoring Pi Agent wrappers,…
sentry-debug-issue
sentry
Gỡ lỗi và sửa một sự cố Sentry — tìm nó (bằng liên kết, ID hoặc tìm kiếm), lấy ngữ cảnh đầy đủ (stack trace, breadcrumbs, trace, logs), tùy chọn chạy Seer root-cause /…
sentry-svelte-sdk
sentry
Thiết lập đầy đủ Sentry SDK cho Svelte và SvelteKit. Sử dụng khi được yêu cầu "thêm Sentry vào Svelte", "thêm Sentry vào SvelteKit", "cài đặt @sentry/sveltekit", hoặc cấu hình…
sentry-svelte-sdk
sentry
Thiết lập đầy đủ Sentry SDK cho Svelte và SvelteKit. Sử dụng khi được yêu cầu "thêm Sentry vào Svelte", "thêm Sentry vào SvelteKit", "cài đặt @sentry/sveltekit", hoặc cấu hình…
skill-scanner
sentry
Quét kỹ năng tác nhân để tìm vấn đề bảo mật. Sử dụng khi được yêu cầu "quét một kỹ năng",
prompt-optimizer
sentry
Tạo, tối ưu hóa và cải tiến lặp lại các prompt cho agent, system prompt, developer prompt và các mẫu prompt có thể tái sử dụng. Sử dụng khi được yêu cầu cải thiện một…
commit
sentry
commit — một kỹ năng có thể cài đặt cho các tác nhân AI, được xuất bản bởi getsentry/sentry-docs.