mock-tlg-generator

Generate mock TLG shells from trial metadata JSON into a Markdown package.

35|9|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Appsilon/mediforce --skill mock-tlg-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mock-tlg-generator
Source: https://github.com/Appsilon/mediforce/tree/main/apps/protocol-to-tfl/plugins/protocol-to-tfl/skills/mock-tlg-generator
Command: npx skills add https://github.com/Appsilon/mediforce --skill mock-tlg-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of standardized mock TLG shells from trial metadata to streamline CSR development and review.

Core Features & Use Cases

  • Reads trial metadata JSON produced by trial-metadata-extractor.
  • Generates complete Table, Listing, and Figure shells aligned to ICH E3 conventions and phase catalogs.
  • Produces a single Markdown package with per-TLG structure and references, ready for programmer handoff.
  • Use Case: When SAP defines a TLG scope but you need a ready-to-implement skeleton for quick CSR assembly.

Quick Start

Provide the trial metadata JSON (output from trial-metadata-extractor) to generate the mock TLG shells for your CSR.

Frequently Asked Questions about mock-tlg-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate mock TLG shells from clinical trial metadata?

Mock TLG shells are standardized empty frameworks for tables, listings, and figures used in clinical study reports. They provide a ready-to-implement skeleton that programmers use to map out data structures before actual analysis data is available.

Do I need a trial-metadata-extractor output to create CSR table and figure shells?

Yes, you need the trial metadata JSON produced by the trial-metadata-extractor to create CSR table and figure shells. This JSON input provides the trial parameters that the generator uses to align the shells with phase-specific catalogs.

Can I create mock TLG shells across different clinical trial phases and therapeutic areas?

You can create mock TLG shells across different clinical trial phases and therapeutic areas. The tool consults phase-specific TLG catalogs and shell templates from its references directory to generate a full set of shells tailored to your trial context.

What is the best way to automate CSR preparation using biostatistics templates?

The best way to automate CSR preparation is by generating a comprehensive Markdown package of mock TLG shells from trial metadata. This produces a structured, ready-to-implement skeleton aligned with ICH E3 conventions for quick programmer handoff.

What format are the generated mock trial shells output in for programmer handoff?

The generated mock trial shells are output as a single Markdown package. This file contains the per-TLG structure and references for the study, saved at outputs/{study-folder}/{study_id}-mock-tlg-shells.md for immediate programmer handoff.