writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
palantir-multi-env-setupConfigure development, test, and production Foundry environments using spaces, DevOps products, Marketplace installations, and explicit parameters. Use when release-managing workflows across environments. Trigger with "Foundry environments" or "Palantir dev test prod".
Independent GitHub snapshot · Automated classification · Original documentation governs
Represent long-lived environments with Foundry spaces and promote versioned products through DevOps and Marketplace. Use Global Branching for isolated changes within an environment, not as a substitute for every long-lived environment boundary.
references/official-docs.md and inspect the current product dependency and parameter contracts.Give each environment an appropriately restricted OAuth application or mapped Developer Console application according to the supported product contract. Do not copy production client secrets into development or embed environment credentials in packaged source.
Define each environment as a space with owners, security policy, external integration boundary, approval workflow, and recovery objective.
Package the workflow into bounded DevOps products with explicit inputs, outputs, dependencies, and parameter contracts.
Install upstream products before downstream dependents in test, resolving every input from the matching environment.
Verify parameter remapping, OAuth/restrictions, Ontology references, markings, schedules, and external endpoints.
Promote an immutable product version through the approved release channel and test downgrade or prior-version rollback.
Space owners approve environment membership; product owners approve versions and dependencies; security/data owners approve environment-specific controls; production owners approve installation, channel, lock, and maintenance-window changes.
An environment matrix, product/dependency graph, parameter and secret map, installation order, release-channel policy, test results, promotion receipt, drift report, and rollback version.
| Condition | Response |
|---|---|
| A dependency resolves across environments | Stop installation and bind it to the corresponding target-space product or resource. |
| A packaged application retains source parameters | Correct supported remapping or parameterization before promotion. |
| Security differs unintentionally | Block the release and reconcile roles, mandatory controls, restrictions, and external integrations. |
| Rollback dependencies are unavailable | Keep the current version locked and restore the dependency chain before proceeding. |
Create Development, Test, and Production spaces, package an upstream data product and downstream application product, and verify same-environment dependency binding before promotion.
Install a Developer Console application through Marketplace, confirm Foundry URL and OAuth parameters map to test, verify Ontology API-name handling, then promote the same product version.