Publish Draft

Use when the user wants to publish a prepared article draft from this repository to WordPress. This skill validates that metadata exists and then calls the WordPress publisher module.

pa4uslf c2fc8bc 904 B Updated

File contents

Publish Draft

Publish a prepared article to WordPress through the existing publisher module.

Preconditions

Before publishing, verify:

  • The article file exists
  • The draft has usable metadata
  • WordPress credentials are configured
  • The article has already passed the optimize flow

Command

.venv/bin/python data_sources/modules/wordpress_publisher.py <article-file>

If the user wants a page or custom post type, use the publisher module's --type flag.

Codex-Specific Notes

  • The Codex version uses the same publisher module as the original project.
  • Publishing should be explicit and user-directed. Do not publish automatically after writing.

pa4uslf/Migrationed_skills/tree/main/projects/seomachine-codex/skills/publish-draft commit c2fc8bcc3d

Frequently asked questions

npx skillmds@latest add pa4uslf/publish-draft