Not loaded · from Open Agreements
Guides risk-based unit testing with Allure behavioral specs for Open Agreements repos. Focuses on high-risk behavior, regression prevention, and debuggable failures.
Claude Code won't load this skill
It ships in Open Agreements at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
src/, integration-tests/, packages/contracts-workspace, or packages/contracts-workspace-mcp.Execute test body.integration-tests/helpers/allure-test.tsitAllure, testAllure, allureStep, allureJsonAttachment, allurePrettyJsonAttachment, allureWordLikeTextAttachment, allureParameter, allureSeverityallure-vitest in tests.src/**/*.test.ts and integration-tests/**/*.test.ts.scripts/patch_allure_html_sanitizer.mjs, invoked by npm run report:allure). Do not bypass this pipeline when generating reports for review.src/<module>.test.ts.*.allure.test.ts files to *.test.ts; do not introduce new *.allure.test.ts files.src/core/** and integration flows.critical: mutation correctness, legal-output integrity, data-loss risk, security/policy guardrails.normal: standard behavior and compatibility scenarios.minor: narrow edge cases with low production impact.npm run test:run
npm run test:coverage
npm run check:allure-labels
import { describe, expect } from 'vitest';
import { itAllure as it, allureStep, allureJsonAttachment } from '../../../integration-tests/helpers/allure-test.js';
describe('checklist patch behavior', () => {
it('applies replacement deterministically', async () => {
let result: { ok: boolean };
await allureStep('Given a valid patch payload', async () => {
await allureJsonAttachment('patch-input.json', {
patch_id: 'patch_001',
operations: [{ op: 'replace', path: '/issues/0/status', value: 'CLOSED' }],
});
});
await allureStep('When patch validation runs', async () => {
result = { ok: true };
});
await allureStep('Then validation succeeds', async () => {
expect(result!.ok).toBe(true);
});
});
});
references/allure-test-spec-writing-guide.md for full Allure step-writing guidance.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
unit-testing, allure, risk-based-testing, behavioral-specs, test-quality
22 skills in this plugin
/canonical-markdown-authoringConvert plain markdown contract drafts into OpenAgreements' canonical template.md authoring format — YAML frontmatter, Kind|Label|Value|Show When cover-term tables, oa:clause directives, [[Defined Term]] paragraphs, and oa:signer directives that compile to validated JSON specs and DOCX artifacts. Use when the user says "convert this to canonical markdown," "author a new OpenAgreements template," "migrate template to template.md," or "write a canonical-form contract."/client-emailDraft client-facing emails for legal services — cover notes for contract deliverables, redline summaries, deal status updates, and follow-ups. Use when composing or revising outbound emails to clients about legal work product. Triggers on "draft reply," "email to client," "cover note," "write back to," or any outbound email accompanying a legal deliverable./cloud-service-agreementGenerated from the plugin's indexed repository (open-agreements/open-agreements) — no native marketplace selected
npx claudepluginhub p/open-agreements-open-agreementsOther plugins' skills for the same job