techmefr
- 443 skills
- 0 followers
- 2 weeks ago last updated
- ▌ Oss Compliance Programme · techmefr bundleUse when a company that ships or offers software must set up or audit how it handles open-source licence obligations as a standing programme, not dependency by dependency: a written policy with named roles and resources, scope, a decision log, a component list per release, a compliance bundle per release, a list of known licences, an intake path for outside questions, contribution clearance, training records and a review interval.
- ▌ Prose Lint Gate Pitfalls · techmefr bundleUse when a style guide is turned into automated prose checks that run in CI or an editor: severity levels so the gate fails only on rules you mean to enforce, per-repository overrides in one declared file, scoped disables that are re-enabled, skipping a move-only change, pinning the rule package and the tool, planted-violation tests per rule, vocabulary and filters against false positives, inclusive-language checks, and what a linter cannot judge.
- ▌ Python Container Runtime · techmefr bundleUse when a Python service is packaged or started in a container: a Dockerfile for a Python app built with uv (multi-stage, dependency layer before source, lockfile install, bytecode, non-root user, no dev dependencies, a host virtual environment leaking into the image, interpreter path matching between stages) and how the process starts (exec-form command so the termination signal reaches the app, dev server versus production server, one process per container versus worker processes, proxy headers).
- ▌ React Nextjs Conventions · techmefr bundleUse when writing or reviewing React/Next.js: structure and naming, typing, hooks discipline, immutability, memo, server-state libraries, validation at boundaries, App Router, effects and security correctness, tests, boundaries and composition, further security surface, the Server Action result contract and idempotency.
- ▌ Solid Ownership Pitfalls · techmefr bundleUse when writing, reviewing or testing SolidJS 1.x code where state silently resets or leaks: components called as functions, Show or Match whose child keeps state when the value changes, the same component in several branches, hooks or signals created inside effects and memos, props.children read twice, store updates from server data, functions stored in a store, module-level signals under server rendering, boolean values on enumerated attributes (aria-expanded, draggable, spellcheck, contenteditable), innerHTML, custom-element props, and tests (render with an arrow, createRoot, renderHook, async queries, fake timers, portals).
- ▌ Visual Snapshot Pitfalls · techmefr bundleUse when tests compare screenshots or stored snapshots against a baseline (Playwright toHaveScreenshot, jest-image-snapshot, text and DOM snapshots): which environment makes and compares baselines, the two different thresholds (per pixel colour and whole-image failure), masking dynamic regions instead of widening them, updating baselines and reviewing the diff, received images on CI, retries, and keeping text snapshots short and inline.
- ▌ Vite Bundler Conventions · techmefrUse when configuring or reviewing a Vite project: which environment variables reach the browser, dev-server exposure, pre-bundling and linked packages, production targets, chunking and stale-chunk errors, assets, SSR flags, TypeScript settings, and build and dev performance.
- ▌ Ad Measurement Pitfalls · techmefr bundleUse when advertising is being tagged, measured or reported: campaign links and UTM naming, click identifiers lost in redirects, deciding what counts as the conversion and which system holds the count, a platform number that disagrees with analytics or the CRM, two platforms claiming one sale, a double count from two senders, choosing or comparing attribution models, or someone proposing to recover users who declined tracking. Written as pitfalls: method only, no per-platform setup.
- ▌ A11Y Lint Wiring Pitfalls · techmefr bundleUse when accessibility lint rules are added to a JSX or Vue project or a lint run is quiet for the wrong reason: wrapper components the rules cannot see until they are declared, polymorphic components, label rules and their component and depth options, flat-config scoping and globals, presets that leave rules off, label association by nesting versus for and id, deterministic ids, anchors that act as buttons, click handlers without key handlers, autofocus, and deprecated rules not to enable.
- ▌ Agent Hook Guard Pitfalls · techmefr bundleUse when a guard hook for a coding agent is written, reviewed or debugged: how a hook says no (exit code and stderr, deny versus ask, the fields that do not block), the per-guard decision between fail open, fail closed and fail loud, bypass tokens in-band versus out-of-band, protecting the guard's own configuration, append-only ledgers, matcher traps (self-matching process kills, truncating pipes, partial chains, encoding crashes, silent detector breakage) and testing a guard against replayed history before it ships.
- ▌ Data Pipeline Conventions · techmefr bundleUse when writing or reviewing a data pipeline (ETL/ELT), an analytical schema model, or a data quality validation. Distinct from transactional application code.
- ▌ Deno Bun Runtime Pitfalls · techmefr bundleUse when writing, porting or reviewing a service or script that runs on Deno or Bun instead of Node: permission flags and least privilege, Node compatibility gaps, module resolution and lockfiles, built-in test and bundle tooling, native addons, production images, and how to check a port against the real runtime.
- ▌ Dockerfile Build Pitfalls · techmefr bundleUse when a Dockerfile is written, reviewed or debugged for build traps that still produce a green build: apt update cached alone and stale installs, a failed stage hidden behind a pipe, a value that survives unset in an ENV layer, --pull versus --no-cache, COPY versus ADD versus a bind mount, base image tags and digests, credentials via ARG, ENV or copied dotfiles instead of build secrets and SSH mounts, .dockerignore limits, entrypoints in shell-less distroless images, users, setuid files, sudo and HEALTHCHECK.
- ▌ Dotnet Blazor Conventions · techmefr bundleUse when writing or reviewing Blazor components (Server, WebAssembly or Auto): lifecycle methods and prerendering that runs OnInitializedAsync twice, JavaScript interop and DotNetObjectReference disposal, StateHasChanged from other threads, per-user state and circuits, component parameters and EventCallback, static server-rendered forms with antiforgery and validation, error display, and what HttpContext and DbContext can be used where.
- ▌ Elixir Ecto Oban Pitfalls · techmefr bundleUse when writing or reviewing Elixir persistence, background jobs or configuration: Ecto uniqueness constraints, upserts and aborted transactions, Oban production settings and unique-job limits, and when configuration is read (config.exs, runtime.exs, compile_env, Phoenix force_ssl).
- ▌ Flutter Four Async States · techmefrUse when a screen renders data from an async source: render all four states explicitly — loading, success, empty, error — never a blank screen, never stale content presented as fresh.
- ▌ Flutter Native Bridge Ffi · techmefr bundleUse when Dart code has to call native code: a platform channel or a Pigeon-generated bridge between Flutter and Kotlin, Swift or C++, the thread a channel runs on, a background isolate using a plugin, and dart:ffi (generated bindings, leaf calls, native memory and finalizers, build and link hooks that compile or bundle native code). Covers when to choose which and what must never be edited by hand.
- ▌ Laravel No Cascade Delete · techmefrUse when adding or reviewing a foreign key, or a delete on a model with children: never a database-level cascade delete.
- ▌ Laravel Seed New Features · techmefrUse when a change introduces or changes persisted data (a new model, an extended enum, a new column): ship its seed data in the same change, not three weeks later.
- ▌ Nuxt No Props Destructure · techmefrUse when reading a component's props: never const { foo } = props — it breaks reactivity silently. Read props.foo, or go through toRefs(props)/a computed.
- ▌ Polly Resilience Pitfalls · techmefr bundleUse when writing or reviewing Polly v8 resilience code in .NET: retry, circuit breaker, fallback and timeout strategies, resilience pipelines registered with dependency injection, sharing data between strategies, handling failures without exceptions, and the misuses such as varying retry delay by breaker state, using retry as a scheduler or as a fallback, throwing a replacement exception from a fallback callback, or building a service provider inside a pipeline builder.
- ▌ Premortem Review Pitfalls · techmefr bundleUse when a plan, launch, migration, purchase or other hard-to-undo decision is stress-tested before it is committed (pre-mortem, red team, what could go wrong): the attack run by someone who did not make the decision from a brief that states facts and does not argue, a date to be judged by, a sweep of every risk area with the empty ones accounted for, no quota of risks, likelihood, severity and detectability scored separately, tigers, paper tigers and elephants, load-bearing claims attacked after a steelman, the cheapest test and a kill criterion, and a verdict decided last and printed first.
- ▌ Python Testing Strictness · techmefr bundleUse when a Python project's pytest or coverage configuration is written or changed, a test run passes suspiciously, or an async fixture or a multi-step fixture misbehaves: strict markers and strict config, warnings as errors, strict xfail, which config file pytest actually reads, import mode, branch coverage and a gate that is proven to fail, combining coverage across runs, pytest-asyncio event loop scope for fixtures, and fixture teardown that survives a failing setup.
- ▌ Receiving Review Pitfalls · techmefr bundleUse when you are the author of a change and review feedback arrives, before any suggestion is applied: reading all the feedback first, restating or asking about unclear items before touching any item, checking each suggestion against the code (stack, existing behaviour, why the code is as it is, the reviewer's context), looking for real usage before building a feature the reviewer calls proper, the order to apply fixes in, pushing back with evidence, correcting a wrong pushback, and replying inside the comment thread. The short rule set is receiving-review.
- ▌ Regex Validation Pitfalls · techmefr bundleUse when a regular expression decides whether untrusted input is acceptable (validating an identifier, a path, a hostname, a redirect target, a header or a form field, or a pattern inside an allow-list, a route or a sanitiser config): matching the whole input, the anchors that differ between languages, a trailing newline slipping past the end anchor, alternation precedence and patterns that backtrack catastrophically.
- ▌ Rich Text Editor Pitfalls · techmefr bundleUse when a rich text (WYSIWYG) editor is added or reviewed in a business application, whatever the library: choosing the storage format (HTML, structured JSON, Markdown), sanitising stored and pasted HTML, paste from Word and the web, links and images, mentions, character and size limits, collaborative editing limits and who may write, read-only rendering, and editor accessibility (labels, keyboard exit, toolbar, announcements), plus the tests that catch them.
- ▌ Rust Test Supply Chain CI · techmefr bundleUse when setting up or reviewing Rust tests and CI: what nextest does and does not run, proptest regression files, cargo-mutants and tests that assert nothing, loom for concurrency, and cargo-deny, cargo-semver-checks, cargo-hack, the Cargo lints table and the RUSTFLAGS override trap in a pipeline.
- ▌ Webauthn Passkey Pitfalls · techmefr bundleUse when a server registers and verifies WebAuthn credentials, as passkeys or as a security-key second factor, by hand or with a library such as SimpleWebAuthn: registration options and challenge handling, attestation, the origin and relying party ID checks, user presence and user verification flags, whose credential an assertion may use in a second-factor step, the signature counter, and a verify call that returns false instead of throwing.
- ▌ Messaging Audit Pitfalls · techmefr bundleUse when existing positioning or messaging (homepage, decks, one-pagers, security summaries, ads, emails) has to be reviewed or rewritten: auditing before rewriting, an inventory with dates, a stated reference surface, the seven checks (hero count, category count, table stakes, claim consistency and risk, sourcing, vocabulary, specificity), presenting findings with risks first, and deciding between patching and rebuilding.
- ▌ Admin Back Office Pitfalls · techmefr bundleUse when an admin or back-office application is designed or built: a separate admin surface and its own authentication, an append-only audit log of who did what to which record, impersonation (act-as) with consent, banner and limits, feature flags managed from the admin, dangerous actions with typed confirmation and dry run, bulk operations as previewed and resumable jobs, support-staff roles and what to split first. Method only; access-logging and privacy duties are not legal advice.
- ▌ Android Security Hardening · techmefr bundleUse when writing or reviewing the attack surface of an Android app: a component that other apps can start, android:exported on activities services receivers and providers, intent filters that make a component public, signature permissions, an intent received through an extra and launched again (intent redirection), IntentSanitizer, URI permission flags forwarded by mistake, PendingIntent mutability and implicit intents inside it, FLAG_ONE_SHOT, deciding who the caller is, Play Integrity verdict fields checked on the server, requestHash and nonce binding, device integrity labels, and Android Keystore keys with StrongBox, user authentication and invalidation by biometric enrolment.
- ▌ Csp And Sanitiser Pitfalls · techmefr bundleUse when a web app sets a Content-Security-Policy or the other security response headers (Helmet in Express, or the same headers set by any server) or when untrusted HTML is sanitised with DOMPurify before it reaches the DOM: nonces, report-only rollout, what a header library does not validate, HSTS and upgrade-insecure-requests in development, sanitise-last, the server-side DOM, widening the allow-list, hooks, Trusted Types.
- ▌ Elixir Phoenix Conventions · techmefr bundleUse when writing or reviewing Elixir or Phoenix code: assertive pattern matching and return types, data modelling, processes and supervision, macros, contexts, scoped access, the web-layer vulnerabilities and tests.
- ▌ Embedded Firmware Pitfalls · techmefr bundleUse when writing or reviewing microcontroller firmware (Arduino-style, ESP32, PlatformIO projects, bare-metal or RTOS): interrupt handlers and shared variables, blocking delays, stack and heap limits, watchdog and reset causes, flash and non-volatile writes, power and radio behaviour, and testing without the board.
- ▌ Experiment Design Pitfalls · techmefr bundleUse when an online controlled experiment (A/B test, split test) is designed, read out or reviewed: one pre-registered hypothesis, one primary metric, guardrails, minimum detectable effect, split and duration fixed before launch, sample size computed from a formula, analysing once instead of peeking, the sample ratio mismatch check, novelty effects, segments and multiple comparisons, results that look too good, negative and inconclusive results, long-term holdouts and whole-product impact.
- ▌ Flaky Test Triage Pitfalls · techmefr bundleUse when a test passes and fails without a code change, or a suite uses retries or a quarantine: classifying the flake before fixing it (timing, data, order, environment, time sensitivity, visual, external service), reproducing it (repeat runs, one worker, CI-like conditions, a replayable random seed in pytest), what a retry means and how to track retried tests (Playwright, pytest-retry exception filters), and the quarantine lifecycle with an owner and an expiry date instead of a ticket.
- ▌ Flutter No Future In State · techmefrUse when a cubit/bloc/state class holds a Future or Stream: never store the future itself, only its result — an unresolved future in state re-triggers itself on every rebuild.
- ▌ Grafana Dashboard Pitfalls · techmefr bundleUse when a Grafana dashboard defined as code (JSON) is written, generated or reviewed, especially for Prometheus or Loki data: $__rate_interval versus a fixed range, $__auto in Loki range queries, job and instance matchers, the datasource, job and instance template variables, reloading variables on time change, panels that hard-code a datasource, missing titles, descriptions and units, non-editable dashboards, and lint exclusions with a reason using dashboard-linter.
- ▌ Kotlin Android Conventions · techmefr bundleUse when writing or reviewing Kotlin or an Android app in Kotlin: immutability and null handling, functions and errors, the layered Android app structure and tests, coroutines and Flow, static analysis.
- ▌ Laravel Idempotent Seeders · techmefrUse when writing or reviewing a seeder that carries reference data: upsert by a natural key, never insert — a seeder that duplicates rows on the second run makes a fresh environment unreproducible.
- ▌ Laravel Layer Owned Config · techmefrUse when adding or changing configuration in an OSDD Laravel project (layer-package scaffolding) — a new settings file, a third-party package override, publishing a vendor config, or wondering where a config/ file belongs. There is no config/ at the project root; every layer carries its own, and an override posted from a provider's register() lands after the package already read its own settings, so it's silently dropped.
- ▌ Laravel Post May Run Twice · techmefrUse when writing or reviewing an endpoint that creates a row on POST: assume it runs twice — a natural uniqueness constraint in the database or a caller-supplied idempotency key, never a check-then-insert in PHP.
- ▌ MCP Server Design Pitfalls · techmefr bundleUse when an MCP server is designed, extended or reviewed from the publisher's side: tool names, descriptions and annotations (annotations are untrusted hints), structured output next to text, protocol errors versus tool errors, deterministic ordering, timeouts that do not undo side effects, which tools are visible to which caller (read-only mode, scope filtering that must not fail open), fingerprints to catch drift in CI, tool search for large catalogues and renaming with deprecation aliases.
- ▌ OAUTH Oidc Client Pitfalls · techmefr bundleUse when code signs users in through an external identity provider (Sign in with Google or GitHub, an OIDC client, an OAuth callback route): state and PKCE per attempt, the exact callback checks, never treating an access token as a session, unverified provider emails, and the session and CSRF rules that follow a login.
- ▌ Rabbitmq Delivery Pitfalls · techmefr bundleUse when writing or reviewing code that consumes from or publishes to RabbitMQ: when to ack, prefetch and manual acknowledgement, redelivery and idempotent handlers, publisher confirms and persistence, the mandatory flag, dead letter exchanges and their silent-drop cases, and connection, channel and heartbeat practice.
- ▌ React Native Expo Pitfalls · techmefr bundleUse when writing or reviewing a React Native app built with Expo, or, for §2 only, any mobile app that wraps web code or JavaScript (React Native without Expo, a web view shell) and persists a token, caches data or falls back offline: project layout and Expo Router, installing packages against the SDK, data fetching and offline states, token and key-value storage, EXPO_PUBLIC variables, development builds against Expo Go, SDK upgrades, and over-the-air updates with runtime versions and channels.
- ▌ Release Changelog Pitfalls · techmefr bundleUse when releases are cut by a release-pull-request tool (release-please) or a changelog is generated or maintained from commits: squash-merge and a linear history, commit prefixes and what counts as a releasable unit, extra changes in one commit, forcing a version, a release pull request that never appears, a stale pending label, testing the configuration on a real branch, how the previous release is found; plus what the Keep a Changelog 2.0 text adds (urgency order of the six types, Fixed versus Changed, Security entries, the breaking marker, what CI may and may not do for a changelog), and build provenance attestations in GitHub Actions (plan limits, public versus private signing, the v4 wrapper).
- ▌ Rust Async Unsafe Pitfalls · techmefr bundleUse when writing or reviewing async Rust or unsafe Rust: cancellation safety and select loops, locks and blocking work in async code, large futures, panics that unwind through unsafe code, uninitialised memory, FFI unwinding, and what Miri can and cannot prove.
- ▌ Search Index Sync Pitfalls · techmefr bundleUse when an application framework keeps a search index (Elasticsearch or OpenSearch) in step with its database through a Rails or Laravel integration: choosing the sync strategy, related records and soft deletes, partial reindex, eventual consistency in tests, the 10,000 result cap, user text passed as query syntax, zero-downtime reimport, per-index mapping configuration and encryption of personal data.
- ▌ SEO Crawl Control Pitfalls · techmefr bundleUse when a robots.txt or a sitemap is written, changed or debugged: which rule wins (longest pattern, rule order irrelevant), a crawler-specific group replacing the star group, where groups start and end, crawler token matching, wildcards and the end anchor, case-sensitive paths, percent-encoding, the index file shortcut of Allow, tolerated typos, a byte order mark and long lines, testing a file against real URLs with Google's reference matcher, and sitemap size limits. Page-level meta, structured data and the audit of a built site are seo.
- ▌ Variance Analysis Pitfalls · techmefr bundleUse when explaining a gap between actual and budget, forecast or prior period: splitting a variance into volume and price and proving the parts sum to the total, extra effects (rate, mix, headcount, timing) only with a checked formula, building a bridge that reconciles, writing a narrative that names, quantifies and explains each driver, narrative anti-patterns (circular, bare timing, one-time, various), which comparison serves which purpose, forecast accuracy and systematic bias.
- ▌ Web Components Conventions · techmefrUse when writing or reviewing custom elements with Lit 3: public reactive properties versus internal state, the update cycle and where side effects belong, events and listeners with cleanup, shadow DOM slots and styles, pure render methods, template escaping, and what breaks under server rendering.
- ▌ B2b Go To Market Pitfalls · techmefr bundleUse when a B2B product or feature is taken to market: an ideal customer defined as everyone, a launch date with no readiness check, channels chosen because competitors use them, a launch with no owner for the leads it creates, a sales team that learns of the release from the announcement, a launch judged by a day of traffic. ICP definition, launch readiness gate, channel choice by what you own, sales handoff, post-launch review. Method only; revenue forecasts are not made here.
- ▌ Event Operations Pitfalls · techmefr bundleUse when a company hosts, sponsors, speaks at or attends an event: a conference chosen because everyone goes, a booth with no meetings booked, badge scans counted as leads, a follow-up sent three weeks late, a venue contract signed with no cancellation terms, a sign-up with no accessibility or consent plan. Event selection and role, before-during-after arc, logistics and vendor checks, follow-up and measurement. Method only; contract terms and insurance are for the owner who signs, not legal advice.
- ▌ Android Edge To Edge Insets · techmefr bundleUse when an Android app draws edge-to-edge or its content is hidden, doubled-padded or clipped by system UI: enabling edge-to-edge before setContent, the Android 15 and Android 16 enforcement and the opt-out that no longer works, windowSoftInputMode adjustResize, applying Scaffold padding and consuming it, system bar and navigation bar contrast and icon colours, IME insets applied twice, imePadding placed after verticalScroll, WindowInsetsRulers and fitInside, adaptive scaffolds that do not pass padding, Material 2 app bars, list content padding versus parent padding, full-screen dialogs, and orientation and resizability restrictions that are ignored on large screens.
- ▌ Auth Gateway Proxy Pitfalls · techmefr bundleUse when an authenticating reverse proxy or gateway (oauth2-proxy and its equivalents) sits in front of an application: which peers may supply forwarded headers, trusted-IP bypasses, path-based auth exemptions, redirect allow-lists, the flags that weaken verification, and cookie and refresh settings.
- ▌ Background Jobs Conventions · techmefrUse when writing or changing anything that runs outside the request cycle (a queued job, a worker, a scheduled task, a message consumer), to keep async work from failing silently. Retries across replicas, locks, outbox and outbound call policy of a Node or NestJS service are nestjs-reliability.
- ▌ Computer Use Agent Pitfalls · techmefr bundleUse when a model is given a screen or a browser to operate (clicks, typing, screenshots) or such an agent is reviewed: resizing screenshots yourself so click coordinates stay true and scaling them back, the hosted tool against an explicit tool definition and who runs the injection checks, several actions in one turn and what to answer after a failure, echoing the toolset name in results, treating screen content as untrusted, a disposable machine, human confirmation for consent and money, a safe first run and recorded trajectories.
- ▌ Deprecation Notice Pitfalls · techmefr bundleUse when an API, a version or a feature is being deprecated or sunset and the notice has to reach the people who must act: recording the deprecation in the API specification, obtaining consent to a sunset date instead of assuming it, monitoring who still calls it, the Deprecation and Sunset response headers and their limits, a human-readable warning header, reaching the developer rather than the account contact, and the per-release removed-APIs page with replacements and changed defaults.
- ▌ Dotnet Dispose What You Own · techmefrUse when a disposable value comes from DI or a factory: dispose what this code created, nothing else — an injected dependency belongs to the container, and a pooled HttpClient belongs to the factory.
- ▌ Flutter Context After Await · techmefrUse when a widget or state holder touches BuildContext after an await: guard it — mounted between the await and the use, or capture the navigator/messenger before the await, never context in a state holder.
- ▌ Flutter Startup Error Hooks · techmefr bundleUse when writing or reviewing a Flutter app's main() and cold-start path: installing the framework and platform-dispatcher error hooks first, what a hook must return, what the first frame may wait for, deferring warm-up, flushing state when the app goes to the background, and the startup traps of a state library (Riverpod automatic retry, eager initialisation, experimental mutations; Bloc public surface).
- ▌ Gha Trust Boundary Pitfalls · techmefr bundleUse when a GitHub Actions workflow decides trust from an identity or a reference, or passes state between runs and steps: an if condition on github.actor for a bot such as Dependabot (spoofable, use the pull request author), an action pinned to a tag or branch that an attacker can shadow, writes to GITHUB_ENV or GITHUB_PATH under pull_request_target or workflow_run, a release workflow that restores a cache or a privileged trigger that writes one, the checkout credential left on disk, and the optional checks on self-hosted runners and concurrency. A sibling of ci-workflow-hardening that adds only what it does not name.
- ▌ Go HTTP Resilience Pitfalls · techmefr bundleUse when writing or reviewing Go code that serves or calls HTTP: building an http.Server, wiring routes with the standard mux, limiting request bodies, creating or reusing an http.Client, draining response bodies, or adding deadlines and retries around an outbound call.
- ▌ Go Tooling Testing Security · techmefr bundleUse when setting up or reviewing the Go checks that run in CI and in tests: formatter, go vet, race detector, pinned tools via the go.mod tool directive, vulnerability and security scanners; goroutine-leak checks, table tests, testing/synctest for time-dependent code, fuzzing; and the standard-library security pieces (os.Root, crypto/rand, constant-time comparison, html/template).
- ▌ Laravel Blade View Pitfalls · techmefr bundleUse when writing or reviewing Laravel Blade templates and the views a controller returns: components versus includes and the attribute bag (attributes->merge), scripts pushed once per response (pushOnce), props shared with nested components (aware), view composers and what they do not cover, returning a fragment for htmx or Turbo requests, escaping output for its context, passing server data to JavaScript (Js::from versus data attributes), CSRF tokens in forms, and parsing dates in a template instead of casting them on the model.
- ▌ Laravel No Queries In Loops · techmefrUse when writing or reviewing a foreach/loop over Eloquent models, or an accessor: no query, aggregate or lazy relation access per iteration (N+1).
- ▌ Laravel Prefer Orfail Fetch · techmefrUse when fetching one Eloquent record that must exist: prefer findOrFail/firstOrFail over a fetch plus a null check that aborts 404.
- ▌ Laravel Support Window Date · techmefrUse when deciding a Laravel or PHP version for a new or existing project: the security-fix end-of-life date settles it, not opinion — a new project starts on the newest stable major, an existing one is planned off before its window closes.
- ▌ Multi Agent Design Pitfalls · techmefr bundleUse when a design splits work across several model agents and the open questions are whether it should, in which shape and what crosses the boundary: beating a single-agent baseline first, orchestrating by model or by code, agent-as-tool against handoff, what a handoff forwards and what its filters do not redact, discarded state when an agent is run from code, context isolation and the paraphrase loss of a supervisor, consensus that rewards agreement, error propagation, and the four ways a delegated agent fails quietly (fabricated dispatch, silent stall, scope drift, an unverified completion claim).
- ▌ Nestjs Integration Patterns · techmefr bundleUse when a NestJS service wires itself to the outside: microservice transports (RpcException, request-response versus events, client timeouts, hybrid apps), WebSocket gateways and Server-Sent Events (exceptions, guards, scaling, teardown), URI/header versioning and the OpenAPI document (types, plugin limits, deprecation headers), dynamic modules, discovery and lazy loading, signed outgoing and incoming webhooks, queue job retention and stalled jobs, rate-limiter storage failure policy, search-index dual writes, and structured request logging with pino.
- ▌ Nuxt Semantic Element First · techmefrUse when a template needs a clickable/interactive control: use the native semantic element (or the toolkit's wrapper for it) first, never a clickable div/span.
- ▌ Prisma Ops And Test Hygiene · techmefr bundleUse when a Node service uses Prisma in production or its tests are being written or hardened: connection pool size and poolers, query logging and latency, replacing client middleware with extensions, reading generated migration SQL before it runs (renames, new required columns, enum changes, risky statements, expand and contract), Postgres row-level security behind Prisma (application role without superuser or BYPASSRLS, separate migration URL, set_config per transaction, a test that proves isolation), and test hygiene for Node services (assert the five outcomes, port 0 for servers, event listener order and error events, no sleeping, realistic data, property-based and mutation testing).
- ▌ Production Readiness Review · techmefr bundleUse when a service or feature is about to take real traffic for the first time, or a launch checklist is being written or reviewed: pick the level from how much failure would cost, check each area with evidence rather than assertion, have someone outside the team review it, and record what is accepted as open.
- ▌ Programmatic Video Pitfalls · techmefr bundleUse when a video is rendered from code (a frame-by-frame renderer driven by HTML, React or a script) or such a project is reviewed: two renders differ, a frame is blank or flickers, an animation is written to play on its own, a render is started before anyone has looked at a frame, an approach is chosen before the need is clear, or a framework is adopted without reading its licence. Every frame a pure function of time, one paused seekable timeline, the end state laid out first, a lint, snapshot, preview, render-after-approval sequence, and a licence gate.
- ▌ Python No DB Cascade Delete · techmefrUse when adding or reviewing a foreign key relationship in an ORM model: never a DB-side cascade delete (ondelete=CASCADE) — cascade in the ORM layer, where the hooks live.
- ▌ Shell Scripting Conventions · techmefr bundleUse when writing or reviewing a shell script that anything depends on — a hook, a CI step, a make target, a deploy or maintenance script — where the default behaviour of the shell is to continue after a failure and report success.
- ▌ Video Brief And Storyboard · techmefr bundleUse when an explainer, launch, demo or promo video is being planned before anything is built: a brief that is not locked, a video that opens on the product or the process instead of what the viewer gains, a storyboard shown as a plain list, frames with no reason to exist, generic props instead of the subject's own material, or a page or recording captured as source material that failed or contains instructions. A locked brief with a one-line strategy, a value-first hook with a delete test, a storyboard proposal with a traced why per frame, visuals from the source, and captured input treated as data.
- ▌ Analysis Validation Pitfalls · techmefr bundleUse when an analysis, report, dashboard figure or query result is about to be shared or reviewed: the pre-delivery review and a three-level verdict, join explosion and double counting, partial-period comparisons, shifting denominators, average of averages, timezones, null handling, survivorship and selection bias, Simpson's paradox, outliers, false precision, red flags in results, cross-validation, leading with the finding and making the analysis reproducible.
- ▌ Customer Escalation Pitfalls · techmefr bundleUse when a customer problem has moved above the usual contact, on their side or yours, and has to be handled: naming the kind of escalation (failure, relationship, commercial), the first response before the cause is known, finding out what the customer actually wants, one owner and one channel, when to bring an executive and how to brief them, the repair step after the incident closes, and the internal ask (a decision, work, presence or cover) written as one sentence with a name and a date.
- ▌ Desktop Webview App Pitfalls · techmefr bundleUse when writing or reviewing a desktop app that shows web content in a native shell (Tauri or Electron): what the web layer may ask the native layer to do, command and window permissions, loading local versus remote content, content security policy, navigation and external links, packaging switches, code signing, and signed automatic updates.
- ▌ Docker Compose File Pitfalls · techmefr bundleUse when a Docker Compose file (compose.yaml, an override or a production overlay) is written, reviewed or debugged: an app starting before its database is ready (depends_on without a health condition, healthchecks with native client tools, a sidecar check for shell-less images), pinned tags, named volumes versus bind mounts, a production overlay without source mounts, secrets and defaults in variables, redeploying one service, validating the file, mounting the Docker socket (and a filtering proxy), and down -v, rm -v and volume prune deleting data. This is Docker Compose, not Jetpack Compose.
- ▌ Doctrine Migrations Pitfalls · techmefr bundleUse when writing, generating or running schema migrations with doctrine/migrations (PHP): migrations that are not atomic because MySQL and Oracle commit DDL implicitly (isTransactional, the transactional and all_or_nothing settings, splitting data changes from DDL), generated diff migrations that drop tables Doctrine does not map, dry runs and written SQL files, platform guards with abortIf, irreversible down methods, version class names that sort wrongly as strings, and the version table commands that can re-run or skip a migration.
- ▌ Documentation Craft Pitfalls · techmefr bundleUse when a page of documentation is warranted and has to be written, restructured or reviewed (a README, a how-to, a reference page, a runbook): decide what the reader came to do, keep one purpose per page, write headings and steps people can scan and follow, and keep it true after the code moves.
- ▌ Dotnet No Swallow Exceptions · techmefrUse when writing or reviewing a catch block: never an empty catch {} or a catch (Exception) {} with no log or rethrow — it reports success having done nothing, and leaves no log entry when the incident happened.
- ▌ Dotnet Null Pattern Matching · techmefrUse when testing a value for null: prefer the pattern form (is null / is not null) over the equality operator — and never == inside an equality operator's own body, that's infinite recursion, not a style choice.
- ▌ Event Tracking Plan Pitfalls · techmefr bundleUse when an analytics event plan or tracking spec is designed, reviewed or verified before it ships: the questions the data must answer, unique event names, not redefining auto-collected events such as page view and scroll, naming and length limits, locale-aware and subdomain-aware page scopes, text selectors that are discovery hints and not final triggers, precise trigger definitions (a click is not a successful submit), typed properties, never auto-picking the account, container or workspace, preview no-hit versus a broken configuration, a verification gate before publish, personal data handling, the QA checklist, and traces of model inputs and outputs.
- ▌ I18N Message Format Pitfalls · techmefr bundleUse when translatable messages are written or reviewed in any framework: plural and select branches (CLDR categories, why `one {1 item}` is wrong, `other` required, plural on a formatted number, ordinals, offset and several plurals in one message), whole sentences with named placeholders and named tags, several strings of one widget kept together, translator comments and contexts for short ambiguous strings, and ICU syntax hygiene (escaping, invalid messages, vendor limits).
- ▌ International Input Pitfalls · techmefr bundleUse when a form asks for a person's name, phone number, postal address, email address or a date and has to work for people outside one country: single or split name fields and their labels, titles and name changes, phone formats and validation, address lookup versus manual entry, postcode tolerance, email length and typo warnings, memorable versus approximate dates and calendar controls, and example values that teach the right format; and what happens to a name, phone number or address after the form: one stored name versus parts, display versus legal name, phone numbers stored as strings in international form and formatted by country, addresses stored as lines plus a country code.
- ▌ Inventory Stock App Pitfalls · techmefr bundleUse when an inventory or stock application is designed or built, or when sell rate, days of cover and reorder quantity are estimated (a stockout is not zero demand): item, variant, location and lot or serial model, stock as an append-only movement ledger rather than an editable quantity, on-hand versus reserved versus available, concurrent decrements and oversell, unit of measure and conversion, receipts, transfers, adjustments and counts, valuation method as a stated policy, negative stock, archive versus delete, multi-warehouse and multi-tenant boundaries, imports and scanner or marketplace sync, roles, what to split first and what gets regretted at v2. Method only; accounting valuation rules are not stated and this is not accounting advice.
- ▌ Invoicing App Build Pitfalls · techmefr bundleUse when an invoicing or billing application is designed or built: invoices, credit notes, recurring subscriptions and usage billing, payments and allocation, dunning. Draft versus issued invoice, numbering at issue, immutable issued invoices corrected by credit note, price and tax snapshots, rounding and currency, proration, partial payments and unapplied cash, idempotent billing runs, payment-provider webhooks, roles, imports and exports, what to split first and what gets regretted at v2. Method only; invoice content, VAT rates, numbering continuity and retention rules are not stated and this is not legal advice.
- ▌ Jvm Resilience Observability · techmefr bundleUse when a Java or Spring Boot service calls another system or must be operated: timeouts on HTTP clients and the connection pool, Resilience4j retry, circuit breaker, bulkhead and time limiter and the order they wrap each other, fallbacks, and then the operating side on Spring Boot with Micrometer: a correlation id in the logging context and whether it survives a thread hand-off, meter tag cardinality, liveness versus readiness probes, graceful shutdown, structured JSON logs.
- ▌ Kubernetes Workload Pitfalls · techmefr bundleUse when a Kubernetes Deployment, StatefulSet or pod template is written or reviewed for runtime behaviour: liveness, readiness and startup probes (what each may check, why liveness must not depend on a database, readiness and dependencies as a decision), graceful shutdown (endpoint removal is asynchronous, preStop, terminationGracePeriodSeconds, signals reaching PID 1), resource requests and limits (memory limit, the CPU limit as a decision, QoS and eviction, ephemeral storage) and rolling updates (maxUnavailable and maxSurge, minReadySeconds, mixed versions, latest tag, imagePullPolicy).
- ▌ Laravel API Breaking Changes · techmefrUse when removing a field, renaming one, or narrowing a type on an HTTP API: it's breaking even when every in-repo caller is updated — go through the additive-then-remove path, never one commit.
- ▌ Laravel Strict Types Default · techmefrUse when creating a new Laravel file and deciding whether to add declare(strict_types=1): default to omitting it, matching artisan make:* — never retrofit an existing file's declaration either way.
- ▌ LLM Eval Regression Pitfalls · techmefr bundleUse when the behaviour of a prompt, skill, agent or model change has to be measured and not just eyeballed: test cases and the with-versus-without baseline, assertions that discriminate (deterministic first, evidence required for a pass), the biases of a model judge (position, length, self-enhancement, injected grades), grader fallback and reproducibility, and what errors and retries do to the numbers (fail_on_error, retried samples, errored samples that are scored or dropped).
- ▌ Rtl And Bidi Layout Pitfalls · techmefr bundleUse when a product adds or reviews a right-to-left locale such as Arabic or Hebrew, or mixes scripts of both directions in one sentence: direction set per locale and taken from script data, logical CSS properties, mirroring directional arrows with one rule, visually hidden text that survives right-to-left, design-system components that are not right-to-left ready, isolating each formatted value inside a message, and testing with a pseudo right-to-left locale before translations exist.
- ▌ Systems Assertion Discipline · techmefr bundleUse when writing or reviewing systems code in Zig, Rust, C or C++ that checks its own invariants: what to assert at function boundaries, which loops and queues need an explicit bound, compile-time assertions, and what each language's assertion does, or silently stops doing, in a release build.
- ▌ Testcontainers Node Pitfalls · techmefr bundleUse when Node or TypeScript tests start real services in containers with Testcontainers for Node (GenericContainer and its modules): reading the mapped host port and host instead of hard-coding them, choosing a wait strategy and a startup timeout so tests do not begin before the service is ready, copying files in instead of bind mounts, container names and networks, stopping, removal and the cleanup container, container reuse and the state it leaks, pull policy, and rootless or remote runtimes.
- ▌ Vue Nuxt Vuetify Conventions · techmefr bundleUse when writing or reviewing Vue 3/Nuxt: the SFC shape, composables and stores, typing, naming, structure, i18n, accessibility in templates, the UI-toolkit-first rule, hydration safety, realtime, the data-access client, linter-derived correctness, tests, injection and query keys, the template injection surface.