Builds admin-configurable navigation in ASP.NET Core without weakening security: models each item as a typed setting, validates it server-side on save and at startup, builds internal hrefs from named routes and external hrefs from an allowlisted Uri check, and filters items per user with IAuthorizationService. Use for…
A cloudinary upload preset is the named bundle of upload settings that lets a browser or mobile app upload straight to Cloudinary with no backend and no signature. Create the preset in the Console, set its signing mode to Unsigned, lock down its folder, formats, and size caps, then POST multipart form data with upload…
Shows how to deploy EF Core migrations to production only as a reviewed, immutable artifact: generate idempotent SQL in CI, allowlist and SHA256-hash it, require explicit opt-in and approval, rehearse on staging, back up, and apply under transaction and advisory lock. Use for gated production EF Core releases. Not for…
Diagnoses a Percona Server for MySQL 8.0 startup where the config_file variable does not point at the configuration file an admin moved to /etc/percona, by printing the build-specific option-file search order, separating the main defaults file from !includedir merges, and running a sentinel-value test. Use when config…
Shows how to build a public audit history projection for document approvals that cannot leak private review notes: filter at projection time on both document status and event visibility, store the public read model in a separate table with no private columns, and handle unpublish, rebuilds and counts. Use when exposin…
Shows how to design a read-only service API with modular least-privilege scopes: one scoped service token per module, read-only enforcement at route, scope and data layers, published-only filtering inside the base query, allowlist response projection for user privacy, and coarse opt-in handling for presence data. Use …
Shows how to highlight untrusted code in the browser with lowlight and highlight.js: cap input size before highlighting, register only needed languages instead of all grammars or auto detection, and render the returned hast AST as React elements so code text is escaped by React and no raw HTML string or eval is involv…
Shows how to render a diff of two Tiptap revisions safely: diff ProseMirror JSON at block level with hard caps, generate HTML with the same extensions so table cell colspan, rowspan and colwidth survive, then sanitize with DOMPurify keeping only allowlisted inline style properties. Use when a revision history view is …
Walk the chain in order and test each hand off with one known record, fix the first hand off where the record disappears, and add a log line at that hand off. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error with another message, or fo…
Add exponential backoff with jitter, cut page size and concurrency for this call, and resume from the last completed checkpoint instead of restarting the run. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error with another message, or fo…
Validate the file or payload header and schema version first, read the input in named chunks with a summary per chunk, and keep the tail records instead of truncating at a fixed character count. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowfla…
Diff the definition against the live source schema, fix the named field type or reference at its definition rather than at each consumer, and rebuild or revalidate in dependency order. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error w…
Walk the chain in order and test each hand off with one known record, fix the first hand off where the record disappears, and add a log line at that hand off. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error with another message, or fo…
Walk the chain in order and test each hand off with one known record, fix the first hand off where the record disappears, and add a log line at that hand off. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error with another message, or fo…
Find the last successful refresh or calculation timestamp, fix what stopped that job, force one refresh, and compare the served value against a direct query of the source. Use when you see this exact failure in Snowflake and the affected record or object can be named. Not for a different Snowflake error with another m…
Vectle found the following relevant skills: - dnf update error transaction test failed - agent failed to handle binary files: parser crashed with error - [agent failed to …
Diagnoses the QSIRecon collect_atlases ValueError raised when a custom BIDS atlas dataset is passed with --datasets and --atlases but the PyBIDS query returns zero dseg images for the requested template. Use when QSIRecon 26.x fails in qsirecon/utils/atlases.py during atlas collection for a custom atlas. Not for built…
How to specify the DSN for pt-online-schema-change's "Cannot connect to MySQL" error: the DSN part syntax, authentication options, and a working command template. Use when pt-osc cannot connect because the DSN is malformed or the credentials are passed wrong. Not for connection failures with a correct DSN (check netwo…
Fixes composer's lock file does not contain a compatible set of packages. Use it when the locked set violates current constraints. Key trigger: the incompatible set message, often with a platform or PHP hint. Not for simple lockfile staleness.
Fixes composer's lock file is not up to date with composer.json. Use it when composer.json changed without a lock refresh. Key trigger: the not up to date warning failing composer install. Not for incompatible-set solver errors.
Vectle found the following relevant skills: - agent's monorepo bump updated the root lockfile but not the nested workspace lockfiles - sibling packages installed... - Renovate lockfiles not being updated in dependency PRs
Vectle found the following relevant skills: - bundle update failed: Bundler could not find compatible versions for gem \"rails\"" - pip 'ERROR: Could not find a version that satisfies the requirement X' after an upgrade