Prompts that Simplify Software
Prompts that accelerate coding, debugging, and development.
697 prompts
Webhook Integration taste
# Webhook Integration taste of a reliability-focused integrations engineer - Verify every incoming webhook with an HMAC signature over the raw request body before parsing it as JSON. Confidence: 0.95 - Compare signatures with a constant-time function, never with a plain string equality check. Confidence: 0.95 - Reject deliveries whose signed timestamp is older than about five minutes to block replay attacks. Confidence: 0.90 - Respond with a 2xx status within a few seconds and do the real work in a background job. Confidence: 0.95 - Persist the raw event first, then process it, so nothing is lost if a worker crashes mid-way. Confidence: 0.90 - Deduplicate on the provider's event ID with a unique index, because every provider retries and delivers at least once. Confidence: 0.95 - Never assume events arrive in order, and compare a version or updated_at field before overwriting local state. Confidence: 0.85 - Treat the payload as a hint and refetch the current object from the provider's API for anything money-related. Confidence: 0.80 - Return 4xx only for permanently bad requests and 5xx for temporary failures so the sender's retries behave correctly. Confidence: 0.85 - Support at least two active signing secrets at once so secrets can be rotated without downtime. Confidence: 0.85 - When sending webhooks, retry with exponential backoff and jitter for up to a day or more, then disable the endpoint and notify its owner. Confidence: 0.90 - Send a thin, versioned payload with an event type, event ID, timestamp and resource ID instead of dumping whole database rows. Confidence: 0.80 - Name event types as resource.action in the past tense, like invoice.paid or user.deleted. Confidence: 0.80 - Give customers a delivery log with request, response, status and a manual replay button. Confidence: 0.85 - Block outgoing webhook URLs that resolve to private, loopback or link-local addresses to prevent SSRF. Confidence: 0.95 - Use separate, short timeouts for outgoing deliveries and never let one slow customer endpoint block a shared queue. Confidence: 0.90 - Require HTTPS for all webhook endpoints outside local development. Confidence: 0.90 - Offer a reconciliation API or periodic sync so consumers can recover from missed events. Confidence: 0.80 - Test handlers locally with the provider's CLI or a tunnel, and keep recorded sample payloads as test fixtures. Confidence: 0.80 - Alert on rising failure rates and growing backlogs per endpoint, not only on individual errors. Confidence: 0.80 - Never log full payloads that contain personal data, secrets or card details. Confidence: 0.90
Flutter App taste
# Flutter App taste of a pragmatic cross-platform mobile developer - Start on the latest stable Flutter with null safety, strict analysis options and the official lints or very_good_analysis enforced in CI. Confidence: 0.90 - Organize code by feature folders, each with its own data, domain and presentation layers, instead of one giant widgets folder. Confidence: 0.85 - Use Riverpod or Bloc for state management and pick one for the whole app instead of mixing several. Confidence: 0.80 - Keep widgets small and composable, extracting a new widget class rather than a helper method that returns widgets. Confidence: 0.85 - Mark widgets and constructors const wherever possible to cut unnecessary rebuilds. Confidence: 0.90 - Keep business logic out of build methods and out of widgets entirely. Confidence: 0.90 - Use go_router for declarative navigation with typed routes and working deep links. Confidence: 0.80 - Model data with immutable classes generated by freezed and json_serializable instead of hand-written copyWith and fromJson. Confidence: 0.80 - Wrap API access in repository classes and return typed results or exceptions, never raw response maps, to the UI. Confidence: 0.85 - Build the theme once with ThemeData and ColorScheme from Material 3, and never hard-code colors or text styles inside widgets. Confidence: 0.85 - Support dark mode, dynamic text scaling and screen readers from the first release. Confidence: 0.85 - Use flutter_localizations with ARB files for every user-facing string from day one. Confidence: 0.80 - Run heavy parsing or image work in an isolate with compute or Isolate.run so the UI thread stays smooth. Confidence: 0.85 - Profile with DevTools in profile mode on a real low-end device before calling a screen fast. Confidence: 0.85 - Use ListView.builder or slivers for long lists and never build hundreds of children eagerly. Confidence: 0.90 - Store tokens with flutter_secure_storage and keep simple settings in shared_preferences. Confidence: 0.90 - Write unit tests for logic, widget tests for screens and a few integration tests for critical flows. Confidence: 0.80 - Use golden tests for design-system widgets that must stay pixel-stable. Confidence: 0.70 - Pin dependency versions, review new packages for maintenance and platform support, and keep the list short. Confidence: 0.80 - Define flavors for development, staging and production with separate app IDs and config. Confidence: 0.85 - Build and ship releases with Fastlane or Codemagic from CI, never from a developer laptop. Confidence: 0.80 - Wire up Crashlytics or Sentry with obfuscated builds and uploaded symbol files. Confidence: 0.80
Red Covered Bridge in Autumn Mist (Image-to-Video Animation)
Start from the step 2 image "Red Covered Bridge Over a Misty River in Peak Autumn Foliage" as the exact first frame, and animate it into a calm ${duration:6}-second cinematic shot. Keep the red covered bridge with its dark grey shingled roof, the white-trimmed entrance on the left end, the stone abutments, the orange, red, and yellow trees on both banks, the mirror-still river with its reflection, the pale blue sky with golden haze, and the composition exactly as in the image. The camera makes a slow, steady push-in toward the bridge, so the bridge grows larger and moves toward the center of the frame, while a few overhanging orange and red maple branches from the near bank come into view along the top edge as natural foreground framing. Low mist keeps drifting slowly over the water and under the bridge. Several red and orange maple leaves flutter down in front of the bridge and land softly on the water, each making circular ripples that spread outward across the lower foreground and fade, while the reflection of the bridge shimmers gently in the ripples. The shot ends calm in soft golden sunrise light. Natural, realistic motion, no cuts, no people, no animals, no boats, no text. Soft sound of the river, a light breeze in the leaves, and quiet drips as the leaves touch the water.
.NET Web API taste
# .NET Web API taste of a pragmatic C# backend engineer - Target the latest LTS release of .NET and turn on nullable reference types and warnings as errors in every project. Confidence: 0.90 - Use minimal APIs with grouped route builders for small services, and controllers only when a large team already knows them well. Confidence: 0.75 - Organize code by feature folders such as Orders or Billing instead of global Controllers, Services and Repositories folders. Confidence: 0.80 - Bind settings to strongly typed options classes with the options pattern and validate them at startup with ValidateOnStart. Confidence: 0.90 - Keep secrets out of appsettings.json and read them from user secrets locally and a vault or environment variables in production. Confidence: 0.95 - Register dependencies with the built-in container and keep lifetimes explicit, never injecting a scoped service into a singleton. Confidence: 0.90 - Accept a CancellationToken in every async endpoint and pass it all the way down to database and HTTP calls. Confidence: 0.90 - Never block on async code with .Result or .Wait(), and use async all the way through the call stack. Confidence: 0.95 - Use EF Core with AsNoTracking for read-only queries and project straight to DTOs with Select instead of loading full entities. Confidence: 0.85 - Manage schema changes with EF Core migrations checked into the repo and applied by a separate deploy step, not at app startup. Confidence: 0.80 - Keep request and response DTOs separate from EF entities so the database schema never leaks into the public API. Confidence: 0.90 - Validate input with FluentValidation or data annotations and return RFC 7807 problem details for every error. Confidence: 0.85 - Handle unexpected exceptions in one global exception handler instead of try/catch blocks in every endpoint. Confidence: 0.85 - Create outgoing HTTP clients through IHttpClientFactory with typed clients and resilience policies for retries and timeouts. Confidence: 0.90 - Log with structured message templates through ILogger, never with string interpolation inside log calls. Confidence: 0.85 - Export traces, metrics and logs with OpenTelemetry and expose separate liveness and readiness health check endpoints. Confidence: 0.80 - Publish an OpenAPI document from the code and generate typed clients from it instead of hand-writing them. Confidence: 0.75 - Use JWT bearer authentication with policy-based authorization rather than role string checks scattered through handlers. Confidence: 0.85 - Write integration tests with WebApplicationFactory against a real database in Testcontainers, not an in-memory provider. Confidence: 0.85 - Keep unit tests fast with xUnit and test behavior through public APIs instead of mocking every internal class. Confidence: 0.75 - Build small container images with the official SDK and runtime images and run the app as a non-root user. Confidence: 0.85 - Pin package versions centrally with Directory.Packages.props so every project in the solution uses the same versions. Confidence: 0.80
Full-Text Search taste
# Full-Text Search taste of a search-focused backend engineer - Start with the database's built-in full-text search, such as PostgreSQL tsvector, and add a dedicated search engine only when relevance or scale really needs it. Confidence: 0.85 - Treat the search index as a derived copy that can be rebuilt at any time from the primary database. Confidence: 0.95 - Keep the index in sync with a change feed, outbox table or queue, never with dual writes from request handlers. Confidence: 0.90 - Write to a new versioned index and switch an alias to it for mapping changes, so reindexing never causes downtime. Confidence: 0.90 - Define explicit field mappings and analyzers instead of relying on dynamic mapping guesses. Confidence: 0.90 - Store exact-match fields like IDs, slugs and statuses as keyword fields, separate from analyzed text fields. Confidence: 0.90 - Pick analyzers per language, with stemming and stop words chosen for that language, instead of one default analyzer for all content. Confidence: 0.80 - Boost title matches above body matches, and tune field weights with real queries rather than intuition alone. Confidence: 0.85 - Use filters for structured conditions like category, date or permissions so they are cached and do not affect scoring. Confidence: 0.85 - Apply access control inside the search query itself, never by filtering results after they come back. Confidence: 0.95 - Add typo tolerance with fuzzy matching only for terms longer than a few characters to avoid noisy results. Confidence: 0.75 - Serve autocomplete from a dedicated edge n-gram or prefix field, not from wildcard queries on the main text field. Confidence: 0.80 - Manage synonyms in a reviewed file or table under version control, not by editing them directly in production. Confidence: 0.75 - Use search_after or cursor pagination for deep result pages instead of large from and size offsets. Confidence: 0.85 - Log every query, its result count and its clicks so zero-result and low-click queries can be fixed. Confidence: 0.90 - Keep a small judged set of queries and expected results, and run it in CI before shipping any relevance change. Confidence: 0.80 - Try hybrid search that combines keyword and vector results only after the keyword baseline is measured. Confidence: 0.70 - Show highlighted snippets and clear facet counts so users understand why a result matched. Confidence: 0.80 - Set timeouts on search requests and fall back to a simpler query or cached results when the cluster is slow. Confidence: 0.80 - Monitor query latency percentiles, indexing lag and index size, and alert when indexing falls behind. Confidence: 0.85 - Never expose the search engine directly to browsers, and always put it behind your own API with rate limits. Confidence: 0.95
Spring Boot Service taste
# Spring Boot Service taste of a pragmatic Java backend engineer - Start on the latest Spring Boot release with a current Java LTS version, and enable virtual threads where blocking I/O dominates. Confidence: 0.80 - Organize packages by feature such as orders or billing rather than by layer like controllers, services and repositories. Confidence: 0.85 - Use constructor injection with final fields everywhere and never field injection with @Autowired. Confidence: 0.95 - Bind configuration to typed, validated @ConfigurationProperties records instead of scattered @Value strings. Confidence: 0.90 - Keep secrets out of application.yml and read them from environment variables or a secrets manager. Confidence: 0.95 - Use Java records for request and response DTOs and keep JPA entities out of controller signatures. Confidence: 0.90 - Validate requests with Bean Validation annotations and @Valid, and return ProblemDetail responses for every error. Confidence: 0.85 - Handle exceptions in one @RestControllerAdvice class instead of try/catch blocks in each controller. Confidence: 0.85 - Put @Transactional on service methods, keep transactions short, and never call remote services inside one. Confidence: 0.90 - Turn off open-in-view and fetch associations explicitly with fetch joins or entity graphs to avoid N+1 queries. Confidence: 0.90 - Manage schema changes with Flyway or Liquibase migrations and keep Hibernate ddl-auto set to validate or none. Confidence: 0.95 - Call other HTTP services through RestClient or declarative HTTP interfaces with explicit connect and read timeouts. Confidence: 0.85 - Wrap unreliable dependencies in retries with backoff and circuit breakers, and make retried operations idempotent. Confidence: 0.80 - Log in structured JSON with correlation IDs from tracing, and never log tokens, passwords or full request bodies. Confidence: 0.90 - Expose only health, info and metrics Actuator endpoints publicly, and secure or disable the rest. Confidence: 0.90 - Export metrics and traces with Micrometer and OpenTelemetry instead of custom timing code. Confidence: 0.80 - Secure endpoints with Spring Security as an OAuth2 resource server and method-level authorization for sensitive actions. Confidence: 0.85 - Write fast slice tests with @WebMvcTest and @DataJpaTest, and keep full @SpringBootTest runs for a few key flows. Confidence: 0.80 - Run integration tests against real databases and brokers in Testcontainers rather than H2 or embedded fakes. Confidence: 0.90 - Generate the OpenAPI spec from code with springdoc and publish it with every build. Confidence: 0.70 - Build container images with Buildpacks or layered jars and run them as a non-root user with memory limits set. Confidence: 0.80 - Keep dependency versions managed by the Spring Boot BOM and let a bot like Renovate open upgrade pull requests. Confidence: 0.80
Phoenix App taste
# Phoenix App taste of a pragmatic Elixir engineer - Start new projects on the latest stable Elixir and Phoenix releases, and pin Erlang/OTP and Elixir versions in .tool-versions. Confidence: 0.85 - Group business logic into Phoenix contexts with small public APIs, and never call Repo directly from controllers or LiveViews. Confidence: 0.90 - Keep contexts from reaching into each other's schemas, and talk across boundaries through public context functions. Confidence: 0.80 - Use LiveView for interactive pages by default and add JavaScript hooks only for things the browser must do itself. Confidence: 0.80 - Build UI from function components with declared attrs and slots instead of large shared templates. Confidence: 0.85 - Validate all input with Ecto changesets and keep separate changesets for different actions like registration and profile updates. Confidence: 0.90 - Lean on database constraints with unique_constraint and foreign_key_constraint instead of check-then-insert code. Confidence: 0.95 - Preload associations explicitly in context functions, and never let a template trigger an N+1 query. Confidence: 0.85 - Use Ecto.Multi or Repo.transaction for multi-step writes so partial failures roll back cleanly. Confidence: 0.85 - Write reversible migrations, and split long-running data backfills into separate tasks rather than schema migrations. Confidence: 0.85 - Read runtime settings and secrets in config/runtime.exs from environment variables, never in compile-time config. Confidence: 0.95 - Run background work with Oban backed by Postgres, with unique jobs and retries, instead of bare Task.start calls. Confidence: 0.85 - Put long-lived processes under a supervisor with a clear restart strategy and let them crash instead of rescuing every error. Confidence: 0.90 - Avoid GenServers as a place to hold data the database already owns; use them for real concurrency or coordination. Confidence: 0.80 - Return tagged tuples like {:ok, value} and {:error, reason} from context functions and handle them with with blocks. Confidence: 0.90 - Use PubSub for live updates between LiveViews and keep the broadcast topic names defined in one module. Confidence: 0.75 - Generate auth with phx.gen.auth and extend it, rather than building login and session handling from scratch. Confidence: 0.80 - Format code with mix format and run Credo and Dialyzer in CI so style and type issues fail the build. Confidence: 0.80 - Test contexts with DataCase and the SQL sandbox, and test LiveViews with Phoenix.LiveViewTest instead of a browser. Confidence: 0.85 - Emit metrics through Telemetry and watch them in LiveDashboard and an external metrics backend in production. Confidence: 0.75 - Ship releases built with mix release inside a small Docker image, and run migrations from a release command. Confidence: 0.80 - Cluster nodes with dns_cluster or libcluster only when the app really needs distributed PubSub or presence. Confidence: 0.70
Astro Content Site taste
# Astro Content Site taste of a performance-minded web developer - Use Astro for content-heavy sites like docs, blogs and marketing pages, and pick a full app framework only when most pages are interactive. Confidence: 0.85 - Ship zero JavaScript by default and add islands only for the components that truly need interactivity. Confidence: 0.90 - Choose the lightest client directive that works, preferring client:visible or client:idle over client:load. Confidence: 0.85 - Define content collections with a schema so every Markdown or MDX file is validated and typed at build time. Confidence: 0.90 - Keep content in the repo as Markdown or MDX until editors really need a headless CMS. Confidence: 0.75 - Build pages statically by default, and switch individual routes to server rendering only when they need fresh or per-user data. Confidence: 0.85 - Use the built-in Image component with explicit widths and modern formats instead of plain img tags for local images. Confidence: 0.90 - Self-host fonts, subset them, and preload only the one or two files used above the fold. Confidence: 0.80 - Style with scoped component styles or a utility framework, and keep global CSS limited to tokens and resets. Confidence: 0.75 - Write layouts as nested components that set titles, meta descriptions, canonical URLs and Open Graph tags from props. Confidence: 0.90 - Generate a sitemap and RSS feed from the content collections instead of maintaining them by hand. Confidence: 0.85 - Keep URLs stable and add redirects in config whenever a slug changes, so old links never return 404. Confidence: 0.90 - Use semantic HTML with one h1 per page, real headings in order, and alt text required by the content schema for images. Confidence: 0.90 - Use View Transitions sparingly for page navigation and respect prefers-reduced-motion. Confidence: 0.70 - Load third-party scripts like analytics and chat widgets late, or move them off the main thread with Partytown. Confidence: 0.75 - Keep framework islands in one UI library per site rather than mixing React, Vue and Svelte without a reason. Confidence: 0.80 - Run astro check and TypeScript in strict mode in CI so broken frontmatter and props fail the build. Confidence: 0.85 - Check every pull request with link checking and Lighthouse budgets for performance, accessibility and SEO. Confidence: 0.80 - Deploy previews for each pull request so writers and reviewers can read changes before they merge. Confidence: 0.85 - Add search with a static index like Pagefind before reaching for a hosted search service. Confidence: 0.75 - Read secrets only in server code through typed environment variables, and never expose them with a public prefix. Confidence: 0.95
Devops projects
i need to work on the following projects using pluralsight sandboxes and ministack.org for the next 30 days Create a docker container using cursor Connect a github repo with AWS continous integration with codebuild build a CI/CD pipeline with AWS create s3 buckets with terraform launch a kubernetes cluster
WEB APP UI
# Taste - Package manager is npm (not pnpm or yarn). Confidence: 0.95 - Use Next.js App Router with React Server Components by default; add `"use client"` only for interactive components. Confidence: 0.95
gRPC Service taste
# gRPC Service taste of a pragmatic distributed systems engineer - Keep all .proto files in one shared schema repo or directory with a single owner per package, and generate code from it in CI. Confidence: 0.85 - Lint and check every proto change for breaking changes with buf lint and buf breaking before it can merge. Confidence: 0.90 - Version packages in the name, such as billing.v1, and add a new v2 package instead of changing the meaning of existing fields. Confidence: 0.90 - Never reuse or renumber a field tag, and mark removed fields and names as reserved. Confidence: 0.95 - Give every RPC its own request and response message, even when it starts empty, so fields can be added later. Confidence: 0.90 - Follow the resource-oriented method style of Get, List, Create, Update and Delete instead of ad hoc verbs where it fits. Confidence: 0.75 - Use field masks for partial updates rather than treating unset fields as a request to clear them. Confidence: 0.80 - Paginate every List call with page_size and an opaque page_token, and cap the page size on the server. Confidence: 0.90 - Use well-known types like google.protobuf.Timestamp and Duration instead of raw integers for time values. Confidence: 0.85 - Return the canonical status codes correctly, such as NOT_FOUND, INVALID_ARGUMENT and UNAVAILABLE, and never wrap every failure in UNKNOWN. Confidence: 0.90 - Attach structured error details with the richer error model for validation failures instead of packing them into the message string. Confidence: 0.75 - Require a deadline on every client call and propagate the remaining deadline to downstream calls. Confidence: 0.95 - Retry only idempotent methods, with backoff and a retry budget configured in the service config, not in hand-written loops. Confidence: 0.85 - Pass request IDs, auth tokens and tracing context in metadata, and keep business data in the message body. Confidence: 0.85 - Put logging, auth, metrics and tracing in interceptors instead of repeating them inside each handler. Confidence: 0.90 - Use mutual TLS between internal services and verify per-call credentials on the server for anything sensitive. Confidence: 0.85 - Implement the standard gRPC health checking service and enable server reflection only outside production. Confidence: 0.80 - Prefer unary calls, and use streaming only when the data is truly incremental or long-lived. Confidence: 0.80 - Apply flow control and backpressure on streams, and send keepalive pings within limits the load balancer allows. Confidence: 0.70 - Balance load per request with an L7 proxy or client-side balancing, because HTTP/2 connections pin traffic to one backend. Confidence: 0.85 - Expose a REST or JSON gateway generated from the same protos for browsers and partners instead of maintaining a second API by hand. Confidence: 0.70 - Test handlers with an in-process server and real generated clients rather than mocking the generated stubs. Confidence: 0.80 - Document each service, method and field with comments in the proto file, since that is where readers look first. Confidence: 0.85
WebAssembly Module taste
# WebAssembly Module taste of a performance-focused systems developer - Reach for WebAssembly only for CPU-heavy, measurable hot paths like codecs, parsers or simulations, not for ordinary UI logic. Confidence: 0.90 - Benchmark against a well-optimized JavaScript version before shipping, and keep the Wasm path only if the gain is real on target devices. Confidence: 0.85 - Write browser modules in Rust with wasm-bindgen and wasm-pack as the default toolchain. Confidence: 0.80 - Keep the boundary between JavaScript and Wasm coarse: pass whole buffers in a few calls instead of crossing it per item. Confidence: 0.90 - Share large data through typed array views over Wasm memory rather than serializing to JSON or strings. Confidence: 0.85 - Never hold a typed array view across a call that may grow memory, because growth detaches the old buffer. Confidence: 0.85 - Build release modules with opt-level set for size or speed on purpose, enable LTO, and run wasm-opt in the pipeline. Confidence: 0.85 - Track the compressed .wasm size in CI and fail the build when it grows past an agreed budget. Confidence: 0.80 - Load modules with WebAssembly.instantiateStreaming and serve them with the application/wasm content type. Confidence: 0.85 - Run heavy Wasm work in a Web Worker so it never blocks the main thread. Confidence: 0.90 - Use threads and SharedArrayBuffer only when the page can stay cross-origin isolated with COOP and COEP headers. Confidence: 0.75 - Detect SIMD support at runtime and ship a fallback build, instead of assuming every browser has it. Confidence: 0.70 - Avoid panics crossing the boundary: return Result types and convert them to JavaScript errors with clear messages. Confidence: 0.85 - Install console_error_panic_hook in debug builds and strip it from release builds. Confidence: 0.75 - Keep the exported API small and typed, and publish the generated TypeScript definitions with the package. Confidence: 0.85 - Avoid pulling heavy crates like full regex or serde_json into browser builds unless the size cost is measured and accepted. Confidence: 0.75 - Target WASI and the component model for server-side or plugin use, and keep that build separate from the browser build. Confidence: 0.70 - Treat plugin modules from users as untrusted: run them in a sandboxed runtime like Wasmtime with fuel or time limits and no ambient file or network access. Confidence: 0.90 - Test the core logic as native code with cargo test and keep a smaller set of wasm-bindgen-test runs in a headless browser. Confidence: 0.80 - Keep a pure JavaScript fallback for environments where Wasm is blocked by policy or fails to load. Confidence: 0.65
Hide and seek
Hide and seek function platform tools for Android pipeline who are you; where you come from
Nix Dev Environment taste
# Nix Dev Environment taste of a reproducibility-minded platform engineer - Pin nixpkgs through a flake.lock committed to the repo, and update it on purpose in its own pull request. Confidence: 0.95 - Expose the project shell as a devShell in flake.nix so `nix develop` gives every contributor the same toolchain. Confidence: 0.90 - Load the dev shell automatically with direnv and nix-direnv, and commit a one-line .envrc that only says `use flake`. Confidence: 0.85 - Keep language dependencies in the language's own lockfile (package-lock, uv.lock, Cargo.lock) and let Nix supply only the toolchain and system libraries. Confidence: 0.80 - Pin exact compiler and runtime versions, such as nodejs_22 or python312, instead of the unversioned default attribute. Confidence: 0.90 - Use flake-parts or a small hand-written per-system helper instead of copying the same outputs block for every architecture. Confidence: 0.70 - Support both x86_64-linux and aarch64-darwin from day one, since half the team is usually on Apple Silicon. Confidence: 0.85 - Format Nix files with nixfmt and lint them with statix and deadnix in CI. Confidence: 0.80 - Run `nix flake check` in CI and put tests, linters and format checks under checks so one command validates everything. Confidence: 0.85 - Use a binary cache such as Cachix or an S3 cache for CI, so contributors download builds instead of compiling them. Confidence: 0.85 - Build container images with dockerTools or nix2container from the same flake instead of keeping a separate Dockerfile in sync. Confidence: 0.70 - Avoid `with pkgs;` across large scopes and list packages explicitly so readers can see where each name comes from. Confidence: 0.75 - Keep overlays few and small, and write a comment explaining why each override exists and when it can be removed. Confidence: 0.85 - Put secrets in sops-nix or agenix and never in the Nix store, because everything there is world-readable. Confidence: 0.95 - Set up shell hooks only for fast, idempotent work like exporting variables, never for installs or migrations. Confidence: 0.80 - Prefer `nix run` apps for project tasks, such as running the database locally, over README instructions people forget. Confidence: 0.70 - Keep a short fallback section in the README for people who cannot install Nix, listing the exact tool versions the flake provides. Confidence: 0.75 - Garbage-collect old generations on CI runners and dev machines on a schedule so the store does not fill the disk. Confidence: 0.70 - Avoid impure builds and `--impure` flags; if something needs the network, make it a fixed-output derivation with a hash. Confidence: 0.85 - Explain the lock update in the commit message, including which inputs moved and why. Confidence: 0.75
Rental Car Pickup and Return Damage Inspection and Dispute Check (JSON)
{ "role": "Calm, detail-focused rental car inspection and dispute assistant who helps travelers check a rental car at pickup and return, record clear photo and video evidence, check fuel and mileage, review damage claims and deposit holds, and write polite, firm dispute letters, without inventing rental company policies, fees, laws, or insurance terms", "task": "Turn my rental booking details, what I see at pickup and return, my evidence, and any damage claim or deposit hold into a single strict JSON inspection and dispute report: a summary, a pickup inspection checklist, a photo and video evidence plan, fuel and mileage checks, a return inspection checklist, a damage claim response, a deposit hold check, insurance and coverage questions to confirm, ready-to-send letters, a timeline of deadlines, and a next steps list. Never invent rental company policies, fees, repair costs, insurance coverage, or laws.", "context": { "rental_company_and_location": "${company:a major rental company at an airport location}", "booking_details": "${booking:compact car, 5 days, pickup Monday 10:00, return Saturday 18:00 at the same airport}", "stage": "${stage:pickup | return | after_return_claim}", "pickup_condition_notes": "${pickup_notes:a small scratch on the rear bumper and a chip in the windshield, both marked on the pickup form}", "return_condition_notes": "${return_notes:returned after hours using the key drop box, the car was clean and undamaged as far as I could see}", "fuel_and_mileage": "${fuel:full-to-full fuel policy, pickup mileage 23,410 km, unlimited mileage included}", "evidence_available": "${evidence:a pickup video walk-around with timestamps, 14 photos at return, a fuel receipt from a station 3 km from the airport}", "damage_claim": "${claim:two weeks later the company emailed a claim of 480 for a dent on the front passenger door, with one photo and no repair invoice}", "deposit_hold": "${deposit:a 300 hold was placed on my credit card at pickup and has not been released after 10 days}", "coverage": "${coverage:I declined the counter insurance, my credit card may include rental car coverage, I have not checked yet}", "payment_method": "${payment:credit card}", "country_or_region": "${region:Spain}" }, "ask_first": [ "Which stage you are at (pickup, return, or a claim after return), the rental company, location, and dates and times of pickup and return", "Every mark or problem you noticed at pickup and whether staff recorded it on the rental agreement or damage form", "What evidence you have: photos, videos, timestamps, the signed rental agreement, the pickup and return forms, fuel receipts, and any messages with the company", "The full damage claim or extra charge you received: the amount, the description, the photos, any repair estimate or invoice, and the deadline to reply", "The deposit amount, when it was placed, how you paid, and which insurance or coverage you bought, declined, or may have through a credit card or travel insurance" ], "rules": [ "Use only my inputs for facts. If something is missing, set it to null, add it to open_questions, and never guess company policies, fees, repair costs, insurance terms, deposit release times, or laws.", "Pickup checklist: cover the body panels, bumpers, wheels and tires, windshield and windows, mirrors, lights, interior, seats, trunk, spare tire and tools, dashboard warning lights, fuel level, and mileage. Tell me to have every existing mark recorded on the rental form and signed by staff before driving away.", "Evidence plan: a slow, continuous video walk-around with the date and time visible or stated aloud, close-up photos of every mark with a reference object for size, wide photos showing each side of the car and the location, photos of the fuel gauge and odometer, and a backup of all files the same day. Repeat at return, especially for after-hours drop-offs.", "Fuel and mileage: compare the pickup and return levels with the fuel policy and mileage limit I gave, keep fuel receipts with time and location, and flag any refuel charge to check against the agreement.", "Damage claim response: compare each claimed item with my pickup records and return evidence, list what the company must provide to support the claim (dated photos from pickup and return, a repair estimate or invoice, and the damage report), and mark each claim item as disputed, accepted, or needs_more_information with reasons.", "Deposit hold: track the amount, date placed, and expected release as items to confirm with the company and card issuer. Never state a release time as fact.", "Coverage: list questions to confirm with the rental agreement, the credit card issuer, or my travel insurance, and mark each confirm true. Never say I am or am not covered.", "Letters must be polite, factual, and firm: refer to the rental agreement number, attach the evidence list, ask for supporting documents and a written reply by a reasonable date, and mention escalation options such as the company's complaints process, a card chargeback, or a consumer protection body only as steps to check.", "This is practical help, not legal advice. Say so once in disclaimers and suggest a consumer advice service or a lawyer for large or complex claims.", "Output only valid JSON matching output_format. No markdown, no comments, no prose outside the JSON." ], "output_format": { "summary": { "stage": "pickup | return | after_return_claim", "company": "string", "agreement_number": "string | null", "key_finding": "string", "risk_level": "low | medium | high", "assumptions": [ "string" ], "open_questions": [ "string" ] }, "pickup_inspection": [ { "area": "string", "what_to_check": "string", "existing_damage_found": "boolean | null", "recorded_on_form": "boolean | null", "evidence_ref": "string" } ], "evidence_plan": { "pickup_video": { "steps": [ "string" ], "done": "boolean" }, "pickup_photos": [ { "shot": "string", "purpose": "string", "done": "boolean" } ], "return_video": { "steps": [ "string" ], "done": "boolean" }, "return_photos": [ { "shot": "string", "purpose": "string", "done": "boolean" } ], "backup_steps": [ "string" ] }, "fuel_and_mileage": { "fuel_policy": "string | null", "fuel_at_pickup": "string | null", "fuel_at_return": "string | null", "refuel_receipt": "string | null", "mileage_at_pickup": "number | null", "mileage_at_return": "number | null", "mileage_limit": "string | null", "possible_charges_to_check": [ "string" ] }, "return_inspection": [ { "area": "string", "condition": "string", "evidence_ref": "string", "staff_signoff": "boolean | null" } ], "damage_claim_response": [ { "claimed_item": "string", "amount_claimed": "number | null", "present_at_pickup": "yes | no | unknown", "my_evidence": [ "string" ], "documents_to_request": [ "string" ], "position": "disputed | accepted | needs_more_information", "reasons": [ "string" ] } ], "deposit_hold": { "amount": "number | null", "date_placed": "string | null", "payment_method": "string | null", "release_status": "released | pending | partly_captured | unknown", "steps_to_confirm": [ "string" ] }, "coverage_questions": [ { "source": "rental_agreement | credit_card | travel_insurance | other", "question": "string", "why_it_matters": "string", "confirm": true } ], "letters": [ { "purpose": "dispute_damage_claim | request_documents | deposit_release | escalation", "to": "string", "subject": "string", "body": "string", "attachments": [ "string" ], "send_by": "string" } ], "timeline": [ { "date": "string", "event": "string", "deadline": "boolean" } ], "next_steps": [ { "step": "string", "when": "string", "done": "boolean" } ], "disclaimers": [ "string" ] } }
Embedded Firmware taste
# Embedded Firmware taste of a reliability-minded firmware engineer - Keep hardware access behind a thin hardware abstraction layer so application logic can be built and unit-tested on the host machine. Confidence: 0.90 - Run unit tests on the host in CI with Unity or GoogleTest, and keep on-target tests for drivers and timing only. Confidence: 0.85 - Avoid dynamic memory allocation after startup; allocate buffers statically or from fixed-size pools sized at compile time. Confidence: 0.90 - Use a small RTOS such as Zephyr or FreeRTOS once there are more than two independent timing concerns, instead of growing a hand-written super loop. Confidence: 0.75 - Keep interrupt handlers short: capture the data, set a flag or push to a queue, and do the real work in a task. Confidence: 0.95 - Mark data shared with interrupts as volatile and guard multi-byte access with critical sections or atomics. Confidence: 0.90 - Enable the hardware watchdog in production builds and feed it only from a health check that confirms every critical task is alive. Confidence: 0.90 - Build with -Wall -Wextra -Werror and run a static analyzer such as cppcheck or clang-tidy on every pull request. Confidence: 0.85 - Pin the exact cross-compiler version in a container image or toolchain file so every build is reproducible. Confidence: 0.90 - Use fixed-width integer types like uint32_t everywhere hardware registers, protocols or storage formats are involved. Confidence: 0.90 - Track flash and RAM usage per build in CI and fail when either crosses an agreed budget. Confidence: 0.80 - Ship over-the-air updates with an A/B partition scheme, signed images and automatic rollback if the new image fails to boot. Confidence: 0.90 - Verify firmware signatures in the bootloader with a key the application cannot overwrite. Confidence: 0.85 - Lock debug ports such as JTAG and SWD on production units, with a documented process for authorized recovery. Confidence: 0.80 - Store a crash record with the program counter, fault registers and reset reason in retained RAM and report it on the next boot. Confidence: 0.85 - Use structured, compact logging with log levels and a ring buffer, and avoid printf in interrupt context. Confidence: 0.80 - Write wear-aware storage code: batch writes, use a flash file system like littlefs, and never rewrite the same sector in a tight loop. Confidence: 0.85 - Version configuration stored in flash and migrate it on boot, rather than assuming the layout never changes. Confidence: 0.80 - Design for low power from the start: sleep by default, wake on interrupts, and measure current draw with real hardware. Confidence: 0.75 - Run a hardware-in-the-loop test rig in CI for the main boards before releasing a firmware version. Confidence: 0.70 - Embed the git commit hash and build time in every image and expose them through a version command or register. Confidence: 0.85
Ansible Playbook taste
# Ansible Playbook taste of a pragmatic infrastructure engineer - Organize work into roles with clear defaults, and keep playbooks thin, mostly a list of roles applied to host groups. Confidence: 0.90 - Use fully qualified collection names like ansible.builtin.copy in every task so modules are never ambiguous. Confidence: 0.85 - Pin collection and role versions in a requirements.yml file and install them in CI from that file only. Confidence: 0.90 - Write every task to be idempotent, so a second run reports zero changes on a converged host. Confidence: 0.95 - Prefer purpose-built modules over shell or command; when shell is unavoidable, set creates, removes or changed_when explicitly. Confidence: 0.90 - Give every task a clear, human-readable name that says what state it ensures, not which command it runs. Confidence: 0.80 - Keep variables in group_vars and host_vars, and avoid setting the same variable in more than two places. Confidence: 0.85 - Prefix role variables with the role name, such as nginx_worker_processes, to avoid collisions between roles. Confidence: 0.85 - Store secrets in Ansible Vault or an external secret manager lookup, and never commit them in plain text. Confidence: 0.95 - Use handlers for service restarts so services restart once at the end, only when their configuration actually changed. Confidence: 0.90 - Template configuration files with Jinja2 and validate them before replacing, using the validate option where the service supports it. Confidence: 0.85 - Run ansible-lint and yamllint in CI on every pull request. Confidence: 0.85 - Test roles with Molecule against disposable containers or VMs for each supported operating system. Confidence: 0.75 - Use --check and --diff before applying changes to production, and review the diff like a code change. Confidence: 0.85 - Roll out to production with serial batches and max_fail_percentage so a bad change stops before it reaches every host. Confidence: 0.85 - Keep a dynamic inventory from the cloud provider or CMDB instead of hand-edited host lists. Confidence: 0.75 - Use tags sparingly and consistently, mainly to run one role or one concern, not to build hidden execution paths. Confidence: 0.70 - Avoid ignore_errors; use failed_when with a precise condition or a block with rescue when failure is expected. Confidence: 0.85 - Set become only on the tasks that need root, not globally for the whole play. Confidence: 0.75 - Enable SSH pipelining and tune forks to cut run time, and measure with the profile_tasks callback before optimizing further. Confidence: 0.70 - Run playbooks from CI or a controlled runner such as AWX, not from personal laptops, so every change is logged. Confidence: 0.80
Unity Game Project taste
# Unity Game Project taste of a shipping-focused game developer - Pin the Unity editor to one LTS version per project and upgrade it deliberately in its own branch. Confidence: 0.90 - Use Git with Git LFS for binary assets, plus a .gitattributes file and Unity's smart merge tool for scenes and prefabs. Confidence: 0.85 - Set asset serialization to Force Text and keep visible meta files so changes can be reviewed and merged. Confidence: 0.90 - Split code into assembly definitions per feature to keep compile times short and dependencies explicit. Confidence: 0.85 - Keep gameplay logic in plain C# classes that can be unit-tested, with MonoBehaviours acting as thin adapters. Confidence: 0.80 - Use ScriptableObjects for designer-tunable data such as weapon stats and levels, not hard-coded constants. Confidence: 0.85 - Avoid GameObject.Find and string-based lookups at runtime; wire references in the inspector or through a simple composition root. Confidence: 0.85 - Cache component references in Awake instead of calling GetComponent every frame. Confidence: 0.90 - Avoid allocations in Update loops and use object pooling for bullets, effects and other frequently spawned objects. Confidence: 0.90 - Profile on the slowest target device with the Unity Profiler before optimizing, not only in the editor. Confidence: 0.90 - Load content with Addressables instead of the Resources folder, so memory and download size stay under control. Confidence: 0.80 - Use the new Input System with action maps, so keyboard, gamepad and touch share the same gameplay code. Confidence: 0.80 - Prefer async loading and coroutines or async/await for long operations, and never block the main thread on I/O. Confidence: 0.85 - Keep prefabs small and use prefab variants and nested prefabs instead of duplicating whole hierarchies. Confidence: 0.80 - Run Edit Mode and Play Mode tests with the Unity Test Framework in CI on every pull request. Confidence: 0.75 - Build every target platform automatically in CI, such as with GameCI, so broken platform builds are caught the same day. Confidence: 0.80 - Treat compiler warnings and console errors as bugs, and keep the console clean in every scene. Confidence: 0.75 - Agree on fixed folder conventions like Art, Audio, Prefabs, Scenes and Scripts, and enforce them in review. Confidence: 0.70 - Make save data versioned and migrate old saves on load instead of breaking players' progress after an update. Confidence: 0.85 - Strip debug menus and cheats from release builds with scripting define symbols. Confidence: 0.80
Kitchen Remodel Timeline and Budget Plan (YAML)
role: Practical, calm kitchen remodel planner who helps homeowners turn a kitchen renovation idea into a realistic timeline and budget plan, covering phases, decisions and their deadlines, lead times, a contingency reserve, permits and inspections to confirm, and a temporary kitchen for living without a kitchen, so the project stays on track and the household keeps eating well task: > Turn my kitchen remodel scope, my home, my budget, my target dates, my household, and any quotes or contractor schedule I already have into a complete kitchen remodel timeline and budget plan as YAML: a summary with the main risks, a scope list, a phase-by-phase timeline, a decision schedule with deadlines tied to lead times, a budget by category with a contingency reserve, a payment schedule, permits and inspections to confirm, a temporary kitchen plan for the weeks without a kitchen, a meal plan for those weeks, a site protection and cleanup plan, a communication plan with the contractor, a change order log, and a final walk-through checklist. inputs: project_scope: ${scope:full remodel of a 12 square meter kitchen, new cabinets and countertops, move the sink 1 meter to the window, new tile floor, new lighting, keep the existing window and walls} home: ${home:third-floor apartment in a building with an elevator and a building manager who must approve work hours} budget: ${budget:about 25000 including appliances, with 3000 already set aside as a reserve} quotes_or_contractor: ${quotes:one signed quote from a general contractor with a 6-week estimate, cabinets ordered separately by me} target_dates: ${dates:start on February 2, must be finished before family visits on April 10} decisions_already_made: ${decided:white shaker cabinets and a quartz countertop, appliances not chosen yet, tile not chosen yet} household: ${household:two adults working from home, one 9-year-old, and a dog} temporary_kitchen_space: ${temp_space:a corner of the living room near the balcony door, with a fridge that can be moved there} equipment_for_temporary_kitchen: ${temp_gear:a microwave, an electric kettle, a toaster, and a slow cooker} dietary_needs: ${diet:one vegetarian, the child is a picky eater} constraints: ${constraints:work allowed only Monday to Friday 08:00 to 17:00, no water shutoff during morning video calls} worries: ${worries:cabinet delivery delays, hidden water damage under the sink, the budget running over, and eating takeout every day} ask_first: - The full scope, including anything that moves (sink, stove, walls, windows, gas, or electrical points), what stays, and the size of the kitchen - Every quote, contract, or schedule you have, with what is included, payment terms, and who is ordering cabinets, countertops, appliances, and tile - Your total budget, what is already spent or paid as a deposit, how much reserve you can keep, and any part of the budget you cannot exceed - Your start date, any hard deadline, the work hours allowed in your building or street, and any building, landlord, or homeowner association approval rules - Who lives in the home, work-from-home needs, children, pets, and dietary needs, and where a temporary kitchen could go with power and water nearby - Which choices are still open (appliances, tile, sink, faucet, lighting, hardware, paint) and any long-lead items you already know about rules: - Use only my inputs for facts. If something is missing, write it under assumptions and add a question to open_questions. Never invent prices, lead times, contractor promises, permit rules, or building codes. - Order the phases realistically, for example planning and design, ordering, demolition, rough-in plumbing and electrical, inspections to confirm, walls and floor, cabinets, countertop templating and install, backsplash and finishes, appliances, punch list, and final cleanup, and show which phases depend on others. - Build the decision schedule backward from each install date, and mark every lead time as to_confirm with the supplier, so each choice is made before it can delay the work. - Keep a contingency reserve of a clearly stated share of the budget (suggest 10 to 20 percent, more for older homes or moved plumbing), list what it covers, and never spend it on upgrades without noting it. - Mark every permit, inspection, building approval, and electrical, gas, or plumbing rule as an item to confirm with the local authority, building manager, or a licensed professional. Never say a permit is or is not needed. - The temporary kitchen plan must cover a safe setup (no overloaded sockets, small appliances on stable surfaces away from children and pets), dish washing without a kitchen sink, food storage, and trash and recycling. The meal plan must favor simple microwave, kettle, slow cooker, and no-cook meals that fit the dietary needs, with a realistic takeout budget. - Plan for dust and safety, such as sealing doorways, protecting floors and the elevator, keeping children and pets out of the work area, and knowing where the water shutoff is. - Every change to scope or materials goes into the change order log with cost and time impact before work goes ahead. - This is planning help, not professional, legal, or engineering advice. Say so in the summary and suggest licensed professionals for structural, gas, electrical, and plumbing work. - Output only valid YAML matching output_format. No prose outside the YAML. output_format: summary: project: string start_date: string target_finish: string total_budget: number contingency_reserve: number days_without_kitchen: number main_risks: - string status: on_track | at_risk | needs_decisions disclaimer: string assumptions: - string open_questions: - string scope: included: - string excluded: - string moves_or_changes: - item: string trade_needed: string risk: low | medium | high timeline: - phase: string start: string end: string duration_days: number depends_on: - string owner: string kitchen_usable: boolean notes: string decision_schedule: - decision: string options_to_compare: - string decide_by: string needed_for_phase: string lead_time: string lead_time_status: to_confirm | confirmed status: open | decided | ordered | delivered budget: categories: - category: string planned: number quoted: number paid: number remaining: number notes: string contingency: percent: number amount: number covers: - string used: - item: string amount: number total_planned: number total_with_contingency: number over_or_under: number payment_schedule: - payment: string amount: number due: string tied_to_milestone: string paid: boolean permits_and_approvals_to_confirm: - item: string who_to_ask: string needed_before: string confirm: true temporary_kitchen: location: string setup: - string appliances: - string dish_washing_plan: string food_storage: string trash_and_recycling: string safety_checks: - string meal_plan_without_kitchen: weekly_pattern: - day: string breakfast: string lunch: string dinner: string batch_cooking_before_start: - string takeout_budget_per_week: number shopping_list: - string site_protection_and_cleanup: - task: string when: string owner: string communication_plan: contractor_contact: string check_in_rhythm: string building_or_neighbor_notices: - string photo_record: - string change_order_log: - change: string reason: string cost_impact: number time_impact_days: number approved: boolean final_walk_through: - check: string done: boolean
API Client SDK taste
# API Client SDK taste of a developer-experience focused SDK maintainer - Generate the low-level client from an OpenAPI spec, and hand-write only a thin, idiomatic layer on top. Confidence: 0.85 - Treat the API spec as the source of truth and fail CI when the generated code is out of date. Confidence: 0.85 - Make the first call possible in three lines: install, create a client with an API key, call one method. Confidence: 0.90 - Read the API key from a well-known environment variable by default, and never log it or include it in error messages. Confidence: 0.95 - Expose fully typed request and response models, with TypeScript types or Python type hints shipped in the package. Confidence: 0.90 - Return typed errors with the HTTP status, error code, message and request ID, instead of a generic exception. Confidence: 0.90 - Retry idempotent requests on timeouts, 429 and 5xx responses with exponential backoff and jitter, and respect Retry-After headers. Confidence: 0.90 - Send an idempotency key automatically on retried POST requests when the API supports it. Confidence: 0.80 - Set sensible default timeouts and let callers override timeout and retry settings per client and per request. Confidence: 0.85 - Provide auto-paginating iterators so users can loop over all results without handling cursors themselves. Confidence: 0.85 - Support streaming responses with native async iterators or generators instead of callbacks. Confidence: 0.80 - Offer both sync and async clients in languages where both are common, sharing the same models. Confidence: 0.75 - Keep runtime dependencies minimal and avoid pinning users to a specific HTTP library version. Confidence: 0.85 - Send a User-Agent header with the SDK name, version and runtime so API owners can see adoption and debug issues. Confidence: 0.80 - Follow semantic versioning strictly and document breaking changes with migration examples in the changelog. Confidence: 0.90 - Never remove a method in a minor release; deprecate it with a warning first. Confidence: 0.85 - Test against recorded HTTP fixtures for speed and run a smaller suite against a real sandbox environment nightly. Confidence: 0.80 - Run the test suite on every supported runtime version in CI, such as each active Node.js LTS or Python release. Confidence: 0.85 - Put runnable code examples in the README and docs, and test those examples in CI so they never go stale. Confidence: 0.80 - Expose hooks or middleware for logging, tracing and custom headers instead of adding one-off options for each need. Confidence: 0.75 - Allow a custom base URL and HTTP client so users can point the SDK at proxies, mocks or regional endpoints. Confidence: 0.80 - Publish packages from CI with provenance and signed releases, never from a maintainer's laptop. Confidence: 0.75
Design System taste
# Design System taste of a pragmatic design systems engineer - Define design tokens for color, spacing, typography, radius and motion in one source file, and generate CSS variables and platform outputs from it. Confidence: 0.90 - Name tokens by purpose, such as color-text-muted or space-inset-md, not by raw value like gray-500 or 16px. Confidence: 0.85 - Support light and dark themes by swapping semantic token values, never by overriding individual component styles. Confidence: 0.90 - Build components on accessible headless primitives such as Radix UI or React Aria instead of re-implementing focus and keyboard logic. Confidence: 0.85 - Meet WCAG 2.2 AA contrast for every token pairing and check it automatically when tokens change. Confidence: 0.90 - Keep the component API small: a few well-named variants and sizes beat dozens of boolean props. Confidence: 0.85 - Prefer composition with slots or children over configuration objects for complex components like dialogs and menus. Confidence: 0.80 - Forward refs and spread remaining props onto the root element so components work with forms, tooltips and tests. Confidence: 0.85 - Never hard-code colors, spacing or font sizes inside components; lint for raw values with Stylelint or an ESLint rule. Confidence: 0.85 - Document every component in Storybook with usage guidance, do and don't examples, and live controls. Confidence: 0.85 - Run visual regression tests with Chromatic or Playwright screenshots on every pull request. Confidence: 0.80 - Run automated accessibility checks with axe in component tests, and still test keyboard and screen reader flows by hand before release. Confidence: 0.85 - Publish the library as a versioned package with semantic versioning and a changelog generated by Changesets. Confidence: 0.90 - Treat a renamed prop or removed variant as a breaking change, and ship codemods for large migrations. Confidence: 0.75 - Deprecate before removing: mark the old API, log a development-only warning, and remove it in the next major version. Confidence: 0.85 - Ship ESM with tree-shakeable per-component entry points and mark CSS files as side effects correctly. Confidence: 0.80 - Respect prefers-reduced-motion and keep motion tokens short and purposeful. Confidence: 0.80 - Keep icons as a separate package of optimized SVG components with consistent size and stroke tokens. Confidence: 0.75 - Use logical CSS properties like margin-inline-start so components work in right-to-left layouts. Confidence: 0.75 - Keep Figma components and code components in sync by sharing token names and reviewing drift every release. Confidence: 0.70 - Measure adoption by scanning product repositories for library imports and one-off overrides. Confidence: 0.65 - Accept contributions through a short proposal template that covers the use case, API and accessibility before any code. Confidence: 0.70
Neovim Config taste
# Neovim Config taste of a minimalist terminal-first developer - Write the whole config in Lua, starting from a single init.lua that requires small modules under lua/config and lua/plugins. Confidence: 0.90 - Use lazy.nvim as the plugin manager and commit lazy-lock.json so every machine gets the same plugin versions. Confidence: 0.90 - Lazy-load plugins by event, command, filetype or key mapping, and keep startup time under 50 ms measured with :Lazy profile. Confidence: 0.80 - Prefer the built-in LSP client with nvim-lspconfig over heavier all-in-one language plugins. Confidence: 0.85 - Install language servers, formatters and linters with mason.nvim, but pin the tool list in config instead of installing by hand. Confidence: 0.80 - Format on save with conform.nvim and lint with nvim-lint, using the same tools and settings the project runs in CI. Confidence: 0.85 - Use nvim-treesitter for highlighting, indentation and text objects, and list the parsers you need explicitly. Confidence: 0.85 - Pick one fuzzy finder, such as telescope.nvim or fzf-lua, and route files, grep, buffers and LSP symbols through it. Confidence: 0.85 - Set the leader key to space before loading any plugin so every mapping uses it. Confidence: 0.90 - Give every custom mapping a desc field so which-key and :map show what it does. Confidence: 0.85 - Group mappings by prefix, like leader f for find, leader g for git and leader l for LSP, and avoid overriding core Vim motions. Confidence: 0.80 - Keep options in one options.lua file using vim.opt, with a short comment for anything that is not obvious. Confidence: 0.80 - Use relative line numbers, a sign column that is always shown, and persistent undo files. Confidence: 0.75 - Use autocommand groups with clear = true so reloading the config never duplicates handlers. Confidence: 0.90 - Respect .editorconfig files and avoid hard-coding indentation per language unless a project has no settings. Confidence: 0.80 - Show git changes in the sign column with gitsigns.nvim and stage hunks from the editor. Confidence: 0.80 - Use the built-in completion engine or blink.cmp, with LSP and snippet sources only, to keep the popup fast and relevant. Confidence: 0.70 - Choose one colorscheme with good Tree-sitter and LSP semantic token support, and do not chase new themes every week. Confidence: 0.65 - Add a plugin only when it replaces a repeated manual step, and remove plugins you have not used in a month. Confidence: 0.80 - Keep machine-specific settings in a git-ignored local.lua file so the main config stays portable. Confidence: 0.75 - Run :checkhealth after upgrades and fix warnings before adding new plugins. Confidence: 0.80 - Store the config in a dotfiles repository and upgrade plugins deliberately, reviewing the lazy.nvim changelog first. Confidence: 0.85
Load Testing taste
# Load Testing taste of a performance-minded reliability engineer - Start every load test from a written goal, such as p95 latency under 300 ms at 500 requests per second, not from a vague "see what breaks". Confidence: 0.95 - Write load tests as code with k6, Gatling or Locust and keep them in the same repository as the service. Confidence: 0.90 - Model realistic traffic from production logs: the mix of endpoints, payload sizes and think time between requests. Confidence: 0.90 - Use an open workload model with a fixed arrival rate when testing services that face the internet, since closed models hide queueing delays. Confidence: 0.85 - Run separate test types on purpose: smoke, load at expected peak, stress beyond peak, spike, and a long soak test for memory leaks. Confidence: 0.90 - Report latency as percentiles, at least p50, p95 and p99, and never rely on the average alone. Confidence: 0.95 - Define pass or fail thresholds in the test script so CI can fail the build automatically. Confidence: 0.85 - Run load tests against a production-like environment with the same instance sizes, data volume and configuration. Confidence: 0.90 - Seed test data that matches production cardinality, because a tiny database makes every query look fast. Confidence: 0.85 - Warm up caches and connection pools before measuring, and exclude the warm-up period from results. Confidence: 0.75 - Generate load from machines with enough CPU and network headroom, and watch the load generator's own metrics. Confidence: 0.85 - Correlate test results with server-side metrics, traces and logs to find the real bottleneck instead of guessing. Confidence: 0.90 - Track error rate and timeouts next to latency; a fast response that returns an error is not a success. Confidence: 0.90 - Change one variable per run and record the commit, configuration and environment with each result. Confidence: 0.85 - Run a short performance smoke test on every merge to main and the full suite before major releases. Confidence: 0.80 - Compare results with a stored baseline and flag regressions larger than an agreed percentage. Confidence: 0.80 - Mock or sandbox third-party APIs that charge per call or enforce rate limits, but test your own dependencies for real. Confidence: 0.80 - Find the breaking point and document how the system fails: graceful rejection with 429 or 503 is better than collapse. Confidence: 0.85 - Verify that autoscaling reacts in time by ramping load gradually and measuring how long new capacity takes to help. Confidence: 0.75 - Announce load tests to the team and on-call engineers, and never point them at shared production systems without approval. Confidence: 0.95 - Turn findings into capacity plans with clear headroom targets, such as running at no more than 60 percent of the tested limit. Confidence: 0.70
Train Delay Compensation Claim (JSON)
{ "role": "Calm, careful passenger-rights assistant who helps train travelers understand a delay or cancellation, gather evidence, check whether compensation or a refund may apply under the rules for their region, write clear factual claim letters, and track deadlines — without inventing laws, amounts, deadlines, or airline/rail policies", "task": "Turn my train trip details, the delay or cancellation facts, tickets and receipts, and what the operator already offered into a single strict JSON compensation claim report: a summary, a trip and disruption fact check, a rights checklist marked to_confirm for my region, an eligibility assessment, an evidence log and plan, a claim-amount worksheet with every figure marked estimate or to_confirm, a deadline timeline, ready-to-send claim letters and emails, an escalation path, and next steps. Practical help only. Never invent passenger-rights rules, compensation amounts, deadlines, or laws. This is not legal advice.", "context": { "region": "${region:EU/EEA train journey under EU rail passenger rights | UK domestic or international | US Amtrak or other US carrier | other / not sure}", "trip": "${trip:outbound high-speed train from City A to City B on 12 March, ticket bought online, reserved seat, arrived 2 hours 40 minutes late}", "disruption_type": "${type:long delay on arrival | cancellation | missed connection because of a delay | denied boarding / no seat | partial cancellation}", "operator": "${operator:the mainline rail operator named on my ticket}", "what_happened": "${story:the train sat outside the station for 90 minutes with no clear updates, then crawled in; I missed my last connecting bus home and paid for a taxi}", "ticket_details": "${ticket:e-ticket PDF, booking reference ABC123, paid 89 EUR, flexible fare, passenger name matches my ID}", "delay_length": "${delay:arrived 2 hours 40 minutes after the scheduled arrival time on the ticket}", "care_received": "${care:one bottle of water offered after 60 minutes; no meal voucher; no hotel}", "expenses": "${expenses:taxi home 35 EUR with receipt; meal at station 12 EUR with card statement}", "operator_offer_so_far": "${offer:an email offering 25 percent voucher credit toward a future ticket; I have not accepted it}", "deadlines_I_know": "${deadlines:I think I have months to claim but I am not sure; disruption was 5 days ago}", "goal": "${goal:cash compensation or a refund if that fits the rules, plus reimbursement of reasonable extra costs; I prefer cash over a voucher}", "documents_I_have": "${docs:e-ticket PDF, booking confirmation email, photos of the delay board, taxi receipt, bank statement line for the meal}" }, "ask_first": [ "Your region or route (EU/EEA, UK, US, or other), the operator name on the ticket, and whether the journey was domestic or international.", "Scheduled and actual departure and arrival times, delay length at arrival, and whether a connection was missed.", "Ticket type (flexible, non-flex, season, rail pass), price paid, booking reference, and passenger name match.", "What the operator already offered (voucher, cash, rebooking, nothing) and whether you accepted anything.", "Extra costs with receipts (taxi, hotel, meals) and any care provided on board or at the station.", "Any claim deadline printed on the ticket email or operator site that you have already seen (mark unknown if not)." ], "rules": [ "Never invent passenger-rights laws, compensation percentages, fixed euro/dollar amounts, claim deadlines, or operator policies. Mark every legal or policy point as to_confirm with the official operator and the official passenger-rights source for that region (for example EU rail passenger rights materials, UK rail ADR/ombudsman pages, or the US carrier's published contingency plan).", "Treat EU261-style air rules as NOT applying to trains. If the user mentions a flight, say this prompt is for rail and point them to use a flight-specific claim helper instead.", "US-aware means: note that US rail compensation is largely carrier-policy and DOT consumer guidance based, not a single EU-style fixed delay scale — mark every amount and deadline to_confirm with the carrier.", "Never present a compensation figure as guaranteed. Use estimate or to_confirm only.", "Prefer cash reimbursement language when the user prefers cash; list voucher offers as optional alternatives to evaluate, not as advice to accept.", "Be polite, factual, and brief in all letter bodies. No threats, no invented case law, no fake statute citations.", "If facts are missing, set fields to null and add open_questions instead of guessing.", "Always include clear disclaimers that this is practical organizing help, not legal advice, and that the user should confirm rights and deadlines with official sources or a qualified adviser if the claim is large or disputed." ], "output_format": { "summary": { "operator": "string", "region": "string", "disruption_type": "long_delay | cancellation | missed_connection | denied_boarding | other", "delay_minutes": "number | null", "ticket_price": "number | null", "currency": "string | null", "key_finding": "string", "recommendation": "file_compensation_claim | request_refund | negotiate_better_than_voucher | accept_offer_after_confirming | get_advice | need_more_information", "claim_strength": "strong | moderate | weak | needs_more_evidence", "assumptions": [ "string" ], "open_questions": [ "string" ] }, "trip_fact_check": [ { "detail": "string", "on_ticket_or_record": "string | null", "what_really_happened": "string | null", "matches": "boolean | null", "confirm": "boolean" } ], "rights_checklist": [ { "item": "string", "applies_guess": "likely | unlikely | unknown", "reason": "string", "official_source_to_confirm": "string", "status": "to_confirm" } ], "eligibility_assessment": [ { "ground": "string", "facts_supporting": [ "string" ], "evidence_refs": [ "string" ], "strength": "strong | moderate | weak", "reason": "string", "to_confirm": "string | null" } ], "evidence_log": [ { "evidence_id": "string", "type": "ticket | booking_email | photo | receipt | bank_statement | operator_message | witness | other", "description": "string", "date_time": "string | null", "shows": "string", "file_name": "string", "have_it": "boolean" } ], "evidence_plan": [ { "item": "string", "how": "string", "by_when": "string", "done": "boolean" } ], "claim_amount_worksheet": { "ticket_price": "number | null", "possible_delay_compensation_estimate": "number | null", "extra_costs_total": "number | null", "extra_costs_breakdown": [ { "item": "string", "amount": "number | null", "receipt": "boolean", "reimbursable_guess": "likely | unlikely | unknown" } ], "operator_offer_value": "number | null", "operator_offer_type": "cash | voucher | rebooking | none | unknown", "money_at_stake_estimate": "number | null", "currency": "string | null", "all_figures_status": "estimate_or_to_confirm", "notes": "string" }, "timeline": [ { "date": "string | null", "event": "string", "deadline": "boolean", "reminder_on": "string | null", "confirm_with": "string | null" } ], "letters": [ { "stage": "first_claim | follow_up | reject_voucher_ask_cash | escalation_adr_or_regulator | other", "to": "string", "subject": "string", "body": "string", "attachments": [ "string" ], "send_by": "string | null", "send_method": "email | web_form | post | app | to_confirm" } ], "escalation_path": [ { "stage": "number", "action": "string", "body": "string", "trigger": "string", "time_limit_to_confirm": "string" } ], "next_steps": [ { "step": "string", "when": "string", "done": "boolean" } ], "disclaimers": [ "string" ] } }
