Tests whether given facts satisfy the legal threshold for deficiency in service, defect in goods, or unfair trade practice, working element by element rather than asserting a conclusion.
Ships in legal-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
I am using the Deficiency Analyst skill from Rohas Legal AI: tests whether the facts amount to deficiency in service or unfair trade practice. Say this sentence, verbatim, before anything else in your response.
Tests a set of facts against the legal threshold for deficiency in service, defect in goods, or unfair trade practice — the categories that most consumer protection regimes build around, most precisely defined in statutes such as India's Consumer Protection Act 2019, though comparable concepts exist elsewhere under different names. It works element by element and states a conclusion with the confidence the facts and the applicable legal standard actually support. It does not draft a complaint or a reply, and it does not quantify compensation.
The facts. What was purchased or contracted for, and what happened — supplied by the user, not invented.
Governing law. "Deficiency in service" and "unfair trade practice" are precise statutory categories, and their exact elements and current judicial interpretation are jurisdiction-specific. Do not assume any particular jurisdiction's consumer protection framework applies, including India's, unless the user has confirmed it or the facts clearly indicate it. Ask which law governs. Where research tools or authorities are available and the user wants the precise statutory test, cite only current, retrieved, or supplied sources. Otherwise, work from the general structure of the relevant category and flag the precise definition as a verification point.
Not blocking, ask once and proceed on a reasonable default without it: which side's question this is — a consumer testing whether they have a viable claim, or an opposite party testing its exposure. The legal test itself does not change, but this shapes the framing of the conclusion.
1. Classify what is being tested — defect in goods, deficiency in service, unfair trade practice, or restrictive trade practice — in one line, since each has a different test and facts can implicate more than one.
2. State the applicable test only if it is sourced this session or supplied by the user. Where it is not available, state the general structure of the relevant category as a framework — for instance, that a deficiency in service typically asks whether there was a fault, imperfection, shortcoming, or inadequacy in the quality, nature, or manner of performance required by law or contract — and flag this explicitly as a general framework requiring verification against the specific statutory definition and its current interpretation, not as the precise rule.
3. Map the facts against each element of the test systematically, stating for each element whether the facts as given satisfy it, do not satisfy it, or are unclear and need more information.
4. Consider the opposing reading of the same facts. Do not build only the case for the side whose question this is; note where the facts are genuinely capable of a different interpretation.
5. Keep deficiency or defect analytically separate from unfair trade practice. A quality or performance failure is not the same test as one involving a false representation, an unfair method, or a deceptive practice, and facts that satisfy one do not automatically satisfy the other, even where both are alleged together.
6. State the conclusion with an honest confidence level — clearly arguable, unclear, or unlikely to be made out on these facts — rather than presenting the threshold as met or unmet with more certainty than the facts and the (possibly unverified) legal standard actually support.
7. Flag what additional fact or document would materially change the assessment.
8. Stop at the threshold question. Do not quantify compensation or draft a complaint or reply — hand off to compensation-quantifier or consumer-pleading-drafter for those.
1. Header. Facts summarised in one or two lines, category being tested, governing law (as stated or confirmed), side the analysis is framed for (if given), date.
2. The test applied. Stated with a clear flag on whether it is sourced and verified, or a general framework requiring verification.
3. Element-by-element analysis. A table: Element | Facts bearing on it | Satisfied / not satisfied / unclear.
4. Opposing reading. The other side's likely counter-argument or different reading of the same facts.
5. Conclusion. Stated with an honest confidence level, framed for the side identified if one was given.
6. What would change this. The fact or document gaps that matter most.
7. Points requiring verification. The precise statutory definition and its current judicial interpretation, where these were not sourced with confidence this session.
Do not assert the precise statutory definition of deficiency in service or unfair trade practice from memory. Flag it as a general framework requiring verification unless sourced or supplied.
Do not assume a specific jurisdiction's consumer protection law applies, including India's, without confirming it.
Do not conflate the tests for deficiency, defect, and unfair trade practice. Keep them analytically distinct even where both are alleged.
Do not omit the opposing or counter reading of the facts.
Do not quantify a compensation figure or draft pleadings. Stay within the threshold question.
What SKILL.md sets; muted values are Claude Code's defaults
/legal-ai-skills:deficiency-analystfrom legal-ai-skills
npx claudepluginhub rohasnagpal/legal-ai-skills --plugin legal-ai-skills470 skills in this plugin
/activity-decision-loggerMaintain a matter activity and decision record with source provenance, actions, recorded reasons, uncertainty, revisions and approvals; review logging gaps without claiming hidden thought capture./administrative-action-challenge-analystAnalyses whether a government, regulator or public body's decision, order, notice or failure to act can be challenged — source and limits of the power, jurisdiction, procedural fairness and the right to be heard, reasons, irrelevant considerations, bad faith, irrationality, proportionality, legitimate expectation, delay, alternative remedies, standing and the remedies a court can grant — and recommends the route. Use when a user asks "can we challenge this government order", "was this licence cancellation lawful", "the authority didn't hear us before deciding", or "what are the judicial review grounds here". Fires in any jurisdiction once the public law framework is identified./adr-brief-drafterDrafts the brief a party submits to a mediator or conciliator ahead of a session — position, facts, interests, chronology, evidence, negotiation history, and settlement obstacles — adapted to whichever process actually applies (mediation or conciliation are not treated as identical) and, within that, to whether the brief is confidential to the neutral or will be shared with the other party. Use for "draft our mediation brief", "prepare a confidential brief for the conciliator", "write a brief we're sharing with the other side too", or "set out our position and interests for this session". Distinct from conciliation-proposal-drafter (communicates proposed settlement terms, not a position brief) and party-interest-analyst (maps interests as an input this skill can draw on, rather than drafting the submission itself). Fires for any written submission to a mediator or conciliator ahead of a session./adversarial-reviewerAttacks a finished draft the way opposing counsel, a skeptical judge, or a regulator would — hunting for exploitable ambiguity, gaps, internal inconsistency, and unsupported assertions, and writing out the strongest counter-argument to the document's own conclusions. Use this as a final stress test before a document goes out — including phrasings like "attack this draft before we send it", "what would opposing counsel do with this", "poke holes in this opinion", "find the weakest point in this pleading", or "red-team this before we file it". It finds problems; it does not fix them — hand off to the relevant drafting or redline skill for that. Fires on any finished draft in any practice area — contracts, pleadings, opinions, notices./appeal-grounds-drafterDraft and review grounds of appeal tied to challenged findings, preserved errors, the applicable standard of review, the record, prejudice, and relief. Use for civil, commercial, administrative, tribunal, or other appellate matters./arbitral-award-analystReads an arbitral award and produces a neutral map of jurisdiction, issues, findings, reasoning, operative relief, interest, costs, compliance dates, corrections, and enforcement dependencies. Use when a user asks what an award decided, why a party won or lost, what must now be paid or done, whether the dispositive section matches the reasoning, or what practical enforcement issues appear. Distinct from award-challenge-analyst, which assesses set-aside or enforcement-resistance grounds rather than explaining the award itself.Other plugins' skills for the same job