Skip to content

malekokour/clinpharm-pmx-skills / skills/extract-embedded-ind-impd-cp-content

extract-embedded-ind-impd-cp-content

Verified

Locate and inventory clinical-pharmacology-relevant mechanism and ADME disclosures embedded in an IND pharmacology/drug-disposition section or the Module-4/5-shaped summaries of an IMPD. Use this skill when a clinical pharmacologist or regulatory reviewer needs a source-located IND/CTA/IMPD content inventory. Example: "Please a clinical pharmacologist or regulatory reviewer needs a source-located IND/CTA/IMPD content inventory." Do not use it to decide trial-phase adequacy, filing readiness, approvability, dose selection, or regulatory acceptance.

FileKindSize
PASTE.mdmarkdown7.9 KB
README.mdmarkdown708 B
SKILL.mdskill md7.7 KB
assets/IND-IMPD-CP-Inventory.template.mdmarkdown1.3 KB
references/review-contract.mdmarkdown1.6 KB
references/source-boundaries.mdmarkdown1.5 KB
scripts/check_ind_impd_content.pyexecutablescript4.3 KB
scripts/test_check_ind_impd_content.pyexecutablescript1.6 KB

scripts/test_check_ind_impd_content.py

View on GitHub
#!/usr/bin/env python3
"""Unit tests for the package-local IND/IMPD content inventory."""

from __future__ import annotations

import argparse
import unittest

import check_ind_impd_content as target


class ContentInventoryTests(unittest.TestCase):
    def test_complete_ind_is_green(self) -> None:
        text = (
            "Mechanism of action: stated.\nAbsorption: stated.\nDistribution: stated.\n"
            "Metabolism: stated.\nExcretion: not known.\n"
        )
        result = target.inspect(text, "IND")
        self.assertEqual(result["counts"]["items_checked"], 5)
        self.assertEqual(result["counts"]["missing_declarations"], 0)

    def test_missing_ind_excretion_is_red(self) -> None:
        text = (
            "Mechanism of action: stated.\nAbsorption: stated.\nDistribution: stated.\n"
            "Metabolism: stated.\n"
        )
        result = target.inspect(text, "IND")
        self.assertEqual(result["counts"]["missing_declarations"], 1)
        self.assertEqual(result["findings"][0]["classification"], "excretion-absent")

    def test_impd_requires_both_shapes(self) -> None:
        result = target.inspect("Module 4 non-clinical summary only.\n", "IMPD")
        self.assertEqual(result["counts"]["items_checked"], 2)
        self.assertEqual(result["findings"][0]["classification"], "module-5-shaped-clinical-summary-absent")


if __name__ == "__main__":
    parser = argparse.ArgumentParser(add_help=False)
    parser.add_argument("--help", action="store_true")
    known, remaining = parser.parse_known_args()
    if known.help:
        print(__doc__)
    else:
        unittest.main(argv=[__file__, *remaining])
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall