@cassiomc1/forgeloop 1.1.0 → 1.1.1
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/ENG/design-code-eng.md +37 -2
- package/ENG/taste-frontend-eng.md +6 -3
- package/README.md +4 -0
- package/package.json +1 -1
package/ENG/design-code-eng.md
CHANGED
|
@@ -3,7 +3,7 @@ name: design-code-eng
|
|
|
3
3
|
language: en
|
|
4
4
|
description: "Visual direction, UX, motion, and perceived performance for premium digital experiences."
|
|
5
5
|
version: "2026.09"
|
|
6
|
-
last-reviewed: "2026-08-
|
|
6
|
+
last-reviewed: "2026-08-17"
|
|
7
7
|
guide-id: design
|
|
8
8
|
requires-gates:
|
|
9
9
|
- design
|
|
@@ -342,7 +342,7 @@ Select references for a product problem; they do not override project tokens or
|
|
|
342
342
|
|
|
343
343
|
- **Technical diagrams and architecture flows**: for polished Mermaid-based architecture and workflow diagrams, use [Beautiful Mermaid by Craft](https://agents.craft.do/mermaid) when relevant; preserve canonical Mermaid source, local versioned SVG assets, and do not treat presentation tooling as a mandatory protocol gate or runtime dependency.
|
|
344
344
|
- **Component source and interaction inspiration**: use [21st.dev](https://21st.dev/) to study components and interactions; inspect each source, dependency, community contribution, and premium-material term before adoption.
|
|
345
|
-
- **
|
|
345
|
+
- **React component and motion reference**: use [React Bits](https://reactbits.dev/) to discover animated React components and interaction patterns, and inspect the [React Bits source repository](https://github.com/DavidHDev/react-bits) before adopting code. Use it only when the target stack is React or when a deliberate, reviewed adaptation is appropriate. Prefer the smallest component or pattern that solves the product need; do not install or copy the entire library by default. Inspect the exact component source, transitive dependencies, license/usage terms, accessibility behavior, reduced-motion behavior, responsive behavior, and runtime cost before adoption. Adapt tokens, typography, spacing, states, semantics, and motion to the target project's design system instead of preserving React Bits defaults.
|
|
346
346
|
- **Component inspiration**: use [Fancy Components](https://www.fancycomponents.dev/) to study component composition; verify its terms separately from Motion, Tailwind, shadcn, or other dependencies.
|
|
347
347
|
- **Motion primitives**: use [Motion Primitives](https://motion-primitives.com/) to study discrete interaction patterns; distinguish documented open-source material from its Pro offering and verify component/dependency terms.
|
|
348
348
|
- **Component and design-system research**: use [Component Gallery](https://component.gallery/) for comparison, not for license assumptions.
|
|
@@ -351,6 +351,41 @@ Select references for a product problem; they do not override project tokens or
|
|
|
351
351
|
- **Typography discovery**: verify each [UNCUT](https://uncut.wtf/) font's author, license, weights, and hosting rights.
|
|
352
352
|
- **Creative coding and WebGL**: [cables.gl](https://cables.gl/) requires a semantic fallback, pause/offscreen behavior, a performance budget, and asset/operator provenance.
|
|
353
353
|
|
|
354
|
+
### React Bits — operational use for React interfaces
|
|
355
|
+
|
|
356
|
+
React Bits is an optional implementation/reference source for high-finish React interfaces. It is not a required ForgeLoop tool, protocol dependency, verification dependency, or design-system replacement.
|
|
357
|
+
|
|
358
|
+
Use it when:
|
|
359
|
+
|
|
360
|
+
- the target application uses React;
|
|
361
|
+
- a concrete interaction, text treatment, background, reveal, or UI component would materially improve the product experience;
|
|
362
|
+
- implementing the behavior from scratch would add unnecessary design or engineering cost;
|
|
363
|
+
- the effect fits the selected motion intensity and visual direction.
|
|
364
|
+
|
|
365
|
+
Do not use it when:
|
|
366
|
+
|
|
367
|
+
- the target is not React and adaptation would add more complexity than value;
|
|
368
|
+
- the component exists only as decoration without a product or communication purpose;
|
|
369
|
+
- the same result already exists in the target project's design system;
|
|
370
|
+
- the component violates the project's accessibility, performance, security, dependency, or browser-support constraints;
|
|
371
|
+
- a static or simpler CSS/HTML implementation communicates the same result more clearly.
|
|
372
|
+
|
|
373
|
+
Adoption workflow:
|
|
374
|
+
|
|
375
|
+
1. **Define the need first.** Identify the concrete UI or communication problem before browsing components.
|
|
376
|
+
2. **Confirm the target stack.** Verify React version, styling strategy, TypeScript/JavaScript choice, SSR/CSR boundary, and existing animation/runtime libraries.
|
|
377
|
+
3. **Inspect the source.** Review the exact component in the [React Bits repository](https://github.com/DavidHDev/react-bits), not only the visual demo.
|
|
378
|
+
4. **Check usage terms.** Verify the current license and any component-specific dependency or attribution requirements before copying or installing code.
|
|
379
|
+
5. **Choose the smallest variant.** Prefer one component/pattern and the variant matching the project (JS/TS and CSS/Tailwind); do not add unrelated components.
|
|
380
|
+
6. **Prefer local adaptation.** Adapt the component into the target project's component structure and semantic tokens rather than importing a visual identity wholesale.
|
|
381
|
+
7. **Preserve semantics.** Text, controls, navigation, forms, focus states, errors, status information, and primary actions must remain semantic and usable without decorative motion.
|
|
382
|
+
8. **Respect reduced motion.** Provide a static or substantially reduced alternative under `prefers-reduced-motion`; essential information must never depend on animation.
|
|
383
|
+
9. **Bound runtime cost.** Lazy-load expensive effects when practical, pause continuous animation outside the viewport or on hidden pages, and avoid adding duplicate animation/runtime libraries without justification.
|
|
384
|
+
10. **Verify the result.** Test keyboard/focus behavior, contrast, 320 CSS px reflow, touch behavior, reduced motion, console/runtime errors, and the project's performance budget.
|
|
385
|
+
11. **Record provenance.** When code or a material implementation pattern is adopted, record React Bits as an external source in the task/project attribution or source record when applicable.
|
|
386
|
+
|
|
387
|
+
ForgeLoop runtime must not gain a dependency on React Bits as a result of this guidance. Any installation belongs to the target project and remains subject to normal authorization and dependency policy.
|
|
388
|
+
|
|
354
389
|
---
|
|
355
390
|
|
|
356
391
|
## UX, Accessibility, and Quality
|
|
@@ -3,7 +3,7 @@ name: taste-frontend-eng
|
|
|
3
3
|
language: en
|
|
4
4
|
description: "Contextual visual-taste review for premium frontend and brand-heavy work."
|
|
5
5
|
version: "2026.09"
|
|
6
|
-
last-reviewed: "2026-08-
|
|
6
|
+
last-reviewed: "2026-08-17"
|
|
7
7
|
guide-id: taste
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -107,8 +107,11 @@ Use the existing product system when one is present. If the target has no
|
|
|
107
107
|
system, choose a small coherent set of semantic tokens, components, states,
|
|
108
108
|
and usage rules that the team can maintain. A vendor guide, gallery, template,
|
|
109
109
|
or AI output can inform a direction, but it is not evidence of product fit,
|
|
110
|
-
license, accessibility, or performance.
|
|
111
|
-
|
|
110
|
+
license, accessibility, or performance. For React-specific external component
|
|
111
|
+
or motion references, follow the React Bits adoption rules in
|
|
112
|
+
[`design-code-eng.md`](./design-code-eng.md) rather than treating a gallery
|
|
113
|
+
component as a project design-system default. Keep any external reference in
|
|
114
|
+
the task's source and attribution records; do not add a network dependency to
|
|
112
115
|
ForgeLoop runtime.
|
|
113
116
|
|
|
114
117
|
## Visual Pre-Flight
|
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# ForgeLoop — Verifiable Engineering Protocol
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="./docs/assets/forgeloop-readme-banner.svg" alt="ForgeLoop — Verifiable Engineering Protocol" width="100%">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
3
7
|
[](https://github.com/cassiomc1/forgeloop/actions/workflows/docs-quality.yml)
|
|
4
8
|
|
|
5
9
|
ForgeLoop is a portable, vendor-neutral protocol for AI-assisted development
|