medium-articlelisted
Install: claude install-skill hcussi/claude-code-toolkit
# medium-article
Write a Medium-style article from an implemented `PLAN.md` and stage it on Medium
as a **draft**. The article's code and config are lifted from the real
implementation, the voice is calibrated from the author's own example posts, and
publishing is deliberately **draft-only** with the human logging in.
Like `ui-iterate`, this is a **human-in-the-loop skill**, not a one-shot agent:
it pauses for the user's review of the draft and for the user's manual Medium
login. It bundles two references:
- `references/article-style-rubric.md`: how to extract a style guide from example
articles, and the structure and voice to target.
- `references/medium-publish-playbook.md`: the Playwright, draft-only, human-in-
the-loop publishing playbook (login polling, editor tactics, image upload, the
never-publish rule, and the import-from-URL fallback).
## Argument
One argument: the path to the **implemented** `PLAN.md` (for example
`$ARGUMENTS`). If missing, ask for it. Absolutize it before reading.
## Guardrails (read first)
- **Draft only. Never publish.** The flow stops at a Medium draft; the user
reviews formatting and clicks Publish themselves.
- **The user logs in; you never handle credentials.** Hand control over for
login and poll for a logged-in signal (see the playbook). Never script auth.
- **Code and config are lifted from the real implementation**, never invented.
If you cannot find a snippet in the repo, do not write it as fact.
- **No em dashes** an