codingwithagent 1.0.0 → 1.1.1
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/CHANGELOG.md +28 -0
- package/LICENSE +21 -21
- package/README.md +131 -37
- package/bin/init.js +257 -257
- package/package.json +56 -56
- package/templates/accessibility/.cursorrules +342 -342
- package/templates/accessibility/README.md +47 -47
- package/templates/antigravity/accessibility/.agent/rules/accessibility.md +501 -501
- package/templates/antigravity/accessibility/.agent/rules/aria-patterns.md +568 -568
- package/templates/antigravity/accessibility/.agent/rules/wcag-standard.md +225 -225
- package/templates/antigravity/accessibility/README.md +42 -42
- package/templates/antigravity/minimal/.agent/rules/accessibility.md +53 -53
- package/templates/antigravity/minimal/.agent/rules/code-quality.md +86 -86
- package/templates/antigravity/minimal/.agent/rules/react-components.md +164 -164
- package/templates/antigravity/minimal/README.md +34 -34
- package/templates/antigravity/standard/.agent/rules/accessibility.md +98 -98
- package/templates/antigravity/standard/.agent/rules/code-quality.md +166 -166
- package/templates/antigravity/standard/.agent/rules/pull-request-review.md +192 -192
- package/templates/antigravity/standard/.agent/rules/react-components.md +204 -204
- package/templates/antigravity/standard/.agent/rules/testing.md +197 -197
- package/templates/antigravity/standard/README.md +39 -39
- package/templates/antigravity/strict/.agent/README.md +46 -46
- package/templates/antigravity/strict/.agent/rules/accessibility.md +199 -199
- package/templates/antigravity/strict/.agent/rules/code-quality.md +268 -268
- package/templates/antigravity/strict/.agent/rules/pull-request-review.md +114 -114
- package/templates/antigravity/strict/.agent/rules/react-components.md +423 -423
- package/templates/antigravity/strict/.agent/rules/security.md +483 -483
- package/templates/antigravity/strict/.agent/rules/testing.md +280 -280
- package/templates/minimal/.cursorrules +48 -48
- package/templates/minimal/README.md +40 -40
- package/templates/standard/.cursorrules +184 -184
- package/templates/standard/README.md +43 -43
- package/templates/strict/.cursorrules +227 -227
- package/templates/strict/README.md +47 -47
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
---
|
|
2
|
-
trigger: always_on
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Pull Request Standards - STRICT (Maximum Enforcement)
|
|
6
|
-
|
|
7
|
-
## PR Requirements - ALL MANDATORY
|
|
8
|
-
|
|
9
|
-
### Pre-PR Checklist - MUST BE COMPLETE
|
|
10
|
-
|
|
11
|
-
- [ ] ALL tests pass locally (100% pass rate)
|
|
12
|
-
- [ ] ZERO linting errors or warnings
|
|
13
|
-
- [ ] Coverage at 90%+ (component coverage 100%)
|
|
14
|
-
- [ ] Bundle size within budget (<200KB gzipped)
|
|
15
|
-
- [ ] Performance tests pass (Lighthouse >90)
|
|
16
|
-
- [ ] Security scan passes (zero vulnerabilities)
|
|
17
|
-
- [ ] Accessibility audit passes (Lighthouse 100)
|
|
18
|
-
- [ ] Type checking passes (zero TypeScript errors)
|
|
19
|
-
- [ ] Self-review completed with full checklist
|
|
20
|
-
- [ ] Documentation updated (README, JSDoc)
|
|
21
|
-
- [ ] CHANGELOG.md updated
|
|
22
|
-
- [ ] Migration guide written (if breaking changes)
|
|
23
|
-
- [ ] Desk check completed with accessibility tools
|
|
24
|
-
- [ ] Screen reader testing completed (for UI changes)
|
|
25
|
-
|
|
26
|
-
### PR Description - STRICT FORMAT REQUIRED
|
|
27
|
-
|
|
28
|
-
```markdown
|
|
29
|
-
## Description
|
|
30
|
-
|
|
31
|
-
[Clear explanation of changes and WHY, not just WHAT]
|
|
32
|
-
|
|
33
|
-
## Type of Change
|
|
34
|
-
|
|
35
|
-
- [ ] Bug fix
|
|
36
|
-
- [ ] New feature
|
|
37
|
-
- [ ] Breaking change
|
|
38
|
-
- [ ] Documentation update
|
|
39
|
-
- [ ] Performance improvement
|
|
40
|
-
- [ ] Refactoring
|
|
41
|
-
|
|
42
|
-
## Related Issues
|
|
43
|
-
|
|
44
|
-
Fixes #[issue-number]
|
|
45
|
-
Relates to #[issue-number]
|
|
46
|
-
|
|
47
|
-
## Testing
|
|
48
|
-
|
|
49
|
-
### Test Coverage
|
|
50
|
-
|
|
51
|
-
- Previous: X%
|
|
52
|
-
- Current: Y%
|
|
53
|
-
- Change: +Z%
|
|
54
|
-
|
|
55
|
-
### Manual Testing
|
|
56
|
-
|
|
57
|
-
- [ ] Tested on Chrome
|
|
58
|
-
- [ ] Tested on Firefox
|
|
59
|
-
- [ ] Tested on Safari
|
|
60
|
-
- [ ] Tested on Edge
|
|
61
|
-
- [ ] Tested on mobile (iOS)
|
|
62
|
-
- [ ] Tested on mobile (Android)
|
|
63
|
-
- [ ] Keyboard navigation tested
|
|
64
|
-
- [ ] Screen reader tested (NVDA/VoiceOver)
|
|
65
|
-
|
|
66
|
-
### Testing Instructions
|
|
67
|
-
|
|
68
|
-
1. Step-by-step instructions to test the changes
|
|
69
|
-
2. Include specific test cases
|
|
70
|
-
3. Include edge cases tested
|
|
71
|
-
|
|
72
|
-
## Performance Impact
|
|
73
|
-
|
|
74
|
-
- Bundle size change: +X KB
|
|
75
|
-
- Lighthouse score: X/100
|
|
76
|
-
- Load time impact: +X ms
|
|
77
|
-
- Render time: X ms
|
|
78
|
-
|
|
79
|
-
## Accessibility Impact
|
|
80
|
-
|
|
81
|
-
- Lighthouse accessibility score: 100/100
|
|
82
|
-
- Keyboard navigation: Fully supported
|
|
83
|
-
- Screen reader: Tested with [NVDA/VoiceOver]
|
|
84
|
-
- Color contrast: All ratios >4.5:1
|
|
85
|
-
|
|
86
|
-
## Screenshots/Videos
|
|
87
|
-
|
|
88
|
-
[Include for ALL UI changes]
|
|
89
|
-
|
|
90
|
-
### Before
|
|
91
|
-
|
|
92
|
-
[Screenshot/video of old behavior]
|
|
93
|
-
|
|
94
|
-
### After
|
|
95
|
-
|
|
96
|
-
[Screenshot/video of new behavior]
|
|
97
|
-
|
|
98
|
-
## Breaking Changes
|
|
99
|
-
|
|
100
|
-
[If any, list them with migration instructions]
|
|
101
|
-
|
|
102
|
-
## Checklist
|
|
103
|
-
|
|
104
|
-
- [ ] Code follows style guidelines
|
|
105
|
-
- [ ] Self-review completed
|
|
106
|
-
- [ ] Comments added for complex logic
|
|
107
|
-
- [ ] Documentation updated
|
|
108
|
-
- [ ] No new warnings
|
|
109
|
-
- [ ] Tests added/updated
|
|
110
|
-
- [ ] All tests pass
|
|
111
|
-
- [ ] Coverage maintained/increased
|
|
112
|
-
- [ ] Accessibility tested
|
|
113
|
-
- [ ] Performance tested
|
|
114
|
-
```
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Pull Request Standards - STRICT (Maximum Enforcement)
|
|
6
|
+
|
|
7
|
+
## PR Requirements - ALL MANDATORY
|
|
8
|
+
|
|
9
|
+
### Pre-PR Checklist - MUST BE COMPLETE
|
|
10
|
+
|
|
11
|
+
- [ ] ALL tests pass locally (100% pass rate)
|
|
12
|
+
- [ ] ZERO linting errors or warnings
|
|
13
|
+
- [ ] Coverage at 90%+ (component coverage 100%)
|
|
14
|
+
- [ ] Bundle size within budget (<200KB gzipped)
|
|
15
|
+
- [ ] Performance tests pass (Lighthouse >90)
|
|
16
|
+
- [ ] Security scan passes (zero vulnerabilities)
|
|
17
|
+
- [ ] Accessibility audit passes (Lighthouse 100)
|
|
18
|
+
- [ ] Type checking passes (zero TypeScript errors)
|
|
19
|
+
- [ ] Self-review completed with full checklist
|
|
20
|
+
- [ ] Documentation updated (README, JSDoc)
|
|
21
|
+
- [ ] CHANGELOG.md updated
|
|
22
|
+
- [ ] Migration guide written (if breaking changes)
|
|
23
|
+
- [ ] Desk check completed with accessibility tools
|
|
24
|
+
- [ ] Screen reader testing completed (for UI changes)
|
|
25
|
+
|
|
26
|
+
### PR Description - STRICT FORMAT REQUIRED
|
|
27
|
+
|
|
28
|
+
```markdown
|
|
29
|
+
## Description
|
|
30
|
+
|
|
31
|
+
[Clear explanation of changes and WHY, not just WHAT]
|
|
32
|
+
|
|
33
|
+
## Type of Change
|
|
34
|
+
|
|
35
|
+
- [ ] Bug fix
|
|
36
|
+
- [ ] New feature
|
|
37
|
+
- [ ] Breaking change
|
|
38
|
+
- [ ] Documentation update
|
|
39
|
+
- [ ] Performance improvement
|
|
40
|
+
- [ ] Refactoring
|
|
41
|
+
|
|
42
|
+
## Related Issues
|
|
43
|
+
|
|
44
|
+
Fixes #[issue-number]
|
|
45
|
+
Relates to #[issue-number]
|
|
46
|
+
|
|
47
|
+
## Testing
|
|
48
|
+
|
|
49
|
+
### Test Coverage
|
|
50
|
+
|
|
51
|
+
- Previous: X%
|
|
52
|
+
- Current: Y%
|
|
53
|
+
- Change: +Z%
|
|
54
|
+
|
|
55
|
+
### Manual Testing
|
|
56
|
+
|
|
57
|
+
- [ ] Tested on Chrome
|
|
58
|
+
- [ ] Tested on Firefox
|
|
59
|
+
- [ ] Tested on Safari
|
|
60
|
+
- [ ] Tested on Edge
|
|
61
|
+
- [ ] Tested on mobile (iOS)
|
|
62
|
+
- [ ] Tested on mobile (Android)
|
|
63
|
+
- [ ] Keyboard navigation tested
|
|
64
|
+
- [ ] Screen reader tested (NVDA/VoiceOver)
|
|
65
|
+
|
|
66
|
+
### Testing Instructions
|
|
67
|
+
|
|
68
|
+
1. Step-by-step instructions to test the changes
|
|
69
|
+
2. Include specific test cases
|
|
70
|
+
3. Include edge cases tested
|
|
71
|
+
|
|
72
|
+
## Performance Impact
|
|
73
|
+
|
|
74
|
+
- Bundle size change: +X KB
|
|
75
|
+
- Lighthouse score: X/100
|
|
76
|
+
- Load time impact: +X ms
|
|
77
|
+
- Render time: X ms
|
|
78
|
+
|
|
79
|
+
## Accessibility Impact
|
|
80
|
+
|
|
81
|
+
- Lighthouse accessibility score: 100/100
|
|
82
|
+
- Keyboard navigation: Fully supported
|
|
83
|
+
- Screen reader: Tested with [NVDA/VoiceOver]
|
|
84
|
+
- Color contrast: All ratios >4.5:1
|
|
85
|
+
|
|
86
|
+
## Screenshots/Videos
|
|
87
|
+
|
|
88
|
+
[Include for ALL UI changes]
|
|
89
|
+
|
|
90
|
+
### Before
|
|
91
|
+
|
|
92
|
+
[Screenshot/video of old behavior]
|
|
93
|
+
|
|
94
|
+
### After
|
|
95
|
+
|
|
96
|
+
[Screenshot/video of new behavior]
|
|
97
|
+
|
|
98
|
+
## Breaking Changes
|
|
99
|
+
|
|
100
|
+
[If any, list them with migration instructions]
|
|
101
|
+
|
|
102
|
+
## Checklist
|
|
103
|
+
|
|
104
|
+
- [ ] Code follows style guidelines
|
|
105
|
+
- [ ] Self-review completed
|
|
106
|
+
- [ ] Comments added for complex logic
|
|
107
|
+
- [ ] Documentation updated
|
|
108
|
+
- [ ] No new warnings
|
|
109
|
+
- [ ] Tests added/updated
|
|
110
|
+
- [ ] All tests pass
|
|
111
|
+
- [ ] Coverage maintained/increased
|
|
112
|
+
- [ ] Accessibility tested
|
|
113
|
+
- [ ] Performance tested
|
|
114
|
+
```
|