@mohammadhprp/system-prompt 0.12.1 → 0.12.2

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 (62) hide show
  1. package/framework/agents/README.md +0 -1
  2. package/framework/commands/mr.md +8 -9
  3. package/framework/mcps/README.md +0 -3
  4. package/framework/skills/README.md +3 -2
  5. package/framework/skills/glab/SKILL.md +222 -0
  6. package/framework/skills/glab/references/commands-detailed.md +616 -0
  7. package/framework/skills/glab/references/quick-reference.md +145 -0
  8. package/framework/skills/glab/references/troubleshooting.md +669 -0
  9. package/framework/skills/improve/SKILL.md +137 -0
  10. package/framework/skills/improve/examples.md +19 -0
  11. package/framework/skills/improve/references/audit-playbook.md +130 -0
  12. package/framework/skills/improve/references/closing-the-loop.md +96 -0
  13. package/framework/skills/improve/references/plan-template.md +197 -0
  14. package/framework/skills/jira-cli/SKILL.md +260 -0
  15. package/framework/skills/jira-cli/references/commands-detailed.md +268 -0
  16. package/framework/skills/jira-cli/references/quick-reference.md +111 -0
  17. package/framework/skills/jira-cli/references/troubleshooting.md +114 -0
  18. package/framework/styles/README.md +9 -4
  19. package/framework/styles/factory/DESIGN.md +360 -0
  20. package/framework/styles/factory/README.md +32 -0
  21. package/framework/styles/factory/assets/preview.jpg +0 -0
  22. package/framework/styles/huly/DESIGN.md +449 -0
  23. package/framework/styles/huly/README.md +32 -0
  24. package/framework/styles/huly/assets/preview.jpg +0 -0
  25. package/framework/styles/notion/DESIGN.md +423 -0
  26. package/framework/styles/notion/README.md +32 -0
  27. package/framework/styles/notion/assets/preview.jpg +0 -0
  28. package/package.json +1 -1
  29. package/src/catalog.js +6 -6
  30. package/framework/agents/backend-architect.md +0 -146
  31. package/framework/mcps/github-mcp/README.md +0 -51
  32. package/framework/mcps/github-mcp/capabilities.md +0 -83
  33. package/framework/mcps/github-mcp/configs/.env.example +0 -1
  34. package/framework/mcps/github-mcp/configs/opencode.json +0 -13
  35. package/framework/mcps/github-mcp/install.md +0 -60
  36. package/framework/mcps/github-mcp/troubleshooting.md +0 -79
  37. package/framework/mcps/gitlab-mcp/README.md +0 -53
  38. package/framework/mcps/gitlab-mcp/capabilities.md +0 -216
  39. package/framework/mcps/gitlab-mcp/configs/.env.example +0 -2
  40. package/framework/mcps/gitlab-mcp/configs/opencode.json +0 -13
  41. package/framework/mcps/gitlab-mcp/install.md +0 -99
  42. package/framework/mcps/gitlab-mcp/troubleshooting.md +0 -116
  43. package/framework/mcps/jira-mcp/README.md +0 -52
  44. package/framework/mcps/jira-mcp/capabilities.md +0 -79
  45. package/framework/mcps/jira-mcp/configs/.env.example +0 -2
  46. package/framework/mcps/jira-mcp/configs/opencode.json +0 -13
  47. package/framework/mcps/jira-mcp/install.md +0 -94
  48. package/framework/mcps/jira-mcp/troubleshooting.md +0 -113
  49. package/framework/skills/gitlab-mcp/SKILL.md +0 -83
  50. package/framework/skills/gitlab-mcp/examples.md +0 -31
  51. package/framework/skills/gitlab-mcp/references/code-review.md +0 -110
  52. package/framework/skills/gitlab-mcp/references/issues.md +0 -141
  53. package/framework/skills/gitlab-mcp/references/merge-requests.md +0 -120
  54. package/framework/skills/gitlab-mcp/references/pipelines.md +0 -67
  55. package/framework/skills/gitlab-mcp/references/search.md +0 -17
  56. package/framework/skills/gitlab-mcp/references/webhooks.md +0 -32
  57. package/framework/skills/gitlab-mcp/references/work-items.md +0 -50
  58. package/framework/skills/jira-mcp/SKILL.md +0 -57
  59. package/framework/skills/jira-mcp/examples.md +0 -31
  60. package/framework/skills/jira-mcp/references/comments.md +0 -27
  61. package/framework/skills/jira-mcp/references/issues.md +0 -97
  62. package/framework/skills/jira-mcp/references/projects.md +0 -39
@@ -1,141 +0,0 @@
1
- # Issue Management
2
-
3
- ## Create
4
-
5
- ```
6
- create_issue
7
- project_id: "my-group/my-project"
8
- title: "Login page returns 500"
9
- description: "Steps to reproduce..."
10
- labels: "bug,critical"
11
- assignee_ids: [123]
12
- milestone_id: 5
13
- ```
14
-
15
- ## Read
16
-
17
- ```
18
- get_issue -> single issue details
19
- list_issues -> project issues (default: created by current user)
20
- scope: "all" -> list ALL issues (not just current user's)
21
- state: "opened" -> filter by state
22
- labels: "bug" -> filter by labels
23
- my_issues -> issues assigned to current user across all projects
24
- ```
25
-
26
- **Important**: `list_issues` defaults to showing only issues created by the current user.
27
- Pass `scope: "all"` to see all project issues.
28
-
29
- ## Update
30
-
31
- ```
32
- update_issue
33
- project_id: "my-group/my-project"
34
- issue_iid: 10
35
- state_event: "close" # or "reopen"
36
- labels: "bug,resolved"
37
- assignee_ids: [456]
38
- ```
39
-
40
- ### Patch-based description update (token-efficient)
41
-
42
- ```
43
- update_issue_description_patch
44
- project_id: "my-group/my-project"
45
- issue_iid: 10
46
- patch_type: "search_replace" # or "unified_diff"
47
- patch: |
48
- <<<<<<< SEARCH
49
- Status: In progress
50
- =======
51
- Status: Ready for review
52
- >>>>>>> REPLACE
53
- dry_run: false
54
- create_note: true
55
- ```
56
-
57
- Applies a small patch to the issue description without sending the full text.
58
- Reduces token usage for AI agents editing long descriptions.
59
-
60
- **Search/Replace format**:
61
- ```
62
- <<<<<<< SEARCH
63
- text to find
64
- =======
65
- replacement text
66
- >>>>>>> REPLACE
67
- ```
68
-
69
- **Options**:
70
- - `dry_run: true` — preview changes without updating
71
- - `create_note: true` — add a comment summarizing the change after update
72
- - `allow_multiple: true` — allow multiple matches to all be replaced (search_replace only)
73
-
74
- **Error handling**:
75
- - Search text not found → fails with clear message
76
- - Multiple matches (without `allow_multiple`) → fails with count
77
- - Patch results in identical description → fails (no-op)
78
- - Unified diff doesn't match → fails
79
-
80
- ## Delete
81
-
82
- ```
83
- delete_issue -> permanently delete (destructive, cannot be undone)
84
- ```
85
-
86
- ## Issue Links
87
-
88
- Link related issues:
89
-
90
- ```
91
- create_issue_link
92
- project_id: "my-group/my-project"
93
- issue_iid: 10
94
- target_project_id: "my-group/other-project"
95
- target_issue_iid: 20
96
- link_type: "relates_to" # or "blocks", "is_blocked_by"
97
- ```
98
-
99
- ```
100
- list_issue_links -> list all linked issues
101
- get_issue_link -> get specific link details
102
- delete_issue_link -> remove a link
103
- ```
104
-
105
- ## Discussions & Notes
106
-
107
- Add comments:
108
-
109
- ```
110
- create_issue_note
111
- project_id: "my-group/my-project"
112
- issue_iid: 10
113
- body: "Confirmed, this is a regression"
114
- discussion_id: "abc123" # optional: reply to existing thread
115
- ```
116
-
117
- ```
118
- update_issue_note -> edit a comment
119
- list_issue_discussions -> list all discussion threads
120
- ```
121
-
122
- ### Emoji reactions
123
-
124
- ```
125
- list_issue_emoji_reactions -> list reactions on an issue
126
- create_issue_emoji_reaction -> add reaction to an issue
127
- delete_issue_emoji_reaction -> remove reaction from an issue
128
- list_issue_note_emoji_reactions -> list reactions on an issue note or thread reply
129
- create_issue_note_emoji_reaction -> add reaction to an issue note or thread reply
130
- delete_issue_note_emoji_reaction -> remove reaction from an issue note or thread reply
131
- ```
132
-
133
- Generic note creation (works for both issues and MRs):
134
-
135
- ```
136
- create_note
137
- project_id: "my-group/my-project"
138
- noteable_type: "Issue" # or "MergeRequest"
139
- noteable_iid: 10
140
- body: "Note content"
141
- ```
@@ -1,120 +0,0 @@
1
- # Merge Request Workflow
2
-
3
- ## Create
4
-
5
- ```
6
- create_merge_request
7
- project_id: "my-group/my-project"
8
- title: "Add user authentication"
9
- source_branch: "feature/auth"
10
- target_branch: "main"
11
- description: "Implements OAuth2 login flow"
12
- assignee_id: 123
13
- labels: "feature,auth"
14
- ```
15
-
16
- ## Read & Track
17
-
18
- ```
19
- get_merge_request -> full MR details (by IID or branch name)
20
- list_merge_requests -> list with filters (state, labels, author, etc.)
21
- - without project_id: current user's MRs across all projects
22
- - with project_id: MRs in that project
23
- get_merge_request_conflicts -> check for merge conflicts
24
- list_merge_request_pipelines -> list pipelines attached to an MR
25
- ```
26
-
27
- ## Update
28
-
29
- ```
30
- update_merge_request
31
- project_id: "my-group/my-project"
32
- mergeRequestIid: 42
33
- title: "Updated title"
34
- state_event: "close" # or "reopen"
35
- assignee_ids: [123, 456]
36
- labels: "feature,reviewed"
37
- ```
38
-
39
- ## Review & Approve
40
-
41
- See [code-review.md](code-review.md) for the full diff review workflow.
42
-
43
- ```
44
- approve_merge_request -> approve
45
- unapprove_merge_request -> retract approval
46
- get_merge_request_approval_state -> check who approved, rules status
47
- ```
48
-
49
- ## Merge
50
-
51
- ```
52
- merge_merge_request
53
- project_id: "my-group/my-project"
54
- mergeRequestIid: 42
55
- should_remove_source_branch: true
56
- squash: true
57
- merge_when_pipeline_succeeds: true
58
- ```
59
-
60
- **Warning**: `merge_merge_request` is destructive - cannot be undone.
61
-
62
- ## Discussion Management
63
-
64
- ### Threads (inline code comments)
65
-
66
- ```
67
- create_merge_request_thread -> new thread on a diff line
68
- resolve_merge_request_thread -> mark thread resolved
69
- ```
70
-
71
- ### Notes (general comments)
72
-
73
- ```
74
- create_merge_request_note -> add comment
75
- get_merge_request_notes -> list all comments
76
- update_merge_request_note -> edit comment
77
- delete_merge_request_note -> remove comment
78
- ```
79
-
80
- ### Discussion notes (replies in threads)
81
-
82
- ```
83
- mr_discussions -> list all discussions
84
- create_merge_request_discussion_note -> reply to thread
85
- update_merge_request_discussion_note -> edit reply
86
- delete_merge_request_discussion_note -> remove reply
87
- ```
88
-
89
- ### Draft notes (pending review)
90
-
91
- ```
92
- create_draft_note -> create pending comment
93
- list_draft_notes -> see all drafts
94
- update_draft_note -> edit before publishing
95
- delete_draft_note -> discard
96
- publish_draft_note -> publish single draft
97
- bulk_publish_draft_notes -> publish all drafts at once
98
- ```
99
-
100
- ### Emoji reactions
101
-
102
- ```
103
- list_merge_request_emoji_reactions -> list reactions on an MR
104
- create_merge_request_emoji_reaction -> add reaction to an MR
105
- delete_merge_request_emoji_reaction -> remove reaction from an MR
106
- list_merge_request_note_emoji_reactions -> list reactions on an MR note or thread reply
107
- create_merge_request_note_emoji_reaction -> add reaction to an MR note or thread reply
108
- delete_merge_request_note_emoji_reaction -> remove reaction from an MR note or thread reply
109
- ```
110
-
111
- ## Branch Comparison
112
-
113
- Compare without an existing MR:
114
-
115
- ```
116
- get_branch_diffs
117
- project_id: "my-group/my-project"
118
- from: "main"
119
- to: "feature/auth"
120
- ```
@@ -1,67 +0,0 @@
1
- # Pipeline Operations
2
-
3
- > **Opt-in toolset**: Enable with `USE_PIPELINE=true` or `GITLAB_TOOLSETS=pipelines`
4
-
5
- ## List & Inspect
6
-
7
- ```
8
- list_pipelines -> list pipelines with filters (status, ref, source)
9
- get_pipeline -> pipeline details (status, duration, coverage)
10
- list_pipeline_jobs -> all jobs in a pipeline
11
- list_pipeline_trigger_jobs -> trigger/bridge jobs (downstream pipelines)
12
- get_pipeline_job -> single job details
13
- get_pipeline_job_output -> job log output (supports pagination for large logs)
14
- ```
15
-
16
- ## Create & Control
17
-
18
- ```
19
- create_pipeline -> trigger new pipeline for a branch/tag
20
- project_id: "my-group/my-project"
21
- ref: "main"
22
- variables: [{ key: "DEPLOY_ENV", value: "staging" }]
23
- ```
24
-
25
- ```
26
- retry_pipeline -> retry all failed jobs in a pipeline
27
- cancel_pipeline -> cancel running pipeline
28
- play_pipeline_job -> run a manual job
29
- retry_pipeline_job -> retry a single failed job
30
- cancel_pipeline_job -> cancel a single running job
31
- ```
32
-
33
- ## Artifacts
34
-
35
- ```
36
- list_job_artifacts -> list files in a job's artifact archive
37
- get_job_artifact_file -> get content of a single artifact file
38
- download_job_artifacts -> download full artifact archive (zip) to local_path
39
- ```
40
-
41
- ## Deployments & Environments
42
-
43
- ```
44
- list_deployments -> list deployments with filters
45
- get_deployment -> deployment details
46
- list_environments -> list project environments
47
- get_environment -> environment details
48
- ```
49
-
50
- ## Common Patterns
51
-
52
- ### Check why a pipeline failed
53
-
54
- 1. `list_pipelines` with `status: "failed"` -> get pipeline ID
55
- 2. `list_pipeline_jobs` -> find failed job(s)
56
- 3. `get_pipeline_job_output` -> read error logs
57
-
58
- ### Retry failed pipeline
59
-
60
- 1. `retry_pipeline` -> retries all failed jobs
61
- OR
62
- 2. `retry_pipeline_job` -> retry specific job only
63
-
64
- ### Download test results
65
-
66
- 1. `list_job_artifacts` -> find the test report file path
67
- 2. `get_job_artifact_file` -> read the report content
@@ -1,17 +0,0 @@
1
- # Code Search
2
-
3
- > **Opt-in toolset**: Enable with `GITLAB_TOOLSETS=search`
4
-
5
- Search requires GitLab advanced search or exact code search/Zoekt support on the target instance.
6
-
7
- ## Scope
8
-
9
- ```
10
- search_code -> search code across all accessible projects
11
- search_project_code -> search within one project
12
- search_group_code -> search within one group
13
- ```
14
-
15
- ## Pattern
16
-
17
- Use the narrowest scope that can answer the question. Prefer `search_project_code` when the project is known, then broaden to group or instance-wide search only when needed.
@@ -1,32 +0,0 @@
1
- # Webhook Operations
2
-
3
- > **Opt-in toolset**: Enable with `GITLAB_TOOLSETS=webhooks`
4
-
5
- ## List Webhooks
6
-
7
- Provide either `project_id` or `group_id`.
8
-
9
- ```
10
- list_webhooks
11
- project_id: "my-group/my-project"
12
- ```
13
-
14
- ## Inspect Recent Events
15
-
16
- GitLab exposes recent webhook events for the past 7 days.
17
-
18
- ```
19
- list_webhook_events
20
- project_id: "my-group/my-project"
21
- webhook_id: 123
22
- summary: true
23
- ```
24
-
25
- Fetch full event details only after narrowing to the event ID.
26
-
27
- ```
28
- get_webhook_event
29
- project_id: "my-group/my-project"
30
- webhook_id: 123
31
- event_id: 456
32
- ```
@@ -1,50 +0,0 @@
1
- # Work Item Operations
2
-
3
- > **Opt-in toolset**: Enable with `GITLAB_TOOLSETS=workitems`
4
-
5
- Work items are GraphQL-based and cover issues, tasks, incidents, epics, objectives, requirements, tickets, and related hierarchy/status fields. Some status and custom field features require GitLab Premium/Ultimate.
6
-
7
- ## Read
8
-
9
- ```
10
- list_work_items -> list work items with filters
11
- get_work_item -> full details with status, hierarchy, type, labels, assignees, widgets
12
- list_work_item_notes -> notes and discussions on a work item
13
- list_work_item_statuses -> available statuses for a work item type
14
- list_custom_field_definitions -> custom field definitions for a work item type
15
- ```
16
-
17
- ## Create & Update
18
-
19
- ```
20
- create_work_item
21
- project_id: "my-group/my-project"
22
- title: "Investigate checkout failure"
23
- work_item_type: "issue"
24
- description: "Steps to reproduce..."
25
- ```
26
-
27
- ```
28
- update_work_item -> title, description, labels, assignees, state, parent, children, health, dates, custom fields
29
- convert_work_item_type -> convert issue/task/incident/etc.
30
- move_work_item -> move a work item to another project
31
- create_work_item_note -> add a note, threaded reply, or internal note
32
- ```
33
-
34
- ## Emoji Reactions
35
-
36
- ```
37
- list_work_item_emoji_reactions -> list reactions on a work item
38
- create_work_item_emoji_reaction -> add reaction to a work item
39
- delete_work_item_emoji_reaction -> remove reaction from a work item
40
- list_work_item_note_emoji_reactions -> list reactions on a work item note or thread reply
41
- create_work_item_note_emoji_reaction -> add reaction to a work item note or thread reply
42
- delete_work_item_note_emoji_reaction -> remove reaction from a work item note or thread reply
43
- ```
44
-
45
- ## Incident Timeline
46
-
47
- ```
48
- get_timeline_events -> list timeline events for an incident
49
- create_timeline_event -> create an incident timeline event
50
- ```
@@ -1,57 +0,0 @@
1
- ---
2
- name: jira-mcp
3
- description: Use this skill when working with the Jira MCP server tools for issue management, project management, comments, search, and related Jira workflows.
4
- ---
5
-
6
- # jira-mcp
7
-
8
- Jira MCP server providing 12 tools for interacting with your self-hosted Jira instance via the REST API v2.
9
-
10
- ## Tools
11
-
12
- | Category | Tools | Default |
13
- |--------------------|------------------------------------------------------------------------------------------------------------------------------------------------|---------|
14
- | Issues (9 tools) | `create_issue`, `get_issue`, `update_issue`, `delete_issue`, `search_issues`, `assign_issue`, `get_issue_types`, `add_comment`, `get_comments` | yes |
15
- | Projects (2 tools) | `get_projects`, `get_project` | yes |
16
- | Users (1 tool) | `get_current_user` | yes |
17
-
18
- All tools are available by default — there are no opt-in toolsets for this server.
19
-
20
- ## Key Workflows
21
-
22
- ### Issue Lifecycle
23
-
24
- `search_issues` → `get_issue` → `update_issue` / `assign_issue`
25
-
26
- ### Create Issue (see references/issues.md)
27
-
28
- `get_project` → `get_issue_types` → `create_issue`
29
-
30
- ### Comment Thread (see references/comments.md)
31
-
32
- `add_comment` → `get_comments`
33
-
34
- ### Project Discovery (see references/projects.md)
35
-
36
- `get_projects` → `get_project` → `get_issue_types`
37
-
38
- ## Parameter Hints
39
-
40
- - **projectKey**: uppercase project key (e.g., `PROJ`, `SCRUM`, `SUP`). Use `get_projects` to discover available keys.
41
- - **issueKey**: format `PROJECT-123` (e.g., `CHI-42`, `DEV-1337`)
42
- - **issueType**: varies by project — use `get_issue_types` to list valid types before creating. Common types: `Bug`, `Task`, `Story`, `Epic`, `Sub-task`
43
- - **search_issues**: uses JQL (Jira Query Language). Complex values (spaces, special chars) must be quoted: `status = "In Progress"`, `project = PROJ`
44
- - **Jql**: provide a raw JQL query string (not single-quoted — use double quotes inside for string values)
45
- - **maxResults**: `search_issues` defaults to 50. Increase for larger result sets.
46
- - **assignee**: Jira username (not display name or email). Use `get_current_user` to find your own username.
47
- - **Custom fields**: Pass custom field values directly as parameters (e.g., `customfield_10211: "Sprint 1"`). Discover field IDs via Jira REST API.
48
-
49
- ## Destructive Tools
50
-
51
- `delete_issue` — permanently deletes an issue. Cannot be undone.
52
-
53
- ## Advanced
54
-
55
- - **JQL Search**: full Jira Query Language support — combine operators (`AND`, `OR`, `NOT`), functions (`currentUser()`, `now()`, `startOfDay()`), and ordering (`ORDER BY created DESC`)
56
- - **Status transitions**: use `update_issue` with `status` to transition issues (e.g., `"In Progress"`, `"Done"`, `"Closed"`). Valid statuses depend on the project's workflow configuration.
57
- - **Custom fields**: map Jira custom field IDs to values via the `customFields` object or direct parameter names
@@ -1,31 +0,0 @@
1
- # Jira MCP Examples
2
-
3
- ## Example 1: Create and Assign a Bug
4
-
5
- A production bug is discovered and needs to be tracked. Good agent behavior:
6
-
7
- - Use `jira_get_projects` to find the correct project key.
8
- - Use `jira_get_issue_types` to confirm valid types for the project.
9
- - Use `jira_create_issue` with project key, summary, description, priority, and labels.
10
- - Use `jira_assign_issue` to assign the bug to the responsible developer.
11
- - Use `jira_add_comment` to include reproduction steps and environment details.
12
-
13
- ## Example 2: Find and Update Issues
14
-
15
- Search for all high-priority unresolved issues assigned to the user. Good agent behavior:
16
-
17
- - Use `jira_search_issues` with a JQL query like `assignee = currentUser() AND priority = High AND status != Done`.
18
- - Use `jira_get_issue` on each result to review full details.
19
- - Use `jira_update_issue` to transition the status to "In Progress".
20
- - Use `jira_add_comment` to log what work is being started.
21
- - Summarize the findings in a structured report grouped by status.
22
-
23
- ## Example 3: Close a Sprint Task
24
-
25
- A task is complete and ready to close. Good agent behavior:
26
-
27
- - Use `jira_get_current_user` to verify authentication is working.
28
- - Use `jira_search_issues` to find the task by key or summary.
29
- - Use `jira_get_issue` to review current status, assignee, and description.
30
- - Use `jira_update_issue` to set status to "Done" and add a resolution note.
31
- - Use `jira_add_comment` to document what was completed and any follow-ups.
@@ -1,27 +0,0 @@
1
- # Comments
2
-
3
- ## Add Comment
4
-
5
- ```
6
- add_comment
7
- issueKey: "PROJ-123"
8
- comment: "Fixed in latest deployment (v2.4.1)"
9
- ```
10
-
11
- Adds a text comment to a Jira issue. No support for rich text or attachments via this server.
12
-
13
- ## Read Comments
14
-
15
- ```
16
- get_comments
17
- issueKey: "PROJ-123"
18
- ```
19
-
20
- Returns all comments on an issue, ordered by creation date (ascending). Each comment includes `body`, `author`, `created`, and `updated` timestamps.
21
-
22
- ## Limitations
23
-
24
- - **No edit/update** — the current Jira MCP server does not provide an edit-comment tool
25
- - **No delete** — comments cannot be removed via this server
26
- - **No threading/replies** — comments are flat (Jira Cloud's threading is not exposed via this API)
27
- - **No rich text** — plain text only; HTML/markdown in bodies may be rendered by Jira's API
@@ -1,97 +0,0 @@
1
- # Issue Management
2
-
3
- ## Create
4
-
5
- ```
6
- create_issue
7
- projectKey: "PROJ"
8
- summary: "Login page returns 500"
9
- issueType: "Bug"
10
- description: "Steps to reproduce..."
11
- priority: "High"
12
- labels: ["bug", "critical"]
13
- assignee: "john.doe"
14
- components: ["frontend"]
15
- customfield_10211: "Sprint 1" # optional custom fields
16
- ```
17
-
18
- Always verify project and issue types first:
19
-
20
- 1. `get_projects` → find project key
21
- 2. `get_issue_types` with `projectKey: "PROJ"` → find valid types
22
- 3. `create_issue` with valid `projectKey` and `issueType`
23
-
24
- ## Read
25
-
26
- ```
27
- get_issue
28
- issueKey: "PROJ-123"
29
- ```
30
-
31
- Returns full issue details: summary, description, status, priority, assignee, reporter, labels, components, custom fields, timestamps.
32
-
33
- ## Search (JQL)
34
-
35
- ```
36
- search_issues
37
- jql: "project = PROJ AND status = Open"
38
- maxResults: 50
39
- ```
40
-
41
- ### Common JQL Patterns
42
-
43
- | Purpose | JQL |
44
- | ------- | --- |
45
- | My open issues | `assignee = currentUser() AND status != Done` |
46
- | High priority recent | `priority = High AND created >= -7d` |
47
- | By status | `status IN (Open, "In Progress", "Reopened")` |
48
- | By label | `labels = "bug" OR labels = "critical"` |
49
- | By reporter | `reporter = john.doe AND status NOT IN (Closed, Done)` |
50
- | Unassigned | `assignee IS NULL AND status NOT IN (Closed, Done, Resolved)` |
51
- | Sprints (custom field) | `cf[10211] = "Sprint 1"` |
52
- | Date range | `created >= "2025-01-01" AND created <= "2025-06-01"` |
53
- | Order by | `project = PROJ ORDER BY priority DESC, created ASC` |
54
- | Text search | `text ~ "error message"` |
55
- | Across all projects | `status = Open AND assignee = currentUser()` |
56
-
57
- `search_issues` defaults to showing issues across **all projects** the user has access to. Scope to a specific project with `project = KEY`.
58
-
59
- ## Update
60
-
61
- ```
62
- update_issue
63
- issueKey: "PROJ-123"
64
- summary: "Updated title"
65
- description: "New description"
66
- priority: "Low"
67
- assignee: "jane.doe"
68
- labels: ["bug", "resolved"]
69
- status: "In Progress" # transition to new status
70
- customfield_10211: "Sprint 2"
71
- ```
72
-
73
- ### Status Transitions
74
-
75
- - Issue workflow statuses depend on the project's configuration
76
- - Common transitions: `Open → "In Progress" → "In Review" → "Done" | "Closed"`
77
- - Use `get_issue` to check current status and `update_issue` with `status` to transition
78
- - Invalid transitions return an error — check the project's available workflow transitions in Jira
79
-
80
- ## Assign
81
-
82
- ```
83
- assign_issue
84
- issueKey: "PROJ-123"
85
- assignee: "john.doe"
86
- ```
87
-
88
- `assign_issue` is a dedicated tool. You can also assign via `update_issue` with `assignee`.
89
-
90
- ## Delete
91
-
92
- ```
93
- delete_issue
94
- issueKey: "PROJ-123"
95
- ```
96
-
97
- **Warning**: `delete_issue` is destructive — permanently deletes the issue. Cannot be undone.
@@ -1,39 +0,0 @@
1
- # Project Management
2
-
3
- ## List Projects
4
-
5
- ```
6
- get_projects
7
- ```
8
-
9
- Returns all Jira projects the authenticated user can access. Each entry includes `key`, `name`, `projectTypeKey`, `lead`, and `avatarUrls`.
10
-
11
- Use this to discover available `projectKey` values for issue operations.
12
-
13
- ## Project Details
14
-
15
- ```
16
- get_project
17
- projectKey: "PROJ"
18
- ```
19
-
20
- Returns detailed information: name, key, description, lead, components, versions (releases), project type, and category.
21
-
22
- Verify a project exists and inspect its components/versions before creating issues:
23
-
24
- 1. `get_project` → check components, versions
25
- 2. `get_issue_types` → check valid issue types
26
- 3. `create_issue` with verified data
27
-
28
- ## Issue Types
29
-
30
- ```
31
- get_issue_types
32
- projectKey: "PROJ"
33
- ```
34
-
35
- Returns available issue types for a project. Each type includes `name`, `id`, `description`, `iconUrl`, and `subtask` flag.
36
-
37
- Common types across most projects: `Bug`, `Task`, `Story`, `Epic`, `Sub-task`, `Improvement`, `New Feature`.
38
-
39
- Always call this **before** creating an issue to ensure the `issueType` value is valid for the target project.