quartz-remove-drafts-customization

Customize Quartz filters to exclude Markdown drafts without status markers.

2|7|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/humanerd-drew/opencode-drewgent --skill quartz-remove-drafts-customization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quartz-remove-drafts-customization
Source: https://github.com/humanerd-drew/opencode-drewgent/tree/main/skills/quartz-remove-drafts-customization
Command: npx skills add https://github.com/humanerd-drew/opencode-drewgent --skill quartz-remove-drafts-customization

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the issue of draft status recognition in the Quartz build system, preventing drafts from being published to the site and hardening default draft settings.

Core Features & Use Cases

  • Fix draft status recognition: Customizes the Quartz filter to recognize various draft status markers, ensuring drafts are not published.
  • Harden default draft settings: Implements a strict mode that excludes drafts without a status field, enhancing content pipeline security.
  • Use Case: For Quartz users who want to ensure that drafts are not published to their site and to strengthen their content pipeline security.

Quick Start

Apply the quartz-remove-drafts-customization skill to your Quartz build configuration.

Frequently Asked Questions about quartz-remove-drafts-customization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why are my draft Markdown files still showing up in my Quartz site build?

Draft Markdown files appear in Quartz builds when the content filter fails to recognize various draft status markers in frontmatter. Customizing the Quartz filter configuration properly identifies these markers and excludes draft content from the published site.

How do I configure Quartz to exclude drafts without a status field?

To exclude drafts without a status field in Quartz, apply strict mode customization to the build configuration that hardens default settings. This modifies the Quartz filter to treat any Markdown file lacking an explicit status field as a draft, preventing accidental publication.

What is the best way to prevent unpublished drafts from going live in a Quartz content pipeline?

The best way to secure a Quartz content pipeline is customizing the build system's filter and configuration files to recognize draft status markers and enforce strict default exclusion. This hardens content pipeline security by ensuring only explicitly published content reaches the site.

Can I use Quartz draft status recognition with my existing Obsidian content workflow?

Yes, Quartz draft status recognition works with Obsidian content workflows by processing Markdown frontmatter markers during the build. The customization modifies Quartz filter scripts to parse Obsidian's draft status fields and exclude unpublished notes from the generated site.

Does excluding drafts in Quartz require modifying configuration files and build scripts?

Yes, excluding drafts in Quartz requires modifications to both the Quartz filter scripts and site configuration files. These changes customize the build system's content processing logic to recognize status markers and enforce strict draft exclusion rules.

What happens to Markdown files with missing status fields during a Quartz build?

During a Quartz build, Markdown files with missing status fields are excluded from publication when strict mode is enabled. This hardening of default draft settings ensures that unmarked content is treated as drafts, preventing incomplete notes from accidentally reaching the live site.