create-dev-agents 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/LICENSE +21 -0
- package/README.md +263 -0
- package/bin/cli.js +74 -0
- package/package.json +54 -0
- package/src/index.js +339 -0
- package/templates/CLAUDE.md +38 -0
- package/templates/agents/code-review/review.md +158 -0
- package/templates/agents/feature/develop.md +113 -0
- package/templates/agents/git/commit-pr.md +222 -0
- package/templates/agents/jira/ticket.md +148 -0
- package/templates/agents/project/scaffold.md +118 -0
- package/templates/commands/commit.md +130 -0
- package/templates/commands/feature.md +99 -0
- package/templates/commands/new-project.md +325 -0
- package/templates/commands/pr.md +175 -0
- package/templates/commands/review.md +200 -0
- package/templates/commands/ticket.md +135 -0
- package/templates/commit/examples.md +149 -0
- package/templates/jira/bug.md +49 -0
- package/templates/jira/story.md +36 -0
- package/templates/mcp-settings.json +32 -0
- package/templates/pr/bugfix.md +57 -0
- package/templates/pr/feature.md +48 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# /ticket - Create a Jira Ticket
|
|
2
|
+
|
|
3
|
+
Create well-structured Jira tickets with proper formatting and all required fields.
|
|
4
|
+
|
|
5
|
+
## Instructions
|
|
6
|
+
|
|
7
|
+
When the user runs `/ticket`:
|
|
8
|
+
|
|
9
|
+
### 1. Ticket Type
|
|
10
|
+
Ask: "What type of ticket?"
|
|
11
|
+
- Story - User-facing feature
|
|
12
|
+
- Bug - Something broken
|
|
13
|
+
- Task - Technical work
|
|
14
|
+
- Epic - Large initiative
|
|
15
|
+
- Sub-task - Part of larger story
|
|
16
|
+
|
|
17
|
+
### 2. Basic Information
|
|
18
|
+
Gather:
|
|
19
|
+
- **Summary** (required): Clear, concise title
|
|
20
|
+
- **Project**: Project key (e.g., MIND, VAULT)
|
|
21
|
+
- **Priority**: Highest, High, Medium, Low, Lowest
|
|
22
|
+
|
|
23
|
+
### 3. Description
|
|
24
|
+
Based on ticket type, prompt for:
|
|
25
|
+
|
|
26
|
+
**For Story:**
|
|
27
|
+
- User story format: "As a [user], I want [goal] so that [benefit]"
|
|
28
|
+
- Acceptance criteria
|
|
29
|
+
- Design links (Figma, Stitch)
|
|
30
|
+
- Technical considerations
|
|
31
|
+
|
|
32
|
+
**For Bug:**
|
|
33
|
+
- Steps to reproduce
|
|
34
|
+
- Expected behavior
|
|
35
|
+
- Actual behavior
|
|
36
|
+
- Environment details
|
|
37
|
+
- Screenshots/logs
|
|
38
|
+
|
|
39
|
+
**For Task:**
|
|
40
|
+
- What needs to be done
|
|
41
|
+
- Technical details
|
|
42
|
+
- Dependencies
|
|
43
|
+
|
|
44
|
+
### 4. Additional Fields
|
|
45
|
+
Ask about:
|
|
46
|
+
- Labels (frontend, backend, mobile, etc.)
|
|
47
|
+
- Sprint assignment
|
|
48
|
+
- Story points
|
|
49
|
+
- Epic link
|
|
50
|
+
- Assignee
|
|
51
|
+
|
|
52
|
+
### 5. Generate Ticket
|
|
53
|
+
Format the ticket content:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
## Description
|
|
57
|
+
[Formatted description based on type]
|
|
58
|
+
|
|
59
|
+
## Acceptance Criteria
|
|
60
|
+
- [ ] Criterion 1
|
|
61
|
+
- [ ] Criterion 2
|
|
62
|
+
|
|
63
|
+
## Technical Notes
|
|
64
|
+
[Implementation hints]
|
|
65
|
+
|
|
66
|
+
## Out of Scope
|
|
67
|
+
[Explicit exclusions]
|
|
68
|
+
|
|
69
|
+
## Resources
|
|
70
|
+
[Links to designs, docs]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 6. Create in Jira
|
|
74
|
+
If Jira MCP is configured:
|
|
75
|
+
- Show preview
|
|
76
|
+
- Ask for confirmation
|
|
77
|
+
- Create ticket
|
|
78
|
+
- Return ticket link
|
|
79
|
+
|
|
80
|
+
If not configured:
|
|
81
|
+
- Output formatted content
|
|
82
|
+
- Provide copy-paste ready format
|
|
83
|
+
|
|
84
|
+
## Templates
|
|
85
|
+
|
|
86
|
+
### Story Template
|
|
87
|
+
```
|
|
88
|
+
## User Story
|
|
89
|
+
As a [user type], I want [capability] so that [benefit].
|
|
90
|
+
|
|
91
|
+
## Acceptance Criteria
|
|
92
|
+
- [ ] Given [context], when [action], then [result]
|
|
93
|
+
- [ ] Given [context], when [action], then [result]
|
|
94
|
+
|
|
95
|
+
## Design
|
|
96
|
+
- Figma: [link]
|
|
97
|
+
|
|
98
|
+
## Technical Notes
|
|
99
|
+
- [Note 1]
|
|
100
|
+
- [Note 2]
|
|
101
|
+
|
|
102
|
+
## Definition of Done
|
|
103
|
+
- [ ] Code complete and reviewed
|
|
104
|
+
- [ ] Tests written and passing
|
|
105
|
+
- [ ] Documentation updated
|
|
106
|
+
- [ ] Deployed to staging
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Bug Template
|
|
110
|
+
```
|
|
111
|
+
## Bug Summary
|
|
112
|
+
[Brief description]
|
|
113
|
+
|
|
114
|
+
## Steps to Reproduce
|
|
115
|
+
1. [Step]
|
|
116
|
+
2. [Step]
|
|
117
|
+
3. [Step]
|
|
118
|
+
|
|
119
|
+
## Expected Behavior
|
|
120
|
+
[What should happen]
|
|
121
|
+
|
|
122
|
+
## Actual Behavior
|
|
123
|
+
[What happens instead]
|
|
124
|
+
|
|
125
|
+
## Environment
|
|
126
|
+
- Platform: iOS/Android/Web
|
|
127
|
+
- Version: X.X.X
|
|
128
|
+
- Device: [if applicable]
|
|
129
|
+
|
|
130
|
+
## Severity
|
|
131
|
+
[Critical/Major/Minor/Trivial]
|
|
132
|
+
|
|
133
|
+
## Workaround
|
|
134
|
+
[If any exists]
|
|
135
|
+
```
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# Commit Message Examples
|
|
2
|
+
|
|
3
|
+
## Feature Commits
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
feat(auth): add Google OAuth login
|
|
7
|
+
|
|
8
|
+
Implement social authentication using Google OAuth 2.0.
|
|
9
|
+
- Add GoogleSignIn button component
|
|
10
|
+
- Handle OAuth callback and token exchange
|
|
11
|
+
- Store refresh token securely in expo-secure-store
|
|
12
|
+
|
|
13
|
+
Closes #123
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
feat(notes): add markdown preview toggle
|
|
18
|
+
|
|
19
|
+
Allow users to switch between edit and preview modes
|
|
20
|
+
in the note editor with animated transition.
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
feat(search): implement full-text search with FTS5
|
|
25
|
+
|
|
26
|
+
Add SQLite FTS5 virtual table for fast full-text search
|
|
27
|
+
across note titles and content with relevance ranking.
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Bug Fix Commits
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
fix(notes): prevent crash when note content is null
|
|
34
|
+
|
|
35
|
+
Added null check before rendering markdown preview.
|
|
36
|
+
Default to empty string when content is undefined.
|
|
37
|
+
|
|
38
|
+
Fixes #456
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
fix(auth): handle expired token refresh correctly
|
|
43
|
+
|
|
44
|
+
Token refresh was failing silently, causing logout.
|
|
45
|
+
Now properly queues requests and retries after refresh.
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
fix(navigation): resolve back button not working on Android
|
|
50
|
+
|
|
51
|
+
Hardware back button was being captured but not handled.
|
|
52
|
+
Added proper navigation listener for Android back press.
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Refactor Commits
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
refactor(api): extract common fetch logic into useApi hook
|
|
59
|
+
|
|
60
|
+
Reduce code duplication by centralizing fetch logic,
|
|
61
|
+
error handling, and loading state management.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
refactor(store): migrate from Redux to Zustand
|
|
66
|
+
|
|
67
|
+
Simplify state management with Zustand:
|
|
68
|
+
- Reduce boilerplate by 60%
|
|
69
|
+
- Improve TypeScript inference
|
|
70
|
+
- Remove redux-thunk dependency
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Performance Commits
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
perf(list): virtualize note list for large datasets
|
|
77
|
+
|
|
78
|
+
Replace ScrollView with FlatList and implement
|
|
79
|
+
getItemLayout for consistent 60fps scrolling
|
|
80
|
+
with 1000+ notes.
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
perf(images): lazy load images in note cards
|
|
85
|
+
|
|
86
|
+
Defer image loading until cards are near viewport.
|
|
87
|
+
Reduces initial render time by 40%.
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## Documentation Commits
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
docs(readme): update installation instructions
|
|
94
|
+
|
|
95
|
+
Add section for M1 Mac setup and common troubleshooting
|
|
96
|
+
steps for Expo development environment.
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
docs(api): add JSDoc comments to note service
|
|
101
|
+
|
|
102
|
+
Document all public methods with parameters,
|
|
103
|
+
return types, and usage examples.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Test Commits
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
test(button): add unit tests for disabled state
|
|
110
|
+
|
|
111
|
+
Cover all button variants in disabled state:
|
|
112
|
+
- Visual appearance (opacity)
|
|
113
|
+
- Interaction blocked (onPress not called)
|
|
114
|
+
- Accessibility state updated
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
test(notes): add integration tests for CRUD operations
|
|
119
|
+
|
|
120
|
+
Test full lifecycle: create, read, update, delete
|
|
121
|
+
with database mocking and state verification.
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Chore Commits
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
chore(deps): update expo to v51
|
|
128
|
+
|
|
129
|
+
Update Expo SDK and related dependencies.
|
|
130
|
+
Run expo-doctor and fix compatibility issues.
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
chore(ci): add PR preview builds
|
|
135
|
+
|
|
136
|
+
Configure EAS Update for automatic preview builds
|
|
137
|
+
on pull requests with QR code comments.
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
## Breaking Change Commits
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
feat(api)!: change response format to JSON:API spec
|
|
144
|
+
|
|
145
|
+
BREAKING CHANGE: API responses now follow JSON:API spec.
|
|
146
|
+
All clients must update to handle new response structure.
|
|
147
|
+
|
|
148
|
+
Migration guide: docs/migration-v2.md
|
|
149
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
## Bug Summary
|
|
2
|
+
<!-- Brief description of the bug -->
|
|
3
|
+
|
|
4
|
+
## Steps to Reproduce
|
|
5
|
+
1.
|
|
6
|
+
2.
|
|
7
|
+
3.
|
|
8
|
+
|
|
9
|
+
## Expected Behavior
|
|
10
|
+
<!-- What should happen -->
|
|
11
|
+
|
|
12
|
+
## Actual Behavior
|
|
13
|
+
<!-- What happens instead -->
|
|
14
|
+
|
|
15
|
+
## Environment
|
|
16
|
+
- **Platform:** iOS / Android / Both
|
|
17
|
+
- **OS Version:**
|
|
18
|
+
- **App Version:**
|
|
19
|
+
- **Device:**
|
|
20
|
+
|
|
21
|
+
## Screenshots/Videos
|
|
22
|
+
<!-- Visual evidence of the bug -->
|
|
23
|
+
|
|
24
|
+
## Severity
|
|
25
|
+
- [ ] Critical - App crash, data loss
|
|
26
|
+
- [ ] Major - Feature broken, no workaround
|
|
27
|
+
- [ ] Minor - Feature impaired, has workaround
|
|
28
|
+
- [ ] Trivial - Cosmetic issue
|
|
29
|
+
|
|
30
|
+
## Frequency
|
|
31
|
+
- [ ] Always reproducible
|
|
32
|
+
- [ ] Intermittent
|
|
33
|
+
- [ ] Rare
|
|
34
|
+
|
|
35
|
+
## Logs/Error Messages
|
|
36
|
+
```
|
|
37
|
+
<!-- Paste relevant logs here -->
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Possible Cause
|
|
41
|
+
<!-- If known or suspected -->
|
|
42
|
+
|
|
43
|
+
## Workaround
|
|
44
|
+
<!-- If any temporary workaround exists -->
|
|
45
|
+
|
|
46
|
+
## Acceptance Criteria
|
|
47
|
+
- [ ] Bug no longer reproducible
|
|
48
|
+
- [ ] Regression test added
|
|
49
|
+
- [ ] No side effects introduced
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
## User Story
|
|
2
|
+
As a **[user type]**, I want **[capability]** so that **[benefit]**.
|
|
3
|
+
|
|
4
|
+
## Description
|
|
5
|
+
<!-- Detailed description of the feature -->
|
|
6
|
+
|
|
7
|
+
## Acceptance Criteria
|
|
8
|
+
- [ ] Given [context], when [action], then [expected result]
|
|
9
|
+
- [ ] Given [context], when [action], then [expected result]
|
|
10
|
+
- [ ] Given [context], when [action], then [expected result]
|
|
11
|
+
|
|
12
|
+
## Design
|
|
13
|
+
- Figma: [link]
|
|
14
|
+
- Stitch: [link]
|
|
15
|
+
|
|
16
|
+
## Technical Notes
|
|
17
|
+
<!-- Implementation hints and considerations -->
|
|
18
|
+
-
|
|
19
|
+
-
|
|
20
|
+
|
|
21
|
+
## Out of Scope
|
|
22
|
+
<!-- What is explicitly NOT included -->
|
|
23
|
+
-
|
|
24
|
+
|
|
25
|
+
## Dependencies
|
|
26
|
+
<!-- Other tickets or external dependencies -->
|
|
27
|
+
-
|
|
28
|
+
|
|
29
|
+
## Definition of Done
|
|
30
|
+
- [ ] Code complete and follows conventions
|
|
31
|
+
- [ ] Unit tests written and passing
|
|
32
|
+
- [ ] Code reviewed and approved
|
|
33
|
+
- [ ] Documentation updated
|
|
34
|
+
- [ ] Tested on iOS and Android
|
|
35
|
+
- [ ] Accessibility verified
|
|
36
|
+
- [ ] Merged to main branch
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"mcpServers": {
|
|
3
|
+
"git": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": ["-y", "@anthropic-ai/mcp-server-git"],
|
|
6
|
+
"description": "Git operations - commits, branches, diffs"
|
|
7
|
+
},
|
|
8
|
+
"github": {
|
|
9
|
+
"command": "npx",
|
|
10
|
+
"args": ["-y", "@anthropic-ai/mcp-server-github"],
|
|
11
|
+
"env": {
|
|
12
|
+
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
13
|
+
},
|
|
14
|
+
"description": "GitHub operations - PRs, issues, reviews"
|
|
15
|
+
},
|
|
16
|
+
"jira": {
|
|
17
|
+
"command": "npx",
|
|
18
|
+
"args": ["-y", "mcp-server-atlassian"],
|
|
19
|
+
"env": {
|
|
20
|
+
"ATLASSIAN_HOST": "${JIRA_HOST}",
|
|
21
|
+
"ATLASSIAN_EMAIL": "${JIRA_EMAIL}",
|
|
22
|
+
"ATLASSIAN_API_TOKEN": "${JIRA_API_TOKEN}"
|
|
23
|
+
},
|
|
24
|
+
"description": "Jira operations - tickets, sprints, boards"
|
|
25
|
+
},
|
|
26
|
+
"filesystem": {
|
|
27
|
+
"command": "npx",
|
|
28
|
+
"args": ["-y", "@anthropic-ai/mcp-server-filesystem", "."],
|
|
29
|
+
"description": "File system operations"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
<!-- Brief description of what this PR fixes -->
|
|
3
|
+
|
|
4
|
+
Fixes **[bug description]** reported in #[issue_number].
|
|
5
|
+
|
|
6
|
+
## Type of Change
|
|
7
|
+
- [ ] New feature (non-breaking change adding functionality)
|
|
8
|
+
- [x] Bug fix (non-breaking change fixing an issue)
|
|
9
|
+
- [ ] Breaking change (would cause existing functionality to change)
|
|
10
|
+
- [ ] Documentation update
|
|
11
|
+
|
|
12
|
+
## Related Issues
|
|
13
|
+
Fixes #[issue_number]
|
|
14
|
+
|
|
15
|
+
## Root Cause
|
|
16
|
+
<!-- Brief explanation of why the bug occurred -->
|
|
17
|
+
|
|
18
|
+
## Solution
|
|
19
|
+
<!-- How the fix addresses the root cause -->
|
|
20
|
+
|
|
21
|
+
## Changes Made
|
|
22
|
+
- Fixed [specific change]
|
|
23
|
+
- Added [safeguard/validation]
|
|
24
|
+
- Updated [related code]
|
|
25
|
+
|
|
26
|
+
## Screenshots/Recordings
|
|
27
|
+
<!-- If applicable, show the fix in action -->
|
|
28
|
+
|
|
29
|
+
| Before (Bug) | After (Fixed) |
|
|
30
|
+
|--------------|---------------|
|
|
31
|
+
| | |
|
|
32
|
+
|
|
33
|
+
## Testing Done
|
|
34
|
+
- [x] Regression test added
|
|
35
|
+
- [ ] Verified fix in development
|
|
36
|
+
- [ ] Tested edge cases
|
|
37
|
+
- [ ] No side effects observed
|
|
38
|
+
|
|
39
|
+
## How to Reproduce (Before Fix)
|
|
40
|
+
1. [Step to reproduce]
|
|
41
|
+
2. [Step to reproduce]
|
|
42
|
+
3. Bug occurred
|
|
43
|
+
|
|
44
|
+
## How to Verify Fix
|
|
45
|
+
1. [Step to verify]
|
|
46
|
+
2. [Step to verify]
|
|
47
|
+
3. Expected: [correct behavior]
|
|
48
|
+
|
|
49
|
+
## Checklist
|
|
50
|
+
- [ ] Root cause identified and addressed
|
|
51
|
+
- [ ] Regression test added
|
|
52
|
+
- [ ] No new warnings
|
|
53
|
+
- [ ] Tests passing
|
|
54
|
+
- [ ] Related areas checked for similar issues
|
|
55
|
+
|
|
56
|
+
## Additional Notes
|
|
57
|
+
<!-- Any context for reviewers -->
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
## Summary
|
|
2
|
+
<!-- Brief description of what this PR does -->
|
|
3
|
+
|
|
4
|
+
Implements **[feature name]** as specified in #[issue_number].
|
|
5
|
+
|
|
6
|
+
## Type of Change
|
|
7
|
+
- [x] New feature (non-breaking change adding functionality)
|
|
8
|
+
- [ ] Bug fix (non-breaking change fixing an issue)
|
|
9
|
+
- [ ] Breaking change (would cause existing functionality to change)
|
|
10
|
+
- [ ] Documentation update
|
|
11
|
+
|
|
12
|
+
## Related Issues
|
|
13
|
+
Closes #[issue_number]
|
|
14
|
+
|
|
15
|
+
## Changes Made
|
|
16
|
+
- Added [component/hook/service]
|
|
17
|
+
- Updated [existing code]
|
|
18
|
+
- Created tests for [functionality]
|
|
19
|
+
|
|
20
|
+
## Screenshots/Recordings
|
|
21
|
+
<!-- Add before/after screenshots for UI changes -->
|
|
22
|
+
|
|
23
|
+
| Before | After |
|
|
24
|
+
|--------|-------|
|
|
25
|
+
| | |
|
|
26
|
+
|
|
27
|
+
## Testing Done
|
|
28
|
+
- [ ] Unit tests added/updated
|
|
29
|
+
- [ ] Manual testing completed
|
|
30
|
+
- [ ] Tested on iOS
|
|
31
|
+
- [ ] Tested on Android
|
|
32
|
+
|
|
33
|
+
## How to Test
|
|
34
|
+
1. Pull this branch
|
|
35
|
+
2. Run `npm start`
|
|
36
|
+
3. [Specific testing steps]
|
|
37
|
+
4. Expected: [outcome]
|
|
38
|
+
|
|
39
|
+
## Checklist
|
|
40
|
+
- [ ] Code follows project conventions
|
|
41
|
+
- [ ] Self-review completed
|
|
42
|
+
- [ ] No new warnings
|
|
43
|
+
- [ ] Tests passing
|
|
44
|
+
- [ ] Documentation updated
|
|
45
|
+
- [ ] Accessibility considered
|
|
46
|
+
|
|
47
|
+
## Additional Notes
|
|
48
|
+
<!-- Any context for reviewers -->
|