@smartsoft001-mobilems/claude-plugins 2.79.0 → 2.81.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.
Files changed (31) hide show
  1. package/package.json +1 -1
  2. package/plugins/flow/.claude-plugin/README.md +13 -4
  3. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  4. package/plugins/flow/.claude-plugin/settings.template.json +11 -8
  5. package/plugins/flow/agents/shared-impl-orchestrator.md +1 -1
  6. package/plugins/flow/agents/shared-impl-teammate.md +2 -2
  7. package/plugins/flow/agents/ui-screenshot-reporter.md +3 -3
  8. package/plugins/flow/skills/commit/SKILL.md +2 -2
  9. package/plugins/flow/skills/impl/SKILL.md +41 -32
  10. package/plugins/flow/skills/linear-suggestion/SKILL.md +1 -1
  11. package/plugins/flow/skills/plan/SKILL.md +128 -77
  12. package/plugins/flow/skills/push/SKILL.md +6 -6
  13. package/plugins/flow/skills/review/SKILL.md +3 -3
  14. package/plugins/flow-external/.claude-plugin/README.md +1 -1
  15. package/plugins/flow-external/.claude-plugin/plugin.json +1 -1
  16. package/plugins/flow-external/.claude-plugin/settings.template.json +11 -8
  17. package/plugins/flow-external/agents/shared-linear-subtask-iterator.md +9 -9
  18. package/plugins/flow-external/skills/commit/SKILL.md +11 -10
  19. package/plugins/flow-external/skills/impl/SKILL.md +52 -29
  20. package/plugins/flow-external/skills/linear-suggestion/SKILL.md +8 -8
  21. package/plugins/flow-external/skills/plan/SKILL.md +95 -29
  22. package/plugins/flow-external/skills/push/SKILL.md +27 -18
  23. package/plugins/flow-legacy/.claude-plugin/README.md +1 -1
  24. package/plugins/flow-legacy/.claude-plugin/plugin.json +1 -1
  25. package/plugins/flow-legacy/.claude-plugin/settings.template.json +11 -8
  26. package/plugins/flow-legacy/agents/shared-impl-orchestrator.md +4 -2
  27. package/plugins/flow-legacy/skills/commit/SKILL.md +2 -2
  28. package/plugins/flow-legacy/skills/impl/SKILL.md +36 -27
  29. package/plugins/flow-legacy/skills/linear-suggestion/SKILL.md +1 -1
  30. package/plugins/flow-legacy/skills/plan/SKILL.md +104 -79
  31. package/plugins/flow-legacy/skills/push/SKILL.md +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/claude-plugins",
3
- "version": "2.79.0",
3
+ "version": "2.81.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -7,9 +7,9 @@ Development flow skills for Linear-driven development workflow.
7
7
  | Skill | Description |
8
8
  |-------|-------------|
9
9
  | `/commit` | Create conventional commit based on Linear task |
10
- | `/impl` | Implement plans from Linear task comments |
11
- | `/plan` | Create implementation plan and save to Linear |
12
- | `/push` | Push changes and update Linear status |
10
+ | `/impl` | Implement plans from `plan.md` attachment on Linear issue; orchestration saved as `orchestration.md` attachment |
11
+ | `/plan` | Create implementation plan, save as `plan.md` attachment on Linear issue, add `AI Plan` label |
12
+ | `/push` | Push changes and update Linear status (keeps `plan.md` / `orchestration.md` attachments on the issue) |
13
13
 
14
14
  ## Installation
15
15
 
@@ -48,9 +48,18 @@ console.log('Permissions merged!');
48
48
 
49
49
  Configure these in your `.mcp.json`:
50
50
 
51
- - `linear-server` - Linear API integration
51
+ - `linear` - Linear API integration (MCP prefix `mcp__linear__`)
52
52
  - `playwright` - Browser automation for screenshots
53
53
 
54
+ ### Linear MCP tool dependencies
55
+
56
+ `/plan`, `/impl`, and `/push` depend on the following `mcp__linear__*` tools (in addition to the standard comment/issue tools):
57
+
58
+ - `create_attachment` (base64 upload), `get_attachment`, `delete_attachment` — for persisting `plan.md` / `orchestration.md` on issues (attachments are also returned by `get_issue`)
59
+ - `list_issue_labels` — to find the workspace-level `AI Plan` label (the label is pre-configured organization-wide; `/plan` does not create it)
60
+
61
+ Run `/mcp` after authenticating the Linear MCP server to see the exact loaded tool names. If a tool is exposed under a different name in your deployment, update `settings.template.json` and the `allowed-tools` lists in the three skills accordingly.
62
+
54
63
  ## Permission Strategy
55
64
 
56
65
  ### Automatic (allow)
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow",
3
3
  "description": "Development flow skills for Linear-driven development workflow",
4
- "version": "2.79.0"
4
+ "version": "2.81.0"
5
5
  }
@@ -34,14 +34,17 @@
34
34
  "Bash(for:*)",
35
35
  "Bash(node:*)",
36
36
  "Bash(mkdir:*)",
37
- "mcp__linear-server__get_issue",
38
- "mcp__linear-server__list_issues",
39
- "mcp__linear-server__list_comments",
40
- "mcp__linear-server__create_comment",
41
- "mcp__linear-server__delete_comment",
42
- "mcp__linear-server__update_issue",
43
- "mcp__linear-server__list_issue_statuses",
44
- "mcp__linear-server__create_issue",
37
+ "mcp__linear__get_issue",
38
+ "mcp__linear__list_issues",
39
+ "mcp__linear__list_comments",
40
+ "mcp__linear__save_comment",
41
+ "mcp__linear__delete_comment",
42
+ "mcp__linear__save_issue",
43
+ "mcp__linear__list_issue_statuses",
44
+ "mcp__linear__create_attachment",
45
+ "mcp__linear__get_attachment",
46
+ "mcp__linear__delete_attachment",
47
+ "mcp__linear__list_issue_labels",
45
48
  "mcp__playwright__browser_snapshot",
46
49
  "mcp__playwright__browser_take_screenshot",
47
50
  "mcp__playwright__browser_navigate",
@@ -302,7 +302,7 @@ _Orchestration plan generated by Claude Code_
302
302
  2. **Plan specific TDD cycles** - don't leave them vague
303
303
  3. **Identify parallel opportunities** - optimize execution time
304
304
  4. **Include verification steps** - never skip verification planning
305
- 5. **Output must be copy-paste ready** for Linear comment
305
+ 5. **Output must be a complete, standalone markdown document** — it will be saved as an `orchestration.md` attachment on the Linear issue, not posted as a comment. No Linear-comment-specific framing (e.g., greetings, thread references).
306
306
 
307
307
  ## When to Use This Agent
308
308
 
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: shared-impl-teammate
3
3
  description: Implementation Squad teammate. Autonomously implements assigned subtask(s) following the full per-subtask workflow with TDD, UI classification, screenshots, and Polish-language Linear reports.
4
- tools: Bash, Read, Edit, Write, Glob, Grep, Task, TaskCreate, TaskUpdate, TaskList, TaskGet, mcp__linear-server__get_issue, mcp__linear-server__list_comments, mcp__linear-server__create_comment, mcp__linear-server__update_issue, mcp__linear-server__list_issue_statuses, mcp__playwright__browser_snapshot, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_navigate, mcp__playwright__browser_resize
4
+ tools: Bash, Read, Edit, Write, Glob, Grep, Task, TaskCreate, TaskUpdate, TaskList, TaskGet, mcp__linear__get_issue, mcp__linear__list_comments, mcp__linear__save_comment, mcp__linear__save_issue, mcp__linear__list_issue_statuses, mcp__playwright__browser_snapshot, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_navigate, mcp__playwright__browser_resize
5
5
  model: opus
6
- color: "#10B981"
6
+ color: '#10B981'
7
7
  ---
8
8
 
9
9
  You are an Implementation Squad teammate responsible for autonomously implementing assigned subtask(s) following the full per-subtask workflow.
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: ui-screenshot-reporter
3
3
  description: Capture before/after screenshots for UI changes, create visual comparison reports, and post them as Linear comments. Run in parallel with implementation work.
4
- tools: Read, Glob, Grep, mcp__linear-server__create_comment, mcp__linear-server__get_issue
4
+ tools: Read, Glob, Grep, mcp__linear__save_comment, mcp__linear__get_issue
5
5
  skills: browser-capture, maia-files-upload, maia-files-delete
6
6
  model: sonnet
7
- color: "#7C3AED"
7
+ color: '#7C3AED'
8
8
  ---
9
9
 
10
10
  # Screenshot Reporter Agent
@@ -115,7 +115,7 @@ Create markdown for Linear comment:
115
115
 
116
116
  ### Step 3: Post to Linear
117
117
 
118
- Use `mcp__linear-server__create_comment` to post the screenshot comparison to the Linear issue:
118
+ Use `mcp__linear__save_comment` to post the screenshot comparison to the Linear issue:
119
119
 
120
120
  ```
121
121
  Create comment on issue ENG-123 with body:
@@ -11,8 +11,8 @@ allowed-tools:
11
11
  - TaskUpdate
12
12
  - TaskList
13
13
  - TaskGet
14
- - mcp__linear-server__get_issue
15
- - mcp__linear-server__list_comments
14
+ - mcp__linear__get_issue
15
+ - mcp__linear__list_comments
16
16
  ---
17
17
 
18
18
  # Commit Skill
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: impl
3
- description: Implement plans from Linear task comments. Iteratively processes subtasks with TDD, UI classification, agent orchestration, screenshot capture, and 3x3 rule checkpoints.
3
+ description: Implement plans from `plan.md` attachments on Linear issues. Iteratively processes subtasks with TDD, UI classification, agent orchestration (saved as `orchestration.md` attachment), screenshot capture, and 3x3 rule checkpoints.
4
4
  allowed-tools:
5
5
  - Bash
6
6
  - Read
@@ -14,17 +14,20 @@ allowed-tools:
14
14
  - TaskUpdate
15
15
  - TaskList
16
16
  - TaskGet
17
- - mcp__linear-server__get_issue
18
- - mcp__linear-server__list_issues
19
- - mcp__linear-server__list_comments
20
- - mcp__linear-server__create_comment
21
- - mcp__linear-server__update_issue
22
- - mcp__linear-server__list_issue_statuses
17
+ - mcp__linear__get_issue
18
+ - mcp__linear__list_issues
19
+ - mcp__linear__list_comments
20
+ - mcp__linear__save_comment
21
+ - mcp__linear__save_issue
22
+ - mcp__linear__list_issue_statuses
23
+ - mcp__linear__create_attachment
24
+ - mcp__linear__get_attachment
25
+ - mcp__linear__delete_attachment
23
26
  ---
24
27
 
25
28
  # Implementation Skill
26
29
 
27
- Implement plans from Linear task comments. For tasks with subtasks, iteratively implement each subtask that is in "To Do" status.
30
+ Implement plans from `plan.md` attachments on Linear issues. For tasks with subtasks, iteratively implement each subtask that is in "To Do" status. The agent orchestration plan is saved as an `orchestration.md` attachment on each task being implemented.
28
31
 
29
32
  ## Execution Checklist
30
33
 
@@ -37,9 +40,9 @@ Execute each step in order. Do not skip any step marked as MANDATORY.
37
40
  ### Per Subtask (repeat for each "To Do" subtask)
38
41
 
39
42
  - [ ] **2. Set status to "In Progress"** — update subtask status via MCP (subtasks only, not parent)
40
- - [ ] **3. Fetch implementation plan** — find `## Implementation Plan` in task comments
43
+ - [ ] **3. Fetch implementation plan** — download `plan.md` attachment from task, parse content
41
44
  - [ ] **4. MANDATORY: UI change classification** — delegate to `shared-ui-classifier` agent, output `UI_CHANGE_REQUIRED: YES/NO`
42
- - [ ] **5. MANDATORY: Agent orchestration plan** — delegate to `shared-impl-orchestrator`, post plan to Linear
45
+ - [ ] **5. MANDATORY: Agent orchestration plan** — delegate to `shared-impl-orchestrator`, save result as `orchestration.md` attachment on the task (replacing any existing one)
43
46
  - [ ] **6. Check external library blockers** — if blockers found, set status to Blocked and skip
44
47
  - [ ] **7. Capture "before" screenshots** — if `UI_CHANGE_REQUIRED: YES`, launch `screenshot-reporter` in background
45
48
  - [ ] **8. MANDATORY: Implement with 3x3 rule** — pause every 3 changes, use `shared-tdd-developer` for ALL code (RED → GREEN → REFACTOR)
@@ -143,7 +146,7 @@ You implement code that is:
143
146
 
144
147
  ## Instructions
145
148
 
146
- You are tasked with implementing plans from Linear task comments. If the task has subtasks, you will iterate through subtasks in "To Do" status and implement them one by one.
149
+ You are tasked with implementing plans from `plan.md` attachments on Linear tasks. If the task has subtasks, you will iterate through subtasks in "To Do" status and implement them one by one. The agent orchestration plan is saved as an `orchestration.md` attachment on each task (not as a comment).
147
150
 
148
151
  ### Step 1-2: Fetch Linear Task and Subtasks
149
152
 
@@ -270,24 +273,19 @@ For each task to implement (subtasks in "To Do" status, or parent task if no sub
270
273
 
271
274
  Do NOT change status for parent tasks.
272
275
 
273
- #### Step 3b: Fetch Implementation Plan from Comments
276
+ #### Step 3b: Fetch Implementation Plan from `plan.md` Attachment
274
277
 
275
- Use the MCP Linear server to fetch all comments for the current task/subtask.
278
+ Use `mcp__linear__get_issue({ id: taskId })` on the current task/subtask — the response includes an `attachments` array. Find the attachment where `title == "plan.md"` (or `filename == "plan.md"`, whichever field the MCP exposes) and capture its `id`.
276
279
 
277
- Look for a comment containing:
278
-
279
- - `## Implementation Plan` (for parent tasks)
280
- - `## Implementation Plan for Subtask` (for subtasks)
281
-
282
- Extract the plan details:
280
+ If found, fetch its content via `mcp__linear__get_attachment({ id: <attachmentId> })`. The tool returns the attachment's content (Linear hosts the file natively since `/plan` uploaded it via base64). Parse the markdown for:
283
281
 
284
282
  - Implementation Steps
285
283
  - Files to Modify
286
284
  - New Files to create
287
285
  - Testing Strategy
288
- - External Library Changes (if any - these are blockers, not to be implemented)
286
+ - External Library Changes (if any — these are blockers, not to be implemented)
289
287
 
290
- **If no implementation plan found**: Create a comment noting that no plan was found and skip this task. Set status back to "To Do".
288
+ **If no `plan.md` attachment found**: Create a comment noting that no plan was found, suggest running `/plan <taskId>` first, and skip this task. Set status back to "To Do". Do NOT fall back to reading plan content from comments — the attachment is the source of truth.
291
289
 
292
290
  #### Step 3b-classify: MANDATORY UI Change Classification
293
291
 
@@ -336,16 +334,27 @@ The agent will:
336
334
  4. Plan TDD cycles for each implementation unit
337
335
  5. Generate the orchestration plan in markdown format
338
336
 
339
- **After receiving the orchestration plan:**
340
-
341
- 1. **Post to Linear** - Create a comment with the `🎭 Agent Orchestration Plan` on the task
342
- 2. **Follow the plan** - Execute agents in the defined order
343
- 3. **Use TDD strictly** - `shared-tdd-developer` is MANDATORY for ALL code implementation
337
+ **After receiving the orchestration plan, save it as a native `orchestration.md` attachment on the Linear issue (NOT as a comment):**
338
+
339
+ 1. **Check for existing `orchestration.md` attachment** on the task via `mcp__linear__get_issue` (the response includes an `attachments` array).
340
+ - If one exists, delete it via `mcp__linear__delete_attachment({ id: oldAttachmentId })`. Linear hosts the file natively, so nothing else needs cleanup.
341
+ 2. **Write locally**: use `Write` to save the orchestration markdown to `/tmp/claude-plans/<taskId>-orchestration.md`.
342
+ 3. **Base64-encode**: `b64=$(base64 -i /tmp/claude-plans/<taskId>-orchestration.md)`.
343
+ 4. **Create Linear attachment** via `mcp__linear__create_attachment`:
344
+ - `issue`: the task/subtask ID
345
+ - `filename`: `orchestration.md`
346
+ - `contentType`: `text/markdown`
347
+ - `title`: `orchestration.md` (exact — used for detection/replacement on the next `/impl` run)
348
+ - `subtitle`: `Plan orkiestracji wygenerowany przez Claude Code`
349
+ - `base64Content`: the base64 string from step 3
350
+ 5. **Clean up** the local `/tmp/claude-plans/<taskId>-orchestration.md` file after a successful attachment.
351
+ 6. **Follow the plan** — execute agents in the defined order.
352
+ 7. **Use TDD strictly** — `shared-tdd-developer` is MANDATORY for ALL code implementation.
344
353
 
345
354
  **IMPORTANT**:
346
355
 
347
356
  1. **`shared-tdd-developer` is MANDATORY** for ALL code implementation tasks
348
- 2. Post the orchestration plan as a comment to the Linear task BEFORE starting implementation
357
+ 2. Save the orchestration plan as an `orchestration.md` attachment on the Linear task BEFORE starting implementation — do NOT post it as a comment
349
358
  3. Follow the TDD cycle (RED → GREEN → REFACTOR) strictly
350
359
  4. Each code change must have a failing test FIRST
351
360
 
@@ -807,7 +816,7 @@ See `shared-impl-orchestrator` agent for full agent delegation matrix and execut
807
816
  ### Key Rules
808
817
 
809
818
  1. **`shared-tdd-developer` is MANDATORY** for ALL code implementation
810
- 2. **Post orchestration plan to Linear** before starting implementation
819
+ 2. **Save orchestration plan as `orchestration.md` attachment** on the Linear issue before starting implementation (not as a comment)
811
820
  3. **Follow TDD strictly** - RED → GREEN → REFACTOR cycle
812
821
 
813
822
  ### Verification Pipeline
@@ -835,7 +844,7 @@ When verification fails, delegate to appropriate fix agent:
835
844
  ## Guidelines
836
845
 
837
846
  1. **⚠️ MANDATORY: Classify UI changes first**: Before ANY implementation, output the `🎯 Change Type Classification` block with explicit `UI_CHANGE_REQUIRED: YES/NO` decision
838
- 2. **⚠️ MANDATORY: Create Agent Orchestration Plan**: Before implementation, create and post `🎭 Agent Orchestration Plan` to Linear comment defining which agents will be used
847
+ 2. **⚠️ MANDATORY: Create Agent Orchestration Plan**: Before implementation, generate `🎭 Agent Orchestration Plan` and save it as an `orchestration.md` attachment on the Linear task (replacing any existing one). Do NOT post orchestration as a comment.
839
848
  3. **⚠️ MANDATORY: Use `shared-tdd-developer` for ALL code**: Every code implementation MUST use the `shared-tdd-developer` agent following strict TDD (RED → GREEN → REFACTOR)
840
849
  4. **⚠️ MANDATORY: Verify screenshots before completion**: Always output `📸 Screenshot Verification` block before creating completion comment - task CANNOT be completed if UI change detected but screenshots missing
841
850
  5. **Write comments in Polish**: All implementation reports must be written in Polish language
@@ -873,7 +882,7 @@ When verification fails, delegate to appropriate fix agent:
873
882
  **Processing ENG-456-1 (UI change - avatar upload):**
874
883
 
875
884
  1. Set status: To Do → In Progress
876
- 2. Read plan from comments
885
+ 2. Download `plan.md` attachment from the task
877
886
  3. **🎯 CLASSIFY**: Output classification block → `UI_CHANGE_REQUIRED: YES` (modifies `.component.ts`)
878
887
  4. **📸 BEFORE**: Launch `screenshot-reporter` agent in background (Task ID: abc123)
879
888
  5. Implement avatar upload feature (in parallel with screenshot capture)
@@ -887,7 +896,7 @@ When verification fails, delegate to appropriate fix agent:
887
896
  **Processing ENG-456-2 (blocked):**
888
897
 
889
898
  1. Set status: To Do → In Progress
890
- 2. Read plan from comments
899
+ 2. Download `plan.md` attachment from the task
891
900
  3. **🎯 CLASSIFY**: Output classification block → `UI_CHANGE_REQUIRED: YES`
892
901
  4. Plan has External Library Changes blocker
893
902
  5. Create comment noting blocker (screenshots not needed - blocked before implementation)
@@ -896,7 +905,7 @@ When verification fails, delegate to appropriate fix agent:
896
905
  **Processing ENG-456-3 (backend-only - social links API):**
897
906
 
898
907
  1. Set status: To Do → In Progress
899
- 2. Read plan from comments
908
+ 2. Download `plan.md` attachment from the task
900
909
  3. **🎯 CLASSIFY**: Output classification block → `UI_CHANGE_REQUIRED: NO` (only `.service.ts` files)
901
910
  4. Implement social links service
902
911
  5. Run tests - 1 test fails
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: linear-suggestion
3
3
  description: Create a Linear issue in the "MobileMS Framework" project with a suggestion for agent or skill improvements.
4
- allowed-tools: mcp__linear-server__create_issue
4
+ allowed-tools: mcp__linear__save_issue
5
5
  ---
6
6
 
7
7
  # Linear Suggestion