You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 71a8425
Browse filesBrowse the repository at this point in the historyBrowse files
docs(sdk): Rewrite Repository and Documentation spec for readability (#17019)
Rewrites the Repository and Documentation standards page to be more
human-friendly:
- Add intro paragraph framing the purpose
- Merge AGENTS.md, CONTRIBUTING.md, and PR template into one "Required
repository files" section
- Merge AI context maintenance and AI skills into one "AI context files"
section
- Add links to dotagents repo and documentation
- Replace rigid Rule/Enforcement/Per-SDK override template with natural
prose
- Remove enforcement boilerplate, StatusBadge components, and suggested
skills
- Promote spec status to stable
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: develop-docs/sdk/getting-started/playbooks/setup/setting-up-new-sdk-repo.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,9 +49,9 @@ You **MUST** set up a `CODEOWNERS` file with team members to automatically reque
49
49
50
50
You **MUST** create the following files:
51
51
52
-
-`AGENTS.md` ([AGENTS.md](/sdk/getting-started/standards/repository-docs#agents-md)) — Use the [AGENTS.md template](/sdk/getting-started/templates/agents-md-template). You **SHOULD** use the [`sentry-skills:agents-md`](https://github.com/getsentry/skills#available-skills) skill to generate initial content.
53
-
-`CONTRIBUTING.md` ([CONTRIBUTING.md](/sdk/getting-started/standards/repository-docs#contributing-md)) — Use the [CONTRIBUTING.md template](/sdk/getting-started/templates/contributing-md-template), customized for this SDK.
54
-
-`.github/PULL_REQUEST_TEMPLATE.md` ([PR template](/sdk/getting-started/standards/repository-docs#pr-template)) — Use the [PR template](/sdk/getting-started/templates/pr-template).
52
+
-`AGENTS.md` ([AGENTS.md](/sdk/getting-started/standards/repository-docs#repo-files)) — Use the [AGENTS.md template](/sdk/getting-started/templates/agents-md-template). You **SHOULD** use the [`sentry-skills:agents-md`](https://github.com/getsentry/skills#available-skills) skill to generate initial content.
53
+
-`CONTRIBUTING.md` ([CONTRIBUTING.md](/sdk/getting-started/standards/repository-docs#repo-files)) — Use the [CONTRIBUTING.md template](/sdk/getting-started/templates/contributing-md-template), customized for this SDK.
54
+
-`.github/PULL_REQUEST_TEMPLATE.md` ([PR template](/sdk/getting-started/standards/repository-docs#repo-files)) — Use the [PR template](/sdk/getting-started/templates/pr-template).
55
55
-`CHANGELOG.md` or equivalent
56
56
-`LICENSE` file
57
57
@@ -69,7 +69,7 @@ You **MUST** configure:
69
69
70
70
#### 4. AI context files
71
71
72
-
You **MUST** create AI context files ([AI context file maintenance](/sdk/getting-started/standards/repository-docs#ai-context-maintenance)):
72
+
You **MUST** create AI context files ([AI context file maintenance](/sdk/getting-started/standards/repository-docs#ai-context)):
73
73
-`AGENTS.md` — required
74
74
75
75
You **SHOULD** create:
@@ -105,10 +105,10 @@ If the tool cannot do this, the documentation needs work.
105
105
106
106
## Referenced Standards
107
107
108
-
-[AGENTS.md](/sdk/getting-started/standards/repository-docs#agents-md) — AI context file requirements
These standards define what every SDK repository should contain beyond the code itself — the files that help humans and AI tools understand, contribute to, and maintain the project.
Every SDK repo **MUST** have `CONTRIBUTING.md` covering:
41
+
Every SDK repo **MUST** have a `CONTRIBUTING.md` covering:
61
42
62
43
- Setup instructions
63
44
- Development workflow
64
45
- Explicit quality bar
65
46
- Discussion-first policy
66
47
- AI tools section
67
48
68
-
#### Enforcement
69
-
70
-
- CI file existence check
71
-
- AGENTS.md for update checking
72
-
- Content quality is human-reviewed
49
+
### PR template
73
50
74
-
#### Per-SDK override
75
-
76
-
<StatusBadgetype="yes" /> Setup/workflow are SDK-specific. Quality bar and AI
77
-
sections use shared template.
51
+
Every SDK repo **MUST** have a GitHub PR template with description structure guidance and a linked-issue reminder. Keep it minimal — provide guidance rather than enforcing rigid structure with mandatory sections.
Every SDK repo **MUST** have a GitHub PR template with description structure guidance and linked-issue reminder. The template **SHOULD** be minimal, providing guidance rather than enforcing rigid structure with mandatory sections.
AI context files (AGENTS.md, `.cursorrules`, `.github/copilot-instructions.md`, CLAUDE.md) **MUST** be maintained as living documentation: updated with architectural changes, reviewed quarterly, periodically tested by having an AI tool attempt a contribution.
SDK repos **SHOULD** have dotagents configured with skills from [`getsentry/skills`](https://github.com/getsentry/skills) and [`getsentry/sdk-skills`](https://github.com/getsentry/sdk-skills). Commit `agents.toml` and `agents.lock` so every engineer on the team gets the same skills automatically.
167
-
168
-
Rules files (e.g. `.claude/rules/`, `.cursor/rules/`) **SHOULD** be used for fixed workflow conventions that apply to a specific task or directory.
AI context files — `AGENTS.md`, `.cursorrules`, `.github/copilot-instructions.md`, `CLAUDE.md` — are living documentation. Keep them up to date with architectural changes, review them quarterly, and periodically test them by having an AI tool attempt a contribution.
`AGENTS.md` is [required](#repo-files). The others are recommended.
178
81
179
-
#### Per-SDK override
82
+
SDK repos **SHOULD** also have [dotagents](https://github.com/getsentry/dotagents) configured with skills from [`getsentry/skills`](https://github.com/getsentry/skills) and [`getsentry/sdk-skills`](https://github.com/getsentry/sdk-skills). Commit `agents.toml` and `agents.lock` so every engineer on the team gets the same skills automatically. See the [dotagents documentation](https://docs.sentry.io/ai/dotagents/) for setup instructions.
180
83
181
-
<StatusBadgetype="yes" /> Which skills are active and which rules files exist are SDK-specific.
84
+
Rules files (e.g., `.claude/rules/`, `.cursor/rules/`) **SHOULD** be used for fixed workflow conventions that apply to a specific task or directory.
0 commit comments