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.
Files changed (34) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/LICENSE +21 -21
  3. package/README.md +131 -37
  4. package/bin/init.js +257 -257
  5. package/package.json +56 -56
  6. package/templates/accessibility/.cursorrules +342 -342
  7. package/templates/accessibility/README.md +47 -47
  8. package/templates/antigravity/accessibility/.agent/rules/accessibility.md +501 -501
  9. package/templates/antigravity/accessibility/.agent/rules/aria-patterns.md +568 -568
  10. package/templates/antigravity/accessibility/.agent/rules/wcag-standard.md +225 -225
  11. package/templates/antigravity/accessibility/README.md +42 -42
  12. package/templates/antigravity/minimal/.agent/rules/accessibility.md +53 -53
  13. package/templates/antigravity/minimal/.agent/rules/code-quality.md +86 -86
  14. package/templates/antigravity/minimal/.agent/rules/react-components.md +164 -164
  15. package/templates/antigravity/minimal/README.md +34 -34
  16. package/templates/antigravity/standard/.agent/rules/accessibility.md +98 -98
  17. package/templates/antigravity/standard/.agent/rules/code-quality.md +166 -166
  18. package/templates/antigravity/standard/.agent/rules/pull-request-review.md +192 -192
  19. package/templates/antigravity/standard/.agent/rules/react-components.md +204 -204
  20. package/templates/antigravity/standard/.agent/rules/testing.md +197 -197
  21. package/templates/antigravity/standard/README.md +39 -39
  22. package/templates/antigravity/strict/.agent/README.md +46 -46
  23. package/templates/antigravity/strict/.agent/rules/accessibility.md +199 -199
  24. package/templates/antigravity/strict/.agent/rules/code-quality.md +268 -268
  25. package/templates/antigravity/strict/.agent/rules/pull-request-review.md +114 -114
  26. package/templates/antigravity/strict/.agent/rules/react-components.md +423 -423
  27. package/templates/antigravity/strict/.agent/rules/security.md +483 -483
  28. package/templates/antigravity/strict/.agent/rules/testing.md +280 -280
  29. package/templates/minimal/.cursorrules +48 -48
  30. package/templates/minimal/README.md +40 -40
  31. package/templates/standard/.cursorrules +184 -184
  32. package/templates/standard/README.md +43 -43
  33. package/templates/strict/.cursorrules +227 -227
  34. 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
+ ```