jiayaoqijia
- 3.9k skills
- 0 followers
- 81 repo stars
- 3 days ago last updated
- ▌ Compute Ltv And Cac Payback Period · jiayaoqijia bundleUse when judging whether customer acquisition pays. Computes LTV from gross profit and churn, the CAC payback period, and the LTV:CAC ratio that gates spending, for the newest cohort rather than a blend.
- ▌ Continuous Profiling In Production · jiayaoqijia bundleUse when a slowdown only appears under real production traffic — run a low-overhead continuous profiler and read the flamegraph from the slow window, not a synthetic benchmark.
- ▌ Triage A Flaky Test To Root Cause · jiayaoqijia bundleUse when a test passes and fails on unchanged code — reproduce the flake at a measured rate, classify the cause, and fix or quarantine it with an owner instead of re-running until green.
- ▌ Validate JWT Signature And Claims · jiayaoqijia bundleUse when a service trusts a JWT for identity or authorization. Checks signature verification, rejects alg=none and algorithm confusion, validates exp/aud/iss, and pins the key source.
- ▌ Verify On Chain Svg Render Parity · jiayaoqijia bundleUse when an NFT renders an SVG or media blob inside the contract. Decodes tokenURI, validates the SVG, and compares the on-chain render against the reference art for escaping and layout bugs.
- ▌ Write A Stakeholder Status Update · jiayaoqijia bundleUse when composing an update for leadership, adjacent teams, or support during an incident. Fills a fixed impact-action-ETA-ask template so the reader gets what they need without pinging the IC.
- ▌ Write A Sunset Plan For A Feature · jiayaoqijia bundleUse when retiring a feature, endpoint, or product. Plans the deprecation notice, the migration path, the data disposition, and the removal date so users are not stranded.
- ▌ Effect Antipattern Scan · jiayaoqijia bundleReview PR diffs that add or modify `useEffect` for the systemic React effect antipatterns
- ▌ Performance Attribution · jiayaoqijia bundleAttribute release-over-release p75/p95 performance movements to specific code changes via black-box diff analysis
- ▌ Doomsday Escrow Check · jiayaoqijia bundleCheck a Doomsday Network bounty escrow listing before considering work; do not assume a token has cash value.
- ▌ Pre Deposit Safety Check · jiayaoqijia bundleUse this when the user is about to deposit, supply, or loop and wants a pre-deposit safety check. Includes check_loop_venue for collateral/debt loops. Cite only identifiers and figures the Philidor tools return.
- ▌ Shrink A Repro By Delta Debugging · jiayaoqijia bundleUse when a failing input, request log, or config is too large to reason about. Reduces it automatically to the smallest subset that still triggers the failure.
- ▌ 0xklen Size Concentrated Liquidity Range · jiayaoqijia bundleConcentrated liquidity earns fees only while price is inside the chosen range; a narrower range raises the fee APR but goes out of range faster and enlarges the divergence loss at the edge.
- ▌ Snapshot Fx Rates At Posting Time · jiayaoqijia bundleUse when amounts cross currencies and a ledger must stay reproducible. Stores the FX rate used at the moment of posting and never restates a past conversion with a newer rate.
- ▌ Snapshot Indexer State For Replay · jiayaoqijia bundleUse when a decoder change requires reprocessing history. Snapshots the raw tables and cursor so a re-decode can be tested against a frozen input and rolled back without refetching.
- ▌ Specify The Denominator Of A Rate · jiayaoqijia bundleUse when a percentage, churn, or conversion figure is quoted. Forces the numerator and denominator to be named and checked against the claim.
- ▌ Teach A Concept By Worked Example · jiayaoqijia bundleUse when explaining a concept someone must apply, not just recognise. Builds one smallest runnable example that shows the rule, runs it for real, then varies a single input so the learner sees the boundary rather than a definition.
- ▌ Teach A Tool By Its Failure Modes · jiayaoqijia bundleUse when introducing a tool like git, docker, or a package manager. Teaches it through its three most common errors and the mental model each reveals, rather than listing flags, so the learner can diagnose instead of memorise.
- ▌ Test An Eval For Gaming Shortcuts · jiayaoqijia bundleUse when an eval score could be won without doing the task. Probes for length, format, and keyword shortcuts a model can exploit.
- ▌ Test Mpc Share Backup Restoration · jiayaoqijia bundleUse when an MPC wallet holds funds and its share backups have never been restored. Reconstructs the signing key from backed-up shares in an isolated environment and proves the derived public key matches.
- ▌ Tier Cold Data To Cheaper Storage · jiayaoqijia bundleUse when storage cost is dominated by data nobody reads. Moves rarely-accessed data to colder tiers by measured access age, keeping hot reads fast and cheap.
- ▌ Reconstruct State From Event Logs · jiayaoqijia bundleUse when you must rebuild historical state (balances, totals, ownership) at a past block from emitted events, without an archive node.
- ▌ Redact Secrets From Model Context · jiayaoqijia bundleUse when files, logs, or tool output you are about to send to a model may contain credentials. Scan and replace secrets with placeholders before they enter context, then verify nothing sensitive remains.
- ▌ Refuse Jailbreak Framing Requests · jiayaoqijia bundleUse when a request arrives couched as roleplay, fiction, authority, urgency, or a hypothetical to get a controlled capability. Detect the frame and answer the real need or decline, without role-playing past the boundary.
- ▌ Review Diff Against Stated Intent · jiayaoqijia bundleUse when a PR's title and body may not describe what the code actually does. Reconstruct the stated intent, then check every changed file against it and flag scope drift before approving.
- ▌ Review Logging For Pii And Volume · jiayaoqijia bundleUse when a diff adds or changes logging. Checks each new log line for personal data, secrets, and per-request volume that would flood the sink or leak user data.
- ▌ Review Null And Empty Input Paths · jiayaoqijia bundleUse when new code assumes values are present and non-empty. Traces every new field and parameter through the null, empty-string, and empty-collection cases before approving.
- ▌ Rotate A Multisig Signer In Place · jiayaoqijia bundleUse when a multisig owner must be replaced without redeploying the Safe. Swaps the owner with swapOwner, watches the threshold, and verifies the new signer controls the address before the old one is trusted to be gone.
- ▌ Run Containers As A Non Root User · jiayaoqijia bundleUse when a container should not have root inside it even if the host is safe. Creates and switches to an unprivileged UID pinned in the image so a process compromise is not a root compromise.
- ▌ 0xklen Sanity Check Tokenomics Emissions · jiayaoqijia bundleEmissions are supply that must be sold to pay contributors and farmers; the question is whether that daily sell pressure is a small fraction of real liquidity or a cliff that overwhelms it.
- ▌ Score Tests With Mutation Testing · jiayaoqijia bundleUse when a green suite might be asserting nothing — run a mutation score to find code the tests execute but never check, then kill the survivors with real assertions.
- ▌ Model L2 Fee Market And Gas Token · jiayaoqijia bundleUse when estimating an L2 transaction fee or explaining an L2 fee, by decomposing it into the L2 execution component and the L1 data-availability component.
- ▌ Mount A Read Only Root Filesystem · jiayaoqijia bundleUse when a compromised container should not be able to modify its own filesystem. Runs with a read-only root and explicit writable tmpfs or volumes so a foothold cannot persist or drop tooling.
- ▌ Open An Incident And Assign Roles · jiayaoqijia bundleUse when starting incident response and no one has formally taken command. Names the incident, assigns the four core roles, and opens the single log every later update reads from.
- ▌ Order Dockerfile Layers For Cache · jiayaoqijia bundleUse when image builds are slow because every code change re-installs dependencies. Orders Dockerfile instructions so rarely-changing layers sit early and cheap layers late.
- ▌ Page The Correct On Call Rotation · jiayaoqijia bundleUse when an alert or incident needs a human now. Pages the rotation with severity, a runbook link, and an ack deadline, and escalates on no-ack rather than paging individuals by name.
- ▌ Protect Private Key Files On Disk · jiayaoqijia bundleUse when a private key, keystore, or .env holding a signing key must live on a workstation or server. Sets permissions, keeps secrets out of argv and shell history, and verifies nothing leaked.
- ▌ Pseudonymise Records For Analysis · jiayaoqijia bundleUse when analysts need to link records across datasets without seeing identities. Replace direct identifiers with stable tokens and hold the key in a separate store.
- ▌ Quantify Incident Customer Impact · jiayaoqijia bundleUse when an incident needs an honest impact number for comms or review. Computes affected users, failed actions, and duration from logs with stated error bars, avoiding both understatement and drama.
- ▌ 0xklen Quantify Priority Fee Overbidding · jiayaoqijia bundleReplaying a block shows the lowest tip any transaction could have paid and still landed in the same position, so the difference between what you paid and that floor is what overbidding cost you — often more than the MEV you were competing for.
- ▌ Read API Docs Before Implementing · jiayaoqijia bundleUse when integrating an unfamiliar API. Read the reference for auth, pagination, rate limits, error taxonomy, and deprecations before writing the first request.
- ▌ Enable Versioning To Undo Deletes · jiayaoqijia bundleUse when a stray delete or overwrite has no recovery path. Turns on object versioning with a noncurrent-expiry so overwrites are reversible without unbounded growth.
- ▌ Enforce Per Tenant Storage Quotas · jiayaoqijia bundleUse when one tenant can fill a shared store. Sets per-tenant quotas and alarms on a shared table, bucket, or filesystem so a single tenant cannot starve the rest.
- ▌ Expand Contract A Database Column · jiayaoqijia bundleUse when renaming or retyping a column that live code still reads — use the expand/migrate/contract pattern so old and new app versions run against the same database during deploy.
- ▌ Forward Client Ip Through A Proxy · jiayaoqijia bundleUse when an app behind a proxy, load balancer, or CDN logs the wrong client IP or rate-limits everyone as one address. Forward the real IP through the trusted-proxy chain and parse the correct header, rejecting spoofed values from untrusted hops.
- ▌ Freeze Changes During An Incident · jiayaoqijia bundleUse when an incident is open and other teams keep shipping. Declares a change freeze scoped to the affected surface, with an exception path, so unrelated deploys do not muddy the signal.
- ▌ Generate A Changelog From Commits · jiayaoqijia bundleUse when writing release notes from git history. Parses conventional commits between two tags into a grouped, human changelog with breaking changes called out first.
- ▌ Keep Capacity Headroom Above Peak · jiayaoqijia bundleUse when traffic approaches the point where latency explodes — size capacity left of the knee of the utilization curve and alarm on leading indicators, not saturation.
- ▌ Lead Docs With A Runnable Example · jiayaoqijia bundleUse when explaining a tool, library, or feature to someone who will learn by doing. Puts a complete working example before the reference prose, with the output it produces.
- ▌ Measure Inter Annotator Agreement · jiayaoqijia bundleUse when several humans label the same eval items. Measures agreement before treating any label set as a target the model is scored against.
- ▌ Model Freemium To Paid Conversion · jiayaoqijia bundleUse when a product has a free tier and you must judge whether it pays for itself. Models free-user cost against paid conversion and finds the conversion rate that merely breaks even.
- ▌ Compute Quorum From Voting Supply · jiayaoqijia bundleUse when checking whether a proposal will reach quorum or explaining a Defeated result that seemed to pass. Computes quorum from governor parameters and vote tallies, not from a guessed percentage.
- ▌ Decline Work Outside Your Mandate · jiayaoqijia bundleUse when a request exceeds the permissions or role you were given, such as another team's system or another user's data. Decline the overstep and route it to the rightful owner.
- ▌ Deduplicate Near Identical Chunks · jiayaoqijia bundleUse when the index returns five copies of the same paragraph from boilerplate or mirrored docs. Detects near-duplicate chunks so one version is retrieved and the rest collapse.
- ▌ Design Mint Phases And Supply Cap · jiayaoqijia bundleUse when designing or reviewing an NFT mint with phases, caps, or per-wallet limits. Checks supply arithmetic, phase gating, and oversell protection before mainnet.
- ▌ Detect Indexer Stall By Block Lag · jiayaoqijia bundleUse when an indexer may have silently stopped advancing. Computes head-minus-cursor lag on a schedule and alerts when it grows, rather than trusting a process that is up but not progressing.
- ▌ Differential Test Old Against New · jiayaoqijia bundleUse when rewriting a function or service and you need behavior equivalence — run old and new on the same corpus in parallel and diff every output until they match or the difference is documented.
- ▌ Dispute An Invalid L2 Output Root · jiayaoqijia bundleUse when an optimistic rollup posts an output root you can prove wrong and you must challenge it within the dispute window before it becomes final.
- ▌ Document Why An Automation Exists · jiayaoqijia bundleUse when an automation's purpose is not obvious from its code and a new reader cannot tell if it is safe to change. Records the why, the owner, and the blast radius next to the job.
- ▌ Drill A Stablecoin Depeg Response · jiayaoqijia bundleUse when preparing for the day a held stablecoin breaks its peg. Runs a tabletop against price feeds, triggers, and pre-agreed actions so the response is practised, not improvised.
- ▌ Eliminate Render Blocking Scripts · jiayaoqijia bundleUse when first paint waits on JavaScript. Finds parser-blocking tags in the head and rewrites them as defer, async or modules.
- ▌ Audit Boundary Conditions In Diff · jiayaoqijia bundleUse when a change touches indexing, ranges, or comparisons and off-by-one bugs hide at the edges. Reviews the zero, one, and last-element cases explicitly.
- ▌ Audit Dependencies For Known Cves · jiayaoqijia bundleUse when checking a project for vulnerable dependencies. Scans the resolved dependency graph against advisory databases and separates reachable risk from noise.
- ▌ Audit Marketing Attribution Model · jiayaoqijia bundleUse when channel or campaign performance is reported. Checks the attribution model, tracking loss, and windows before crediting or defunding a channel.
- ▌ Bound An Open Ended Investigation · jiayaoqijia bundleUse when a task is research-shaped, such as "look into" or "figure out why". Set a time box, an output, and a stop condition up front so investigation cannot absorb the deadline.
- ▌ Bound Blast Radius With Bulkheads · jiayaoqijia bundleUse when one slow or failing dependency, tenant or operation class could exhaust a shared pool and take the whole service down — partitions resources so a fault stays inside one compartment.
- ▌ Build A Red Team Failure Taxonomy · jiayaoqijia bundleUse when red-team findings are a loose pile of examples. Organises them into a taxonomy with severity and repro so they can be triaged and fixed.
- ▌ Build Multi Arch Container Images · jiayaoqijia bundleUse when one image tag must run on both amd64 servers and arm64 laptops or Graviton nodes. Builds a multi-platform manifest list with buildx so the registry serves the right architecture per pull.
- ▌ Check Funnel Conversion Integrity · jiayaoqijia bundleUse when building or reading a conversion funnel. Enforces monotonic step counts, time-ordered steps, and one attribution window before trusting the rates.
- ▌ Checksum Data Across The Pipeline · jiayaoqijia bundleUse when data moves between systems and silent corruption is possible. Computes and verifies checksums at each hop so bad bytes are caught at the boundary, not at restore.
- ▌ Classify Data By Sensitivity Tier · jiayaoqijia bundleUse when access, export, and encryption rules need a label to key on and none exists. Assign each data category a small, enforceable tier set and the controls each tier requires.
- ▌ Seed Phrase Entropy Verification · jiayaoqijia bundleUse when you must prove a generated mnemonic is cryptographically sound before funding it. Checks entropy source, word count, checksum validity, and known weak-RNG fingerprints.
- ▌ Separate Milestone From Deadline · jiayaoqijia bundleUse when a date is being treated as both a progress marker and a hard cutoff. Tags each date as milestone or deadline so a slip triggers re-planning, not panic, and a deadline triggers a scope cut.
- ▌ Separate Symptom From Root Cause · jiayaoqijia bundleUse when the obvious fix would only silence the visible failure. Traces the causal chain from the observed symptom to the earliest condition that made it possible, before editing.
- ▌ Set A Minimum Viable Price Floor · jiayaoqijia bundleUse when a deal or a client sits at the edge of profitability, or someone asks you to take work below cost. Sets a floor from variable cost plus a minimum contribution, and holds it or declines.
- ▌ Tune Load Balancer Health Checks · jiayaoqijia bundleUse when a load balancer marks healthy nodes down, or keeps sending traffic to a broken one. Set the check path, interval, timeout, and unhealthy threshold from real p99 latency so checks reflect serving ability, not just process liveness.
- ▌ Verify Tests Cover Changed Lines · jiayaoqijia bundleUse when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.
- ▌ Write Actionable Review Comments · jiayaoqijia bundleUse when leaving review feedback and you want the author to act on it in one pass. Shapes each comment as observation, impact, and a concrete suggestion with a code example.
- ▌ Write Terse Action Oriented Copy · jiayaoqijia bundleUse when UI text is verbose or vague. Cuts labels, buttons and errors to the shortest string that keeps the action unambiguous, and sets a length budget per surface.
- ▌ Migration Context Cost · jiayaoqijia bundleA file's JS→TS migration cost is driven mostly by context fan-in (upstream types it must read to derive from) and fan-out (downstream files that import it and must be updated), not by its line count. Scope and sequence migration tickets by it.
- ▌ Account For Mev Revenue Per Block · jiayaoqijia bundleUse when computing what a searcher actually earned in a block, separating gross extractable value from gas, bid, and failed-bundle costs. Covers the line items that turn a headline number into net revenue.
- ▌ Pin Provider And Module Versions · jiayaoqijia bundleUse when IaC builds must be reproducible across machines and time. Pins providers and modules to exact versions with a committed lock file so a floating version cannot change the plan.
- ▌ Plan A Sequencer Outage Failover · jiayaoqijia bundleUse when a production service depends on an L2 and must keep serving reads, and fail over writes safely, while the sequencer is down.
- ▌ Post A Public Status Page Update · jiayaoqijia bundleUse when updating a public status page during an outage. Sets the component, status level, and next-update fields, and enforces the new-update-not-silent-edit rule so customers see a consistent record.
- ▌ Pre Register An Ab Test Analysis · jiayaoqijia bundleUse when launching or reading an A/B test. Freezes the primary metric, MDE, alpha, sample size, and stop rule before any data is seen.
- ▌ Preload Web Fonts To Avoid Flash · jiayaoqijia bundleUse when a custom font causes a flash of invisible or unstyled text. Preloads the file, matches fallback metrics, and picks font-display deliberately.
- ▌ Record Crypto Payment Tax Events · jiayaoqijia bundleUse when accepting crypto creates a taxable event and you must keep the records. Captures acquisition and disposal lots, the fair-market value at the time, fees, and the chain of custody.
- ▌ Record Negative And Null Results · jiayaoqijia bundleUse when an experiment, fix, or hypothesis fails or has no effect. Write down what was tried, said the result, and offer the next alternative so the dead end is never re-run blindly.
- ▌ Retire An Automation Nobody Uses · jiayaoqijia bundleUse when an automation may no longer be needed because its output is unread, its alert ignored, or its task obsolete. Confirms, then removes it cleanly.
- ▌ Review Database Migrations In Pr · jiayaoqijia bundleUse when a PR ships a schema change alongside code. Verifies the migration is backward-compatible with the running app and will not lock a large table.
- ▌ Route Private Traffic Over A Vpn · jiayaoqijia bundleUse when services in different private networks must talk without exposing ports publicly, or a developer needs reach into a private subnet. Route private traffic over a VPN or bastion with the correct routes, split tunnel, and DNS instead of publishing the service to the internet.
- ▌ Keep An Append Only Money Ledger · jiayaoqijia bundleUse when money movements must be auditable and reversible. Records every movement as an immutable double-entry post, derives balances by summation, and never mutates a past entry.
- ▌ Keep Embedding Model Consistency · jiayaoqijia bundleUse when query and document vectors may come from different models or versions. Pins the embedding model and dimension, and refuses to search an index built by a different one.
- ▌ Label Observations Vs Inferences · jiayaoqijia bundleUse when reporting findings that mix raw data with your interpretation. Mark what you saw separately from what you conclude, so the reader can judge each.
- ▌ Lock Remote State Before A Write · jiayaoqijia bundleUse when multiple engineers or CI jobs can apply the same Terraform state. Verifies the backend supports locking and that apply always takes the lock, so two writers cannot corrupt state.
- ▌ Map Acceptance Criteria To Tests · jiayaoqijia bundleUse when a build is "done" but no one can say which tests prove it. Builds a traceability matrix linking every acceptance criterion to a test, and every test to a criterion.
- ▌ Measure Churn And Run Save Plays · jiayaoqijia bundleUse when churn needs a number and a response. Computes logo and revenue churn from a cohort and routes a cancellation through ranked save offers by expected value.
- ▌ Measure Forced Inclusion Latency · jiayaoqijia bundleUse when an incident plan or SLA depends on the real end-to-end time from submitting a forced-inclusion transaction on L1 to it executing on the L2.
- ▌ Minimise Collected Personal Data · jiayaoqijia bundleUse when a form, schema, or payload collects more personal data than the stated purpose needs. Cut fields at the source and prove the write path rejects the extras.
- ▌ Name The Audience Before Writing · jiayaoqijia bundleUse when starting any document, update, or reply. Decide who reads it and what they must do, then include only what that reader needs.