@smartsoft001/pro-claude-plugins 0.7.0 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/pro-claude-plugins",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow",
3
3
  "description": "Development flow skills for Linear-driven development workflow",
4
- "version": "0.7.0"
4
+ "version": "0.9.0"
5
5
  }
@@ -63,6 +63,7 @@ Execute each step in order. Do not skip any step marked as MANDATORY.
63
63
  - [ ] **9. Verify implementation** — run tests, lint, build check
64
64
  - [ ] **9.5. E2E tests (conditional)** — if `E2E_TESTS_RECOMMENDED: YES`, delegate to `test-e2e` skill
65
65
  - [ ] **10. Capture "after" screenshots** — if `UI_CHANGE_REQUIRED: YES`, capture + post comparison to Linear + cleanup
66
+ - [ ] **10.5. Mockup fidelity check (conditional)** — if `UI_CHANGE_REQUIRED: YES` and `docs/mockups/` exists, compare the changed page against its mockup export and fix divergences (max 2 fix-and-recheck iterations) before the screenshot verification checkpoint (11); after any fix, re-run tests/lint/build on the touched projects
66
67
  - [ ] **11. MANDATORY: Screenshot verification** — output `SCREENSHOT_REQUIREMENT_MET: YES/NO`, block if missing
67
68
  - [ ] **12. Create completion comment** — delegate to `shared-impl-reporter`, post to Linear
68
69
  - [ ] **13. MANDATORY: Write reports in Polish** — all Linear comments must be in Polish language
@@ -260,6 +261,7 @@ Continue to Step 3.
260
261
  - Verify (lint, tests, build)
261
262
  - E2E tests (if UI)
262
263
  - Screenshots (if UI) — before + after + post to Linear
264
+ - Mockup fidelity check (if UI and docs/mockups/ exists) — compare against the export, max 2 fix-and-recheck iterations, re-run tests/lint/build after fixes
263
265
  - Create completion comment (shared-impl-reporter) — IN POLISH
264
266
  - Update status
265
267
 
@@ -623,6 +625,78 @@ The agent will:
623
625
  - After screenshots: ✅ COMPLETED & POSTED TO LINEAR
624
626
  ```
625
627
 
628
+ Continue to Step 3e-mockup.
629
+
630
+ #### Step 3e-mockup: Visual Fidelity Check Against Approved Mockups (CONDITIONAL)
631
+
632
+ **⚠️ CONDITIONAL: Execute this step ONLY IF `UI_CHANGE_REQUIRED: YES` AND the workspace contains a `docs/mockups/` directory.** Otherwise skip to Step 3f-verify.
633
+
634
+ Screenshots exist to be COMPARED, not only archived. A page can pass tests,
635
+ lint and build while rendering the wrong component variant, a broken footer or
636
+ raw translation keys — divergences that stay invisible until the screenshot is
637
+ put NEXT TO the approved design. This step closes that loop while the context
638
+ is still loaded, instead of leaving it to post-hoc review.
639
+
640
+ **Process:**
641
+
642
+ 1. **Find the reference.** Match the page(s) from the Screenshot Plan to their
643
+ exports in `docs/mockups/` by file name (read the directory's README for
644
+ the route → file map; `-mobile` / `-kontrast` suffixes are viewport/contrast
645
+ variants). Some references are component-level exports (a single card, list
646
+ item or searchbar) — for those, compare that component within the page, not
647
+ the whole page. If the changed component is reused across pages, compare ONE
648
+ representative page. No matching export → record `Mockup check: N/A` in the
649
+ Screenshot Plan and skip to Step 3f-verify.
650
+ 2. **Capture local screenshots via the `screenshot-reporter` agent** in
651
+ capture-only mode (the skill's own tool list has no browser access — the
652
+ agent does). Do NOT rely on the uploaded "after" screenshots — they may
653
+ already be cleaned up.
654
+
655
+ ```
656
+ Capture FULL-PAGE screenshots (mockup exports are full-page frames —
657
+ a viewport-only shot would fake missing-section divergences):
658
+ - Page(s): [pages matched in item 1]
659
+ - Viewports: desktop (1920x1080); mobile (375x667) ONLY IF a -mobile
660
+ export exists for the page
661
+ - Phase: mockup-check — capture only: return local file paths,
662
+ do NOT upload, do NOT post to Linear, do NOT clean up
663
+ ```
664
+
665
+ `-kontrast` exports are out of scope for this loop unless the subtask
666
+ changed contrast/dark-mode styling — the high-contrast mode is owned by
667
+ the shared WCAG widget and dedicated a11y checks.
668
+ 3. **Read both images side by side** and list every divergence in: section
669
+ layout, component structure (thumbnail / metadata / action-button
670
+ arrangement), brand palette and tokens, typography, ornaments and
671
+ decorative assets, raw translation keys visible on screen.
672
+ 4. **Judge structure over theme, and scope to THIS subtask.** Component
673
+ exports may come from a shared, multi-project design system: the project's
674
+ own palette and typography win over the sample's theme. Ignore content
675
+ differences (mockups carry lorem-ipsum text and placeholder photos),
676
+ data-dependent counts, and sub-pixel rendering noise. A view-state mismatch
677
+ (grid vs list) counts only when the mockup depicts the same view state —
678
+ check the README's notes. A divergence caused by a page or module that a
679
+ DIFFERENT subtask owns (e.g. a section not implemented yet) is out of
680
+ scope: note it for the completion comment, do not fix it here.
681
+ 5. **Fix real divergences NOW**, re-capture, re-compare. **Hard bound: at most
682
+ 2 fix-and-recheck iterations.** Whatever still diverges after the second
683
+ pass goes into the completion comment as an explicit list — do not keep
684
+ looping; structural and brand fidelity is the bar, pixel-perfection is not.
685
+ Fixes are code changes: after the loop, re-run the Step 3e verification
686
+ (tests / lint / build, scoped to the touched projects) — fixed code must
687
+ not reach "In Review" on stale results (Guideline: run tests before
688
+ marking complete). If any fix was applied, re-launch `screenshot-reporter`
689
+ for a final "after" capture and post an updated comparison to Linear — the
690
+ one posted in Step 3e-visual-after no longer shows the shipped state.
691
+
692
+ **Update Screenshot Plan status:**
693
+
694
+ ```markdown
695
+ ### Screenshot Plan
696
+
697
+ - Mockup check: [✅ MATCHES / ⚠️ divergences listed in completion comment / N/A (no matching export)]
698
+ ```
699
+
626
700
  #### Step 3f-verify: MANDATORY Screenshot Verification Checkpoint
627
701
 
628
702
  **⚠️ THIS VERIFICATION CANNOT BE SKIPPED**
@@ -641,6 +715,7 @@ Before creating the completion comment, verify the screenshot requirement:
641
715
  - [ ] Before screenshots captured: [YES with Task ID / NO - BLOCKER]
642
716
  - [ ] After screenshots captured: [YES / NO - BLOCKER]
643
717
  - [ ] Screenshots posted to Linear: [YES / NO - BLOCKER]
718
+ - [ ] Mockup check (only if `docs/mockups/` exists): [MATCHES / divergences listed / N/A]
644
719
 
645
720
  **If UI_CHANGE_REQUIRED: NO:**
646
721
 
@@ -673,6 +748,7 @@ Files Modified: [list with descriptions]
673
748
  Files Created: [list with purposes]
674
749
  Test Results: [unit/e2e status]
675
750
  Translations: [changed keys if any]
751
+ Mockup Check: [MATCHES / remaining divergences as an explicit list / N/A — from Step 3e-mockup]
676
752
  Notes: [additional notes]
677
753
  Blocker Info: [if blocked]
678
754
  ```
@@ -915,7 +991,7 @@ When verification fails, delegate to appropriate fix agent:
915
991
  19. **Capture before screenshots in background**: Launch `screenshot-reporter` agent with `run_in_background: true` BEFORE implementing UI changes to capture "before" state while implementation proceeds
916
992
  20. **Capture after screenshots + post to Linear**: After implementation, launch `screenshot-reporter` agent to capture "after" screenshots, generate comparison report, post to Linear, and cleanup
917
993
  21. **Document translations changes**: If `apps/web/public/translations.json` was modified, include a table with added/changed translation keys and their PL/EN values in the Implementation Report
918
- 21a. **⚠️ MANDATORY: Translation completeness before completion**: No hardcoded UI strings — every static label, heading, button, aria-label, meta/SEO text goes through a translation key. Before marking a subtask complete, verify that EVERY key referenced in the changed templates/TS exists in `apps/web/public/translations.json` in BOTH `pl` and `en` (a raw `GROUP.key` rendered in the UI is a defect), and that the touched groups are complete against the design/mockup every visible text on the mockup has its key. When a reference project is available, diff the touched groups against it and fill the gaps
994
+ 21a. **⚠️ MANDATORY: Translation completeness before completion**: No hardcoded UI strings — every static label, heading, button, aria-label, meta/SEO text goes through a translation key. Before marking a subtask complete, RUN the repo's translation check rather than eyeballing it reading a diff does not prove a key resolves, and a raw `GROUP.key` rendered in the UI is one of the most visible defects a user can hit. Use `npm run check:translations` when the project defines it (museum projects wire it to `mobilems-check-translations`), otherwise fall back to whatever check the repo provides. Fix everything it reports: keys referenced in code but undefined, `pl`/`en` parity gaps, and when a reference project is configured groups that are incomplete against it. Only then mark the subtask done
919
995
  22. **Capture screenshots in both modes**: Agent captures screenshots in BOTH normal mode and dark mode (high contrast) for complete visual documentation
920
996
  23. **Ask before collecting feedback for agent evolution**: When user provides corrections or suggestions during implementation, **explicitly ask** if they want to create a Linear issue for the improvement. Only user-confirmed feedback (answered "Yes") should be processed at evolution checkpoints (Step 3g-evolve, Step 4a) via `shared-agent-evolver` agent.
921
997
  24. **Never modify agent files directly during implementation**: The `shared-agent-evolver` agent files all proposals as Linear issues for manual review — it does NOT modify agent, command, or skill files directly.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow-external",
3
3
  "description": "Development flow skills for standalone Angular 6-11 projects without framework (Angular CLI, Karma/Jasmine, Bootstrap 4)",
4
- "version": "0.7.0"
4
+ "version": "0.9.0"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "flow-legacy",
3
3
  "description": "Development flow skills for legacy Angular 14 projects with Linear-driven workflow",
4
- "version": "0.7.0"
4
+ "version": "0.9.0"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "smart-pro",
3
3
  "description": "Smart-pro integration - safety validation, audit logging, and auto-formatting hooks",
4
- "version": "0.7.0"
4
+ "version": "0.9.0"
5
5
  }