/rea-skills:platform-factoryfrom rea-skills
Builds deterministic OCI images, SBOM/provenance evidence, and hardened container or microVM runs from a compiled executable using the Platform Factory (pf) CLI. Keeps freeze lock in sync with a companion hook. Useful for reproducible OCI builds without Docker daemon.
Ships in rea-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Platform Factory (platform-factory, alias pf) is a single Go binary that turns a compiled executable into a deterministic OCI image, attaches native supply-chain evidence (SBOM, provenance, signatures, policy) and runs the result as a hardened container or a KVM/HVF microVM. No Docker daemon, BuildKit, syft or cosign is needed for the core path. It plugs into an existing stack; it does not replace Kubernetes, CI orchestrators or registries.
Full reference: the project's CLI guide. This skill covers the workflow an agent should follow and the guard hook that protects it.
.platform-factory/ directory or freeze.lock.json.pf / platform-factory commands.package-lock.json, go.sum, requirements.txt, Cargo.lock, pom.xml, ...) in a Platform Factory project.pf detect ./my-app # native executable inspection; JSON output
# Directory detection runs loaded language-plugin inspection commands.
pf init --language node . # create pf.yaml (language plugin must be loaded: pf plugin load node)
pf plan # project plan (platform-factory.dev/project-plan/v1)
pf project freeze # pin dependencies -> .platform-factory/freeze.lock.json
pf build # deterministic OCI image
pf verify .platform-factory/image # strict release gate: digests, diff_ids, platforms
pf run --runtime podman .platform-factory/image
pf diff # compare builds
pf launch --publish --yes freezes when required, builds, verifies, publishes to a registry and then starts the workload in one step, so it is an outward-facing action (see rule 7). pf sbom PATH... produces a reproducible SBOM natively.
.platform-factory/freeze.lock.json stale. Run pf project freeze, then pf build.pf verify as the gate. A build is not done until verify passes.detect, plan, freeze, or build.pf detect exits with code 2 when a directory matches several ecosystems. Pass --accept-ambiguous only when the user confirmed the choice.pf hooks (CLI/MCP callbacks) only run when PLATFORM_FACTORY_HOOKS_CONFIG points to an explicit absolute file, so a cloned repository cannot activate executables.--dry-run where available before the authorized mutation. Do not add --yes to bypass an approval the user has not given.The project ships a Claude Code plugin, platform-factory-guard, that runs next to ECC's own hooks:
| Event | Trigger | Behavior |
|---|---|---|
PostToolUse | Edit/Write/MultiEdit on a dependency manifest | Reminds you to run pf project freeze |
PreToolUse | Bash running pf build|publish|launch|deploy | Warns when a manifest is newer than the freeze lock; denies if PF_GUARD_STRICT=1 |
It never executes pf, recognizes project configuration such as pf.yaml as well as .platform-factory/, ignores the per-user plugin directory as a project marker, and fails open. Disable with PF_GUARD=off.
Install it as a plugin (requires Node.js 18+):
/plugin marketplace add CYPT71/platform-factory
/plugin install platform-factory-guard@platform-factory
# BAD: build right after changing dependencies
npm install left-pad && pf build
# GOOD: refresh the lock first
npm install left-pad && pf project freeze && pf build && pf verify .platform-factory/image
pf verify and shipping the image.--accept-ambiguous to silence exit code 2 without checking which ecosystem is intended..platform-factory/freeze.lock.json by hand instead of re-running pf project freeze.pf with a PLATFORM_FACTORY_HOOKS_CONFIG file you did not review.CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags='-s -w') so the image is small and reproducible.pf extensions list / pf extensions analyze for offline policy checks (AI, data, gateway, Kubernetes, supply-chain analyzers).pf verify as a required step and archive the SBOM and provenance.docker-patterns - container conventions when a Dockerfile is still involveddeployment-patterns - rollout and release strategieskubernetes-patterns - running the produced image on a clustersecurity-review - reviewing supply-chain and secret handlingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
oci-image, sbom, provenance, supply-chain, microvm, container-build
npx claudepluginhub smartworldarafath/rea_skill --plugin rea-skills919 skills in this plugin
/accessibilityDesign, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels, accessibility traits and hints, focus management, contrast, target size, and screen-reader support. Use when building or auditing UI for accessibility compliance, keyboard navigation, or screen-reader support./agent-architecture-auditFull-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack./7 plugins ship this exact skill · first indexed Nov 16, 2026
Other plugins' skills for the same job