Skip to main content

Puddleworks Factory

@puddleworks/puddleworks-factoryv2026.10.26.3· MIT· 1d agoBEHAVIORSWORKFLOWSSKILLS
01README

Puddleworks Factory: prefill an app spec from an agreed puddleworks.dev/outcome-spec/v1, build the first draft of a swamp app from a puddleworks.dev/app-spec/v1 spec read from a file, an https URL or inline JSON, recommend whether to publish it publicly or privately, check the independent review before publishing, and report where it went as a puddleworks.dev/build-result/v1

02Release Notes

Adds an independent review before publishing: a readiness method and the @puddleworks/puddleworks-factory-readiness workflow check the review report, map each acceptance criterion to a test or manual check, and give a one-screen summary for the publish confirmation.

03Behaviors1
@puddleworks/puddleworks-factory/draftv2026.10.26.3draft.ts
fn run()
04Workflows5
@puddleworks/puddleworks-factory-buildd23122ca-0133-4c01-984c-c0b258797790

Write a first draft of a swamp app from a puddleworks.dev/app-spec/v1 spec: an extension whose run method takes the spec's inputs, tests for it, a workflow with the same inputs, the publish manifest, README, LICENSE and a CLAUDE.md section. The spec can be a file path, an https URL or inline JSON, written by a person or another tool. Files go into the root of a checkout of the app's own repo; nothing is committed or pushed. The factory-build skill drives this end to end.

buildRead and check the spec, then write the draft. A spec that breaks the contract, or a delivery method with no workflow, writes nothing.
1.renderpuddleworks-factory.render— Write the draft files into targetDir and record them in the puddleworks-factory model's draft data.
@puddleworks/puddleworks-factory-result3d1712da-b0e9-4aa6-973d-43eed007cfa6

Write a puddleworks.dev/build-result/v1 for the last draft of an app spec: the extension, its entry point, the repository, the branch or commit, and the pull request once there is one, and what was published. Run it after the draft is pushed, again once the pull request is open, and again once the extension is published. The result is recorded as a resource on the puddleworks-factory model and, with out, written to a JSON file that anyone can read.

resultCheck the build result against the contract, then record it. A result that breaks the contract writes nothing.
1.resultpuddleworks-factory.result— Write the build result as a puddleworks-factory resource and, with out, to a file.
@puddleworks/puddleworks-factory-prefill597030c2-af50-4ee9-882f-0a449893bd89

Write a starter puddleworks.dev/app-spec/v1 from an agreed puddleworks.dev/outcome-spec/v1. It copies what the outcome spec says (title, purpose, out of scope, who agreed it and when) and links back to where it was agreed. The app name is only a suggestion, and inputs, output, settings and delivery method are left blank for the builder; the prefill resource lists them. The starter does not pass @puddleworks/puddleworks-factory-build until they are filled in.

prefillRead and check the outcome spec, then write the starter app spec. An outcome spec that breaks the contract writes nothing.
1.prefillpuddleworks-factory.prefill— Write the starter to out and record what is left to decide in the puddleworks-factory model's prefill data.
@puddleworks/puddleworks-factory-visibility71ccc195-1e5f-4e27-b2f2-dba57ae2b972

Before publishing, check an app's repo and recommend sharing it publicly or keeping it private. A licence, a repository link and 100% quality are required for public; paths, hosts, addresses or emails that look internal, or spec wording about who the app is for, recommend private; secrets block public. The answer is recorded as a visibility resource on the puddleworks-factory model. It changes nothing: the builder decides.

visibilityRead the app repo's text files and record the recommendation.
1.visibilitypuddleworks-factory.visibility— Check the repo and write the visibility resource on the puddleworks-factory model.
@puddleworks/puddleworks-factory-readiness91bf0e0b-ff68-4b92-bf74-5f3b97396e96

After the independent review, check an app is ready to publish: the review report matches the manifest's name and version with no issue or pending verdict, every acceptance criterion in spec/ maps to tests that exist or a manual check (spec/acceptance.json), and the visibility check allows the manifest's visibility. The answer, with a one-screen summary to confirm publishing against, is recorded as a readiness resource on the puddleworks-factory model. It changes nothing.

readinessRead the app repo, its review report and the visibility check, and record whether it is ready to publish.
1.readinesspuddleworks-factory.readiness— Check the review and the acceptance criteria and write the readiness resource on the puddleworks-factory model.
05Skills1
factory-build1 file
06Previous Versions1
2026.10.23.1MIT
07Stats
A
100 / 100
Downloads
4
Archive size
71.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
08Platforms
09Labels