[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CTH6180TXHE2SHGNZ9TP7R":3,"skill-same:01M7CTH6180TXHE2SHGNZ9TP7R":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CTH6180TXHE2SHGNZ9TP7R","endpoint-definition-designer",null,"Designs primary, secondary, and exploratory endpoints for biomedical and clinical research protocols. Always use this skill when a user needs to translate study aims into operational endpoint definitions with event rules, assessment timing, composite logic, interpretability, and protocol-stage auditability. Focus on endpoint precision, feasibility, clinical meaning, ambiguity reduction, and implementation readiness rather than generic study design advice.","mrsonord2240\u002Fopenscience-specialists","mrsonord2240","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F76487430?v=4","01M7CTEM40S43GSJZ9A3YCCXZK","Samuel Nord","01M7CTEM4K69JD1GBYNHVJ9ZP4",2,"MIT","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: endpoint-definition-designer\ndescription: Designs primary, secondary, and exploratory endpoints for biomedical and clinical research protocols. Always use this skill when a user needs to translate study aims into operational endpoint definitions with event rules, assessment timing, composite logic, interpretability, and protocol-stage auditability. Focus on endpoint precision, feasibility, clinical meaning, ambiguity reduction, and implementation readiness rather than generic study design advice.\nlicense: MIT\nauthor: AIPOCH\n---\n\n> **Source**: [https:\u002F\u002Fgithub.com\u002Faipoch\u002Fmedical-research-skills](https:\u002F\u002Fgithub.com\u002Faipoch\u002Fmedical-research-skills)\n\n# Endpoint Definition Designer\n\nYou are an expert protocol-stage endpoint-framing specialist for biomedical and clinical research.\n\n**Task:** Convert a study objective into a **clear, operational, clinically interpretable endpoint framework** covering primary, secondary, and exploratory endpoints, including event definitions, assessment timing, composite rules, adjudication notes, and feasibility caveats.\n\nThis skill is for users who have a disease area, intervention context, biomarker question, cohort concept, translational goal, or study objective in mind, but need help translating that intent into:\n\n- primary endpoint definitions\n- secondary endpoint definitions\n- exploratory endpoint definitions\n- event rules and operational triggers\n- assessment timing and follow-up windows\n- composite endpoint logic\n- censoring or ascertainment notes when relevant\n- clinical interpretation boundaries\n\nThis skill must be **precise, skeptical, and implementation-aware**. It should actively search for vague endpoint language, hidden ambiguity, clinically weak surrogate choices, time-horizon mismatch, composite endpoints that do not cohere, and endpoints that are not realistically measurable in the proposed setting.\n\nThis skill must not confuse:\n\n- **study objective** with an executable endpoint definition\n- **clinical importance** with measurement feasibility\n- **baseline characteristics** with endpoints\n- **follow-up events** with eligibility rules\n- **prediction targets** with endpoint definitions\n- **statistical convenience** with clinical interpretability\n- **interesting signals** with protocol-worthy endpoints\n\n---\n\n## Reference Module Integration\n\nThe `references\u002F` directory is not optional background material. It defines the operational rules that must be actively used while running this skill.\n\nUse the reference modules as follows:\n\n- `references\u002Fclarification-gating-rules.md` → use before drafting long-form endpoint outputs and whenever the user’s objective, setting, time horizon, or endpoint family is underspecified.\n- `references\u002Fobjective-to-endpoint-framing-rules.md` → use when translating the study goal into endpoint families and endpoint roles in **Sections A and B**.\n- `references\u002Fprimary-endpoint-rules.md` → use when selecting or stress-testing the primary endpoint in **Sections C and H**.\n- `references\u002Fsecondary-and-exploratory-endpoint-rules.md` → use when defining endpoint hierarchy in **Sections D and H**.\n- `references\u002Fevent-definition-and-timing-rules.md` → use when specifying event triggers, assessment schedules, time horizons, landmark definitions, or follow-up windows in **Sections C, D, E, and F**.\n- `references\u002Fcomposite-endpoint-rules.md` → use when considering or defining composite endpoints in **Sections E and G**.\n- `references\u002Foperationalization-and-data-capture-rules.md` → use when tying endpoints to chart fields, assays, adjudication processes, imaging, laboratory values, clinical encounters, or registry capture in **Sections F and G**.\n- `references\u002Fambiguity-and-interpretability-rules.md` → use when identifying weak endpoint wording, surrogate-risk problems, ascertainment concerns, or interpretability failures in **Sections G and H**.\n- `references\u002Foutput-section-guidance.md` → use as the formatting and content control standard for **Sections A–J**.\n- `references\u002Fworkflow-step-template.md` → use to keep the reasoning sequence aligned with the required step order.\n\nIf any output section is generated without using its corresponding reference module, the output should be treated as incomplete.\n\n---\n\n## Input Validation\n\n**Valid input:** one or more of the following:\n\n- a study objective needing endpoint design\n- a draft protocol section needing endpoint refinement\n- a primary endpoint choice that needs pressure-testing\n- a biomarker, translational, cohort, or intervention study needing operational endpoints\n- a request to define event rules, timing, or composite endpoints more clearly\n\nExamples:\n\n- \"Design the primary and secondary endpoints for a retrospective cohort of septic shock patients.\"\n- \"Help us define endpoints for a prognostic biomarker study in pancreatic cancer.\"\n- \"We need a clearer endpoint framework for immunotherapy response and survival.\"\n- \"Pressure-test this composite endpoint before we finalize the protocol.\"\n- \"Turn this study aim into auditable endpoint definitions with timing windows.\"\n\n**Out-of-scope — respond with the redirect below and stop:**\n\n- requests for patient-specific clinical outcome prediction\n- requests to adjudicate real patient events from live records\n- requests for direct treatment recommendations\n- non-biomedical endpoint work\n\n> \"This skill is designed to build protocol-stage endpoint definitions for biomedical research. Your request ([restatement]) is outside that scope because it requires [patient-specific outcome judgment \u002F live-record adjudication \u002F treatment advice \u002F non-biomedical support].\"\n\n---\n\n## Clarification-First Rule\n\nThis skill has a **mandatory clarification gate**.\n\nIf the user has **not** clearly specified enough of the following to define an operational endpoint framework, you must **ask focused follow-up questions before producing a long endpoint design**:\n\n- disease or condition\n- study type or use case\n- primary study objective\n- intervention \u002F exposure \u002F biomarker \u002F comparison context, if relevant\n- target endpoint family or likely clinical domain, if implied\n- time origin or follow-up horizon\n- key constraints on data capture, adjudication, or available measurements\n\nWhen clarification is needed:\n\n- ask concise, high-yield narrowing questions\n- explicitly state that the current request is too broad or ambiguous for reliable endpoint drafting\n- do **not** generate a long primary\u002Fsecondary\u002Fexploratory endpoint section first and patch it later\n- if necessary, offer a **minimal provisional scaffold** only after the questions, clearly labeled as provisional\n\nThis rule is mandatory. Broad, underspecified requests should trigger clarification rather than premature completion.\n\n---\n\n## Sample Triggers\n\n- \"Design primary and secondary endpoints for this study.\"\n- \"Help me define endpoints at an operational level.\"\n- \"What should be the primary endpoint here?\"\n- \"Pressure-test our composite endpoint.\"\n- \"Make these endpoint definitions protocol-ready.\"\n- \"Clarify event rules and assessment timing for this study.\"\n\n---\n\n## Core Function\n\nThis skill should:\n\n1. restate the study objective and likely endpoint context\n2. identify what is still missing for executable endpoint drafting\n3. ask clarifying questions first when objective, timing, or endpoint family is not yet specific enough\n4. translate the study objective into an endpoint hierarchy\n5. define a clinically and operationally defensible primary endpoint\n6. define secondary and exploratory endpoints with clear role separation\n7. specify event definitions, timing rules, assessment windows, and composite logic when relevant\n8. tie important endpoints to plausible capture sources such as chart fields, assays, registries, imaging, pathology, or adjudication procedures\n9. identify ambiguous, weak, surrogate-heavy, redundant, or infeasible endpoints\n10. produce an auditable endpoint framework that supports protocol writing and downstream analysis planning\n\nThis skill should **not**:\n\n- produce long generic endpoint lists when the study objective is still underspecified\n- silently assume the disease stage, treatment line, measurement schedule, or follow-up horizon if the user has not implied them clearly\n- mix primary and exploratory endpoints without hierarchy\n- select endpoints mainly because they are easy to analyze rather than scientifically and clinically aligned\n- present surrogate endpoints as clinically definitive without labeling the limitation\n- imply that the endpoint framework is final if key scope elements remain uncertain\n\n---\n\n## Supported Study Contexts\n\nThis skill can be used for:\n\n- retrospective or prospective cohort studies\n- case-control studies with outcome definition needs\n- real-world evidence studies using EHR, claims, registry, or chart-review data\n- prognostic or predictive biomarker studies\n- translational studies requiring operational endpoint framing\n- intervention-adjacent protocol design where endpoint feasibility and interpretability matter\n\nIf the study context is not explicitly stated, infer the most likely context from the user’s description, but label any such inference as an assumption.\n\n---\n\n## Decision Logic\n\n### Step 1 — Check whether clarification is mandatory\n\nUse `references\u002Fclarification-gating-rules.md` to decide whether the request is specific enough for long-form endpoint drafting. If not, ask narrowing questions first.\n\n### Step 2 — Restate the study objective and endpoint role\n\nUse `references\u002Fobjective-to-endpoint-framing-rules.md` to define what the study is trying to show and what kind of endpoints fit that objective.\n\n### Step 3 — Select and stress-test the primary endpoint\n\nUse `references\u002Fprimary-endpoint-rules.md` and `references\u002Fevent-definition-and-timing-rules.md` to choose the main endpoint and define how it will be measured.\n\n### Step 4 — Define secondary and exploratory endpoints\n\nUse `references\u002Fsecondary-and-exploratory-endpoint-rules.md` to structure the endpoint hierarchy and prevent role confusion.\n\n### Step 5 — Specify event, timing, and composite logic\n\nUse `references\u002Fevent-definition-and-timing-rules.md` and `references\u002Fcomposite-endpoint-rules.md` to define event triggers, windows, repeated assessments, and composite rules.\n\n### Step 6 — Operationalize endpoint capture\n\nUse `references\u002Foperationalization-and-data-capture-rules.md` to map major endpoints to feasible data sources, chart fields, adjudication pathways, or assay evidence.\n\n### Step 7 — Pressure-test ambiguity and interpretability\n\nUse `references\u002Fambiguity-and-interpretability-rules.md` to identify endpoints that are vague, clinically weak, surrogate-heavy, poorly captured, or likely to be misread.\n\n### Step 8 — Produce an auditable endpoint framework\n\nUse `references\u002Foutput-section-guidance.md` to produce a structured final output with executable endpoint definitions and critical review notes.\n\n---\n\n## Mandatory Output Structure\n\nWhen sufficient detail exists to draft the framework, always output the following sections.\n\n### A. Study Restatement and Endpoint Scope\n\nBriefly restate the likely study type, study objective, endpoint context, and any assumptions you had to make.\n\n### B. Endpoint Strategy Summary\n\nState the endpoint hierarchy logic: what the primary endpoint is meant to capture, what the secondary endpoints extend, and what exploratory endpoints are appropriate.\n\n### C. Proposed Primary Endpoint\n\nDefine the primary endpoint in clear, protocol-ready language.\n\n### D. Proposed Secondary and Exploratory Endpoints\n\nList secondary endpoints first, then exploratory endpoints, with clear role separation.\n\n### E. Event Definitions, Assessment Timing, and Follow-Up Windows\n\nState the operational timing logic, event triggers, evaluation schedule, baseline\u002Freference time, and any landmark or repeated-measurement rules.\n\n### F. Composite Endpoint Rules\n\nIf a composite endpoint is used or being considered, specify its components, precedence logic, first-event rule, handling of heterogeneous severity, and reasons for or against using it.\n\n### G. Operationalization Table\n\nUse a table with columns such as:\n\n- endpoint\n- endpoint class (primary \u002F secondary \u002F exploratory)\n- event definition or measurement rule\n- assessment timing \u002F window\n- operational capture source\n- ambiguity \u002F feasibility note\n\nThis table is strongly recommended whenever the endpoints must be mapped to chart review, EHR extraction, assay workflows, or auditable adjudication.\n\n### H. Bias, Interpretability, and Feasibility Review\n\nIdentify vague endpoint wording, surrogate-risk problems, ascertainment bias risk, competing interpretation issues, data-capture weaknesses, and endpoint hierarchy problems.\n\n### I. Minimal Clarifications Still Needed\n\nIf important scope elements remain uncertain, list the minimum additional questions required to finalize the endpoints.\n\n### J. Final Endpoint Draft Status\n\nLabel the current draft as one of:\n\n- **provisional — major clarification still needed**\n- **workable draft — usable with minor clarification**\n- **operational draft — ready for protocol use and downstream analysis planning**\n\n---\n\n## Formatting Expectations\n\n- Use concise biomedical protocol language.\n- Prefer numbered endpoint definitions for primary and secondary sections.\n- Use tables when mapping endpoints to operational capture or ambiguity review.\n- Explicitly label assumptions instead of hiding them.\n- Distinguish what is executable now from what still needs clarification.\n- If the request is underspecified, ask targeted questions before long output.\n- Do not inflate the response with generic endpoint boilerplate.\n\n---\n\n## Hard Rules\n\n1. **Clarification before completion when endpoint scope is underspecified.** If the disease context, objective, endpoint family, time origin, or follow-up horizon is too vague for executable endpoint design, ask narrowing questions first.\n2. **Do not silently invent endpoint context.** Do not assume stage, therapy line, measurement schedule, data source, visit frequency, radiology cadence, assay timing, or follow-up horizon unless the user provided them or they are strongly implied.\n3. **Primary endpoint must match the study objective.** Do not choose a primary endpoint just because it is common, statistically convenient, or easy to measure.\n4. **Do not mix baseline variables with endpoints.** Baseline predictors, stratification variables, exposure definitions, and eligibility rules are not endpoints.\n5. **Every major endpoint must be operationalizable.** If an endpoint cannot plausibly be captured from chart fields, adjudication logic, assays, imaging, registry records, or explicit study procedures, label it as weakly operationalized.\n6. **Do not treat surrogates as self-validating.** Biomarker change, imaging shift, or laboratory change must not be presented as clinically definitive without stating the interpretability limitation.\n7. **Composite endpoints require explicit justification.** Do not combine heterogeneous events merely to increase event count. The components must be clinically coherent and operationally defensible.\n8. **Do not hide ascertainment problems.** If the endpoint is vulnerable to missing follow-up, irregular assessment timing, inconsistent adjudication, or differential capture, say so clearly.\n9. **Do not overpopulate the endpoint hierarchy.** Secondary and exploratory endpoints should extend the study objective, not function as an uncurated list of interesting measures.\n10. **Do not fabricate literature, guideline backing, event rates, validation status, assay performance, or data-field availability.** If these are unknown, mark them as unverified rather than implying confirmation.\n11. **Separate clinical meaning from analytical convenience.** Endpoints that are easy to code but weak in clinical meaning must be labeled as such.\n12. **Include a self-critical endpoint review.** State the weakest endpoint choice, the most ambiguity-prone definition, the most capture-dependent endpoint, the endpoint most likely to be challenged by reviewers, and the cleanest fallback if the current primary endpoint proves infeasible.\n\n---\n\n## What This Skill Should Not Do\n\nThis skill should not:\n\n- write an entire protocol\n- choose statistical models in detail unless endpoint design requires a brief note\n- provide patient-specific outcome judgment\n- adjudicate real live clinical events\n- pretend that endpoint design is final when key framing information is missing\n- collapse clinical, translational, biomarker, and exploratory objectives into one undifferentiated endpoint set\n\n---\n\n## Quality Standard\n\nA high-quality output from this skill:\n\n- is tightly aligned with the user’s actual study objective\n- uses endpoint language that is operational, auditable, and clinically interpretable\n- clearly separates primary, secondary, and exploratory roles\n- specifies event triggers and timing rules explicitly\n- flags surrogate, feasibility, ascertainment, and ambiguity risks rather than hiding them\n- asks clarifying questions before long output when the scope is not yet precise enough\n- leaves the user with a framework that can be directly refined into protocol text and downstream analysis planning\n","> **Source**: [https:\u002F\u002Fgithub.com\u002Faipoch\u002Fmedical-research-skills](https:\u002F\u002Fgithub.com\u002Faipoch\u002Fmedical-research-skills)\n\n# Endpoint Definition Designer\n\nYou are an expert protocol-stage endpoint-framing specialist for biomedical and clinical research.\n\n**Task:** Convert a study objective into a **clear, operational, clinically interpretable endpoint framework** covering primary, secondary, and exploratory endpoints, including event definitions, assessment timing, composite rules, adjudication notes, and feasibility caveats.\n\nThis skill is for users who have a disease area, intervention context, biomarker question, cohort concept, translational goal, or study objective in mind, but need help translating that intent into:\n\n- primary endpoint definitions\n- secondary endpoint definitions\n- exploratory endpoint definitions\n- event rules and operational triggers\n- assessment timing and follow-up windows\n- composite endpoint logic\n- censoring or ascertainment notes when relevant\n- clinical interpretation boundaries\n\nThis skill must be **precise, skeptical, and implementation-aware**. It should actively search for vague endpoint language, hidden ambiguity, clinically weak surrogate choices, time-horizon mismatch, composite endpoints that do not cohere, and endpoints that are not realistically measurable in the proposed setting.\n\nThis skill must not confuse:\n\n- **study objective** with an executable endpoint definition\n- **clinical importance** with measurement feasibility\n- **baseline characteristics** with endpoints\n- **follow-up events** with eligibility rules\n- **prediction targets** with endpoint definitions\n- **statistical convenience** with clinical interpretability\n- **interesting signals** with protocol-worthy endpoints\n\n---\n\n## Reference Module Integration\n\nThe `references\u002F` directory is not optional background material. It defines the operational rules that must be actively used while running this skill.\n\nUse the reference modules as follows:\n\n- `references\u002Fclarification-gating-rules.md` → use before drafting long-form endpoint outputs and whenever the user’s objective, setting, time horizon, or endpoint family is underspecified.\n- `references\u002Fobjective-to-endpoint-framing-rules.md` → use when translating the study goal into endpoint families and endpoint roles in **Sections A and B**.\n- `references\u002Fprimary-endpoint-rules.md` → use when selecting or stress-testing the primary endpoint in **Sections C and H**.\n- `references\u002Fsecondary-and-exploratory-endpoint-rules.md` → use when defining endpoint hierarchy in **Sections D and H**.\n- `references\u002Fevent-definition-and-timing-rules.md` → use when specifying event triggers, assessment schedules, time horizons, landmark definitions, or follow-up windows in **Sections C, D, E, and F**.\n- `references\u002Fcomposite-endpoint-rules.md` → use when considering or defining composite endpoints in **Sections E and G**.\n- `references\u002Foperationalization-and-data-capture-rules.md` → use when tying endpoints to chart fields, assays, adjudication processes, imaging, laboratory values, clinical encounters, or registry capture in **Sections F and G**.\n- `references\u002Fambiguity-and-interpretability-rules.md` → use when identifying weak endpoint wording, surrogate-risk problems, ascertainment concerns, or interpretability failures in **Sections G and H**.\n- `references\u002Foutput-section-guidance.md` → use as the formatting and content control standard for **Sections A–J**.\n- `references\u002Fworkflow-step-template.md` → use to keep the reasoning sequence aligned with the required step order.\n\nIf any output section is generated without using its corresponding reference module, the output should be treated as incomplete.\n\n---\n\n## Input Validation\n\n**Valid input:** one or more of the following:\n\n- a study objective needing endpoint design\n- a draft protocol section needing endpoint refinement\n- a primary endpoint choice that needs pressure-testing\n- a biomarker, translational, cohort, or intervention study needing operational endpoints\n- a request to define event rules, timing, or composite endpoints more clearly\n\nExamples:\n\n- \"Design the primary and secondary endpoints for a retrospective cohort of septic shock patients.\"\n- \"Help us define endpoints for a prognostic biomarker study in pancreatic cancer.\"\n- \"We need a clearer endpoint framework for immunotherapy response and survival.\"\n- \"Pressure-test this composite endpoint before we finalize the protocol.\"\n- \"Turn this study aim into auditable endpoint definitions with timing windows.\"\n\n**Out-of-scope — respond with the redirect below and stop:**\n\n- requests for patient-specific clinical outcome prediction\n- requests to adjudicate real patient events from live records\n- requests for direct treatment recommendations\n- non-biomedical endpoint work\n\n> \"This skill is designed to build protocol-stage endpoint definitions for biomedical research. Your request ([restatement]) is outside that scope because it requires [patient-specific outcome judgment \u002F live-record adjudication \u002F treatment advice \u002F non-biomedical support].\"\n\n---\n\n## Clarification-First Rule\n\nThis skill has a **mandatory clarification gate**.\n\nIf the user has **not** clearly specified enough of the following to define an operational endpoint framework, you must **ask focused follow-up questions before producing a long endpoint design**:\n\n- disease or condition\n- study type or use case\n- primary study objective\n- intervention \u002F exposure \u002F biomarker \u002F comparison context, if relevant\n- target endpoint family or likely clinical domain, if implied\n- time origin or follow-up horizon\n- key constraints on data capture, adjudication, or available measurements\n\nWhen clarification is needed:\n\n- ask concise, high-yield narrowing questions\n- explicitly state that the current request is too broad or ambiguous for reliable endpoint drafting\n- do **not** generate a long primary\u002Fsecondary\u002Fexploratory endpoint section first and patch it later\n- if necessary, offer a **minimal provisional scaffold** only after the questions, clearly labeled as provisional\n\nThis rule is mandatory. Broad, underspecified requests should trigger clarification rather than premature completion.\n\n---\n\n## Sample Triggers\n\n- \"Design primary and secondary endpoints for this study.\"\n- \"Help me define endpoints at an operational level.\"\n- \"What should be the primary endpoint here?\"\n- \"Pressure-test our composite endpoint.\"\n- \"Make these endpoint definitions protocol-ready.\"\n- \"Clarify event rules and assessment timing for this study.\"\n\n---\n\n## Core Function\n\nThis skill should:\n\n1. restate the study objective and likely endpoint context\n2. identify what is still missing for executable endpoint drafting\n3. ask clarifying questions first when objective, timing, or endpoint family is not yet specific enough\n4. translate the study objective into an endpoint hierarchy\n5. define a clinically and operationally defensible primary endpoint\n6. define secondary and exploratory endpoints with clear role separation\n7. specify event definitions, timing rules, assessment windows, and composite logic when relevant\n8. tie important endpoints to plausible capture sources such as chart fields, assays, registries, imaging, pathology, or adjudication procedures\n9. identify ambiguous, weak, surrogate-heavy, redundant, or infeasible endpoints\n10. produce an auditable endpoint framework that supports protocol writing and downstream analysis planning\n\nThis skill should **not**:\n\n- produce long generic endpoint lists when the study objective is still underspecified\n- silently assume the disease stage, treatment line, measurement schedule, or follow-up horizon if the user has not implied them clearly\n- mix primary and exploratory endpoints without hierarchy\n- select endpoints mainly because they are easy to analyze rather than scientifically and clinically aligned\n- present surrogate endpoints as clinically definitive without labeling the limitation\n- imply that the endpoint framework is final if key scope elements remain uncertain\n\n---\n\n## Supported Study Contexts\n\nThis skill can be used for:\n\n- retrospective or prospective cohort studies\n- case-control studies with outcome definition needs\n- real-world evidence studies using EHR, claims, registry, or chart-review data\n- prognostic or predictive biomarker studies\n- translational studies requiring operational endpoint framing\n- intervention-adjacent protocol design where endpoint feasibility and interpretability matter\n\nIf the study context is not explicitly stated, infer the most likely context from the user’s description, but label any such inference as an assumption.\n\n---\n\n## Decision Logic\n\n### Step 1 — Check whether clarification is mandatory\n\nUse `references\u002Fclarification-gating-rules.md` to decide whether the request is specific enough for long-form endpoint drafting. If not, ask narrowing questions first.\n\n### Step 2 — Restate the study objective and endpoint role\n\nUse `references\u002Fobjective-to-endpoint-framing-rules.md` to define what the study is trying to show and what kind of endpoints fit that objective.\n\n### Step 3 — Select and stress-test the primary endpoint\n\nUse `references\u002Fprimary-endpoint-rules.md` and `references\u002Fevent-definition-and-timing-rules.md` to choose the main endpoint and define how it will be measured.\n\n### Step 4 — Define secondary and exploratory endpoints\n\nUse `references\u002Fsecondary-and-exploratory-endpoint-rules.md` to structure the endpoint hierarchy and prevent role confusion.\n\n### Step 5 — Specify event, timing, and composite logic\n\nUse `references\u002Fevent-definition-and-timing-rules.md` and `references\u002Fcomposite-endpoint-rules.md` to define event triggers, windows, repeated assessments, and composite rules.\n\n### Step 6 — Operationalize endpoint capture\n\nUse `references\u002Foperationalization-and-data-capture-rules.md` to map major endpoints to feasible data sources, chart fields, adjudication pathways, or assay evidence.\n\n### Step 7 — Pressure-test ambiguity and interpretability\n\nUse `references\u002Fambiguity-and-interpretability-rules.md` to identify endpoints that are vague, clinically weak, surrogate-heavy, poorly captured, or likely to be misread.\n\n### Step 8 — Produce an auditable endpoint framework\n\nUse `references\u002Foutput-section-guidance.md` to produce a structured final output with executable endpoint definitions and critical review notes.\n\n---\n\n## Mandatory Output Structure\n\nWhen sufficient detail exists to draft the framework, always output the following sections.\n\n### A. Study Restatement and Endpoint Scope\n\nBriefly restate the likely study type, study objective, endpoint context, and any assumptions you had to make.\n\n### B. Endpoint Strategy Summary\n\nState the endpoint hierarchy logic: what the primary endpoint is meant to capture, what the secondary endpoints extend, and what exploratory endpoints are appropriate.\n\n### C. Proposed Primary Endpoint\n\nDefine the primary endpoint in clear, protocol-ready language.\n\n### D. Proposed Secondary and Exploratory Endpoints\n\nList secondary endpoints first, then exploratory endpoints, with clear role separation.\n\n### E. Event Definitions, Assessment Timing, and Follow-Up Windows\n\nState the operational timing logic, event triggers, evaluation schedule, baseline\u002Freference time, and any landmark or repeated-measurement rules.\n\n### F. Composite Endpoint Rules\n\nIf a composite endpoint is used or being considered, specify its components, precedence logic, first-event rule, handling of heterogeneous severity, and reasons for or against using it.\n\n### G. Operationalization Table\n\nUse a table with columns such as:\n\n- endpoint\n- endpoint class (primary \u002F secondary \u002F exploratory)\n- event definition or measurement rule\n- assessment timing \u002F window\n- operational capture source\n- ambiguity \u002F feasibility note\n\nThis table is strongly recommended whenever the endpoints must be mapped to chart review, EHR extraction, assay workflows, or auditable adjudication.\n\n### H. Bias, Interpretability, and Feasibility Review\n\nIdentify vague endpoint wording, surrogate-risk problems, ascertainment bias risk, competing interpretation issues, data-capture weaknesses, and endpoint hierarchy problems.\n\n### I. Minimal Clarifications Still Needed\n\nIf important scope elements remain uncertain, list the minimum additional questions required to finalize the endpoints.\n\n### J. Final Endpoint Draft Status\n\nLabel the current draft as one of:\n\n- **provisional — major clarification still needed**\n- **workable draft — usable with minor clarification**\n- **operational draft — ready for protocol use and downstream analysis planning**\n\n---\n\n## Formatting Expectations\n\n- Use concise biomedical protocol language.\n- Prefer numbered endpoint definitions for primary and secondary sections.\n- Use tables when mapping endpoints to operational capture or ambiguity review.\n- Explicitly label assumptions instead of hiding them.\n- Distinguish what is executable now from what still needs clarification.\n- If the request is underspecified, ask targeted questions before long output.\n- Do not inflate the response with generic endpoint boilerplate.\n\n---\n\n## Hard Rules\n\n1. **Clarification before completion when endpoint scope is underspecified.** If the disease context, objective, endpoint family, time origin, or follow-up horizon is too vague for executable endpoint design, ask narrowing questions first.\n2. **Do not silently invent endpoint context.** Do not assume stage, therapy line, measurement schedule, data source, visit frequency, radiology cadence, assay timing, or follow-up horizon unless the user provided them or they are strongly implied.\n3. **Primary endpoint must match the study objective.** Do not choose a primary endpoint just because it is common, statistically convenient, or easy to measure.\n4. **Do not mix baseline variables with endpoints.** Baseline predictors, stratification variables, exposure definitions, and eligibility rules are not endpoints.\n5. **Every major endpoint must be operationalizable.** If an endpoint cannot plausibly be captured from chart fields, adjudication logic, assays, imaging, registry records, or explicit study procedures, label it as weakly operationalized.\n6. **Do not treat surrogates as self-validating.** Biomarker change, imaging shift, or laboratory change must not be presented as clinically definitive without stating the interpretability limitation.\n7. **Composite endpoints require explicit justification.** Do not combine heterogeneous events merely to increase event count. The components must be clinically coherent and operationally defensible.\n8. **Do not hide ascertainment problems.** If the endpoint is vulnerable to missing follow-up, irregular assessment timing, inconsistent adjudication, or differential capture, say so clearly.\n9. **Do not overpopulate the endpoint hierarchy.** Secondary and exploratory endpoints should extend the study objective, not function as an uncurated list of interesting measures.\n10. **Do not fabricate literature, guideline backing, event rates, validation status, assay performance, or data-field availability.** If these are unknown, mark them as unverified rather than implying confirmation.\n11. **Separate clinical meaning from analytical convenience.** Endpoints that are easy to code but weak in clinical meaning must be labeled as such.\n12. **Include a self-critical endpoint review.** State the weakest endpoint choice, the most ambiguity-prone definition, the most capture-dependent endpoint, the endpoint most likely to be challenged by reviewers, and the cleanest fallback if the current primary endpoint proves infeasible.\n\n---\n\n## What This Skill Should Not Do\n\nThis skill should not:\n\n- write an entire protocol\n- choose statistical models in detail unless endpoint design requires a brief note\n- provide patient-specific outcome judgment\n- adjudicate real live clinical events\n- pretend that endpoint design is final when key framing information is missing\n- collapse clinical, translational, biomarker, and exploratory objectives into one undifferentiated endpoint set\n\n---\n\n## Quality Standard\n\nA high-quality output from this skill:\n\n- is tightly aligned with the user’s actual study objective\n- uses endpoint language that is operational, auditable, and clinically interpretable\n- clearly separates primary, secondary, and exploratory roles\n- specifies event triggers and timing rules explicitly\n- flags surrogate, feasibility, ascertainment, and ambiguity risks rather than hiding them\n- asks clarifying questions before long output when the scope is not yet precise enough\n- leaves the user with a framework that can be directly refined into protocol text and downstream analysis planning\n",{"name":5,"author":24,"license":15,"description":7},"AIPOCH","main","e0956dc9606356ab78468936b502e55a365282e2","specialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer",0,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists","https:\u002F\u002Fgithub.com\u002Fmrsonord2240","2026-10-12 03:19:04",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mrsonord2240\u002Fopenscience-specialists --skill endpoint-definition-designer",{"tool":38,"command":39},"bunx","bunx skills add mrsonord2240\u002Fopenscience-specialists --skill endpoint-definition-designer",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mrsonord2240\u002Fopenscience-specialists --skill endpoint-definition-designer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fambiguity-and-interpretability-rules.md","REFERENCE","参考文档",389,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fambiguity-and-interpretability-rules.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fclarification-gating-rules.md",497,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fclarification-gating-rules.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcomposite-endpoint-rules.md",375,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fcomposite-endpoint-rules.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fevent-definition-and-timing-rules.md",328,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fevent-definition-and-timing-rules.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fobjective-to-endpoint-framing-rules.md",577,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fobjective-to-endpoint-framing-rules.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Foperationalization-and-data-capture-rules.md",413,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Foperationalization-and-data-capture-rules.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Foutput-section-guidance.md",508,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Foutput-section-guidance.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fprimary-endpoint-rules.md",428,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fprimary-endpoint-rules.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fsecondary-and-exploratory-endpoint-rules.md",435,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fsecondary-and-exploratory-endpoint-rules.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fworkflow-step-template.md",408,"https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialist-src\u002Fpublished-skills\u002Fendpoint-definition-designer\u002Freferences\u002Fworkflow-step-template.md",[89,97,104,111,118,125],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7CW36A6QAGWFE2C008M1XPG","bio-workflows-metabolomics-pipeline","Orchestrates the untargeted LC-MS metabolomics pipeline end-to-end (xcms 4.x feature extraction, QC\u002Fdrift\u002Fnormalization, confidence-stratified annotation, permutation-validated statistics, background-aware pathway mapping), naming what each stage decides and where it silently fails. Use when running a full LC-MS metabolomics study from raw mzML to enriched pathways and needing the honest handoffs between stages. Each stage defers to its component skill for parameters and traps; for stable-isotope flux (a separate branch, not this untargeted flow) see metabolomics\u002Fisotope-tracing.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-workflows-metabolomics-pipeline\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7CW2Y18623NA2S1Y30FRQW1","bio-metabolomics-xcms-preprocessing","Programmatic untargeted LC-MS feature extraction in R with the modern xcms 4.x MsExperiment\u002FXcmsExperiment API, taking raw mzML to a feature table via CentWave peak detection, retention-time alignment, peak-density correspondence, gap-filling, CAMERA redundancy collapse, and built-in QC feature filtering. Use when converting centroided LC-MS runs into a features-by-samples matrix and deciding centWave\u002Fgrouping\u002Falignment parameters. For drift correction and QC\u002FCV filtering execution see metabolomics\u002Fnormalization-qc; for metabolite identification see metabolomics\u002Fmetabolite-annotation; for the MS-DIAL GUI alternative with MS2Dec deconvolution see metabolomics\u002Fmsdial-preprocessing; for downstream statistics see metabolomics\u002Fstatistical-analysis.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-xcms-preprocessing\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7CW2M364HVWPNQEKE2WP4PP","bio-metabolomics-statistical-analysis","Decision-grade statistical analysis for metabolomics intensity tables. Covers transformation and scaling (Pareto vs unit-variance as a hidden hypothesis), unsupervised structure (PCA\u002FHCA for QC), permutation-validated PLS-DA\u002FOPLS-DA (R2 vs Q2, double CV, VIP as heuristic), univariate testing (Welch\u002FMann-Whitney\u002FANOVA\u002FLMM with covariate adjustment), and dependence-aware multiple testing. Use when testing which metabolites differ, building or validating a discriminant model, choosing a scaling, or correcting many correlated tests. For sample-wise normalization\u002Fdrift correction see metabolomics\u002Fnormalization-qc; for ML classifiers and selection-inside-CV leakage see machine-learning\u002Fbiomarker-discovery and machine-learning\u002Fmodel-validation; for pathway interpretation see metabolomics\u002Fpathway-mapping; for design\u002Fpower\u002Fmultiplicity regime see experimental-design\u002Fmultiple-testing.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-statistical-analysis\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7CW2BCBF851WYE03Z8XPEDQ","bio-metabolomics-pathway-mapping","Maps metabolomics results to biological pathways via over-representation (ORA), metabolite-set enrichment (MSEA\u002FQEA), mummichog\u002FPSEA on raw m\u002Fz peaks, and network-diffusion enrichment (FELLA), with correct background-set construction and honest interpretive ceilings. Use when interpreting differential metabolites or an untargeted LC-MS feature table in pathway context, choosing ORA vs MSEA vs mummichog vs topology, or setting the reference\u002Fbackground set. For annotation confidence levels feeding ORA see metabolomics\u002Fmetabolite-annotation; for gene-set concepts see pathway-analysis\u002Fgo-enrichment and pathway-analysis\u002Fgsea; for joint gene+metabolite pathways see multi-omics-integration\u002Fmofa-integration.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-pathway-mapping\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7CW21NSZMCPMF7D9CHJM718","bio-metabolomics-normalization-qc","Designs QC, corrects signal drift, removes batch effects, filters features, normalizes samples, and imputes missing values for untargeted LC-MS\u002FGC-MS metabolomics, framing each step as a measurement model that can create or erase biological signal. Use when processing a peak\u002Ffeature table before statistical analysis, choosing a drift-correction or sample-normalization method, deciding QC RSD vs D-ratio filtering, or handling left-censored missing values. The feature table is produced by metabolomics\u002Fxcms-preprocessing or metabolomics\u002Fmsdial-preprocessing; transformation\u002Fscaling for modeling defers to metabolomics\u002Fstatistical-analysis; cross-study design issues link to experimental-design\u002Fbatch-design.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-normalization-qc\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M7CW1SWVM0NYHVE6Q7MA3G7R","bio-metabolomics-msdial-preprocessing","Runs the MS-DIAL preprocessing workflow (peak picking, MS2Dec spectral deconvolution, alignment, gap-filling) and imports the alignment-result table into R or Python with honest filtering. Use when preprocessing LC-MS DDA\u002FDIA (SWATH) or GC-MS raw data with MS-DIAL, deciding MS-DIAL vs XCMS, configuring the MSDIALCUI console run, or parsing an MS-DIAL export into a clean feature matrix. For programmatic R peak detection and the feature-table-as-artifact framing see metabolomics\u002Fxcms-preprocessing; for lipid annotation mode see metabolomics\u002Flipidomics; for MSI-level confidence honesty see metabolomics\u002Fmetabolite-annotation; for drift correction and QC see metabolomics\u002Fnormalization-qc.","https:\u002F\u002Fgithub.com\u002Fmrsonord2240\u002Fopenscience-specialists\u002Fblob\u002Fmain\u002Fspecialists\u002Funtargeted-metabolomics-analyst\u002Fversions\u002F1.0.0\u002Fpackage\u002Fskills\u002Fbio-metabolomics-msdial-preprocessing\u002FSKILL.md",[],[]]