agents-config 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +490 -0
- package/LICENSE +21 -0
- package/README.md +254 -0
- package/adapters/claude.template.md +77 -0
- package/adapters/codex.template.md +72 -0
- package/adapters/copilot.template.md +68 -0
- package/adapters/cursor.template.md +69 -0
- package/adapters/gemini.template.md +73 -0
- package/adapters/windsurf.template.md +81 -0
- package/bin/agents-init.js +699 -0
- package/bin/postinstall.js +28 -0
- package/instructions/development-standards.instructions.md +47 -0
- package/instructions/github-issue.instructions.md +324 -0
- package/instructions/github-release-notes.instructions.md +888 -0
- package/instructions/mui.instructions.md +50 -0
- package/instructions/storybook.instructions.md +55 -0
- package/instructions/web-interface-guidelines.instructions.md +331 -0
- package/package.json +56 -0
- package/prompts/create-pr.prompt.md +78 -0
- package/prompts/scaffold-component.prompt.md +57 -0
- package/rules/accessibility.md +36 -0
- package/rules/component-architecture.md +34 -0
- package/rules/gemini.md +547 -0
- package/rules/mui.md +491 -0
- package/rules/react-19-compiler.md +26 -0
- package/rules/spec-driven-development.md +36 -0
- package/rules/supabase.md +40 -0
- package/rules/tailwind-v4.md +29 -0
- package/rules/three-js-react.md +76 -0
- package/rules/web-performance.md +29 -0
- package/schemas/agents-project.schema.json +78 -0
- package/skills/accessibility-audit/SKILL.md +39 -0
- package/skills/integrate-gemini/SKILL.md +124 -0
- package/skills/scaffold-component/SKILL.md +77 -0
- package/skills/vercel-react-best-practices/AGENTS.md +2719 -0
- package/skills/vercel-react-best-practices/SKILL.md +125 -0
- package/skills/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/skills/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
- package/skills/vercel-react-best-practices/rules/async-api-routes.md +38 -0
- package/skills/vercel-react-best-practices/rules/async-defer-await.md +80 -0
- package/skills/vercel-react-best-practices/rules/async-dependencies.md +51 -0
- package/skills/vercel-react-best-practices/rules/async-parallel.md +28 -0
- package/skills/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/skills/vercel-react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/skills/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
- package/skills/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/skills/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/skills/vercel-react-best-practices/rules/bundle-preload.md +50 -0
- package/skills/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
- package/skills/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/skills/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/skills/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
- package/skills/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
- package/skills/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
- package/skills/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
- package/skills/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
- package/skills/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
- package/skills/vercel-react-best-practices/rules/js-early-exit.md +50 -0
- package/skills/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/skills/vercel-react-best-practices/rules/js-index-maps.md +37 -0
- package/skills/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
- package/skills/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
- package/skills/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/skills/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/skills/vercel-react-best-practices/rules/rendering-activity.md +26 -0
- package/skills/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/skills/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/skills/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/skills/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/skills/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/skills/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/skills/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
- package/skills/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/skills/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
- package/skills/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
- package/skills/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/skills/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/skills/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
- package/skills/vercel-react-best-practices/rules/rerender-memo.md +44 -0
- package/skills/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
- package/skills/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
- package/skills/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/skills/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
- package/skills/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
- package/skills/vercel-react-best-practices/rules/server-cache-react.md +76 -0
- package/skills/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
- package/skills/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/skills/vercel-react-best-practices/rules/server-serialization.md +38 -0
- package/skills/workflows/sdd-workflow.md +49 -0
- package/skills/workflows/setup-orchestration.md +18 -0
|
@@ -0,0 +1,888 @@
|
|
|
1
|
+
---
|
|
2
|
+
applyTo: '**/*.md, **/*.mdx'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# GitHub Release Notes Instructions
|
|
6
|
+
|
|
7
|
+
This document provides comprehensive instructions for creating professional, well-structured GitHub release notes for the DevLog application. Release notes are published in two formats: a **detailed version** and a **summary version**.
|
|
8
|
+
|
|
9
|
+
## File Naming and Location
|
|
10
|
+
|
|
11
|
+
### Detailed Release Notes
|
|
12
|
+
|
|
13
|
+
- **Filename:** `release-vX.X.X.md`
|
|
14
|
+
- **Location:** `docs/published/`
|
|
15
|
+
- **Purpose:** Comprehensive documentation of all changes with code examples, technical details, and migration guidance
|
|
16
|
+
|
|
17
|
+
### Summary Release Notes
|
|
18
|
+
|
|
19
|
+
- **Filename:** `release-vX.X.X.summary.md`
|
|
20
|
+
- **Location:** `docs/published/`
|
|
21
|
+
- **Purpose:** Condensed version highlighting key changes for quick review
|
|
22
|
+
|
|
23
|
+
## Release Type Determination
|
|
24
|
+
|
|
25
|
+
Determine the release type based on semantic versioning and commit messages:
|
|
26
|
+
|
|
27
|
+
### Patch Release (x.x.X)
|
|
28
|
+
|
|
29
|
+
- Bug fixes (`fix:`)
|
|
30
|
+
- Documentation updates (`docs:`)
|
|
31
|
+
- Minor code quality improvements
|
|
32
|
+
- Non-breaking changes
|
|
33
|
+
- **Example:** v18.31.1, v18.31.3
|
|
34
|
+
|
|
35
|
+
### Minor Release (x.X.0)
|
|
36
|
+
|
|
37
|
+
- New features (`feat:`)
|
|
38
|
+
- Enhancements to existing features
|
|
39
|
+
- New components or utilities
|
|
40
|
+
- Non-breaking additions
|
|
41
|
+
- **Example:** v18.29.0, v18.31.0
|
|
42
|
+
|
|
43
|
+
### Major Release (X.0.0)
|
|
44
|
+
|
|
45
|
+
- Breaking changes (`BREAKING CHANGE:`)
|
|
46
|
+
- API changes requiring migration
|
|
47
|
+
- Major architectural changes
|
|
48
|
+
- **Example:** v19.0.0
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Detailed Release Notes Structure
|
|
53
|
+
|
|
54
|
+
### Required Sections
|
|
55
|
+
|
|
56
|
+
#### 1. Title and Metadata
|
|
57
|
+
|
|
58
|
+
```markdown
|
|
59
|
+
# Release Notes: vX.X.X
|
|
60
|
+
|
|
61
|
+
**Release Date:** Month DD, YYYY
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Rules:**
|
|
65
|
+
- Use H1 heading for title
|
|
66
|
+
- Include version number with `v` prefix
|
|
67
|
+
- Release date in bold, format: "Month DD, YYYY"
|
|
68
|
+
- No emojis in the H1 title
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
#### 2. Overview (## 🎉 Overview)
|
|
73
|
+
|
|
74
|
+
**Purpose:** Provide high-level summary of the release focus and impact
|
|
75
|
+
|
|
76
|
+
**Structure:**
|
|
77
|
+
- 2-3 paragraphs
|
|
78
|
+
- First sentence states release type and primary focus
|
|
79
|
+
- Explain what changed and why
|
|
80
|
+
- Describe overall impact
|
|
81
|
+
|
|
82
|
+
**Template:**
|
|
83
|
+
|
|
84
|
+
```markdown
|
|
85
|
+
## 🎉 Overview
|
|
86
|
+
|
|
87
|
+
This [patch/minor/major] release [primary focus/goal]. [Additional context about the changes].
|
|
88
|
+
|
|
89
|
+
[Impact statement and benefits overview].
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Example:**
|
|
93
|
+
|
|
94
|
+
```markdown
|
|
95
|
+
## 🎉 Overview
|
|
96
|
+
|
|
97
|
+
This patch release fixes utility export issues and improves code consistency by consolidating exports and updating function syntax. The primary change resolves missing utility exports from the main library entry point, ensuring all utilities introduced in v18.31.0 are properly accessible to consumers.
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
#### 3. Main Content Sections
|
|
103
|
+
|
|
104
|
+
Organize changes by category with appropriate emoji headers:
|
|
105
|
+
|
|
106
|
+
**For Features (✨):**
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
## ✨ New Features
|
|
110
|
+
|
|
111
|
+
### Feature Name
|
|
112
|
+
|
|
113
|
+
Description of the feature and its purpose.
|
|
114
|
+
|
|
115
|
+
#### **Key Aspects**
|
|
116
|
+
|
|
117
|
+
Detailed explanation with sub-sections as needed.
|
|
118
|
+
|
|
119
|
+
**Code Example:**
|
|
120
|
+
|
|
121
|
+
```tsx
|
|
122
|
+
// Usage example
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**Benefits:**
|
|
126
|
+
|
|
127
|
+
- ✅ Benefit one
|
|
128
|
+
- ✅ Benefit two
|
|
129
|
+
- ✅ Benefit three
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**For Bug Fixes (🐛):**
|
|
133
|
+
|
|
134
|
+
```markdown
|
|
135
|
+
## 🐛 Bug Fixes
|
|
136
|
+
|
|
137
|
+
### Issue Name
|
|
138
|
+
|
|
139
|
+
Description of the problem that was fixed.
|
|
140
|
+
|
|
141
|
+
#### **Root Cause Analysis**
|
|
142
|
+
|
|
143
|
+
Explanation of why the issue occurred.
|
|
144
|
+
|
|
145
|
+
**Before (vX.X.X):**
|
|
146
|
+
|
|
147
|
+
```tsx
|
|
148
|
+
// Problematic code
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**After (vX.X.X):**
|
|
152
|
+
|
|
153
|
+
```tsx
|
|
154
|
+
// Fixed code
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Impact:**
|
|
158
|
+
|
|
159
|
+
- ✅ What is now fixed
|
|
160
|
+
- ✅ What users can now do
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**For Enhancements (🔧):**
|
|
164
|
+
|
|
165
|
+
```markdown
|
|
166
|
+
## 🔧 Code Quality Improvements
|
|
167
|
+
|
|
168
|
+
### Improvement Name
|
|
169
|
+
|
|
170
|
+
Description of what was improved and why.
|
|
171
|
+
|
|
172
|
+
**Before:**
|
|
173
|
+
|
|
174
|
+
```tsx
|
|
175
|
+
// Old approach
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**After:**
|
|
179
|
+
|
|
180
|
+
```tsx
|
|
181
|
+
// Improved approach
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Benefits:**
|
|
185
|
+
|
|
186
|
+
- 📦 Bundle size impact
|
|
187
|
+
- ⚡ Performance improvement
|
|
188
|
+
- 🔍 Developer experience enhancement
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**For Documentation (📚):**
|
|
192
|
+
|
|
193
|
+
```markdown
|
|
194
|
+
## 📚 Documentation
|
|
195
|
+
|
|
196
|
+
### Documentation Updates
|
|
197
|
+
|
|
198
|
+
Description of documentation changes.
|
|
199
|
+
|
|
200
|
+
**New Documentation:**
|
|
201
|
+
- Document name and purpose
|
|
202
|
+
- Location/link
|
|
203
|
+
|
|
204
|
+
**Updated Documentation:**
|
|
205
|
+
- What was updated
|
|
206
|
+
- Why it was updated
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**For Testing (🧪):**
|
|
210
|
+
|
|
211
|
+
```markdown
|
|
212
|
+
## 🧪 Testing Updates
|
|
213
|
+
|
|
214
|
+
### Test Changes
|
|
215
|
+
|
|
216
|
+
Description of test updates.
|
|
217
|
+
|
|
218
|
+
**New Tests:**
|
|
219
|
+
- Test description
|
|
220
|
+
- Coverage area
|
|
221
|
+
|
|
222
|
+
**Updated Tests:**
|
|
223
|
+
- What was updated
|
|
224
|
+
- Why it was updated
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
#### 4. Technical Details (## 🔧 Technical Details)
|
|
230
|
+
|
|
231
|
+
**Purpose:** Provide in-depth technical information for developers
|
|
232
|
+
|
|
233
|
+
**Include:**
|
|
234
|
+
- API changes with TypeScript interfaces
|
|
235
|
+
- Component structure changes
|
|
236
|
+
- Implementation details
|
|
237
|
+
- Code examples showing internal changes
|
|
238
|
+
|
|
239
|
+
**Template:**
|
|
240
|
+
|
|
241
|
+
```markdown
|
|
242
|
+
## 🔧 Technical Details
|
|
243
|
+
|
|
244
|
+
### Component API Changes
|
|
245
|
+
|
|
246
|
+
**Updated Interface:**
|
|
247
|
+
|
|
248
|
+
```typescript
|
|
249
|
+
interface ComponentProps {
|
|
250
|
+
existingProp: string;
|
|
251
|
+
newProp?: boolean; // NEW
|
|
252
|
+
}
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Component Structure
|
|
256
|
+
|
|
257
|
+
Explanation of structural changes with code examples.
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
#### 5. Files Changed (## 📊 Files Changed)
|
|
263
|
+
|
|
264
|
+
**Purpose:** Show what files were modified and the scope of changes
|
|
265
|
+
|
|
266
|
+
**Format:** Use a table with columns: File | Changes | Description
|
|
267
|
+
|
|
268
|
+
```markdown
|
|
269
|
+
## 📊 Files Changed
|
|
270
|
+
|
|
271
|
+
| File | Changes | Description |
|
|
272
|
+
|------|---------|-------------|
|
|
273
|
+
| `src/components/Component.tsx` | 87 +/- | Component implementation |
|
|
274
|
+
| `src/utils/utility.ts` | 24 +/- | Utility function |
|
|
275
|
+
| `docs/GUIDE.md` | 175 + | New documentation |
|
|
276
|
+
|
|
277
|
+
**Total:** X files changed, X insertions(+), X deletions(-)
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
**Rules:**
|
|
281
|
+
- Use inline code for file paths
|
|
282
|
+
- Show +/- for modifications, + for new files, - for deletions
|
|
283
|
+
- Include total summary
|
|
284
|
+
- Order by significance (main changes first)
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
288
|
+
#### 6. Migration Guide (## 🔄 Migration Guide)
|
|
289
|
+
|
|
290
|
+
**Purpose:** Help users upgrade from previous version
|
|
291
|
+
|
|
292
|
+
**Structure:**
|
|
293
|
+
|
|
294
|
+
```markdown
|
|
295
|
+
## 🔄 Migration Guide
|
|
296
|
+
|
|
297
|
+
### For Existing Users
|
|
298
|
+
|
|
299
|
+
**Breaking Changes:**
|
|
300
|
+
|
|
301
|
+
[If none:]
|
|
302
|
+
✅ **No breaking changes** - Backward compatible
|
|
303
|
+
|
|
304
|
+
[If yes:]
|
|
305
|
+
⚠️ **Breaking Changes:**
|
|
306
|
+
|
|
307
|
+
- Change description
|
|
308
|
+
- Required action
|
|
309
|
+
|
|
310
|
+
**To Upgrade:**
|
|
311
|
+
|
|
312
|
+
```typescript
|
|
313
|
+
// Before
|
|
314
|
+
oldCode();
|
|
315
|
+
|
|
316
|
+
// After
|
|
317
|
+
newCode();
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
### For New Users
|
|
321
|
+
|
|
322
|
+
- Getting started guidance
|
|
323
|
+
- Key features to know
|
|
324
|
+
- Important notes
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
329
|
+
#### 7. Benefits Summary (## 🎯 Benefits Summary)
|
|
330
|
+
|
|
331
|
+
**Purpose:** Highlight improvements across different concerns
|
|
332
|
+
|
|
333
|
+
**Required Subsections:**
|
|
334
|
+
|
|
335
|
+
```markdown
|
|
336
|
+
## 🎯 Benefits Summary
|
|
337
|
+
|
|
338
|
+
### Developer Experience
|
|
339
|
+
|
|
340
|
+
- ✅ Benefit related to development workflow
|
|
341
|
+
- ✅ Benefit related to API usage
|
|
342
|
+
- ✅ Benefit related to documentation
|
|
343
|
+
|
|
344
|
+
### User Experience
|
|
345
|
+
|
|
346
|
+
- ✅ Benefit for end users
|
|
347
|
+
- ✅ Benefit for interaction
|
|
348
|
+
- ✅ Benefit for visual design
|
|
349
|
+
|
|
350
|
+
### Code Quality
|
|
351
|
+
|
|
352
|
+
- ✅ Benefit for maintainability
|
|
353
|
+
- ✅ Benefit for performance
|
|
354
|
+
- ✅ Benefit for best practices
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
**Rules:**
|
|
358
|
+
- Always use checkmarks (✅)
|
|
359
|
+
- 3-5 bullets per subsection
|
|
360
|
+
- Be specific and measurable when possible
|
|
361
|
+
- Use blank lines around each subsection
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
#### 8. Installation (## 📦 Installation)
|
|
366
|
+
|
|
367
|
+
```markdown
|
|
368
|
+
## 📦 Installation
|
|
369
|
+
|
|
370
|
+
```bash
|
|
371
|
+
npm install @YOUR_PACKAGE_NAME.X.X.X
|
|
372
|
+
```
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
#### 9. Resources (## 📚 Resources)
|
|
378
|
+
|
|
379
|
+
```markdown
|
|
380
|
+
## 📚 Resources
|
|
381
|
+
|
|
382
|
+
- [Full Changelog](https://github.com/YOUR_REPO_NAME/compare/vPREV...vCURRENT)
|
|
383
|
+
- [Component Documentation](link-if-applicable)
|
|
384
|
+
- [Related Documentation](link-if-applicable)
|
|
385
|
+
- [GitHub Repository](https://github.com/YOUR_REPO_NAME)
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
---
|
|
389
|
+
|
|
390
|
+
#### 10. Footer Metadata
|
|
391
|
+
|
|
392
|
+
```markdown
|
|
393
|
+
---
|
|
394
|
+
|
|
395
|
+
**Version:** X.X.X
|
|
396
|
+
**Release Date:** Month DD, YYYY
|
|
397
|
+
**Previous Version:** X.X.X
|
|
398
|
+
**Type:** Patch/Minor/Major Release
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
---
|
|
402
|
+
|
|
403
|
+
## Summary Release Notes Structure
|
|
404
|
+
|
|
405
|
+
### Key Differences from Detailed Version
|
|
406
|
+
|
|
407
|
+
1. **Shorter sections** - 1-2 paragraphs vs 3-5
|
|
408
|
+
2. **Fewer code examples** - Only essential ones
|
|
409
|
+
3. **Condensed tables** - Simplified information
|
|
410
|
+
4. **No deep technical details** - High-level only
|
|
411
|
+
5. **Bottom Line section** - Single sentence summary at end
|
|
412
|
+
|
|
413
|
+
### Required Sections
|
|
414
|
+
|
|
415
|
+
#### 1. Title and Metadata
|
|
416
|
+
|
|
417
|
+
```markdown
|
|
418
|
+
# Release Summary: vX.X.X
|
|
419
|
+
|
|
420
|
+
**Release Date:** Month DD, YYYY
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
---
|
|
424
|
+
|
|
425
|
+
#### 2. Overview
|
|
426
|
+
|
|
427
|
+
```markdown
|
|
428
|
+
## Overview
|
|
429
|
+
|
|
430
|
+
Single paragraph summarizing the release. [One sentence about the main change or focus].
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
#### 3. Key Changes
|
|
436
|
+
|
|
437
|
+
```markdown
|
|
438
|
+
## Key Changes / Key Feature
|
|
439
|
+
|
|
440
|
+
### Change/Feature Name
|
|
441
|
+
|
|
442
|
+
Brief description (1-2 paragraphs).
|
|
443
|
+
|
|
444
|
+
**Essential Code Example:**
|
|
445
|
+
|
|
446
|
+
```tsx
|
|
447
|
+
// Minimal example showing the change
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
**Key Points:**
|
|
451
|
+
|
|
452
|
+
- Important point 1
|
|
453
|
+
- Important point 2
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
---
|
|
457
|
+
|
|
458
|
+
#### 4. Benefits (Condensed)
|
|
459
|
+
|
|
460
|
+
```markdown
|
|
461
|
+
## Benefits
|
|
462
|
+
|
|
463
|
+
- ✅ Key benefit 1
|
|
464
|
+
- ✅ Key benefit 2
|
|
465
|
+
- ✅ Key benefit 3
|
|
466
|
+
- ✅ Key benefit 4
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
---
|
|
470
|
+
|
|
471
|
+
#### 5. Files Changed (Condensed)
|
|
472
|
+
|
|
473
|
+
```markdown
|
|
474
|
+
## Files Changed
|
|
475
|
+
|
|
476
|
+
X files changed, X insertions(+), X deletions(-)
|
|
477
|
+
|
|
478
|
+
- `file1.tsx` - Brief description
|
|
479
|
+
- `file2.ts` - Brief description
|
|
480
|
+
- `docs/FILE.md` - **New** documentation
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
---
|
|
484
|
+
|
|
485
|
+
#### 6. Migration (Brief)
|
|
486
|
+
|
|
487
|
+
```markdown
|
|
488
|
+
## Migration
|
|
489
|
+
|
|
490
|
+
✅ **No breaking changes** - Backward compatible
|
|
491
|
+
|
|
492
|
+
[Or if changes needed:]
|
|
493
|
+
|
|
494
|
+
**To upgrade:**
|
|
495
|
+
|
|
496
|
+
```typescript
|
|
497
|
+
// Quick example
|
|
498
|
+
```
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
---
|
|
502
|
+
|
|
503
|
+
#### 7. Resources
|
|
504
|
+
|
|
505
|
+
```markdown
|
|
506
|
+
## Resources
|
|
507
|
+
|
|
508
|
+
- [GitHub Comparison](https://github.com/YOUR_REPO_NAME/compare/vPREV...vCURRENT)
|
|
509
|
+
- [Documentation](link-if-applicable)
|
|
510
|
+
- Commit: `hash`
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
---
|
|
514
|
+
|
|
515
|
+
#### 8. Bottom Line
|
|
516
|
+
|
|
517
|
+
```markdown
|
|
518
|
+
---
|
|
519
|
+
|
|
520
|
+
**Bottom Line:** [One sentence summary of what this release achieves and why it matters].
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
---
|
|
524
|
+
|
|
525
|
+
## Formatting Rules
|
|
526
|
+
|
|
527
|
+
### Markdown Linting Compliance
|
|
528
|
+
|
|
529
|
+
**Critical Rules:**
|
|
530
|
+
|
|
531
|
+
1. **MD032** - Lists must have blank lines before and after
|
|
532
|
+
2. **MD031** - Code fences must have blank lines before and after
|
|
533
|
+
3. **MD022** - Headings must have blank lines before and after
|
|
534
|
+
4. **MD026** - No trailing punctuation in headings (colons allowed in sub-headings only)
|
|
535
|
+
5. **MD009** - No trailing spaces
|
|
536
|
+
|
|
537
|
+
**Correct:**
|
|
538
|
+
|
|
539
|
+
```markdown
|
|
540
|
+
Description text.
|
|
541
|
+
|
|
542
|
+
**Label:**
|
|
543
|
+
|
|
544
|
+
- List item 1
|
|
545
|
+
- List item 2
|
|
546
|
+
|
|
547
|
+
Next section.
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
**Incorrect:**
|
|
551
|
+
|
|
552
|
+
```markdown
|
|
553
|
+
Description text.
|
|
554
|
+
**Label:**
|
|
555
|
+
- List item 1
|
|
556
|
+
- List item 2
|
|
557
|
+
Next section.
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
---
|
|
561
|
+
|
|
562
|
+
### Code Blocks
|
|
563
|
+
|
|
564
|
+
**Requirements:**
|
|
565
|
+
- Always specify language: ```tsx```, ```typescript```, ```bash```
|
|
566
|
+
- Use blank lines before and after
|
|
567
|
+
- Include comments for clarity
|
|
568
|
+
- Use single quotes in code examples
|
|
569
|
+
- Show file paths in comments when relevant
|
|
570
|
+
|
|
571
|
+
**Example:**
|
|
572
|
+
|
|
573
|
+
```markdown
|
|
574
|
+
Description text.
|
|
575
|
+
|
|
576
|
+
```tsx
|
|
577
|
+
// src/components/Component.tsx
|
|
578
|
+
import Component from '@mui/material/Component';
|
|
579
|
+
|
|
580
|
+
export const MyComponent = () => {
|
|
581
|
+
return <Component prop='value' />;
|
|
582
|
+
};
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
Next section.
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
---
|
|
589
|
+
|
|
590
|
+
### Tables
|
|
591
|
+
|
|
592
|
+
**Requirements:**
|
|
593
|
+
- Proper alignment with pipes
|
|
594
|
+
- Header row with separators
|
|
595
|
+
- Consistent spacing
|
|
596
|
+
- Use inline code for technical terms
|
|
597
|
+
|
|
598
|
+
**Example:**
|
|
599
|
+
|
|
600
|
+
```markdown
|
|
601
|
+
| Column 1 | Column 2 | Column 3 |
|
|
602
|
+
|----------|----------|----------|
|
|
603
|
+
| `code` | Value | Description |
|
|
604
|
+
| `code2` | Value2 | Description2 |
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
---
|
|
608
|
+
|
|
609
|
+
### Emoji Usage
|
|
610
|
+
|
|
611
|
+
**Standard Emojis:**
|
|
612
|
+
- 🎉 Overview
|
|
613
|
+
- ✨ New Features
|
|
614
|
+
- 🐛 Bug Fixes
|
|
615
|
+
- 🔧 Enhancements/Technical Details/Code Quality
|
|
616
|
+
- 📚 Documentation
|
|
617
|
+
- 🧪 Testing
|
|
618
|
+
- 📊 Files Changed
|
|
619
|
+
- 🔄 Migration Guide
|
|
620
|
+
- 🎯 Benefits Summary
|
|
621
|
+
- 📦 Installation
|
|
622
|
+
- 💡 Use Cases
|
|
623
|
+
- 🎨 Visual Impact
|
|
624
|
+
|
|
625
|
+
**In Lists:**
|
|
626
|
+
- ✅ Positive benefits/features
|
|
627
|
+
- ❌ Anti-patterns/what not to do
|
|
628
|
+
- ⚠️ Warnings/breaking changes
|
|
629
|
+
- 📦 Bundle size
|
|
630
|
+
- ⚡ Performance
|
|
631
|
+
- 🔍 Developer experience
|
|
632
|
+
|
|
633
|
+
---
|
|
634
|
+
|
|
635
|
+
### Text Formatting
|
|
636
|
+
|
|
637
|
+
**Bold (`**text**`):**
|
|
638
|
+
- Important terms
|
|
639
|
+
- Section labels (Before:, After:, Benefits:)
|
|
640
|
+
- Emphasized points
|
|
641
|
+
|
|
642
|
+
**Inline Code (`` `text` ``):**
|
|
643
|
+
- File paths
|
|
644
|
+
- Function names
|
|
645
|
+
- Variable names
|
|
646
|
+
- Property names
|
|
647
|
+
- npm commands
|
|
648
|
+
- Short code snippets
|
|
649
|
+
|
|
650
|
+
**Headings:**
|
|
651
|
+
- Use proper hierarchy (don't skip levels)
|
|
652
|
+
- Title case for main headings
|
|
653
|
+
- Sentence case for descriptive headings
|
|
654
|
+
- No emojis in H1 titles
|
|
655
|
+
- Emojis in H2 section headers
|
|
656
|
+
|
|
657
|
+
---
|
|
658
|
+
|
|
659
|
+
## Content Guidelines
|
|
660
|
+
|
|
661
|
+
### What to Include
|
|
662
|
+
|
|
663
|
+
**Always Include:**
|
|
664
|
+
- Version number and release date
|
|
665
|
+
- Overview of changes
|
|
666
|
+
- Code examples (before/after when applicable)
|
|
667
|
+
- Benefits and impact
|
|
668
|
+
- Migration guidance
|
|
669
|
+
- Files changed
|
|
670
|
+
- Resources and links
|
|
671
|
+
|
|
672
|
+
**Include When Applicable:**
|
|
673
|
+
- Breaking changes
|
|
674
|
+
- New components or utilities
|
|
675
|
+
- API changes
|
|
676
|
+
- Performance improvements
|
|
677
|
+
- Visual changes
|
|
678
|
+
- Test coverage updates
|
|
679
|
+
|
|
680
|
+
### What to Avoid
|
|
681
|
+
|
|
682
|
+
**Don't Include:**
|
|
683
|
+
- Internal implementation details unless relevant
|
|
684
|
+
- Overly technical jargon without explanation
|
|
685
|
+
- Incomplete code examples
|
|
686
|
+
- Vague benefits ("better performance" without context)
|
|
687
|
+
- Personal opinions or subjective statements
|
|
688
|
+
|
|
689
|
+
### Writing Style
|
|
690
|
+
|
|
691
|
+
**Tone:**
|
|
692
|
+
- Professional and clear
|
|
693
|
+
- Factual and specific
|
|
694
|
+
- Helpful and educational
|
|
695
|
+
- Positive but honest
|
|
696
|
+
|
|
697
|
+
**Voice:**
|
|
698
|
+
- Use active voice
|
|
699
|
+
- Be direct and concise
|
|
700
|
+
- Explain "why" not just "what"
|
|
701
|
+
- Provide context for decisions
|
|
702
|
+
|
|
703
|
+
---
|
|
704
|
+
|
|
705
|
+
## Comparison Tables
|
|
706
|
+
|
|
707
|
+
Use comparison tables to show:
|
|
708
|
+
- Before/After values
|
|
709
|
+
- Old/New API
|
|
710
|
+
- Different approaches
|
|
711
|
+
- Feature comparisons
|
|
712
|
+
|
|
713
|
+
**Template:**
|
|
714
|
+
|
|
715
|
+
```markdown
|
|
716
|
+
| Previous | New | Impact |
|
|
717
|
+
|----------|-----|--------|
|
|
718
|
+
| Old value | New value | What this means |
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
---
|
|
722
|
+
|
|
723
|
+
## Code Example Patterns
|
|
724
|
+
|
|
725
|
+
### Before/After Pattern
|
|
726
|
+
|
|
727
|
+
```markdown
|
|
728
|
+
**Before (vX.X.X):**
|
|
729
|
+
|
|
730
|
+
```tsx
|
|
731
|
+
// Old implementation
|
|
732
|
+
const old = 'approach';
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
**After (vX.X.X):**
|
|
736
|
+
|
|
737
|
+
```tsx
|
|
738
|
+
// New implementation
|
|
739
|
+
const new = 'approach';
|
|
740
|
+
```
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
### Usage Example Pattern
|
|
744
|
+
|
|
745
|
+
```markdown
|
|
746
|
+
**Usage:**
|
|
747
|
+
|
|
748
|
+
```tsx
|
|
749
|
+
import { utility } from '@YOUR_PACKAGE_NAME';
|
|
750
|
+
|
|
751
|
+
// Example usage
|
|
752
|
+
const result = utility(input);
|
|
753
|
+
```
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
### Problem/Solution Pattern
|
|
757
|
+
|
|
758
|
+
```markdown
|
|
759
|
+
**Problem:**
|
|
760
|
+
|
|
761
|
+
```tsx
|
|
762
|
+
// Code showing the issue
|
|
763
|
+
```
|
|
764
|
+
|
|
765
|
+
**Solution:**
|
|
766
|
+
|
|
767
|
+
```tsx
|
|
768
|
+
// Code showing the fix
|
|
769
|
+
```
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
---
|
|
773
|
+
|
|
774
|
+
## Version References
|
|
775
|
+
|
|
776
|
+
**In Text:**
|
|
777
|
+
- Always use `v` prefix: v18.31.3
|
|
778
|
+
- Reference previous version in comparisons
|
|
779
|
+
- Include version in code comments when showing changes
|
|
780
|
+
|
|
781
|
+
**In Links:**
|
|
782
|
+
- GitHub comparison: `vPREV...vCURRENT`
|
|
783
|
+
- Use full version numbers
|
|
784
|
+
- Link to specific commits when relevant
|
|
785
|
+
|
|
786
|
+
---
|
|
787
|
+
|
|
788
|
+
## Validation Checklist
|
|
789
|
+
|
|
790
|
+
Before publishing, verify:
|
|
791
|
+
|
|
792
|
+
### Detailed Release Notes
|
|
793
|
+
|
|
794
|
+
- [ ] Title follows format: "# Release Notes: vX.X.X"
|
|
795
|
+
- [ ] Release date included and formatted correctly
|
|
796
|
+
- [ ] Overview section (2-3 paragraphs)
|
|
797
|
+
- [ ] All changes categorized appropriately
|
|
798
|
+
- [ ] Code examples include language specification
|
|
799
|
+
- [ ] Before/After examples where applicable
|
|
800
|
+
- [ ] Benefits listed with checkmarks
|
|
801
|
+
- [ ] Files changed table included
|
|
802
|
+
- [ ] Migration guide included
|
|
803
|
+
- [ ] Benefits summary with 3 subsections
|
|
804
|
+
- [ ] Installation section
|
|
805
|
+
- [ ] Resources section with links
|
|
806
|
+
- [ ] Footer metadata
|
|
807
|
+
- [ ] No markdown linting errors
|
|
808
|
+
- [ ] All blank lines properly placed
|
|
809
|
+
- [ ] Consistent emoji usage
|
|
810
|
+
|
|
811
|
+
### Summary Release Notes
|
|
812
|
+
|
|
813
|
+
- [ ] Title follows format: "# Release Summary: vX.X.X"
|
|
814
|
+
- [ ] Overview is single paragraph
|
|
815
|
+
- [ ] Key changes highlighted
|
|
816
|
+
- [ ] Essential code examples only
|
|
817
|
+
- [ ] Benefits condensed to single list
|
|
818
|
+
- [ ] Files changed condensed
|
|
819
|
+
- [ ] Migration brief
|
|
820
|
+
- [ ] Bottom Line section at end
|
|
821
|
+
- [ ] No markdown linting errors
|
|
822
|
+
|
|
823
|
+
---
|
|
824
|
+
|
|
825
|
+
## Example Patterns by Release Type
|
|
826
|
+
|
|
827
|
+
### Patch Release Example
|
|
828
|
+
|
|
829
|
+
**Focus:** Bug fixes, minor improvements, documentation
|
|
830
|
+
|
|
831
|
+
**Key Sections:**
|
|
832
|
+
- Bug Fixes (primary)
|
|
833
|
+
- Code Quality Improvements
|
|
834
|
+
- Documentation (if applicable)
|
|
835
|
+
- Migration (emphasize no breaking changes)
|
|
836
|
+
|
|
837
|
+
### Minor Release Example
|
|
838
|
+
|
|
839
|
+
**Focus:** New features, enhancements
|
|
840
|
+
|
|
841
|
+
**Key Sections:**
|
|
842
|
+
- New Features (primary)
|
|
843
|
+
- Enhancements
|
|
844
|
+
- Documentation
|
|
845
|
+
- Testing
|
|
846
|
+
- Use Cases/Examples
|
|
847
|
+
- Migration (new capabilities)
|
|
848
|
+
|
|
849
|
+
### Major Release Example
|
|
850
|
+
|
|
851
|
+
**Focus:** Breaking changes, major features
|
|
852
|
+
|
|
853
|
+
**Key Sections:**
|
|
854
|
+
- Breaking Changes (highlight at top)
|
|
855
|
+
- New Features
|
|
856
|
+
- Migration Guide (comprehensive)
|
|
857
|
+
- Benefits Summary (emphasize value of upgrade)
|
|
858
|
+
|
|
859
|
+
---
|
|
860
|
+
|
|
861
|
+
## Cross-References
|
|
862
|
+
|
|
863
|
+
**Link to:**
|
|
864
|
+
- Related GitHub issues
|
|
865
|
+
- Related pull requests
|
|
866
|
+
- Component documentation
|
|
867
|
+
- External documentation (MUI, etc.)
|
|
868
|
+
- Previous release notes
|
|
869
|
+
- Migration guides
|
|
870
|
+
|
|
871
|
+
**Format:**
|
|
872
|
+
|
|
873
|
+
```markdown
|
|
874
|
+
- [Issue #123](url) - Description
|
|
875
|
+
- [PR #456](url) - Description
|
|
876
|
+
- [Component Docs](url)
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
---
|
|
880
|
+
|
|
881
|
+
## Final Notes
|
|
882
|
+
|
|
883
|
+
- **Consistency is key** - Follow the established patterns
|
|
884
|
+
- **Be thorough** - Include all relevant information
|
|
885
|
+
- **Be clear** - Write for developers of all skill levels
|
|
886
|
+
- **Be helpful** - Provide migration guidance and examples
|
|
887
|
+
- **Validate** - Check markdown linting before committing
|
|
888
|
+
- **Review examples** - Reference existing release notes in `docs/published/`
|