4cms-env
About 4cms-env
Configure .env for working with 4cms (a client storefront on 4partners) — the FOURCMS_API_KEY key (the X-Auth-Token token for api.4partners.io), from which the site domain (FOURCMS_DOMAIN) is derived automatically via /info. Use it on the first call to 4cms, when you need to "configure 4cms", "connect a store", "add a 4cms/4partners key", on 401/403 errors from api.4partners.io, or when a 4cms-* script fails with "FOURCMS_DOMAIN not set" / "FOURCMS_API_KEY not set". Invoke via the `Skill(4cms-env)` tool, not via `Read .../SKILL.md`.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / page-craft.4partners.io --skill 4cms-envAfter installing, type/4cms-envin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
package-lock.jsonpackage.jsonreferences/setup.mdscripts/check-env.jsComments
Markdown supported