You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command-line interface for AI-powered coding tasks:
44
-
45
-
- Interactive mode
46
-
- File-based prompt support
47
-
- Code migration and refactoring capabilities
48
-
49
-
### [`agent`](packages/agent)
50
-
51
-
Core AI agent system powering MyCoder's intelligent features:
52
-
53
-
- Extensible Tool System
54
-
- Parallel Execution with sub-agents
55
-
- AI-Powered using Anthropic's Claude API
56
-
57
-
## 🛠 Development
58
-
59
-
### Common Commands
60
-
61
-
```bash
62
-
# Development mode
63
-
pnpm dev
64
-
65
-
# Build all packages
66
-
pnpm build
67
-
68
37
# Run tests
69
38
pnpm test
70
-
71
-
# Type checking
72
-
pnpm typecheck
73
-
74
-
# Linting
75
-
pnpm lint
76
-
77
-
# Formatting
78
-
pnpm format
79
-
80
-
# Clean build artifacts
81
-
pnpm clean
82
-
83
-
# Clean everything including node_modules
84
-
pnpm clean:all
85
39
```
86
40
87
-
## 📚 Documentation
88
-
89
-
Each package contains detailed documentation in its respective README.md file. See individual package directories for:
90
-
91
-
- Detailed setup instructions
92
-
- API documentation
93
-
- Development guidelines
94
-
- Package-specific commands
95
-
96
-
## 📦 Publishing
97
-
98
-
This monorepo uses [Changesets](https://github.com/changesets/changesets) to manage versions and publish packages. The following packages are published to npm:
99
-
100
-
-`mycoder` - CLI package
101
-
-`mycoder-agent` - Core agent functionality
102
-
103
-
To publish changes:
104
-
105
-
1. Make your code changes
106
-
2. Create a changeset (documents your changes):
107
-
108
-
```bash
109
-
pnpm changeset
110
-
```
111
-
112
-
3. Select the packages that have changes
113
-
4. Write a clear description of the changes
114
-
5. Commit the generated changeset file
115
-
116
-
When ready to publish:
117
-
118
-
1. Update versions based on changesets:
119
-
120
-
```bash
121
-
pnpm changeset version
122
-
```
123
-
124
-
2. Review the changes
125
-
3. Publish packages:
126
-
127
-
```bash
128
-
pnpm publish -r
129
-
```
41
+
## Contributing
130
42
131
-
Note: Both packages are versioned together to ensure compatibility.
43
+
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this project.
132
44
133
-
## 🤝 Contributing
45
+
## License
134
46
135
-
1. Fork the repository
136
-
2. Create your feature branch
137
-
3. Commit your changes
138
-
4. Push to the branch
139
-
5. Create a Pull Request
47
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
GitHub mode enables MyCoder to work with GitHub issues and PRs as part of its workflow. This feature provides better continuity between sessions and makes it easier to track progress on larger projects.
4
+
5
+
## Overview
6
+
7
+
When GitHub mode is enabled, MyCoder will:
8
+
9
+
- Start from existing GitHub issues or create new ones for tasks
10
+
- Create branches for issues it's working on
11
+
- Make commits with descriptive messages
12
+
- Create PRs when work is complete
13
+
- Create additional GitHub issues for follow-up tasks or ideas
14
+
15
+
## Prerequisites
16
+
17
+
Before using GitHub mode, ensure you have:
18
+
19
+
1. Installed the GitHub CLI (`gh`)
20
+
2. Authenticated with GitHub (`gh auth login`)
21
+
3. Appropriate permissions for your target repository
22
+
23
+
## Enabling GitHub Mode
24
+
25
+
You can enable GitHub mode using the `config` command:
26
+
27
+
```bash
28
+
mycoder config set githubMode true
29
+
```
30
+
31
+
To disable GitHub mode:
32
+
33
+
```bash
34
+
mycoder config set githubMode false
35
+
```
36
+
37
+
To check if GitHub mode is enabled:
38
+
39
+
```bash
40
+
mycoder config get githubMode
41
+
```
42
+
43
+
## Using GitHub Mode
44
+
45
+
When GitHub mode is enabled, MyCoder will automatically include GitHub-specific instructions in its system prompt. You can ask MyCoder to:
46
+
47
+
1.**Work on existing issues**:
48
+
49
+
```bash
50
+
mycoder "Implement GitHub issue #42"
51
+
```
52
+
53
+
2.**Create new issues**:
54
+
55
+
```bash
56
+
mycoder "Create a GitHub issue for adding dark mode to the UI"
57
+
```
58
+
59
+
3.**Create PRs for completed work**:
60
+
```bash
61
+
mycoder "Create a PR for the changes I just made to fix issue #42"
62
+
```
63
+
64
+
## GitHub Commands
65
+
66
+
MyCoder uses the GitHub CLI directly. Here are some common commands it may use:
67
+
68
+
-**View issues**: `gh issue list --state open`
69
+
-**View a specific issue**: `gh issue view <number>`
70
+
-**Create an issue**: `gh issue create --title "Title" --body "Description"`
71
+
-**Create a PR**: `gh pr create --title "Title" --body "Description"`
72
+
-**Create a branch**: `git checkout -b branch-name`
0 commit comments