| name | publish-check |
| description | Run the publishing checklist for a Lablab article or tutorial before marking it as Done. Use when a draft is complete and ready to be signed off — checks all sections are written, code blocks work, images use Cloudinary, and Notion task is updated. |
| compatibility | Designed for Claude Code. Requires Notion API token in ~/.claude/settings.local.json. |
Steps
1. Identify the piece
Ask the user (if not already clear):
- Article or tutorial?
- File path of the draft (e.g.,
tutorials-and-articles/articles/monetize-llm-usdc-circle.md or tutorials-and-articles/tutorials/claude-interactive-charts/article.md)
- Notion task title (to find and update it)
2. Read the draft
Read the full draft file.
3. Run the checklist
For both articles and tutorials:
For articles only:
For tutorials only:
4. Report results
List every checklist item with a pass/fail. For any failure:
- Quote the specific line or section that has the problem
- Suggest the fix
Do not mark the piece as done if any item fails.
5. Update Notion
Once all checklist items pass:
- Fetch the Notion task by title from DB
2cab4088-66ca-4d1f-aeb9-8fe29dafb470
- Update Status →
Done
- Add a note to the Notes field:
Draft complete. File: [path]. Checked: [today's date].
6. Confirm
Report: "All checks passed. Notion task '[title]' set to Done."