@fui-org/fui-cli 2.2.2 → 2.2.4
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/README.md +19 -0
- package/dist/fui-gt54fgs7.js +402 -0
- package/dist/fui.js +1 -1
- package/package.json +1 -1
- package/skills/fui/SKILL.md +18 -3
- package/skills/fui/references/INDEX.md +8 -6
- package/skills/fui/references/cdn-files.md +30 -0
- package/skills/fui/references/coding-standards.md +2 -2
- package/skills/fui/references/component-design.md +2 -2
- package/skills/fui/references/controls-styling-vocabulary.md +3 -3
- package/skills/fui/references/db-workflow.md +3 -3
- package/skills/fui/references/design-modes.md +1 -1
- package/skills/fui/references/module-structure.md +44 -16
- package/skills/fui/references/permission-system.md +15 -9
- package/skills/fui/references/project-config.md +1 -1
- package/skills/fui/references/project-provisioning.md +129 -218
- package/skills/fui/references/tapi-reference.md +27 -12
- package/skills/fui/references/tools-registry.md +13 -7
- package/skills/fui/references/ui-screenshot-review.md +1 -1
- package/skills/fui/references/verification.md +2 -1
- package/dist/fui-gexr4km5.js +0 -397
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Sources: (1) **user screenshot in chat** ("why is it ugly", "make it nicer", or an image + bug description); (2) **`fui module simulate --render`** — `render.png`, `render-full.png`, `render-dialog.jpg` in `{moduleDir}/_preview/`. The report prints their paths and attaches nothing: open each file.
|
|
6
6
|
|
|
7
|
-
Act as design QA: scan with the checklist; map every finding to a **concrete code cause** (controls[i] in module.json, class/style, CSS in
|
|
7
|
+
Act as design QA: scan with the checklist; map every finding to a **concrete code cause** (controls[i] in module.json, class/style, CSS in `style.css` or a component's `<style scoped>`) + fix. CSS found in `header.html`/`body.html` → fix it by moving it to `style.css`. No vague "doesn't look good".
|
|
8
8
|
|
|
9
9
|
**MANDATORY — FIX findings, don't just report them.** Stuck/overlapping text (too little gap), misaligned controls, abnormal whitespace between controls are bugs **to fix in the same turn**, like hard rendering bugs. "Noted in the report" ≠ done. Ask the user only when design intent is unclear (e.g. should two blocks be on separate rows); otherwise fix and re-render (step 4).
|
|
10
10
|
|
|
@@ -55,7 +55,8 @@ Tiers differ ~100× in cost per run:
|
|
|
55
55
|
- [ ] `_moduleInfo.json` has `ModuleID`, `ModuleName`, `Framework`, `mTitle`, `HTMLOnly`
|
|
56
56
|
- [ ] `module.json` is valid JSON (no trailing commas, no comments) — re-read after every long edit to catch a comma after the last array/object element
|
|
57
57
|
- [ ] Custom components ⇒ `components/_components.json` lists all `uc-*.vue`
|
|
58
|
-
- [ ] External JS/CSS ⇒ `imports/_imports.json` exists
|
|
58
|
+
- [ ] External JS/CSS ⇒ `imports/_imports.json` exists, and no `<link rel="stylesheet">`/`<script src>` in `header.html`/`body.html` (exceptions: [module-structure.md](module-structure.md) §CSS and JS placement, reason told to the user)
|
|
59
|
+
- [ ] `header.html`/`body.html`: no `<style>`, no static `style="…"`, no inline `<script>` — CSS in `style.css`, code in `script.js`; leftovers in a file this task edited were moved
|
|
59
60
|
|
|
60
61
|
### module.json — Data
|
|
61
62
|
|