{"version":"2.1.280","anchor":"new-artifacts-preview-action-documented","canonical_anchor":"new-artifacts-preview-action-documented","heading":"New Artifacts 'preview' action documented","tier":"use","area":"Artifacts","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/new-artifacts-preview-action-documented","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### New Artifacts 'preview' action documented\n\nArtifacts gains a preview action that renders a single page locally with screenshots before publishing\n\n**What**\n\nThe Artifacts tool now documents a `preview` action. Given a `file_path` pointing at a page file, it renders that one file locally the same way `publish` would wrap it, and returns:\n\n- Screenshots in both light and dark themes\n\n- Screenshots at desktop and phone widths\n\n- A checklist noting any layout or load problems found\n\nThis happens before publishing, and it does not need an artifact URL or the artifact runtime, so any capability code in the file does not actually run during preview.\n\n**Why**\n\nThis lets a page be checked for how it looks and whether it loads cleanly across themes and screen sizes before it goes live as a published artifact, without wiring up a real runtime environment first.\n\n- Area: Artifacts\n- Names: `preview`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}