quality-agreement
Drafts Quality Agreements for pharmaceutical contract manufacturing. Assigns quality roles between product owners and CMOs under FDA cGMP (21 CFR 210/211), ICH Q7, and related guidance. Use when a user needs a quality agreement, CMO quality terms, or cGMP compliance agreement for contract manufacturing.
Best use case
quality-agreement is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Drafts Quality Agreements for pharmaceutical contract manufacturing. Assigns quality roles between product owners and CMOs under FDA cGMP (21 CFR 210/211), ICH Q7, and related guidance. Use when a user needs a quality agreement, CMO quality terms, or cGMP compliance agreement for contract manufacturing.
Teams using quality-agreement should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/quality-agreement/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How quality-agreement Compares
| Feature / Agent | quality-agreement | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Drafts Quality Agreements for pharmaceutical contract manufacturing. Assigns quality roles between product owners and CMOs under FDA cGMP (21 CFR 210/211), ICH Q7, and related guidance. Use when a user needs a quality agreement, CMO quality terms, or cGMP compliance agreement for contract manufacturing.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Quality Agreement for Contract Manufacturing
Drafts an enforceable Quality Agreement defining quality roles, responsibilities, and cGMP compliance obligations between a product owner and a contract manufacturing organization (CMO).
## Prerequisites
1. **Manufacturing/supply agreement** — commercial terms, product scope, facility details
2. **Regulatory identifiers** — FDA Establishment IDs, DUNS, DEA registrations (if controlled), ISO certs
3. **Product details** — dosage form, API/finished product, classification (Rx, OTC, biologic)
4. **Existing quality documents** — prior quality agreements, SOPs, inspection history (483s, warning letters)
5. **Specifications** — approved specs, analytical methods, stability protocols
Search user-uploaded documents for existing agreements, specs, and regulatory correspondence before drafting.
## Output Structure
| Section | Key Contents |
|---------|-------------|
| Parties & Scope | Legal names, regulatory IDs, product scope, exclusions, quality-over-commercial supremacy clause |
| Definitions | Regulatory terms, party-specific roles |
| Quality Unit Authority | Responsibility matrix (see below), independence provisions, escalation paths |
| Manufacturing & Documentation | Batch records, retention per 21 CFR 211.180, Part 11 compliance |
| Change Control | Categories, approval workflows, review timelines (see below) |
| Audit & Inspection | Routine/for-cause/unannounced rights, 483 response coordination |
| Quality Events & CAPA | Deviation reporting, investigation, CAPA approval, recall authority |
| Specifications & Release | Method validation (ICH Q2), OOS investigations, stability programs |
| Personnel & Training | Qualifications, training programs, key personnel change notice |
| Term & Termination | Duration, termination rights, transition obligations, survival clauses |
| Appendices | Change control forms, deviation templates, quality metrics, contacts |
### Quality Unit Responsibility Matrix
| Function | Product Owner | CMO |
|----------|:---:|:---:|
| Final batch disposition | ● | |
| In-process controls execution | | ● |
| Specification approval | ● | |
| Deviation investigation | | ● |
| Deviation report approval | ● | |
| Regulatory submissions | ● | |
| Environmental monitoring | | ● |
| Equipment qualification | | ● |
| Change control approval (major) | ● | |
| Complaint handling (mfg-related) | | ● |
| Recall decision authority | ● | |
### Notification Timelines
| Event | Deadline |
|-------|----------|
| Critical quality event (safety/regulatory) | 24 hours |
| Significant quality event | 72 hours |
| Routine quality event | 5 business days |
| Unannounced regulatory inspection | 4 hours |
| Announced regulatory inspection | 24 hours |
| Key personnel change | 30 days advance |
### Change Control Framework
| Category | Examples | Approval | Review Period |
|----------|----------|----------|---------------|
| Minor | Admin SOP updates, like-for-like equipment | CMO QU (notify owner) | 15 business days |
| Major | Critical process params, alt. suppliers, method revisions | Product owner QU written approval | 30 business days |
| Emergency | Immediate safety/compliance | CMO implements → retrospective owner approval | Immediate |
Change proposals must include: description, scientific justification, risk assessment (FMEA/ICH Q9), validation protocols if applicable, regulatory impact analysis, implementation timeline.
### Audit Rights
- **Pre-approval** — before manufacturing initiation
- **Routine** — ≤24-month intervals, 30 days advance notice
- **For-cause** — triggered by quality events or regulatory concerns
- **Unannounced** — preserved right for serious quality/regulatory concerns
- **Scope** — unrestricted access to batch records, validation reports, deviations, training records, personnel interviews, facility inspection
- **Post-audit** — report within 30 days; CMO CAPA response within 15 business days
### Batch Records & Documentation
- Contemporaneous recording (indelible ink or validated electronic systems)
- Complete material genealogy and traceability
- CMO initial review: 5–10 business days post-batch completion
- Product owner QU review: 10–15 additional business days before disposition
- Retention: ≥1 year past expiry or 3 years post-distribution (whichever longer) per 21 CFR 211.180
- Part 11 compliance: system validation, audit trails, data integrity controls
### Termination & Transition
- **Non-renewal notice**: ≥180 days before term expiry
- **Material breach cure**: 60 days from written notice
- **Convenience termination**: 180–360 days advance notice
- **Post-termination**: CMO supports product through shelf life (stability, reserve samples, complaints, inspections)
- **Document transfer**: Complete batch records and quality documentation within 90 days
- **Survival**: Confidentiality (indefinite), record retention (regulatory periods), regulatory support (while product in distribution)
## Guidelines
- Use mandatory language ("shall," "must") — never aspirational ("should," "will")
- Include explicit quality-over-commercial supremacy clause; quality decisions independent from commercial considerations
- Align with FDA 2016 Guidance: Contract Manufacturing Arrangements for Drugs: Quality Agreements [VERIFY]
- Address data integrity per FDA 2018 Data Integrity and Compliance with Drug CGMP guidance [VERIFY]
- For international markets, incorporate ICH Q7, EU GMP Annex 11, WHO guidelines as applicable
- Include cybersecurity provisions for manufacturing systems and confidential regulatory data
- Quality agreement governs all quality matters; ensure no conflict with underlying supply agreement
- If user provides 483s or warning letters, incorporate preventive measures addressing cited deficienciesRelated Skills
validating-clinical-data-quality
Structures data quality assessment with completeness, accuracy, and consistency validation. Use when auditing clinical data, assessing data quality, or validating data integrity.
performing-quality-assurance-reviews
Structures radiology peer review and quality assurance with discrepancy classification. Use when conducting peer review, classifying discrepancies, or documenting QA findings.
managing-quality-reporting
Structures CMS quality reporting (MIPS, HEDIS, CQMs) with measure specification and data validation. Use when reporting quality measures, managing MIPS submissions, or validating quality data.
managing-nursing-quality-metrics
Tracks nursing quality indicators (NDNQI, HCAHPS) with performance improvement documentation. Use when monitoring nursing quality, tracking NDNQI metrics, or managing quality improvement.
managing-laboratory-quality-control
Tracks QC data with Westgard rules and corrective action documentation. Use when managing lab QC, interpreting Westgard violations, or documenting corrective actions.
managing-dental-quality-assurance
Structures dental practice quality assessment with peer review and outcomes tracking. Use when conducting dental QA, performing peer review, or tracking treatment outcomes.
managing-clinical-data-quality
Structures data quality management with query resolution, source data verification, and audit trails. Use when managing clinical data quality, resolving data queries, or conducting SDV.
work-for-hire-agreement
Drafts a U.S. Work for Hire Agreement under 17 U.S.C. §§ 101 and 201(b) with fallback IP assignment, creator warranties, and indemnification. Trigger when commissioning software, designs, content, or other creative work requiring clear IP ownership, or when drafting WFH clauses for consulting and service agreements.
voting-agreement
Drafts enforceable shareholder Voting Agreements coordinating director elections, fundamental transactions, charter amendments, and other corporate matters for closely-held companies and venture financings. Covers DGCL §218 compliance, irrevocable proxy mechanics, transfer-binding provisions, and integration with related governance documents. Trigger keywords: "voting agreement", "shareholder voting", "director election commitment", "irrevocable proxy", "board composition agreement", "DGCL 218".
underwriting-agreement
Drafts a firm-commitment underwriting agreement for SEC-registered U.S. public offerings, covering purchase terms, greenshoe, reps and warranties, covenants, closing conditions, indemnification, and market-out rights. Use when drafting or reviewing underwriting agreements, firm commitment deals, over-allotment options, or listing approvals; trigger on "underwriting agreement", "firm commitment", "public offering", "greenshoe", "over-allotment", "registration statement", "prospectus".
triple-net-lease-agreement
Drafts U.S. commercial triple-net (NNN) lease agreements from deal materials. Triggers on term sheets, LOIs, or due-diligence packets where rent, taxes, insurance, and maintenance allocate to the tenant. Produces an execution-ready lease covering expense pass-throughs, use controls, default/remedy architecture, transfer gates, indemnity/insurance, SNDA, and exhibits.
transitional-services-agreement
Drafts a Transitional Services Agreement (TSA) for post-closing seller-to-buyer service delivery in U.S. M&A transactions. Use when a corporate acquisition requires temporary operational support or seller-provided service continuity after closing.