@smartsoft001/pro-claude-plugins 0.8.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 +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/skills/impl/SKILL.md +76 -0
- package/plugins/flow-external/.claude-plugin/plugin.json +1 -1
- package/plugins/flow-legacy/.claude-plugin/plugin.json +1 -1
- package/plugins/smart-pro/.claude-plugin/plugin.json +1 -1
package/package.json
CHANGED
|
@@ -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
|
```
|