palantir-local-dev-loop
Configure Palantir Foundry local development with Python transforms and testing. Use when setting up a development environment, running transforms locally, or establishing a fast iteration cycle with Foundry. Trigger with phrases like "palantir dev setup", "palantir local development", "foundry local dev", "develop with palantir". '
npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill palantir-local-dev-loop --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Palantir Local Dev Loop ## Overview Set up local development for Palantir Foundry integrations. Covers running transforms locally against sample data, mocking the Foundry API for fast iteration, and testing with pytest before pushing to Foundry. ## Prerequisites - Completed `palantir-install-auth` setup - Python 3.9+ with pip - A Foundry Code Repository cloned locally (or a standalone project) ## Instructions ### Step 1: Project Structure ``` my-foundry-project/ ├── src/myproject/ │ ├── __init__.py │ ├── pipeline.py # @transform functions │ └── utils.py # Shared logic ├── tests/ │ ├── conftest.py # Fixtures with sample DataFrames │ ├── test_pipeline.py # Transform unit tests │ └── sample_data/ # CSV/Parquet test fixtures ├── .env # FOUNDRY_HOSTNAME, FOUNDRY_TOKEN ├── requirements.txt # foundry-platform-sdk, pytest, pyspark └── pyproject.toml ``` ### Step 2: Install Local Dependencies ```bash set -euo pipefail pip install foundry-platform-sdk pyspark pytest pandas python -c "import foundry; import pyspark; print('Dependencies ready')" ``` ### Step 3: Test Transforms Locally with PySpark ```python # tests/conftest.py import pytest from pyspark.sql import SparkSession @pytest.fixtur
- Overview
- Prerequisites
- Instructions
- Step 1: Project Structure
- Step 2: Install Local Dependencies
- Step 3: Test Transforms Locally with PySpark
- Step 4: Mock Foundry API for Integration Tests
- Step 5: Run Tests
- Step 6: Live API Smoke Test (Optional)
- Output
- Error Handling
- Examples
- Watch Mode with pytest-watch
- Resources
set -euo pipefail
pip install foundry-platform-sdk pyspark pytest pandas
python -c "import foundry; import pyspark; print('Dependencies ready')"
pytest tests/ -v --tb=short
pip install pytest-watch
ptw tests/ -- -v --tb=short
Re-runs tests on every file saveWhat does the palantir-local-dev-loop skill do?
Configure Palantir Foundry local development with Python transforms and testing. Use when setting up a development environment, running transforms locally, or establishing a fast iteration cycle with Foundry. Trigger with phrases like "palantir dev setup", "palantir local development", "foundry local dev", "develop with palantir". '
How do I install it?
Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill palantir-local-dev-loop --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From jeremylongshore/claude-code-plugins-plus-skills, a repository with 2,630 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.