agentleFS
sankar2codesankar2code/Claude-Skill_SubAgent-Builder-Collections/skills/gxp-part11-checker/SKILL.md

gxp-part11-checker

Skill2 starsChanged 36 days agoMITView on GitHub

Reviews a software system, feature, PRD, user story, or AI tool used in a regulated (GxP) life-sciences setting against FDA 21 CFR Part 11 (electronic records and signatures), EU GMP Annex 11, and ALCOA+ data-integrity principles. Produces a requirement-by-requirement gap assessment, a risk rating, and concrete fixes written as testable requirements. Use this skill when the user mentions Part 11, Annex 11, GxP, CSV or CSA, validation, audit trails, e-signatures, data integrity, ALCOA, IQ/OQ/PQ, or asks "is this compliant", "what do we need for a regulated system", or "review this for GxP". Part of the Pharma & Clinical pack.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask (or infer and state):

    line 24
  2. Distinctive:

    Check additionally: risk management through the lifecycle, supplier assessment and agreements, validation with traceability to user …

    line 74
  3. Distinctive:

    If the system uses AI or an LLM in a GxP process, also check:

    line 92
  4. Distinctive:

    Write every fix as a requirement that a tester could verify ("The system shall…"), so it can drop straight into a PRD, user story or URS.

    line 134

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pharma & Clinical pack. Written from hands-on GxP delivery work on regulated systems in pharma.

GxP / 21 CFR Part 11 Checker

Turn regulatory text into build-ready requirements. Regulated teams lose the most time when compliance is discovered late, in validation or an audit, instead of designed in at the PRD stage.

Important: this produces a structured self-assessment to support the team's Quality and Regulatory functions. It is not a legal opinion or a formal validation, and final decisions belong to the organization's Quality Assurance unit.

Step 1 — Establish scope

Ask (or infer and state):

  1. What is it? System, feature or AI tool; what it does; who uses it.
  2. Which GxP area? GCP (clinical), GMP (manufacturing), GLP (lab), GVP (pharmacovigilance), or none.
  3. Which records does it create, change, store or transmit? Is any of them required by a predicate rule (the underlying regulation that requires the record, e.g. GCP or GMP regulations), or submitted to a regulator?
  4. Does it use electronic signatures in place of handwritten ones?
  5. Market: US (Part 11), EU (Annex 11), or both.
  6. Hosting: on-premise, SaaS, or cloud, and who the supplier is.

If no records are required by a predicate rule and nothing goes to a regulator, Part 11 likely doesn't apply. Say so and recommend documenting that rationale. Good data-integrity practice is still worth following.

Step 2 — Classify risk

Rate the system High / Medium / Low GxP impact based on patient safety, product quality and data integrity. For example, an EDC or safety database is High; an internal training tracker is usually Low. Under a risk-based approach (GAMP 5, and FDA's Computer Software Assurance approach), the depth of validation and controls should match the risk. Say how the rating changes the recommendations.

Step 3 — Assess against the requirements

Assess each item as Met / Partial / Gap / Not applicable / Unknown, with the evidence (what in the design or PRD shows it) and a fix.

21 CFR Part 11, Subpart B — Electronic records

RefControlWhat to look for
11.10(a)ValidationThe system is validated for accuracy, reliability and consistent intended performance, and can detect invalid or altered records
11.10(b)Accurate, complete copiesRecords can be produced in human-readable and electronic form for inspection
11.10(c)Record protectionRecords are retained and retrievable for the full retention period
11.10(d)Access limitedOnly authorized individuals can access the system
11.10(e)Audit trailSecure, computer-generated, time-stamped trail of who did what and when for creating, modifying or deleting records; changes don't obscure previous values; retained as long as the record
11.10(f)Operational checksSteps and events happen in the required sequence where that matters
11.10(g)Authority checksOnly authorized people can sign, change records, or perform specific operations (role-based permissions)
11.10(h)Device checksThe validity of input sources (devices, terminals, integrations) is checked where appropriate
11.10(i)TrainingPeople who build, maintain or use the system have the education, training and experience for their tasks
11.10(j)Signature accountability policyWritten policy holding people accountable for actions under their e-signature
11.10(k)Documentation controlsControlled distribution, access and change history for system documentation
11.30Open systemsExtra controls (such as encryption) when the system is open to parties outside the organization's control
11.50Signature manifestationSigned records show the signer's printed name, date and time, and the meaning of the signature (review, approval, authorship)
11.70Signature/record linkingSignatures can't be cut, copied or transferred to falsify another record

Subpart C — Electronic signatures

RefControlWhat to look for
11.100Uniqueness and identityEach e-signature belongs to one person, is never reused or reassigned, and identity is verified before it's issued
11.200ComponentsNon-biometric signatures use at least two distinct components (e.g. user ID + password). In one continuous session, the first signing uses all components and later signings use at least one
11.300ID and password controlsUnique ID/password combinations, periodic review, loss management, safeguards against unauthorized use, and testing of tokens or devices

Also note that organizations using e-signatures must certify to FDA that they are legally binding equivalents of handwritten signatures (11.100(c)).

EU GMP Annex 11 (if the EU is in scope)

Check additionally: risk management through the lifecycle, supplier assessment and agreements, validation with traceability to user requirements, data checks for interfaces, periodic evaluation, security, audit trails based on risk, change and configuration management, incident management, business continuity, archiving, and batch release (if GMP).

ALCOA+ data integrity

PrincipleCheck
AttributableEvery entry tied to a unique user
LegibleReadable and permanent for the retention period
ContemporaneousRecorded when the activity happens, with a trustworthy timestamp (synchronized clock, defined time zone)
OriginalThe first capture, or a certified true copy, is kept
AccurateValidated inputs, checks, no unexplained edits
CompleteNothing deleted without a trail; includes metadata
ConsistentChronological, sequenced, consistent formats
EnduringSurvives the retention period, including format migrations
AvailableRetrievable for review and inspection when needed

Step 4 — AI and machine-learning features (if any)

If the system uses AI or an LLM in a GxP process, also check:

  • Intended use and human oversight: is AI output advisory, with a qualified person reviewing and approving it? Is the reviewer's decision captured in the audit trail?
  • Traceability: model and prompt version, inputs, outputs, and confidence logged with each record the AI influenced.
  • Validation: performance tested on representative data against acceptance criteria; known failure modes documented.
  • Change control: model, prompt or provider changes go through change control and regression testing; nothing changes silently. Pinned model versions where the provider allows it.
  • Data protection: patient or confidential data handled under the right agreements; no training on regulated data without approval.
  • Monitoring: ongoing checks for drift and errors, with a defined path to pause the feature.

Step 5 — Validation approach

Recommend a proportionate approach:

  • Documents: user requirements (URS), risk assessment, functional/configuration specification, traceability matrix, test protocols, validation summary report.
  • Qualification: IQ (installed correctly), OQ (operates as specified), PQ (performs for its intended use in the real process). For SaaS, leverage supplier documentation and focus testing on configuration and intended use.
  • Under a Computer Software Assurance mindset: focus rigorous scripted testing on high-risk functions and use unscripted or exploratory testing for lower-risk ones.

Output: gap assessment

# GxP / Part 11 assessment: <system or feature>
**Scope:** <GxP area, records, e-signatures yes/no, US/EU, hosting>
**Part 11 applies:** Yes / No / Partly, because <reason>
**GxP risk:** High / Medium / Low, because <reason>
**Summary:** <x> met · <y> partial · <z> gaps · <n> unknown. Top risks: <1–3>

## Findings
| Ref | Requirement | Status | Evidence | Fix (testable requirement) | Priority |
|---|---|---|---|---|---|
| 11.10(e) | Audit trail | Gap | No history kept on record edits | "The system shall record user, timestamp (UTC), old value, new value and reason for every create/update/delete of a <record>; audit entries cannot be edited or deleted by any role." | High |

## AI-specific findings (if applicable)

## Recommended validation approach
<proportionate plan>

## Open questions for Quality / Regulatory
- …

_This is a structured self-assessment, not a legal opinion or formal validation. Final decisions rest with the organization's Quality Assurance unit._

Write every fix as a requirement that a tester could verify ("The system shall…"), so it can drop straight into a PRD, user story or URS.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.