Skip to content

public-library Vetted by Rulemart

Public engineering rules from Fabrica for coding agents, with versioned groups projects can adopt and customize.

A library release publishes new versions of one or more rules at once. Each rule keeps its own version.

Compare

← Newer library releases

Library release 1 publishes 127 rules.

New rules

Show 117 more new rules
All rule versions in this library release
RuleVersion
practices/code-design/express-operations-as-meaningful-steps1.0.0
practices/code-design/organize-code-by-feature1.0.0
practices/code-design/separate-pure-computation-from-effects1.0.0
practices/concurrency/honor-cancellation-across-blocking-stages1.0.0
practices/concurrency/keep-shared-resources-alive-until-users-finish1.0.0
practices/performance/optimize-measured-hot-paths1.0.0
practices/readmes/give-a-quick-start-that-runs-as-written1.0.0
practices/readmes/keep-the-readme-an-entry-point1.0.0
practices/readmes/match-presentation-to-product-tier1.0.0
practices/readmes/open-with-what-the-product-does1.0.0
practices/readmes/state-what-the-product-does-not-do1.0.0
practices/testing/choose-tests-by-risk1.0.0
practices/testing/cover-boundary-cases1.0.0
practices/testing/keep-tests-independent1.0.0
practices/testing/name-tests-for-behavior-and-condition1.0.0
practices/testing/run-focused-tests-while-iterating1.0.0
practices/testing/test-at-the-lowest-layer1.0.0
practices/testing/test-bug-fixes-before-fixing1.0.0
practices/testing/test-observable-behavior1.0.0
techs/go/comment-non-obvious-struct-fields1.0.0
techs/go/comments-package-doc-vs-file-header1.0.0
techs/go/errors-include-useful-diagnostic-data1.0.0
techs/go/errors-use-contract-errors-deliberately1.0.0
techs/go/one-owner-for-text-and-parsed-form1.0.0
techs/goose/migrations-directory-contains-only-sql1.0.0
techs/javascript/avoid-layout-thrashing1.0.0
techs/javascript/await-only-on-paths-that-need-the-result1.0.0
techs/javascript/defer-non-critical-work-to-idle-time1.0.0
techs/javascript/keep-import-and-file-paths-analyzable1.0.0
techs/javascript/start-independent-async-work-concurrently1.0.0
techs/javascript/use-passive-scroll-and-touch-listeners1.0.0
techs/javascript/version-and-minimize-browser-storage1.0.0
techs/playwright/auto-waiting-actions-and-web-first-assertions1.0.0
techs/playwright/domain-scope-and-user-facing-locators1.0.0
techs/react/accessibility-roles-and-names1.0.0
techs/react/advanced-init-once1.0.0
techs/react/architecture-compound-components1.0.0
techs/react/architecture-explicit-variants1.0.0
techs/react/async-suspense-boundaries1.0.0
techs/react/bundle-barrel-imports1.0.0
techs/react/bundle-defer-non-critical-scripts1.0.0
techs/react/bundle-load-heavy-code-on-demand1.0.0
techs/react/client-share-data-requests1.0.0
techs/react/effects-read-latest-values-without-resubscribing1.0.0
techs/react/generic-components-by-capability1.0.0
techs/react/hooks-name-callbacks1.0.0
techs/react/official-avoid-copying-props-to-state1.0.0
techs/react/official-avoid-unnecessary-effects1.0.0
techs/react/official-follow-rules-of-hooks1.0.0
techs/react/official-keep-components-and-hooks-pure1.0.0
techs/react/react19-no-forwardref1.0.0
techs/react/rendering-activity1.0.0
techs/react/rendering-conditional-render1.0.0
techs/react/rendering-content-visibility1.0.0
techs/react/rendering-hydration-no-flicker1.0.0
techs/react/rendering-hydration-suppress-warning1.0.0
techs/react/rendering-resource-hints1.0.0
techs/react/rerender-depend-on-narrow-values1.0.0
techs/react/rerender-functional-setstate1.0.0
techs/react/rerender-lazy-state-init1.0.0
techs/react/rerender-mark-non-urgent-updates1.0.0
techs/react/rerender-memoize-deliberately1.0.0
techs/react/rerender-no-inline-components1.0.0
techs/react/rerender-use-ref-transient-values1.0.0
techs/react/server-after-nonblocking1.0.0
techs/react/server-auth-actions1.0.0
techs/react/server-cache-react1.0.0
techs/react/server-minimize-serialized-props1.0.0
techs/react/server-no-shared-module-state1.0.0
techs/react/server-parallel-fetching1.0.0
techs/react/server-reuse-request-independent-data1.0.0
techs/react/state-lift-shared-state-into-providers1.0.0
techs/react/testing-ship-stable-e2e-scope-test-ids1.0.0
techs/tanstack-query/cache-placeholder-vs-initial1.0.0
techs/tanstack-query/cache-stale-time1.0.0
techs/tanstack-query/err-error-boundaries1.0.0
techs/tanstack-query/inf-page-params1.0.0
techs/tanstack-query/mut-invalidate-queries1.0.0
techs/tanstack-query/mut-mutation-state1.0.0
techs/tanstack-query/mut-optimistic-updates1.0.0
techs/tanstack-query/offline-behavior1.0.0
techs/tanstack-query/parallel-use-queries1.0.0
techs/tanstack-query/perf-select-transform1.0.0
techs/tanstack-query/pf-intent-prefetch1.0.0
techs/tanstack-query/qk-factory-pattern1.0.0
techs/tanstack-query/qk-include-dependencies1.0.0
techs/tanstack-query/query-cancellation1.0.0
techs/tanstack-query/ssr-dehydration1.0.0
techs/tanstack-router/ctx-router-context1.0.0
techs/tanstack-router/err-not-found1.0.0
techs/tanstack-router/load-ensure-query-data1.0.0
techs/tanstack-router/load-use-loaders1.0.0
techs/tanstack-router/nav-link-component1.0.0
techs/tanstack-router/nav-route-masks1.0.0
techs/tanstack-router/router-default-options1.0.0
techs/tanstack-router/search-validation1.0.0
techs/tanstack-router/split-route-code1.0.0
techs/tanstack-router/ts-route-type-inference1.0.0
techs/typescript/annotate-types-at-boundaries1.0.0
techs/typescript/avoid-silencing-the-type-checker1.0.0
techs/typescript/comment-role-result-and-constraints1.0.0
techs/typescript/declare-constants-with-as-const1.0.0
techs/typescript/distinguish-null-from-undefined1.0.0
techs/typescript/generate-service-types-from-contracts1.0.0
techs/typescript/model-variants-as-discriminated-unions1.0.0
techs/typescript/narrow-unknown-values1.0.0
techs/typescript/prefer-literal-unions-over-enums1.0.0
techs/typescript/prefer-type-aliases1.0.0
techs/typescript/preserve-caller-owned-data1.0.0
techs/typescript/require-properties-and-name-parameters1.0.0
techs/typescript/separate-type-imports1.0.0
techs/typescript/use-boolean-for-explicit-boolean-coercion1.0.0
techs/typescript/use-consistent-naming1.0.0
techs/typescript/use-generic-array-types1.0.0
techs/typescript/use-named-exports1.0.0
techs/typescript/use-predictable-file-names1.0.0
techs/typescript/use-template-literal-types-for-patterned-strings1.0.0
techs/zustand/create-stores-at-module-scope1.0.0
techs/zustand/define-typed-state-and-named-actions1.0.0
techs/zustand/keep-store-state-serializable1.0.0
techs/zustand/keep-stores-domain-focused1.0.0
techs/zustand/persist-only-safe-versioned-state1.0.0
techs/zustand/rehydrate-persisted-stores-after-hydration1.0.0
techs/zustand/subscribe-with-selectors1.0.0
techs/zustand/test-actions-and-reset-stores1.0.0
techs/zustand/use-functional-and-immutable-updates1.0.0
techs/zustand/use-zustand-only-for-shared-client-state1.0.0