Home

Field SOP

Scenario-based tutorials with real screenshots, prompts, workflow templates and pitfalls.

User Research & Interview Prompt Pack: From Outline to Persona

A three-level user research & interview prompt pack: beginner semi-structured interview outline (anti-leading-questions), intermediate single-transcript structured insights (quote-tagged, no fabrication), expert N-transcript cross-sample synthesis into personas + JTBD + opportunity map (affinity mapping, frequency counts, conflict flagging). 4 general constraints (anti-fabrication/de-identification/human review) and 5 pitfalls.

Code Testing Prompt Pack: Unit, Parameterized, E2E & Refactor

A three-level code testing prompt pack: beginner generates unit tests per function (signature and boundary list first, N cases each for normal/boundary/error, pytest/jest parameterized), intermediate parameterized batch cases with a test plan (coverage gaps, minimal mocking), expert integration/E2E strategy and test refactor (test pyramid, contract tests, redundancy pruning). Includes a 5-minute cheatsheet. Anti-fabrication constraints embedded (no invented APIs, no fabricated coverage numbers). Differentiated from the general coding and review/debug packs--this one handles writing tests only.

AI Test Generation SOP: Safely Drafting Unit, Regression Tests

A six-step SOP for AI automated test generation: when to use + baseline (coverage/defect escape) -> unit tests from code -> regression tests from issues -> batch boundary/parameterized cases -> test maintenance (stale assertions/redundancy) -> human gate + CI. Each step ships copyable pytest and jest code, plus 5 pitfalls (loose assertions/interdependencies/fake coverage/mock drift/not testing the real path) and 5 FAQ. Iron rule: AI only drafts, human review + CI green before merge.

Agent Observability & Online Eval SOP: Tracing, Cost, Alerts

A complete SOP for production AI Agent observability and online evaluation in six steps: defining the baseline (latency/token cost/tool success rate/error rate), distributed tracing (Langfuse @observe decorator + Phoenix register + OpenTelemetry spans), token and cost tracking, tool-call artifact logging, online evaluation (LLM-as-judge automated scoring + user thumbs feedback via create_score), and alerting with iteration (threshold rules + dashboards). Each step includes copyable Python code, 6 pitfall entries, and 5 FAQ items. Open-source tools first; LangSmith mentioned as a SaaS option.

DeepSeek-Reasonix Terminal Coding Agent Setup SOP

DeepSeek's prefix cache makes long-session costs bifurcate (0.02 yuan hit vs 1 yuan miss, a 50x gap), but general agents do not optimize for DeepSeek's cache. This SOP walks through DeepSeek-Reasonix (community-built, unofficial) end-to-end: npm install, reasonix setup, reasonix.toml config sketch, cache-aware maintenance, executor+planner dual-model, and MCP plugins. All commands from the README; config fields per official docs.