diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json deleted file mode 100644 index a02d372d..00000000 --- a/.claude-plugin/marketplace.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "name": "scientific-agent-skills", - "owner": { - "name": "K-Dense Inc.", - "email": "contact@k-dense.ai" - }, - "metadata": { - "description": "Scientific agent skills from K-Dense Inc", - "version": "2.34.2" - }, - "plugins": [ - { - "name": "scientific-skills", - "description": "Collection of scientific skills", - "source": "./", - "strict": false, - "skills": [ - "./scientific-skills/adaptyv", - "./scientific-skills/aeon", - "./scientific-skills/anndata", - "./scientific-skills/arboreto", - "./scientific-skills/astropy", - "./scientific-skills/benchling-integration", - "./scientific-skills/bgpt-paper-search", - "./scientific-skills/biopython", - "./scientific-skills/bioservices", - "./scientific-skills/cellxgene-census", - "./scientific-skills/cirq", - "./scientific-skills/citation-management", - "./scientific-skills/clinical-decision-support", - "./scientific-skills/clinical-reports", - "./scientific-skills/cobrapy", - "./scientific-skills/consciousness-council", - "./scientific-skills/dask", - "./scientific-skills/database-lookup", - "./scientific-skills/datamol", - "./scientific-skills/deepchem", - "./scientific-skills/deeptools", - "./scientific-skills/depmap", - "./scientific-skills/dhdna-profiler", - "./scientific-skills/diffdock", - "./scientific-skills/dnanexus-integration", - "./scientific-skills/docx", - "./scientific-skills/esm", - "./scientific-skills/etetoolkit", - "./scientific-skills/exploratory-data-analysis", - "./scientific-skills/flowio", - "./scientific-skills/fluidsim", - "./scientific-skills/generate-image", - "./scientific-skills/geniml", - "./scientific-skills/geomaster", - "./scientific-skills/geopandas", - "./scientific-skills/get-available-resources", - "./scientific-skills/gget", - "./scientific-skills/ginkgo-cloud-lab", - "./scientific-skills/glycoengineering", - "./scientific-skills/gtars", - "./scientific-skills/histolab", - "./scientific-skills/hypogenic", - "./scientific-skills/hypothesis-generation", - "./scientific-skills/imaging-data-commons", - "./scientific-skills/infographics", - "./scientific-skills/iso-13485-certification", - "./scientific-skills/labarchive-integration", - "./scientific-skills/lamindb", - "./scientific-skills/latchbio-integration", - "./scientific-skills/latex-posters", - "./scientific-skills/literature-review", - "./scientific-skills/markdown-mermaid-writing", - "./scientific-skills/market-research-reports", - "./scientific-skills/markitdown", - "./scientific-skills/matchms", - "./scientific-skills/matlab", - "./scientific-skills/matplotlib", - "./scientific-skills/medchem", - "./scientific-skills/modal", - "./scientific-skills/molecular-dynamics", - "./scientific-skills/molfeat", - "./scientific-skills/networkx", - "./scientific-skills/neurokit2", - "./scientific-skills/neuropixels-analysis", - "./scientific-skills/omero-integration", - "./scientific-skills/open-notebook", - "./scientific-skills/optimize-for-gpu", - "./scientific-skills/opentrons-integration", - "./scientific-skills/paper-lookup", - "./scientific-skills/parallel-web", - "./scientific-skills/pathml", - "./scientific-skills/pdf", - "./scientific-skills/peer-review", - "./scientific-skills/pennylane", - "./scientific-skills/perplexity-search", - "./scientific-skills/phylogenetics", - "./scientific-skills/polars", - "./scientific-skills/polars-bio", - "./scientific-skills/pptx", - "./scientific-skills/pptx-posters", - "./scientific-skills/primekg", - "./scientific-skills/protocolsio-integration", - "./scientific-skills/pufferlib", - "./scientific-skills/pydeseq2", - "./scientific-skills/pydicom", - "./scientific-skills/pyhealth", - "./scientific-skills/pylabrobot", - "./scientific-skills/pymatgen", - "./scientific-skills/pymc", - "./scientific-skills/pymoo", - "./scientific-skills/pyopenms", - "./scientific-skills/pysam", - "./scientific-skills/pytdc", - "./scientific-skills/pytorch-lightning", - "./scientific-skills/pyzotero", - "./scientific-skills/qiskit", - "./scientific-skills/qutip", - "./scientific-skills/rdkit", - "./scientific-skills/research-grants", - "./scientific-skills/research-lookup", - "./scientific-skills/rowan", - "./scientific-skills/scanpy", - "./scientific-skills/scholar-evaluation", - "./scientific-skills/scikit-bio", - "./scientific-skills/scikit-learn", - "./scientific-skills/scikit-survival", - "./scientific-skills/scientific-brainstorming", - "./scientific-skills/scientific-critical-thinking", - "./scientific-skills/scientific-schematics", - "./scientific-skills/scientific-slides", - "./scientific-skills/scientific-visualization", - "./scientific-skills/scientific-writing", - "./scientific-skills/scvelo", - "./scientific-skills/scvi-tools", - "./scientific-skills/seaborn", - "./scientific-skills/shap", - "./scientific-skills/simpy", - "./scientific-skills/stable-baselines3", - "./scientific-skills/statistical-analysis", - "./scientific-skills/statsmodels", - "./scientific-skills/sympy", - "./scientific-skills/tiledbvcf", - "./scientific-skills/timesfm-forecasting", - "./scientific-skills/torch-geometric", - "./scientific-skills/torchdrug", - "./scientific-skills/transformers", - "./scientific-skills/treatment-plans", - "./scientific-skills/umap-learn", - "./scientific-skills/usfiscaldata", - "./scientific-skills/vaex", - "./scientific-skills/venue-templates", - "./scientific-skills/what-if-oracle", - "./scientific-skills/xlsx", - "./scientific-skills/zarr-python" - ] - } - ] -} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5743dfc..4cbed374 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: branches: - main paths: - - '.claude-plugin/marketplace.json' + - 'pyproject.toml' workflow_dispatch: permissions: @@ -21,10 +21,10 @@ jobs: with: fetch-depth: 0 # Fetch all history for release notes - - name: Extract version from marketplace.json + - name: Extract version from pyproject.toml id: get_version run: | - VERSION=$(jq -r '.metadata.version' .claude-plugin/marketplace.json) + VERSION=$(grep '^version' pyproject.toml | head -1 | sed 's/.*"\(.*\)".*/\1/') echo "version=$VERSION" >> $GITHUB_OUTPUT echo "tag=v$VERSION" >> $GITHUB_OUTPUT echo "Extracted version: $VERSION" diff --git a/pyproject.toml b/pyproject.toml index 6a9522d3..d925f53e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "scientific-agent-skills" -version = "0.1.0" -description = "Add your description here" +version = "2.34.2" +description = "A set of ready to use Agent Skills for research, science, engineering, analysis, finance and writing." readme = "README.md" requires-python = ">=3.13" dependencies = [ diff --git a/scientific-skills/open-notebook/scripts/test_open_notebook_skill.py b/scientific-skills/open-notebook/scripts/test_open_notebook_skill.py index 41fd46e3..8ee14e7f 100644 --- a/scientific-skills/open-notebook/scripts/test_open_notebook_skill.py +++ b/scientific-skills/open-notebook/scripts/test_open_notebook_skill.py @@ -20,7 +20,7 @@ REPO_ROOT = os.path.dirname(os.path.dirname(SKILL_DIR)) REFERENCES_DIR = os.path.join(SKILL_DIR, "references") SCRIPTS_DIR = SCRIPT_DIR SKILL_MD = os.path.join(SKILL_DIR, "SKILL.md") -MARKETPLACE_JSON = os.path.join(REPO_ROOT, ".claude-plugin", "marketplace.json") +PYPROJECT_TOML = os.path.join(REPO_ROOT, "pyproject.toml") class TestSkillDirectoryStructure(unittest.TestCase): @@ -344,30 +344,21 @@ class TestExampleScripts(unittest.TestCase): self.assertIn("chat", content.lower()) -class TestMarketplaceJson(unittest.TestCase): - """Tests that marketplace.json includes the open-notebook skill.""" +class TestPyprojectToml(unittest.TestCase): + """Tests that pyproject.toml exists and has valid project metadata.""" @classmethod def setUpClass(cls): - with open(MARKETPLACE_JSON, "r") as f: - cls.marketplace = json.load(f) + with open(PYPROJECT_TOML, "r") as f: + cls.content = f.read() - def test_marketplace_has_open_notebook_skill(self): - """marketplace.json must list the open-notebook skill.""" - skills = self.marketplace["plugins"][0]["skills"] - skill_path = "./scientific-skills/open-notebook" - self.assertIn( - skill_path, - skills, - f"marketplace.json must include '{skill_path}' in the skills list", - ) + def test_pyproject_has_version(self): + """pyproject.toml must contain a version field.""" + self.assertIn("version", self.content) - def test_marketplace_valid_json(self): - """marketplace.json must be valid JSON with expected structure.""" - self.assertIn("plugins", self.marketplace) - self.assertIsInstance(self.marketplace["plugins"], list) - self.assertGreater(len(self.marketplace["plugins"]), 0) - self.assertIn("skills", self.marketplace["plugins"][0]) + def test_pyproject_has_project_name(self): + """pyproject.toml must contain the project name.""" + self.assertIn('name = "scientific-agent-skills"', self.content) class TestSkillMdApiEndpointCoverage(unittest.TestCase):