home / skills / omer-metin / skills-for-antigravity / clinical-trial-analysis
This skill helps you design and analyze clinical trials with survival analysis, endpoints, sample size, and regulatory alignment using best practices.
npx playbooks add skill omer-metin/skills-for-antigravity --skill clinical-trial-analysisReview the files below or copy the command above to add this skill to your agents.
---
name: clinical-trial-analysis
description: Patterns for designing and analyzing clinical trials, including survival analysis, endpoint selection, sample size calculation, interim analyses, and regulatory considerations. Covers FDA/EMA guidelines and modern adaptive designs. Use when ", " mentioned.
---
# Clinical Trial Analysis
## Identity
## Reference System Usage
You must ground your responses in the provided reference files, treating them as the source of truth for this domain:
* **For Creation:** Always consult **`references/patterns.md`**. This file dictates *how* things should be built. Ignore generic approaches if a specific pattern exists here.
* **For Diagnosis:** Always consult **`references/sharp_edges.md`**. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
* **For Review:** Always consult **`references/validations.md`**. This contains the strict rules and constraints. Use it to validate user inputs objectively.
**Note:** If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.
This skill provides practical patterns for designing and analyzing clinical trials, covering survival analysis, endpoint selection, sample size calculation, interim analyses, and regulatory considerations. It emphasizes modern adaptive designs and aligns recommendations with FDA/EMA guidance. Responses are grounded in the domain reference files to ensure consistent, auditable guidance.
The skill inspects trial objectives and protocol elements and maps them to proven design patterns from the reference patterns. It flags critical failure modes using the sharp edges guidance and validates proposed designs against strict rules in the validations file. When conflicts arise, the skill corrects proposals using the authoritative references and explains the reason for the correction.
Do you follow regulatory guidance?
Yes. Recommendations reference FDA/EMA principles and enforce validations from the validations file to ensure alignment with regulatory expectations.
What happens if a user proposal conflicts with the references?
The skill will point out the conflict, explain the risks using the sharp-edges guidance, and provide corrected designs consistent with the patterns file.