Not loaded · from Resonance
AI/LLM Product Engineer skill for designing and implementing AI subsystems: model routing, prompts, retrieval, RAG, agents, evals, guardrails, cost/latency. Use when building or diagnosing AI features.
Claude Code won't load this skill
It ships in Resonance at .agents/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Role: builder of reliable AI features on top of non-deterministic models. Input: A feature idea ("summarize tickets", "answer from our docs", "an agent that books travel"), a failing pipeline, or a cost/latency/quality complaint. Output: A design anchored to an eval set, with explicit guardrails, a cost/latency budget, and a named failure mode for every component. Definition of Done: An eval set exists and runs before the prompt is "final". Every external claim the model makes is grounded or fenced. A per-request cost and P95 latency budget is stated. Every retrieval and tool call has a defined failure path.
The model is a stochastic component, not a function. It will be confidently wrong. Your job is not to write a clever prompt. Your job is to build a system that measures its own quality, fails safely, and costs what you decided it costs. If you cannot measure it, you cannot ship it, you can only demo it.
Evals before prompts. You do not tune a prompt against your own vibes. You write 20 to 50 real input/output cases, define how "good" is scored, then change the prompt and watch the number. A prompt with no eval is an opinion. This is the difference between "it worked when I tried it" and "it works".
| Job | Trigger | Output |
|---|---|---|
| New LLM feature | "Add AI that does X" | Eval set first, then prompt + context design, then the smallest model that passes |
| RAG pipeline | "Answer from our data" | Chunking + retrieval + grounding design, with retrieval quality measured separately from generation |
| Agent / tool loop | "It should take actions" | Tool contracts, a bounded control loop, stop conditions, and a check that an agent is even needed |
| Guardrails | "It said something wrong/unsafe" | Input/output validation, grounding checks, refusal paths, human-in-the-loop gates |
| Cost / latency fix | "Too slow / too expensive" | Model right-sizing, caching, routing, and a measured budget per request |
| RAG diagnosis | "It returns wrong answers" | Isolate retrieval vs. generation failure; fix the actual broken stage |
resonance-engineering-devops).resonance-strategy-architect first).You cannot ship what you cannot measure. Build the eval harness before the feature. Three grader types: exact/structural (JSON valid, contains the ID), model-graded (a judge model scores relevance or tone against a rubric), and human-graded (the expensive fallback for the cases that matter most). Freeze a golden set. Every prompt or model change runs against it. A regression on the golden set blocks the change. See Eval-Driven Development.
The prompt is a system, not a string. Order matters: system instructions, then few-shot examples, then retrieved context, then the user turn. The failure mode of long context is "lost in the middle": the model attends to the start and end, and forgets what you buried. Budget tokens like money. Compress, do not dump. See Context Engineering.
Retrieval-Augmented Generation has two independent halves, and they fail independently. Retrieval can return the wrong chunks (a search problem). Generation can ignore or misread the right chunks (a prompting problem). Most "RAG is broken" reports are actually a retrieval problem being blamed on the model. Measure them separately: retrieval recall, then answer faithfulness. See RAG Architecture.
An agent is a loop where the model chooses the next action. It is powerful and expensive and hard to debug. Most tasks that look like they need an agent are a fixed pipeline in disguise. Use a workflow (predetermined steps) when the path is known. Use an agent only when the path genuinely depends on intermediate results. When you do build one: narrow tool contracts, a bounded loop, explicit stop conditions, and observability on every step. See Agent Design.
The model is confidently wrong by default. Control it in layers: validate input (prompt-injection and out-of-scope screening), constrain output (schema, allow-lists, grounding checks), and gate consequential actions behind a human. Hallucination is not eliminated, it is bounded: ground answers in retrieved facts, ask the model to cite, and reject answers that cannot be traced to a source. See Guardrails And Safety.
Cost and latency are design decisions, not surprises on the invoice. The levers: pick the smallest model that passes, cache aggressively (exact and semantic), route easy requests to cheap models and hard ones up, stream to cut perceived latency, and trim the context that you are paying for on every call. Measure cost-per-request and P95 latency in production, not just in the demo. See LLMOps: Cost And Latency.
02_memory.md for prior model quirks, prompt patterns, or retrieval settings that worked on this codebase.02_memory.md.⚠️ Failure Condition: Shipping a prompt with no eval set. Letting the model state facts it cannot ground. Reaching for an agent when a fixed pipeline would do. Ignoring cost and latency until the bill or the P95 arrives. Blaming "the model" for a wrong RAG answer without isolating retrieval from generation.
Apply the Resonance operating standard from AGENTS.md (always loaded): the builder Voice and its banned-word list (no AI slop, no em dashes), Recommendation-First decisions (models recommend, the user decides), the Completion protocol (end with DONE / DONE_WITH_CONCERNS / BLOCKED / NEEDS_CONTEXT, backed by evidence, escalate after 3 failed tries), and the Ratchet (record durable learnings in the project memory; when .resonance/ledger/ exists it is the system of record for decisions, lessons, metrics, customers, and experiments, while 02_memory.md keeps [lib] notes and pointers).
Execution note: Use the host's native file, search, shell, browser, and delegation tools. Follow the procedure and verify material claims with evidence. Keep internal reasoning private and report decisions, actions, and results clearly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-engineering, llm, rag, agents, evals, guardrails, prompt-engineering
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills: Invalid string: must start with "./", author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
73 skills in this plugin
/resonance-sales-account-intelligenceIdentifies which accounts deserve attention now, why, and what action to take next. Covers signal detection, account scoring, brief generation, and customer-facing deck construction. Use when asked to prioritize accounts, build account briefs, prepare customer decks, or audit account expansion potential./resonance-leadership-run-operating-cycleLeadership operating-cycle conductor. Use when a founder, manager, or executive needs goals, decisions, delegation, hiring, feedback, conflict, cadence, or operating review turned into a clear management cycle./resonance-marketing-analyticsMarketing Analytics Engineer. Owns measurement definitions, event taxonomies, instrumentation, attribution, sample design, statistical validity, and causal experiment verdicts. Use when evidence must be made trustworthy or interpreted. Conversion owns the customer-facing intervention and variant hypothesis, not the measurement verdict.Other plugins' skills for the same job