artifacts

Installation
SKILL.md

Artifacts Skill

What Is an Artifact?

An artifact is a runnable project that the agent creates for the user. It is the primary unit of output the agent delivers.

Each artifact is a workspace package under artifacts/<slug>/ in the monorepo. Calling createArtifact() runs the shared bootstrap flow for the chosen artifact type, scaffolds the project files, writes an artifact.toml with metadata, allocates service ports, and wires the artifact into .replit so it can be previewed and deployed. Dependency installation begins in the background and may still be running when createArtifact() returns.

When the user asks you to "build a website" or "create an app", you are creating an artifact. Call createArtifact() once, then continue implementation.

The workspace already includes a shared backend service. New web artifacts are primarily frontend packages and must treat previewPath as a required URL prefix for all app routes and API calls.

When to Use

Use this skill when:

  • Creating a new web application, video, or slide deck
  • Bootstrapping any new project in the monorepo
Installs
4
GitHub Stars
18
First Seen
6 days ago