@quadslab.io/discord-mcp 2.0.1 → 2.1.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/.claude/.quadcode-version +1 -0
- package/.claude/settings.local.json +154 -0
- package/.claude/skills/architect/SKILL.md +111 -0
- package/.claude/skills/assign-environment/SKILL.md +71 -0
- package/.claude/skills/brainstorm/SKILL.md +114 -0
- package/.claude/skills/brainstorm-spec/SKILL.md +72 -0
- package/.claude/skills/check-implemented/SKILL.md +59 -0
- package/.claude/skills/check-issue-progress/SKILL.md +66 -0
- package/.claude/skills/create-rich-plan/SKILL.md +90 -0
- package/.claude/skills/decompose-spec/SKILL.md +32 -0
- package/.claude/skills/detect-environments/SKILL.md +61 -0
- package/.claude/skills/dispatch/SKILL.md +90 -0
- package/.claude/skills/estimate-complexity/SKILL.md +118 -0
- package/.claude/skills/expand-epic/SKILL.md +38 -0
- package/.claude/skills/find-duplicate-issues/SKILL.md +91 -0
- package/.claude/skills/find-duplicates/SKILL.md +77 -0
- package/.claude/skills/find-related-code/SKILL.md +145 -0
- package/.claude/skills/idea-summary/SKILL.md +57 -0
- package/.claude/skills/idea-to-prompt/SKILL.md +98 -0
- package/.claude/skills/ideas-maintenance/SKILL.md +98 -0
- package/.claude/skills/ideas-to-issues/SKILL.md +108 -0
- package/.claude/skills/issue-summary/SKILL.md +64 -0
- package/.claude/skills/issue-to-prompt/SKILL.md +98 -0
- package/.claude/skills/launch-team/SKILL.md +69 -0
- package/.claude/skills/list-environments/SKILL.md +60 -0
- package/.claude/skills/new-spec/SKILL.md +37 -0
- package/.claude/skills/organize-ideas/SKILL.md +47 -0
- package/.claude/skills/organize-issues/SKILL.md +56 -0
- package/.claude/skills/organize-plans/SKILL.md +47 -0
- package/.claude/skills/plan-from-idea/SKILL.md +102 -0
- package/.claude/skills/plan-summary/SKILL.md +53 -0
- package/.claude/skills/plan-to-issues/SKILL.md +63 -0
- package/.claude/skills/preview-promotion/SKILL.md +47 -0
- package/.claude/skills/review-spec/SKILL.md +53 -0
- package/.claude/skills/run-script/SKILL.md +43 -0
- package/.claude/skills/script-summary/SKILL.md +67 -0
- package/.claude/skills/setup-environment/SKILL.md +78 -0
- package/.claude/skills/setup-python/SKILL.md +123 -0
- package/.claude/skills/setup-scripts/SKILL.md +82 -0
- package/.claude/skills/suggest-improvements/SKILL.md +66 -0
- package/.claude/skills/team-status/SKILL.md +68 -0
- package/.claude/skills/triage-issues/SKILL.md +51 -0
- package/.claude/skills/update-plan-progress/SKILL.md +102 -0
- package/.claude/skills/verify-plan/SKILL.md +54 -0
- package/.claude/skills/weekly-digest/SKILL.md +149 -0
- package/.mcp.json +7 -0
- package/.quadcode/config.json +6 -0
- package/CHANGELOG.md +174 -174
- package/CLAUDE.md +40 -0
- package/LICENSE +21 -21
- package/README.md +678 -668
- package/assets/demo.svg +470 -0
- package/assets/social-preview.html +14 -0
- package/assets/social-preview.svg +98 -0
- package/dist/cli.js +8 -8
- package/dist/tools/threads.js +299 -0
- package/dist/tools/threads.js.map +1 -1
- package/dist/tools/utils.js +48 -3
- package/dist/tools/utils.js.map +1 -1
- package/package.json +58 -58
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: find-related-code
|
|
3
|
+
description: Search the codebase for files and code related to ideas. Adds notes about existing code to help understand what already exists.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_ideas, mcp__quadcode__get_idea, mcp__quadcode__add_idea_note, Read, Grep, Glob
|
|
5
|
+
user-invocable: true
|
|
6
|
+
argument-hint: [idea-id or "all" or tag-name]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Find Related Code Skill
|
|
10
|
+
|
|
11
|
+
Search the codebase to find existing code related to QuadCode ideas.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Determine which ideas to analyze**:
|
|
16
|
+
- If idea ID provided ($ARGUMENTS as number): Analyze that specific idea
|
|
17
|
+
- If `all` provided: Analyze all non-implemented ideas
|
|
18
|
+
- If tag provided: Analyze ideas with that tag
|
|
19
|
+
- If no argument: Analyze all pending ideas
|
|
20
|
+
|
|
21
|
+
2. **For each idea**:
|
|
22
|
+
|
|
23
|
+
### Extract Search Terms
|
|
24
|
+
- Key nouns and technical terms from the idea
|
|
25
|
+
- Related concepts (e.g., "dark mode" → theme, colors, CSS)
|
|
26
|
+
- Feature names that might exist
|
|
27
|
+
- File types likely involved
|
|
28
|
+
|
|
29
|
+
### Search Codebase
|
|
30
|
+
Use `Grep` and `Glob` to find:
|
|
31
|
+
- Files with relevant names
|
|
32
|
+
- Code containing relevant keywords
|
|
33
|
+
- Similar functionality already implemented
|
|
34
|
+
- Related configuration or constants
|
|
35
|
+
- Tests that might indicate features
|
|
36
|
+
|
|
37
|
+
### Analyze Findings
|
|
38
|
+
For each relevant file found:
|
|
39
|
+
- What does it do?
|
|
40
|
+
- How does it relate to the idea?
|
|
41
|
+
- Could it be extended vs rewritten?
|
|
42
|
+
- What patterns does it follow?
|
|
43
|
+
|
|
44
|
+
3. **Categorize findings**:
|
|
45
|
+
- **Direct match**: Code that implements part of the idea
|
|
46
|
+
- **Building block**: Code that could be used/extended
|
|
47
|
+
- **Pattern example**: Similar feature to learn from
|
|
48
|
+
- **Conflict**: Code that might need refactoring
|
|
49
|
+
- **Test coverage**: Existing tests to update
|
|
50
|
+
|
|
51
|
+
4. **Add notes to ideas** using `mcp__quadcode__add_idea_note`:
|
|
52
|
+
- Set `author` to `"find-related-code"`
|
|
53
|
+
- Include file paths with line numbers
|
|
54
|
+
- Note specific functions or classes
|
|
55
|
+
- Suggest integration approach
|
|
56
|
+
|
|
57
|
+
Example:
|
|
58
|
+
```
|
|
59
|
+
mcp__quadcode__add_idea_note({
|
|
60
|
+
idea_id: "...",
|
|
61
|
+
body: "Related code found:\n- src/lib/database.ts:45-80 - existing CRUD pattern\n- src/stores/ideaStore.ts - state management\n\nCould extend the existing pattern.",
|
|
62
|
+
author: "find-related-code"
|
|
63
|
+
})
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
5. **Generate report**:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
## Related Code Analysis
|
|
70
|
+
|
|
71
|
+
### Idea #X: [Brief content]
|
|
72
|
+
|
|
73
|
+
#### Direct Matches
|
|
74
|
+
| File | Relevance | Notes |
|
|
75
|
+
|------|-----------|-------|
|
|
76
|
+
| `src/path/file.ts` | High | [What it does] |
|
|
77
|
+
|
|
78
|
+
#### Building Blocks
|
|
79
|
+
| File | Can Provide | Usage |
|
|
80
|
+
|------|-------------|-------|
|
|
81
|
+
| `src/utils/helper.ts` | [Functionality] | [How to use] |
|
|
82
|
+
|
|
83
|
+
#### Patterns to Follow
|
|
84
|
+
| File | Pattern | Applicable Because |
|
|
85
|
+
|------|---------|-------------------|
|
|
86
|
+
| `src/features/similar.ts` | [Pattern name] | [Why relevant] |
|
|
87
|
+
|
|
88
|
+
#### Potential Conflicts
|
|
89
|
+
| File | Issue | Resolution |
|
|
90
|
+
|------|-------|------------|
|
|
91
|
+
| `src/old/legacy.ts` | [Conflict] | [Suggestion] |
|
|
92
|
+
|
|
93
|
+
#### Implementation Suggestions
|
|
94
|
+
Based on existing code:
|
|
95
|
+
1. Start with `[file]` as a template
|
|
96
|
+
2. Use `[utility]` for [purpose]
|
|
97
|
+
3. Follow the pattern in `[example]`
|
|
98
|
+
4. Update tests in `[test file]`
|
|
99
|
+
|
|
100
|
+
#### Key Code Snippets
|
|
101
|
+
|
|
102
|
+
```typescript
|
|
103
|
+
// From src/path/file.ts - relevant function
|
|
104
|
+
[code snippet]
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
[Repeat for each idea analyzed]
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
### Summary
|
|
114
|
+
|
|
115
|
+
| Idea | Related Files | Ready to Implement | Needs Refactoring |
|
|
116
|
+
|------|---------------|-------------------|-------------------|
|
|
117
|
+
| #1 | 5 | Yes | No |
|
|
118
|
+
| #2 | 2 | Partial | Yes |
|
|
119
|
+
|
|
120
|
+
### Codebase Insights
|
|
121
|
+
- Common patterns used: [list]
|
|
122
|
+
- Suggested starting points: [files]
|
|
123
|
+
- Areas needing cleanup first: [files]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Search Strategies
|
|
127
|
+
|
|
128
|
+
The skill uses multiple search approaches:
|
|
129
|
+
- **Keyword search**: Direct terms from the idea
|
|
130
|
+
- **Fuzzy matching**: Related concepts
|
|
131
|
+
- **File structure**: Logical locations based on idea type
|
|
132
|
+
- **Import tracing**: What uses related code
|
|
133
|
+
|
|
134
|
+
## Notes vs Suggestions
|
|
135
|
+
|
|
136
|
+
- Use **notes** (`add_idea_note`) for code references, findings, and observations
|
|
137
|
+
- Use **suggestions** (`add_suggestion`) only for text/wording improvements to the idea itself
|
|
138
|
+
|
|
139
|
+
## Notes
|
|
140
|
+
|
|
141
|
+
- Focus on actionable findings
|
|
142
|
+
- Include enough context to be useful
|
|
143
|
+
- Note code quality concerns if relevant
|
|
144
|
+
- Suggest incremental approaches when possible
|
|
145
|
+
- Identify quick wins vs major refactors
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: idea-summary
|
|
3
|
+
description: Get a quick summary of all ideas organized by category, priority, and status. Perfect for a quick overview of the ideas backlog.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_ideas, mcp__quadcode__organize_ideas
|
|
5
|
+
user-invocable: true
|
|
6
|
+
argument-hint: [format]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Idea Summary Skill
|
|
10
|
+
|
|
11
|
+
Generate a concise summary of all ideas in QuadCode.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Retrieve all ideas** using `mcp__quadcode__organize_ideas` for a formatted view
|
|
16
|
+
|
|
17
|
+
2. **Group ideas by**:
|
|
18
|
+
- Category (from tags)
|
|
19
|
+
- Status (implemented, in-progress, pending)
|
|
20
|
+
- Priority (if tagged)
|
|
21
|
+
|
|
22
|
+
3. **Generate summary** in the requested format:
|
|
23
|
+
|
|
24
|
+
### Default Format
|
|
25
|
+
```
|
|
26
|
+
## QuadCode Ideas Summary
|
|
27
|
+
|
|
28
|
+
Total Ideas: X
|
|
29
|
+
|
|
30
|
+
### By Category
|
|
31
|
+
- UI/Window: X ideas
|
|
32
|
+
- MCP Integration: X ideas
|
|
33
|
+
- Claude AI: X ideas
|
|
34
|
+
...
|
|
35
|
+
|
|
36
|
+
### By Status
|
|
37
|
+
- Implemented: X
|
|
38
|
+
- In Progress: X
|
|
39
|
+
- Pending: X
|
|
40
|
+
|
|
41
|
+
### Recent Ideas (last 5)
|
|
42
|
+
1. [idea content...]
|
|
43
|
+
2. [idea content...]
|
|
44
|
+
...
|
|
45
|
+
|
|
46
|
+
### High Priority
|
|
47
|
+
- [list high priority ideas]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Compact Format (use if $ARGUMENTS = "compact")
|
|
51
|
+
Single-line category counts only.
|
|
52
|
+
|
|
53
|
+
### Detailed Format (use if $ARGUMENTS = "detailed")
|
|
54
|
+
Full content of each idea grouped by category.
|
|
55
|
+
|
|
56
|
+
### Kanban Format (use if $ARGUMENTS = "kanban")
|
|
57
|
+
Ideas grouped by status columns (Pending | In Progress | Done).
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: idea-to-prompt
|
|
3
|
+
description: Convert an idea into a detailed implementation prompt and begin working on it. Takes an idea ID or lets user select one.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_ideas, mcp__quadcode__get_idea, mcp__quadcode__add_tag, mcp__quadcode__add_idea_note, Read, Write, Edit, Grep, Glob, Bash
|
|
5
|
+
user-invocable: true
|
|
6
|
+
argument-hint: [idea-id]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Idea to Prompt Skill
|
|
10
|
+
|
|
11
|
+
Convert a QuadCode idea into a detailed implementation prompt and begin working on it.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Get the idea**:
|
|
16
|
+
- If an idea ID is provided ($ARGUMENTS), use `mcp__quadcode__get_idea` to retrieve it
|
|
17
|
+
- If no ID provided, use `mcp__quadcode__list_ideas` and ask user to select one
|
|
18
|
+
|
|
19
|
+
2. **Analyze the idea** thoroughly:
|
|
20
|
+
- Understand the core requirement
|
|
21
|
+
- Identify technical components needed
|
|
22
|
+
- Consider dependencies and prerequisites
|
|
23
|
+
- Note any ambiguities that need clarification
|
|
24
|
+
|
|
25
|
+
3. **Generate a detailed implementation prompt** that includes:
|
|
26
|
+
- **Objective**: Clear statement of what needs to be built
|
|
27
|
+
- **Context**: Why this feature is needed, what problem it solves
|
|
28
|
+
- **Requirements**: Specific functional requirements
|
|
29
|
+
- **Technical Approach**: Suggested implementation strategy
|
|
30
|
+
- **Files to Modify/Create**: Based on codebase analysis
|
|
31
|
+
- **Acceptance Criteria**: How to know when it's done
|
|
32
|
+
- **Potential Challenges**: Known risks or complexities
|
|
33
|
+
|
|
34
|
+
4. **Present the prompt** to the user for confirmation
|
|
35
|
+
|
|
36
|
+
5. **Begin implementation** once confirmed:
|
|
37
|
+
- Search codebase for related files using `Grep` and `Glob`
|
|
38
|
+
- Read relevant existing code using `Read`
|
|
39
|
+
- Make necessary changes using `Edit` or `Write`
|
|
40
|
+
- Test changes if possible
|
|
41
|
+
|
|
42
|
+
6. **Update the idea**:
|
|
43
|
+
- Add `in-progress` tag using `mcp__quadcode__add_tag`
|
|
44
|
+
- Add implementation notes using `mcp__quadcode__add_idea_note`:
|
|
45
|
+
- Set `author` to `"idea-to-prompt"`
|
|
46
|
+
- Include files modified, progress made, any blockers
|
|
47
|
+
|
|
48
|
+
Example:
|
|
49
|
+
```
|
|
50
|
+
mcp__quadcode__add_idea_note({
|
|
51
|
+
idea_id: "...",
|
|
52
|
+
body: "Implementation started.\n\nFiles modified:\n- src/lib/database.ts\n- src/types/index.ts\n\nProgress: Basic structure in place.\nNext: Add UI components.",
|
|
53
|
+
author: "idea-to-prompt"
|
|
54
|
+
})
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Output Format
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
## Implementation Prompt for Idea #[ID]
|
|
61
|
+
|
|
62
|
+
### Objective
|
|
63
|
+
[Clear, actionable objective]
|
|
64
|
+
|
|
65
|
+
### Context
|
|
66
|
+
[Background and motivation]
|
|
67
|
+
|
|
68
|
+
### Requirements
|
|
69
|
+
- [ ] Requirement 1
|
|
70
|
+
- [ ] Requirement 2
|
|
71
|
+
...
|
|
72
|
+
|
|
73
|
+
### Technical Approach
|
|
74
|
+
[Suggested implementation strategy]
|
|
75
|
+
|
|
76
|
+
### Files Involved
|
|
77
|
+
- `path/to/file1.ts` - [what to modify]
|
|
78
|
+
- `path/to/file2.ts` - [what to modify]
|
|
79
|
+
|
|
80
|
+
### Acceptance Criteria
|
|
81
|
+
- [ ] Criteria 1
|
|
82
|
+
- [ ] Criteria 2
|
|
83
|
+
|
|
84
|
+
### Estimated Complexity
|
|
85
|
+
[Low/Medium/High] - [reasoning]
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Notes vs Suggestions
|
|
89
|
+
|
|
90
|
+
- **Notes** (`add_idea_note`): Implementation progress, file changes, blockers
|
|
91
|
+
- **Suggestions** (`add_suggestion`): Only for text/wording improvements to the idea itself
|
|
92
|
+
|
|
93
|
+
## Notes
|
|
94
|
+
|
|
95
|
+
- Always search the codebase first to understand existing patterns
|
|
96
|
+
- Follow existing code style and conventions
|
|
97
|
+
- Ask for clarification if the idea is ambiguous
|
|
98
|
+
- Break large implementations into smaller steps
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ideas-maintenance
|
|
3
|
+
description: Complete ideas maintenance - organize, tag, check implementation status, and suggest improvements. One button to do everything.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_ideas, mcp__quadcode__organize_ideas, mcp__quadcode__add_tag, mcp__quadcode__remove_tag, mcp__quadcode__add_suggestion, mcp__quadcode__add_idea_note, mcp__quadcode__update_idea, mcp__quadcode__get_idea, Read, Grep, Glob, Bash
|
|
5
|
+
user-invocable: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Complete Ideas Maintenance Skill
|
|
9
|
+
|
|
10
|
+
This skill performs comprehensive maintenance on all QuadCode ideas in one operation.
|
|
11
|
+
|
|
12
|
+
## Full Maintenance Process
|
|
13
|
+
|
|
14
|
+
### Phase 1: Gather Data
|
|
15
|
+
1. Use `mcp__quadcode__list_ideas` to get all ideas
|
|
16
|
+
2. Note current tags, suggestions, and notes on each idea
|
|
17
|
+
|
|
18
|
+
### Phase 2: Categorize & Tag
|
|
19
|
+
Apply category tags to untagged ideas:
|
|
20
|
+
- `ui-window` - Window/layout management
|
|
21
|
+
- `ui-appearance` - Themes, fonts, styling
|
|
22
|
+
- `terminal` - Terminal/session management
|
|
23
|
+
- `ideas-tool` - Ideas module improvements
|
|
24
|
+
- `scripts-tool` - Scripts module improvements
|
|
25
|
+
- `mcp` - MCP integration features
|
|
26
|
+
- `streaming` - Streaming/YouTube features
|
|
27
|
+
- `claude-ai` - AI/Claude integration
|
|
28
|
+
- `dev-tools` - Developer tools
|
|
29
|
+
- `misc` - Miscellaneous
|
|
30
|
+
|
|
31
|
+
### Phase 3: Check Implementation Status
|
|
32
|
+
For each idea, search the codebase:
|
|
33
|
+
1. Use `Grep` to search for keywords from the idea
|
|
34
|
+
2. Use `Glob` to find potentially related files
|
|
35
|
+
3. If implemented, add `implemented` tag
|
|
36
|
+
4. If partial, add `in-progress` tag
|
|
37
|
+
5. **Add implementation notes** using `mcp__quadcode__add_idea_note`:
|
|
38
|
+
- Set `author` to `"ideas-maintenance"`
|
|
39
|
+
- Note file paths and relevant code locations
|
|
40
|
+
|
|
41
|
+
### Phase 4: Suggest Text Improvements
|
|
42
|
+
For ideas that need **wording** improvements (NOT implementation notes):
|
|
43
|
+
1. Vague ideas -> add `expand` suggestion
|
|
44
|
+
2. Unclear ideas -> add `clarify` suggestion
|
|
45
|
+
3. Verbose ideas -> add `summarize` suggestion
|
|
46
|
+
4. Casual wording -> add `reword` suggestion
|
|
47
|
+
|
|
48
|
+
**Important**: Suggestions are for text/wording improvements only. Use notes for implementation status.
|
|
49
|
+
|
|
50
|
+
### Phase 5: Generate Report
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
# Ideas Maintenance Report
|
|
54
|
+
|
|
55
|
+
## Summary
|
|
56
|
+
- Total ideas: X
|
|
57
|
+
- Newly tagged: X
|
|
58
|
+
- Implementation checked: X
|
|
59
|
+
- Suggestions added: X
|
|
60
|
+
- Notes added: X
|
|
61
|
+
|
|
62
|
+
## By Category
|
|
63
|
+
| Category | Count | Implemented | Pending |
|
|
64
|
+
|----------|-------|-------------|---------|
|
|
65
|
+
| ui-window | X | X | X |
|
|
66
|
+
| mcp | X | X | X |
|
|
67
|
+
...
|
|
68
|
+
|
|
69
|
+
## By Status
|
|
70
|
+
- Implemented: X (list)
|
|
71
|
+
- In Progress: X (list)
|
|
72
|
+
- Not Started: X (list)
|
|
73
|
+
|
|
74
|
+
## Text Suggestions Added
|
|
75
|
+
- Reword: X
|
|
76
|
+
- Expand: X
|
|
77
|
+
- Clarify: X
|
|
78
|
+
- Summarize: X
|
|
79
|
+
|
|
80
|
+
## Implementation Notes Added
|
|
81
|
+
- Ideas with new code references: X
|
|
82
|
+
|
|
83
|
+
## Action Items
|
|
84
|
+
1. [high priority items]
|
|
85
|
+
2. [quick wins]
|
|
86
|
+
3. [needs clarification from user]
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Notes vs Suggestions
|
|
90
|
+
|
|
91
|
+
- **Notes** (`add_idea_note`): Implementation status, code references, observations
|
|
92
|
+
- **Suggestions** (`add_suggestion`): Text/wording improvements to the idea content
|
|
93
|
+
|
|
94
|
+
## Notes
|
|
95
|
+
- This skill may take longer due to comprehensive checks
|
|
96
|
+
- Safe to run multiple times - won't duplicate tags
|
|
97
|
+
- Suggestions are additive - previous suggestions preserved
|
|
98
|
+
- Notes are additive - previous notes preserved
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ideas-to-issues
|
|
3
|
+
description: Convert QuadCode ideas to GitHub issues using the gh CLI. Adds appropriate labels and can optionally archive the idea after creation.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_ideas, mcp__quadcode__get_idea, mcp__quadcode__add_tag, mcp__quadcode__archive_idea, Bash
|
|
5
|
+
user-invocable: true
|
|
6
|
+
argument-hint: [idea-id or "all" or "tagged:tag-name"]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Ideas to Issues Skill
|
|
10
|
+
|
|
11
|
+
Convert QuadCode ideas into GitHub issues for better project tracking.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Determine which ideas to convert**:
|
|
16
|
+
- If specific idea ID provided ($ARGUMENTS): Convert that idea
|
|
17
|
+
- If `all` provided: Convert all non-archived ideas
|
|
18
|
+
- If `tagged:tag-name` provided: Convert ideas with that tag
|
|
19
|
+
- If no argument: List ideas and ask user to select
|
|
20
|
+
|
|
21
|
+
2. **For each idea, gather information** using `mcp__quadcode__get_idea`:
|
|
22
|
+
- Idea content
|
|
23
|
+
- Tags
|
|
24
|
+
- Suggestions/notes
|
|
25
|
+
- Creation date
|
|
26
|
+
|
|
27
|
+
3. **Map tags to GitHub labels**:
|
|
28
|
+
- `ui-window` → `ui`, `enhancement`
|
|
29
|
+
- `ui-appearance` → `ui`, `enhancement`
|
|
30
|
+
- `terminal` → `terminal`, `enhancement`
|
|
31
|
+
- `mcp` → `mcp`, `enhancement`
|
|
32
|
+
- `claude-ai` → `ai`, `enhancement`
|
|
33
|
+
- `dev-tools` → `developer-experience`
|
|
34
|
+
- `complexity-low` → `good-first-issue`
|
|
35
|
+
- `complexity-high` → `help-wanted`
|
|
36
|
+
- `high-priority` → `priority-high`
|
|
37
|
+
- `bug` → `bug`
|
|
38
|
+
|
|
39
|
+
4. **Create GitHub issue** using `gh` CLI:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
gh issue create --title "[Title from idea]" --body "[Formatted body]" --label "[labels]"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Issue body format:
|
|
46
|
+
```markdown
|
|
47
|
+
## Description
|
|
48
|
+
[Idea content]
|
|
49
|
+
|
|
50
|
+
## Context
|
|
51
|
+
- **Source**: QuadCode Ideas #[ID]
|
|
52
|
+
- **Created**: [date]
|
|
53
|
+
- **Tags**: [tags]
|
|
54
|
+
|
|
55
|
+
## Additional Notes
|
|
56
|
+
[Any suggestions or notes from the idea]
|
|
57
|
+
|
|
58
|
+
## Acceptance Criteria
|
|
59
|
+
- [ ] [Derived from idea content]
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
*Converted from QuadCode Ideas*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
5. **After successful creation**:
|
|
66
|
+
- Add `converted-to-issue` tag using `mcp__quadcode__add_tag`
|
|
67
|
+
- If user requested, archive the idea using `mcp__quadcode__archive_idea`
|
|
68
|
+
- Record the issue number/URL
|
|
69
|
+
|
|
70
|
+
6. **Generate report**:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
## Ideas to Issues Conversion Report
|
|
74
|
+
|
|
75
|
+
### Successfully Created
|
|
76
|
+
| Idea ID | Issue # | Title | Labels |
|
|
77
|
+
|---------|---------|-------|--------|
|
|
78
|
+
| 1 | #42 | ... | ... |
|
|
79
|
+
|
|
80
|
+
### Skipped
|
|
81
|
+
| Idea ID | Reason |
|
|
82
|
+
|---------|--------|
|
|
83
|
+
| 2 | Already has converted-to-issue tag |
|
|
84
|
+
|
|
85
|
+
### Summary
|
|
86
|
+
- Ideas processed: X
|
|
87
|
+
- Issues created: X
|
|
88
|
+
- Ideas archived: X
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Options
|
|
92
|
+
|
|
93
|
+
Additional flags in $ARGUMENTS:
|
|
94
|
+
- `--archive` or `-a`: Archive ideas after converting
|
|
95
|
+
- `--dry-run` or `-d`: Show what would be created without actually creating
|
|
96
|
+
- `--milestone=NAME`: Assign to a specific milestone
|
|
97
|
+
|
|
98
|
+
## Prerequisites
|
|
99
|
+
|
|
100
|
+
- `gh` CLI must be installed and authenticated
|
|
101
|
+
- Repository must be initialized with GitHub remote
|
|
102
|
+
|
|
103
|
+
## Notes
|
|
104
|
+
|
|
105
|
+
- Check for existing `converted-to-issue` tag to avoid duplicates
|
|
106
|
+
- Verify gh authentication before batch operations
|
|
107
|
+
- Allow user to edit issue before creation if interactive
|
|
108
|
+
- Handle rate limits for bulk conversions
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: issue-summary
|
|
3
|
+
description: Get a quick summary of all issues organized by status, priority, and labels. Perfect for a quick overview of the issues backlog.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_issues, mcp__quadcode__list_issues_filtered, mcp__quadcode__organize_issues
|
|
5
|
+
user-invocable: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Issue Summary Skill
|
|
9
|
+
|
|
10
|
+
Provide a quick, organized summary of all issues in QuadCode.
|
|
11
|
+
|
|
12
|
+
## Process
|
|
13
|
+
|
|
14
|
+
1. **Get all issues** using `mcp__quadcode__list_issues`
|
|
15
|
+
|
|
16
|
+
2. **Generate a formatted summary** with:
|
|
17
|
+
|
|
18
|
+
### By Status
|
|
19
|
+
- In Progress: [count] issues
|
|
20
|
+
- Blocked: [count] issues (highlight these!)
|
|
21
|
+
- Todo: [count] issues
|
|
22
|
+
- Backlog: [count] issues
|
|
23
|
+
- Done: [count] issues
|
|
24
|
+
|
|
25
|
+
### By Priority
|
|
26
|
+
- Critical: [count] issues (list titles if any)
|
|
27
|
+
- High: [count] issues
|
|
28
|
+
- Medium: [count] issues
|
|
29
|
+
- Low: [count] issues
|
|
30
|
+
|
|
31
|
+
### By State
|
|
32
|
+
- Open: [count] issues
|
|
33
|
+
- Closed: [count] issues
|
|
34
|
+
|
|
35
|
+
### Issues Needing Attention
|
|
36
|
+
- List any issues with no labels
|
|
37
|
+
- List any critical/high priority issues that are blocked
|
|
38
|
+
- List any issues older than 30 days still in backlog
|
|
39
|
+
|
|
40
|
+
3. **Format output** as a clean markdown summary suitable for quick scanning
|
|
41
|
+
|
|
42
|
+
## Output Format
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
## QuadCode Issues Summary
|
|
46
|
+
|
|
47
|
+
**Total Open Issues:** X
|
|
48
|
+
**Total Closed Issues:** X
|
|
49
|
+
|
|
50
|
+
### By Status
|
|
51
|
+
- In Progress: X
|
|
52
|
+
- Blocked: X (!)
|
|
53
|
+
- Todo: X
|
|
54
|
+
- Backlog: X
|
|
55
|
+
|
|
56
|
+
### By Priority
|
|
57
|
+
- Critical: X
|
|
58
|
+
- High: X
|
|
59
|
+
- Medium: X
|
|
60
|
+
- Low: X
|
|
61
|
+
|
|
62
|
+
### Attention Needed
|
|
63
|
+
- [List any urgent items]
|
|
64
|
+
```
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: issue-to-prompt
|
|
3
|
+
description: Convert an issue into an implementation prompt and autonomously work it to completion. Takes an issue ID or lets user select one. Works without asking for confirmation and automatically moves to QA when done.
|
|
4
|
+
allowed-tools: mcp__quadcode__list_issues, mcp__quadcode__get_issue, mcp__quadcode__update_issue, mcp__quadcode__add_issue_label, mcp__quadcode__add_issue_comment, Read, Write, Edit, Grep, Glob, Bash
|
|
5
|
+
user-invocable: true
|
|
6
|
+
argument-hint: [issue-id]
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Issue to Prompt Skill
|
|
10
|
+
|
|
11
|
+
Convert a QuadCode issue into a detailed implementation prompt and begin working on it.
|
|
12
|
+
|
|
13
|
+
## Process
|
|
14
|
+
|
|
15
|
+
1. **Get the issue**:
|
|
16
|
+
- If an issue ID is provided ($ARGUMENTS), use `mcp__quadcode__get_issue` to retrieve it
|
|
17
|
+
- If no ID provided, use `mcp__quadcode__list_issues` to show open issues and ask user to select one
|
|
18
|
+
|
|
19
|
+
2. **Update issue status**:
|
|
20
|
+
- Set status to `in_progress` using `mcp__quadcode__update_issue`
|
|
21
|
+
- Add `working` label using `mcp__quadcode__add_issue_label`
|
|
22
|
+
|
|
23
|
+
3. **Analyze the issue** thoroughly:
|
|
24
|
+
- Understand the core requirement from title and body
|
|
25
|
+
- Identify technical components needed
|
|
26
|
+
- Consider dependencies and prerequisites
|
|
27
|
+
- Note the priority level for urgency context
|
|
28
|
+
- Check existing labels for context
|
|
29
|
+
|
|
30
|
+
4. **Search the codebase** for context:
|
|
31
|
+
- Use `Grep` to find related code patterns
|
|
32
|
+
- Use `Glob` to locate relevant files
|
|
33
|
+
- Use `Read` to understand existing implementations
|
|
34
|
+
|
|
35
|
+
5. **Generate a detailed implementation prompt** that includes:
|
|
36
|
+
- **Objective**: Clear statement of what needs to be done
|
|
37
|
+
- **Context**: Background from the issue body, why this matters
|
|
38
|
+
- **Requirements**: Specific functional requirements extracted from the issue
|
|
39
|
+
- **Technical Approach**: Suggested implementation strategy based on codebase analysis
|
|
40
|
+
- **Files to Modify/Create**: Identified from codebase search
|
|
41
|
+
- **Acceptance Criteria**: How to verify the issue is resolved
|
|
42
|
+
- **Priority Context**: How urgent based on issue priority
|
|
43
|
+
|
|
44
|
+
6. **Begin implementation immediately** (do not ask for confirmation):
|
|
45
|
+
- Make necessary changes using `Edit` or `Write`
|
|
46
|
+
- Follow existing code patterns and conventions
|
|
47
|
+
- Test changes if possible
|
|
48
|
+
|
|
49
|
+
7. **Update issue with progress**:
|
|
50
|
+
- Add implementation comments using `mcp__quadcode__add_issue_comment`
|
|
51
|
+
- Note files modified and approach taken
|
|
52
|
+
|
|
53
|
+
## Output Format
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
## Implementation Plan for Issue #[ID]
|
|
57
|
+
|
|
58
|
+
**Title**: [issue title]
|
|
59
|
+
**Priority**: [priority] | **Status**: in_progress
|
|
60
|
+
|
|
61
|
+
### Objective
|
|
62
|
+
[Clear, actionable objective derived from issue]
|
|
63
|
+
|
|
64
|
+
### Context
|
|
65
|
+
[Background from issue body and codebase analysis]
|
|
66
|
+
|
|
67
|
+
### Requirements
|
|
68
|
+
- [ ] Requirement 1
|
|
69
|
+
- [ ] Requirement 2
|
|
70
|
+
...
|
|
71
|
+
|
|
72
|
+
### Technical Approach
|
|
73
|
+
[Suggested implementation strategy]
|
|
74
|
+
|
|
75
|
+
### Files Involved
|
|
76
|
+
- `path/to/file1.ts` - [what to modify]
|
|
77
|
+
- `path/to/file2.ts` - [what to create/modify]
|
|
78
|
+
|
|
79
|
+
### Acceptance Criteria
|
|
80
|
+
- [ ] Issue requirements met
|
|
81
|
+
- [ ] No regressions introduced
|
|
82
|
+
- [ ] Code follows existing patterns
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## After Implementation
|
|
86
|
+
|
|
87
|
+
Once work is complete:
|
|
88
|
+
1. Add final comment to issue summarizing what was done and what should be verified
|
|
89
|
+
2. Automatically set status to `qa` using `mcp__quadcode__update_issue` (do not ask — agents should not set `done`, that's for manual human review)
|
|
90
|
+
|
|
91
|
+
## Notes
|
|
92
|
+
|
|
93
|
+
- Always search the codebase first to understand existing patterns
|
|
94
|
+
- Follow existing code style and conventions
|
|
95
|
+
- Work autonomously without asking for confirmation — just implement the issue
|
|
96
|
+
- Break large implementations into smaller steps
|
|
97
|
+
- Keep the issue updated with progress comments
|
|
98
|
+
- Automatically move to QA when done — do not ask for verification
|