/platty-mcp:notion-publishfrom platty-mcp
Publishes confirmed BA documents (JTBD, PRD, user experience) to Notion via REST API. Creates a bundle page with native Notion sub-pages.
Ships in platty-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run when the planner asks to put the BA documents in Notion. The documents must already be confirmed; publishing a draft is refused — say which stage is unconfirmed instead.
All Notion calls go through python3 scripts/notion_api.py, which uses a Notion connection
token. It reads NOTION_API_TOKEN (required) and PLATTY_BA_NOTION_HOME_DATA_SOURCE
(optional) from the environment, then from the local settings file
~/.config/platty-mcp/ba.env (PLATTY_BA_ENV_FILE overrides the path). Every command prints
one JSON object; on failure it prints error, status, and a hint.
python3 scripts/notion_api.py check
error: no NOTION_API_TOKEN … → tell the planner that the settings file is missing and stop.status: 401 → the token is invalid or revoked; tell the planner to ask the Notion admin.home_data_source shows where task pages live when it is configured.The connection can only see pages shared with it, and it cannot create a private or top-level page: every page it creates needs a parent page.
notion_api.py page <link>.
is_database_row: true → create the bundle as a child page of that row (not a new row).status: 404 → the page is not shared with the connection, or the link is a database or
view. Ask for a task page link; with a home data source, list at most three candidates
from notion_api.py search "<keywords>".notion_api.py search "<feature keywords>". It searches the home data source
when one is configured, otherwise the pages shared with the connection. Offer at most three
results and let the planner choose. If none fits, ask for a parent page link.Use the reading document beside each confirmed artifact: 01-jtbd/jtbd.md,
02-prd/prd.md, 03-user-experience/user-experience.md (a layout-1 case keeps them flat in
the case folder). If one is missing or older than its artifact, run
session.py render-docs <case> (platty-mcp-ba-assistant/scripts/session.py); it changes
no artifact.
Convert each: python3 scripts/md_to_notion.py <file.md> <file.nmd>.
Apply the content rules below, editing the .nmd file.
Write the bundle page's Markdown and create it first:
notion_api.py create --parent <task page> --title "기획 문서 — <feature>" --icon 📄 --markdown-file bundle.nmd.
Then create the children with --parent <bundle id>, one call each, in order 1 → 2 → 3,
so they list in reading order:
| Order | Title | Icon | Source |
|---|---|---|---|
| 1 | 1. JTBD — <jtbd title> | 🎯 | jtbd.md |
| 2 | 2. PRD — <prd title> | 📋 | prd.md |
| 3 | 3. 유저 스토리 — <user experience title> | 🧭 | user-experience.md |
Before sending a child, scan its text for anything the converter could not know: bracket labels followed by parentheses, empty tables, local absolute paths, file paths outside inline code. Fix them in the file.
A purple callout with the one-paragraph problem, then 「실험 한눈에 보기」 bullets (arms, assignment, success, fail line, preconditions), then 원본 (the case path inside the repository) and a note that these pages are copies. Notion-flavored Markdown indents callout children with one tab:
<callout icon="💡" color="purple_bg">
<one-paragraph problem>
</callout>
color="gray_bg"): 확정 날짜, the repository
path of the original, status.user_stories.md of another item.`02-prd/prd.md`). Notion turns a
bare file name such as prd.md into a web link (http://prd.md). Never publish a local
absolute path.docs (and the bundle URL
in docs_home) and rebuild it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub paradigmshift-labs/platty --plugin platty-mcp24 skills in this plugin
/heroines-low-fi-wireframesUse when turning a Heroines FSD or confirmed screen behavior into a low fidelity wireframe, reviewing its visual hierarchy, or adding interactions to that wireframe./ba-interviewOrchestrate a BA interview through JTBD, PRD, user experience, storyboard and Notion delivery, screen behavior, and verified wireframes. Use to start or resume an interview; it routes to exactly one current stage./design-pack-editChange what the Heroines design knowledge pack contains — tokens, components, screen roles, recipe rules, principles, usability checks, reference screens — through the upstream seeds that produce it, then build and verify a new pack version. Use when a designer wants to fix, add, or remove something in the design system./design-pack-reviewRender the Heroines design knowledge pack — tokens, components, screen roles, recipe rules, principles, reference screens — as one HTML page a designer can open and judge. Use when someone asks to see, review, or check what the design system currently contains./wireframeAuthor and verify Heroines design-system wireframes from confirmed screen behavior using the design pipeline harness, then export the completed wireframe to a new Figma file. Use only while the session stage is design_system_wireframe./jtbdInterview the planner for the customer's job-to-be-done and the experiences that job requires, before any PRD exists. Use only while the session stage is jtbd.Other plugins' skills for the same job