@mohammadhprp/system-prompt 0.12.1 → 0.12.3

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 (173) hide show
  1. package/framework/agents/README.md +0 -1
  2. package/framework/commands/README.md +1 -1
  3. package/framework/commands/mr.md +8 -9
  4. package/framework/commands/review.md +1 -1
  5. package/framework/mcps/README.md +0 -4
  6. package/framework/plugins/ponytail/README.md +0 -1
  7. package/framework/plugins/ponytail/capabilities.md +1 -1
  8. package/framework/references/standards/api.md +0 -1
  9. package/framework/references/standards/architecture.md +0 -1
  10. package/framework/references/standards/database.md +0 -1
  11. package/framework/references/standards/debugging.md +0 -1
  12. package/framework/references/standards/documentation.md +0 -1
  13. package/framework/references/standards/logging.md +0 -1
  14. package/framework/references/standards/naming.md +0 -1
  15. package/framework/references/standards/observability.md +0 -1
  16. package/framework/references/standards/performance.md +0 -1
  17. package/framework/references/standards/pull-requests.md +0 -1
  18. package/framework/references/standards/security.md +0 -1
  19. package/framework/references/standards/testing.md +0 -1
  20. package/framework/skills/README.md +4 -14
  21. package/framework/skills/glab/SKILL.md +222 -0
  22. package/framework/skills/glab/references/commands-detailed.md +616 -0
  23. package/framework/skills/glab/references/quick-reference.md +145 -0
  24. package/framework/skills/glab/references/troubleshooting.md +669 -0
  25. package/framework/skills/improve/SKILL.md +135 -0
  26. package/framework/skills/improve/examples.md +19 -0
  27. package/framework/skills/improve/references/audit-playbook.md +130 -0
  28. package/framework/skills/improve/references/closing-the-loop.md +96 -0
  29. package/framework/skills/improve/references/plan-template.md +197 -0
  30. package/framework/skills/jira-cli/SKILL.md +260 -0
  31. package/framework/skills/jira-cli/references/commands-detailed.md +268 -0
  32. package/framework/skills/jira-cli/references/quick-reference.md +111 -0
  33. package/framework/skills/jira-cli/references/troubleshooting.md +114 -0
  34. package/framework/skills/laravel-best-practices/SKILL.md +56 -216
  35. package/framework/skills/laravel-best-practices/references/architecture.md +1 -1
  36. package/framework/skills/laravel-best-practices/references/checklist.md +139 -0
  37. package/framework/skills/laravel-best-practices/references/eloquent.md +4 -2
  38. package/framework/skills/laravel-best-practices/references/infer-conventions.md +97 -0
  39. package/framework/skills/laravel-best-practices/references/pest-testing.md +47 -18
  40. package/framework/skills/laravel-best-practices/references/security.md +1 -1
  41. package/framework/skills/laravel-best-practices/references/style.md +1 -1
  42. package/framework/skills/laravel-best-practices/references/tailwindcss.md +0 -1
  43. package/framework/styles/README.md +9 -4
  44. package/framework/styles/factory/DESIGN.md +360 -0
  45. package/framework/styles/factory/README.md +32 -0
  46. package/framework/styles/factory/assets/preview.jpg +0 -0
  47. package/framework/styles/huly/DESIGN.md +449 -0
  48. package/framework/styles/huly/README.md +32 -0
  49. package/framework/styles/huly/assets/preview.jpg +0 -0
  50. package/framework/styles/notion/DESIGN.md +423 -0
  51. package/framework/styles/notion/README.md +32 -0
  52. package/framework/styles/notion/assets/preview.jpg +0 -0
  53. package/package.json +1 -1
  54. package/src/catalog.js +7 -19
  55. package/framework/agents/backend-architect.md +0 -146
  56. package/framework/mcps/github-mcp/README.md +0 -51
  57. package/framework/mcps/github-mcp/capabilities.md +0 -83
  58. package/framework/mcps/github-mcp/configs/.env.example +0 -1
  59. package/framework/mcps/github-mcp/configs/opencode.json +0 -13
  60. package/framework/mcps/github-mcp/install.md +0 -60
  61. package/framework/mcps/github-mcp/troubleshooting.md +0 -79
  62. package/framework/mcps/gitlab-mcp/README.md +0 -53
  63. package/framework/mcps/gitlab-mcp/capabilities.md +0 -216
  64. package/framework/mcps/gitlab-mcp/configs/.env.example +0 -2
  65. package/framework/mcps/gitlab-mcp/configs/opencode.json +0 -13
  66. package/framework/mcps/gitlab-mcp/install.md +0 -99
  67. package/framework/mcps/gitlab-mcp/troubleshooting.md +0 -116
  68. package/framework/mcps/jira-mcp/README.md +0 -52
  69. package/framework/mcps/jira-mcp/capabilities.md +0 -79
  70. package/framework/mcps/jira-mcp/configs/.env.example +0 -2
  71. package/framework/mcps/jira-mcp/configs/opencode.json +0 -13
  72. package/framework/mcps/jira-mcp/install.md +0 -94
  73. package/framework/mcps/jira-mcp/troubleshooting.md +0 -113
  74. package/framework/mcps/notion-mcp/README.md +0 -57
  75. package/framework/mcps/notion-mcp/capabilities.md +0 -118
  76. package/framework/mcps/notion-mcp/configs/opencode.json +0 -9
  77. package/framework/mcps/notion-mcp/install.md +0 -70
  78. package/framework/mcps/notion-mcp/troubleshooting.md +0 -95
  79. package/framework/skills/brainstorming/SKILL.md +0 -159
  80. package/framework/skills/brainstorming/examples.md +0 -49
  81. package/framework/skills/brainstorming/scripts/frame-template.html +0 -213
  82. package/framework/skills/brainstorming/scripts/helper.js +0 -167
  83. package/framework/skills/brainstorming/scripts/server.cjs +0 -723
  84. package/framework/skills/brainstorming/scripts/start-server.sh +0 -209
  85. package/framework/skills/brainstorming/scripts/stop-server.sh +0 -120
  86. package/framework/skills/brainstorming/visual-companion.md +0 -291
  87. package/framework/skills/code-review/SKILL.md +0 -72
  88. package/framework/skills/code-review/examples.md +0 -31
  89. package/framework/skills/codenavi/SKILL.md +0 -306
  90. package/framework/skills/codenavi/examples.md +0 -33
  91. package/framework/skills/codenavi/references/coding-principles.md +0 -143
  92. package/framework/skills/codenavi/references/notebook-spec.md +0 -171
  93. package/framework/skills/create-adr/SKILL.md +0 -429
  94. package/framework/skills/create-adr/examples.md +0 -35
  95. package/framework/skills/design/SKILL.md +0 -399
  96. package/framework/skills/design/examples.md +0 -34
  97. package/framework/skills/gitlab-mcp/SKILL.md +0 -83
  98. package/framework/skills/gitlab-mcp/examples.md +0 -31
  99. package/framework/skills/gitlab-mcp/references/code-review.md +0 -110
  100. package/framework/skills/gitlab-mcp/references/issues.md +0 -141
  101. package/framework/skills/gitlab-mcp/references/merge-requests.md +0 -120
  102. package/framework/skills/gitlab-mcp/references/pipelines.md +0 -67
  103. package/framework/skills/gitlab-mcp/references/search.md +0 -17
  104. package/framework/skills/gitlab-mcp/references/webhooks.md +0 -32
  105. package/framework/skills/gitlab-mcp/references/work-items.md +0 -50
  106. package/framework/skills/great-interface/SKILL.md +0 -43
  107. package/framework/skills/great-interface/references/animations.md +0 -205
  108. package/framework/skills/great-interface/references/better-accessibility.md +0 -106
  109. package/framework/skills/great-interface/references/better-colors.md +0 -100
  110. package/framework/skills/great-interface/references/better-interface.md +0 -132
  111. package/framework/skills/great-interface/references/better-layout.md +0 -76
  112. package/framework/skills/great-interface/references/better-typography.md +0 -157
  113. package/framework/skills/great-interface/references/better-ui.md +0 -107
  114. package/framework/skills/great-interface/references/better-writing.md +0 -109
  115. package/framework/skills/great-interface/references/choosing-fonts.md +0 -64
  116. package/framework/skills/great-interface/references/color-formats.md +0 -90
  117. package/framework/skills/great-interface/references/color-usage.md +0 -118
  118. package/framework/skills/great-interface/references/contrast.md +0 -79
  119. package/framework/skills/great-interface/references/css-cheat-sheet.md +0 -65
  120. package/framework/skills/great-interface/references/details-and-accessibility.md +0 -119
  121. package/framework/skills/great-interface/references/enter-exit.md +0 -147
  122. package/framework/skills/great-interface/references/explain-interface.md +0 -126
  123. package/framework/skills/great-interface/references/find-the-effect.md +0 -94
  124. package/framework/skills/great-interface/references/focus-and-keyboard.md +0 -131
  125. package/framework/skills/great-interface/references/forms.md +0 -84
  126. package/framework/skills/great-interface/references/from-an-image.md +0 -55
  127. package/framework/skills/great-interface/references/grouping-and-alignment.md +0 -123
  128. package/framework/skills/great-interface/references/hit-areas.md +0 -94
  129. package/framework/skills/great-interface/references/icon-transitions.md +0 -102
  130. package/framework/skills/great-interface/references/icons.md +0 -110
  131. package/framework/skills/great-interface/references/interface-review.md +0 -148
  132. package/framework/skills/great-interface/references/motion-and-zoom.md +0 -79
  133. package/framework/skills/great-interface/references/no-browser.md +0 -73
  134. package/framework/skills/great-interface/references/palette-generation.md +0 -104
  135. package/framework/skills/great-interface/references/palette-structure.md +0 -76
  136. package/framework/skills/great-interface/references/performance.md +0 -88
  137. package/framework/skills/great-interface/references/picker.md +0 -76
  138. package/framework/skills/great-interface/references/read-the-system.md +0 -178
  139. package/framework/skills/great-interface/references/removed-signals.md +0 -38
  140. package/framework/skills/great-interface/references/review-format.md +0 -46
  141. package/framework/skills/great-interface/references/scope-resolution.md +0 -88
  142. package/framework/skills/great-interface/references/screen-readers.md +0 -101
  143. package/framework/skills/great-interface/references/semantics-and-aria.md +0 -84
  144. package/framework/skills/great-interface/references/spacing-and-adaptivity.md +0 -159
  145. package/framework/skills/great-interface/references/spacing-and-sizing.md +0 -121
  146. package/framework/skills/great-interface/references/surfaces.md +0 -219
  147. package/framework/skills/great-interface/references/token-naming.md +0 -97
  148. package/framework/skills/great-interface/references/variable-fonts-and-opentype.md +0 -105
  149. package/framework/skills/great-interface/references/variant.md +0 -104
  150. package/framework/skills/great-interface/references/wrapping-and-punctuation.md +0 -55
  151. package/framework/skills/jira-mcp/SKILL.md +0 -57
  152. package/framework/skills/jira-mcp/examples.md +0 -31
  153. package/framework/skills/jira-mcp/references/comments.md +0 -27
  154. package/framework/skills/jira-mcp/references/issues.md +0 -97
  155. package/framework/skills/jira-mcp/references/projects.md +0 -39
  156. package/framework/skills/learning-opportunities/SKILL.md +0 -140
  157. package/framework/skills/learning-opportunities/examples.md +0 -34
  158. package/framework/skills/learning-opportunities/references/PRINCIPLES.md +0 -42
  159. package/framework/skills/notion-mcp/SKILL.md +0 -57
  160. package/framework/skills/notion-mcp/examples.md +0 -31
  161. package/framework/skills/notion-mcp/references/comments.md +0 -112
  162. package/framework/skills/notion-mcp/references/databases.md +0 -193
  163. package/framework/skills/notion-mcp/references/pages.md +0 -235
  164. package/framework/skills/spec-driven-eval/SKILL.md +0 -341
  165. package/framework/skills/spec-driven-eval/examples.md +0 -35
  166. package/framework/skills/spec-driven-eval/references/quickstart.md +0 -118
  167. package/framework/skills/spec-driven-eval/references/reference.md +0 -295
  168. package/framework/skills/technical-design-doc-creator/README.md +0 -411
  169. package/framework/skills/technical-design-doc-creator/SKILL.md +0 -1484
  170. package/framework/skills/technical-design-doc-creator/examples.md +0 -35
  171. package/framework/skills/web-design-guidelines/SKILL.md +0 -65
  172. package/framework/skills/web-design-guidelines/examples.md +0 -32
  173. package/framework/skills/web-design-guidelines/references/guideline.md +0 -174
@@ -1,146 +0,0 @@
1
- ---
2
- description: Master backend architect for designing scalable, secure, and maintainable server-side systems. Use for API design, database architecture, system architecture decisions, security implementation, performance optimization, and DevOps integration.
3
- mode: subagent
4
- temperature: 0.1
5
- permission:
6
- bash: allow
7
- read: allow
8
- edit: deny
9
- write: deny
10
- patch: deny
11
- grep: allow
12
- glob: allow
13
- list: allow
14
- webfetch: allow
15
- todoread: deny
16
- todowrite: deny
17
- ---
18
-
19
- You are a master backend architect with deep expertise in designing scalable, secure, and maintainable server-side systems. You excel at making architectural decisions that balance immediate needs with long-term scalability.
20
-
21
- ## Core Responsibilities
22
-
23
- ### 1. API Design & Implementation
24
- - Design RESTful APIs following OpenAPI specifications
25
- - Implement GraphQL schemas when appropriate
26
- - Create proper versioning strategies
27
- - Implement comprehensive error handling
28
- - Design consistent response formats
29
- - Build proper authentication and authorization
30
-
31
- ### 2. Database Architecture
32
- - Choose appropriate databases (SQL vs NoSQL)
33
- - Design normalized schemas with proper relationships
34
- - Implement efficient indexing strategies
35
- - Create data migration strategies
36
- - Handle concurrent access patterns
37
- - Implement caching layers (Redis, Memcached)
38
-
39
- ### 3. System Architecture
40
- - Design microservices with clear boundaries
41
- - Implement message queues for async processing
42
- - Create event-driven architectures
43
- - Build fault-tolerant systems
44
- - Implement circuit breakers and retries
45
- - Design for horizontal scaling
46
-
47
- ### 4. Security Implementation
48
- - Implement proper authentication (JWT, OAuth2)
49
- - Create role-based access control (RBAC)
50
- - Validate and sanitize all inputs
51
- - Implement rate limiting and DDoS protection
52
- - Encrypt sensitive data at rest and in transit
53
- - Follow OWASP security guidelines
54
-
55
- ### 5. Performance Optimization
56
- - Implement efficient caching strategies
57
- - Optimize database queries and connections
58
- - Use connection pooling effectively
59
- - Implement lazy loading where appropriate
60
- - Monitor and optimize memory usage
61
- - Create performance benchmarks
62
-
63
- ### 6. DevOps Integration
64
- - Create Dockerized applications
65
- - Implement health checks and monitoring
66
- - Set up proper logging and tracing
67
- - Create CI/CD-friendly architectures
68
- - Implement feature flags for safe deployments
69
- - Design for zero-downtime deployments
70
-
71
- ## Technology Stack Expertise
72
-
73
- **Languages:** PHP, Python, Go, Rust
74
- **Frameworks:** Laravel, FastAPI, Gin
75
- **Databases:** PostgreSQL, MongoDB, Redis, MySQL
76
- **Message Queues:** RabbitMQ, Kafka, SQS
77
- **Cloud:** VPS, Vercel, Supabase
78
-
79
- ## Architectural Patterns
80
-
81
- - Microservices with API Gateway
82
- - Event Sourcing and CQRS
83
- - Serverless with Lambda/Functions
84
- - Domain-Driven Design (DDD)
85
- - Hexagonal Architecture
86
- - Service Mesh with Istio
87
-
88
- ## Workflow
89
-
90
- ### Step 1: Understand Requirements
91
- Read conversation history, project structure, and existing code. Identify constraints: traffic patterns, data volume, latency requirements, team expertise, deployment environment. Load [`skills/backend-best-practices/SKILL.md`](../skills/backend-best-practices/SKILL.md), and referenced standards.
92
-
93
- ### Step 2: Evaluate Tradeoffs
94
- For each architectural decision, consider:
95
- - **Complexity vs maintainability**: will this abstraction pay off in 3 months?
96
- - **Performance vs cost**: does the optimization justify the infrastructure expense?
97
- - **Speed vs correctness**: can we ship a safe subset now and iterate?
98
- - **Consistency vs availability**: which matters more for this specific operation?
99
-
100
- ### Step 3: Design and Document
101
- Produce artifacts matching the task scope:
102
- - API contracts (OpenAPI or GraphQL schema)
103
- - Data model with entity relationships and indexes
104
- - System architecture diagram (text or component map)
105
- - Deployment architecture (containers, networking, scaling)
106
- - Security model (auth flows, RBAC matrix, encryption boundaries)
107
-
108
- ### Step 4: Review Against Principles
109
- - Can each component change independently?
110
- - Is there a simpler architecture that satisfies the same requirements?
111
- - Are failure modes documented (timeout, retry, fallback, partial failure)?
112
- - Are operational concerns addressed (observability, deployability, rollback)?
113
-
114
- ## Output Format
115
-
116
- ```
117
- ## Architecture Summary
118
- [High-level design and key decisions]
119
-
120
- ## API Design
121
- [Contracts, versioning, error handling approach]
122
-
123
- ## Data Model
124
- [Entity relationships, storage choices, caching]
125
-
126
- ## System Architecture
127
- [Components, boundaries, communication patterns]
128
-
129
- ## Security Model
130
- [Auth, authorization, input validation, encryption]
131
-
132
- ## Performance Considerations
133
- [Caching, connection pooling, scaling strategy]
134
-
135
- ## Tradeoffs & Risks
136
- [What was deferred, what could break, mitigation plan]
137
- ```
138
-
139
- ## Tone
140
-
141
- - **Pragmatic** — recommend what works for the actual constraints, not theoretical ideal
142
- - **Explicit about tradeoffs** — every decision has a cost; surface it
143
- - **Specific and actionable** — concrete schema snippets, config examples, code patterns
144
- - **Cost-aware** — consider infra cost, team velocity, and maintenance burden
145
-
146
- Return findings in response. Do not modify files.
@@ -1,51 +0,0 @@
1
- # GitHub MCP
2
-
3
- ## Overview
4
-
5
- The GitHub MCP Server connects AI tools directly to GitHub. Browse code, manage issues and PRs, analyze commits, monitor Actions workflows, and automate development workflows through natural language.
6
-
7
- Official source:
8
-
9
- - [GitHub: github/github-mcp-server](https://github.com/github/github-mcp-server)
10
-
11
- ## Features
12
-
13
- - Repository browsing — read files, search code, explore directory trees, analyze commits.
14
- - Issue & PR management — create, update, comment, review, and merge pull requests.
15
- - CI/CD intelligence — monitor workflow runs, analyze build failures, manage releases.
16
- - Code Analysis — examine security findings, review Dependabot alerts, understand code patterns.
17
- - Team collaboration — access discussions, manage notifications, analyze team activity.
18
-
19
- ## Supported AI Clients
20
-
21
- GitHub MCP officially documents setup for Claude Code, VS Code, GitHub Copilot, Cursor, Windsurf, Zed, and OpenCode.
22
-
23
- - OpenCode
24
-
25
- ## When to Use
26
-
27
- Use GitHub MCP when an AI coding agent needs direct access to GitHub.
28
-
29
- Good fits:
30
-
31
- - Browsing repository code, commits, and branches.
32
- - Creating, reviewing, and merging pull requests.
33
- - Managing issues, labels, and milestones.
34
- - Monitoring Actions workflows and debugging CI failures.
35
- - Analyzing Dependabot alerts and code scanning results.
36
- - Managing GitHub releases and gists.
37
-
38
- Avoid using it outside of GitHub-related workflows.
39
-
40
- ## Requirements
41
-
42
- - A GitHub Personal Access Token with appropriate scopes (`repo` for private repos, `read:org` for org access).
43
- - An MCP-compatible AI client that supports remote HTTP MCP servers.
44
-
45
- ## Related Skills
46
-
47
- Relevant skills in this repository:
48
-
49
- - [`code-review`](../../skills/code-review/SKILL.md): reviewing pull request diffs.
50
- - [`backend-best-practices`](../../skills/backend-best-practices/SKILL.md): backend best practices for testing, debugging, and security review.
51
- - [`pr`](../../commands/pr.md): preparing and submitting pull requests.
@@ -1,83 +0,0 @@
1
- # GitHub MCP Capabilities
2
-
3
- ## What It Can Do
4
-
5
- The server provides toolsets across the following categories:
6
-
7
- ### Context
8
-
9
- Tools that provide information about the authenticated user and organization membership.
10
-
11
- ### Repositories
12
-
13
- Browse repository code, files, directory trees, commits, and branches. Search code across repositories.
14
-
15
- ### Issues
16
-
17
- Create, read, update issues. Add comments, manage labels, assignees, and milestones.
18
-
19
- ### Pull Requests
20
-
21
- Create, review, update, and merge pull requests. Add review comments, request changes, approve. List changed files and review diffs.
22
-
23
- ### Actions
24
-
25
- List workflows, trigger workflow runs. Get workflow run details, job logs, and artifacts.
26
-
27
- ### Code Security
28
-
29
- List and read code scanning alerts, Dependabot alerts.
30
-
31
- ### Discussions
32
-
33
- Read and create discussions, manage comments.
34
-
35
- ### Gists
36
-
37
- Create, read, update gists.
38
-
39
- ### Users & Organizations
40
-
41
- Read user profiles, list teams, list organization members.
42
-
43
- ### Additional Toolsets (remote server)
44
-
45
- - Copilot — assign Copilot to issues, request Copilot review.
46
- - Copilot Spaces — manage Copilot spaces.
47
- - GitHub Support Docs Search — answer GitHub product and support questions.
48
-
49
- ## What It Cannot Do
50
-
51
- - It cannot operate without a valid GitHub token or OAuth session.
52
- - It cannot access repositories the token does not have permissions for.
53
- - It cannot directly execute code or deploy to production.
54
- - It does not provide real-time notifications or webhook management.
55
- - Some toolsets are only available on the remote server (Copilot, Support Docs Search).
56
-
57
- ## Best Practices
58
-
59
- - Use a fine-grained PAT scoped to the minimum repositories and permissions needed.
60
- - Store the PAT in `.env` (under `.opencode/`) and never commit it to version control.
61
- - Use `GITHUB_TOOLSETS` environment variable (when running locally) to enable only the tool groups needed.
62
- - For read-only workflows, limit the PAT to read-only scopes.
63
- - Prefer the remote HTTP server for simplicity; use the local Docker server only when remote HTTP is not supported.
64
-
65
- ## Common Workflows
66
-
67
- ### Review a pull request
68
-
69
- 1. Let the agent browse the PR diff and changed files.
70
- 2. The agent can post review comments, approve, or request changes.
71
- 3. Merge when ready.
72
-
73
- ### Investigate a CI failure
74
-
75
- 1. Ask the agent to list recent Actions workflow runs.
76
- 2. The agent can read job logs to find the failure.
77
- 3. Use the findings to propose a fix.
78
-
79
- ### Manage issues
80
-
81
- 1. List open issues with filtering by label, assignee, or state.
82
- 2. Read issue details and comments.
83
- 3. Create or update issues with labels, assignees, and milestones.
@@ -1 +0,0 @@
1
- GITHUB_PERSONAL_ACCESS_TOKEN=
@@ -1,13 +0,0 @@
1
- {
2
- "mcp": {
3
- "github": {
4
- "type": "remote",
5
- "enabled": true,
6
- "oauth": false,
7
- "url": "https://api.githubcopilot.com/mcp/",
8
- "headers": {
9
- "Authorization": "Bearer {env:GITHUB_PERSONAL_ACCESS_TOKEN}"
10
- }
11
- }
12
- }
13
- }
@@ -1,60 +0,0 @@
1
- # GitHub MCP Installation
2
-
3
- ## Requirements
4
-
5
- - A GitHub account with API access.
6
- - A GitHub Personal Access Token (classic or fine-grained) with the following scopes:
7
- - `repo` — full control of private repositories.
8
- - `read:org` — read organization membership.
9
- - An MCP-compatible AI client that supports remote HTTP MCP servers.
10
-
11
- ## Authentication
12
-
13
- This MCP uses the **remote GitHub MCP Server** hosted by GitHub at `https://api.githubcopilot.com/mcp/`. Authentication is handled via a `Bearer` token in the `Authorization` header.
14
-
15
- | Method | Best for |
16
- | --- | --- |
17
- | Personal Access Token (PAT) | Simplest local setup |
18
- | OAuth (via host support) | Better security when host supports it |
19
-
20
- ## Configuration
21
-
22
- | Field | Value |
23
- | --- | --- |
24
- | Server name | `github` |
25
- | Type | `http` |
26
- | URL | `https://api.githubcopilot.com/mcp/` |
27
- | Auth header | `Authorization: Bearer {env:GITHUB_PERSONAL_ACCESS_TOKEN}` |
28
-
29
- ### Config file examples
30
-
31
- Use the examples in [`configs/`](./configs/) as client-specific starting points:
32
-
33
- | Client | Example | Typical location |
34
- | --- | --- | --- |
35
- | OpenCode | [`configs/opencode.json`](./configs/opencode.json) | OpenCode MCP configuration. |
36
-
37
- ### OpenCode
38
-
39
- Copy [`configs/opencode.json`](./configs/opencode.json) into your OpenCode project root or user config directory, ensure `GITHUB_PERSONAL_ACCESS_TOKEN` is set in your `.env` file, and restart the OpenCode agent.
40
-
41
- ## Verification
42
-
43
- From your AI client:
44
-
45
- - The `github` MCP server is listed.
46
- - The server starts without errors.
47
- - Tools are visible to the agent.
48
-
49
- Recommended first prompt:
50
-
51
- ```
52
- List my GitHub repositories and show me recent pull requests.
53
- ```
54
-
55
- ## Common Issues
56
-
57
- - **Server does not start**: confirm your client supports remote HTTP MCP servers.
58
- - **Authentication errors**: confirm the PAT has the required scopes and `GITHUB_PERSONAL_ACCESS_TOKEN` is set in your `.env` or environment.
59
- - **401 Unauthorized**: regenerate the token in GitHub **Settings → Developer settings → Personal access tokens**.
60
- - **Rate limiting**: GitHub API has rate limits; reduce the frequency of tool calls if you encounter 429 errors.
@@ -1,79 +0,0 @@
1
- # GitHub MCP Troubleshooting
2
-
3
- ## Server won't start
4
-
5
- **Problem**
6
-
7
- The AI client reports that `github` failed to start.
8
-
9
- **Cause**
10
-
11
- The client does not support remote HTTP MCP servers, or the URL is misconfigured.
12
-
13
- **Solution**
14
-
15
- - Verify the `type` is `http` and `url` is `https://api.githubcopilot.com/mcp/`.
16
- - Check that your client supports remote MCP servers (VS Code 1.101+, Claude Desktop, Cursor, Windsurf, OpenCode).
17
- - If remote HTTP is not supported, use the local Docker version instead (see upstream docs).
18
-
19
- ## Authentication errors
20
-
21
- **Problem**
22
-
23
- The server starts but returns 401 Unauthorized on tool calls.
24
-
25
- **Cause**
26
-
27
- The `GITHUB_PERSONAL_ACCESS_TOKEN` is missing, expired, or invalid.
28
-
29
- **Solution**
30
-
31
- - Verify `GITHUB_PERSONAL_ACCESS_TOKEN` is set: check your `.env` file or environment variables.
32
- - Confirm the token is a valid GitHub Personal Access Token with the required scopes.
33
- - Generate a new token in GitHub: **Settings → Developer settings → Personal access tokens → Fine-grained tokens**.
34
- - Ensure the token is not expired.
35
-
36
- ## Rate limiting
37
-
38
- **Problem**
39
-
40
- Tools return 429 Too Many Requests errors.
41
-
42
- **Cause**
43
-
44
- GitHub API rate limits have been exceeded.
45
-
46
- **Solution**
47
-
48
- - Reduce the frequency of tool calls.
49
- - Wait for the rate limit window (typically 1 hour) to reset before retrying.
50
- - For higher limits, authenticate with a PAT that has the necessary scopes.
51
-
52
- ## Token in version control
53
-
54
- **Problem**
55
-
56
- Risk of leaking the GitHub token to version control.
57
-
58
- **Solution**
59
-
60
- - Never hardcode the token in `opencode.json` or any config file.
61
- - Use `{env:GITHUB_PERSONAL_ACCESS_TOKEN}` in config files and store the actual value in `.env`.
62
- - Add `.env` to `.gitignore`.
63
- - Restrict `.env` file permissions: `chmod 600 .opencode/.env`.
64
-
65
- ## Permission errors
66
-
67
- **Problem**
68
-
69
- Tools return 403 Forbidden or insufficient permissions.
70
-
71
- **Cause**
72
-
73
- The authenticated token does not have the required scopes or repository access.
74
-
75
- **Solution**
76
-
77
- - Verify the token has `repo` scope for private repositories.
78
- - For organization access, ensure `read:org` scope is included.
79
- - For fine-grained tokens, ensure the token has access to the target repository.
@@ -1,53 +0,0 @@
1
- # GitLab MCP
2
-
3
- ## Overview
4
-
5
- GitLab MCP is a comprehensive GitLab MCP server for AI clients. Manage projects, merge requests, issues, pipelines, wiki, releases, tags, milestones, and more through stdio, SSE, and Streamable HTTP transports. Supports PAT, OAuth, read-only mode, dynamic API URLs, and remote authorization.
6
-
7
- Official source:
8
-
9
- - [GitHub: zereight/gitlab-mcp](https://github.com/zereight/gitlab-mcp)
10
- - [Documentation](https://zereight.github.io/gitlab-mcp/)
11
-
12
- ## Features
13
-
14
- - Broad GitLab coverage — 117+ tools for projects, repository browsing, merge requests, issues, pipelines, wiki, releases, tags, labels, milestones, and more.
15
- - Flexible auth — Personal Access Token, local OAuth2 browser flow, MCP OAuth proxy, and per-request remote authorization.
16
- - Multiple transports — stdio for local clients, SSE for legacy clients, and Streamable HTTP for modern remote deployments.
17
- - Client-friendly setup — examples for Claude Code, Codex, OpenCode, Copilot, Cline, Roo Code, Cursor, and more.
18
- - Self-hosted ready — works with custom GitLab instances, proxy settings, and dynamic API URL routing.
19
- - Permission modes — `readonly`, `modify` (no delete), or `full`; tool filtering by toolset groups, allow-list, and deny-list.
20
-
21
- ## Supported AI Clients
22
-
23
- GitLab MCP officially documents setup for Claude Code, VS Code, GitHub Copilot, Codex, Cursor, and JSON-based MCP clients.
24
-
25
- - OpenCode
26
-
27
- ## When to Use
28
-
29
- Use GitLab MCP when an AI coding agent needs to interact with a GitLab instance.
30
-
31
- Good fits:
32
-
33
- - Reviewing, approving, and merging merge requests.
34
- - Browsing repositories, files, and commit history.
35
- - Creating and managing issues and to-do items.
36
- - Inspecting CI/CD pipelines and job logs.
37
- - Managing wiki pages, milestones, labels, and releases.
38
- - Automating GitLab workflows from an AI agent.
39
-
40
- Avoid using it outside of GitLab-related workflows.
41
-
42
- ## Requirements
43
-
44
- - Node.js >= 18 and npm (for `npx` or global install), or Homebrew (for `brew install`).
45
- - A GitLab account with API access.
46
- - A Personal Access Token with appropriate scopes, or OAuth2 credentials.
47
-
48
- ## Related Skills
49
-
50
- Relevant skills in this repository:
51
-
52
- - [`backend-best-practices`](../../skills/backend-best-practices/SKILL.md): backend best practices for API design, testing, debugging, performance, and security.
53
- - [`code-review`](../../skills/code-review/SKILL.md): reviewing merge request diffs.