Procore multi env setup
Skill jeremylongshore/claude-code-plugins-plus-skills/skills/.curated/procore-multi-env-setup
425 plugins, 2,810 skills, 200 agents for Claude Code. Open-source marketplace at tonsofskills.com with the ccpi CLI package manager.
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill procore-multi-env-setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Procore multi env setup \u2014 construction management platform integration. \ Use when working with Procore API for project management, RFIs, or submittals. \ Trigger with phrases like "procore multi env setup", "procore-multi-env-setup"\ .
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.8 KB, as published. Nobody here has run it
Procore Multi Env Setup
Overview
Implementation patterns for Procore multi env setup using the REST API with OAuth2 authentication.
Prerequisites
- Completed
procore-install-authsetup
Instructions
Step 1: API Call Pattern
import os, requests
token_resp = requests.post("https://login.procore.com/oauth/token", data={
"grant_type": "client_credentials",
"client_id": os.environ["PROCORE_CLIENT_ID"],
"client_secret": os.environ["PROCORE_CLIENT_SECRET"],
})
access_token = token_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {access_token}"}
companies = requests.get("https://api.procore.com/rest/v1.0/companies", headers=headers)
print(f"Companies: {len(companies.json())}")
Output
- Procore API integration for multi env setup
Error Handling
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Expired token | Re-authenticate |
| 429 Rate Limited | Too many requests | Implement backoff |
| 403 Forbidden | Insufficient permissions | Check project role |
Resources
Next Steps
See related Procore skills for more workflows.