/pm:ui-mockups <EPIC-KEY>from Project Delivery Toolkit
Generates high-fidelity screen mockups for an existing Jira Epic, for business review and iteration (rendered PNG images, or a private Claude Design canvas when no browser is available), then writes a "User Interface Mockups" section into the Epic and advances its maturity to "UI Mockups Created". Optional Step 1.5, between `epic` and `epic-refine`.
Ships in Project Delivery Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate UI screen mockups for an existing Jira Epic. Read the Epic for context, generate and iterate the screens, then write the agreed "User Interface Mockups" section into the Epic description and advance its maturity state.
The screen-generation work itself (scanning the codebase for the design
language, settling the screen list, building each screen as HTML, rendering it
to a PNG, iterating, and assembling the section) is destination-agnostic and
lives in the shared procedure
references/mockup-core.md. This skill is the
Epic-specific wrapper around it: it supplies the Epic as context and writes the
result back to the Epic. The same core is reused by the story-from-document
skill to attach mockups to a Story.
This step is a visual, business-facing bridge between Step 1 (High Level Requirements) and Step 2 (Detailed Requirements). It does not ask technical or architectural questions beyond what is needed to make the mockups look like the real product. Those belong in Step 2.
!sh ${CLAUDE_PLUGIN_ROOT}/scripts/config.sh '${user_config.site}'
The block above holds this plugin's settings, resolved from the project file
.claude/pm.json first, then the plugin's own configuration, then built-in
defaults. A value shown as (unset) is not configured: ask the user for it at
the point it is first needed, then offer to save it to .claude/pm.json in the
project root (a flat JSON object of string values, for example
{"site": "acme.atlassian.net", "project_key": "PROJ"}) so later runs do not
ask again. If no block appears above, treat every value as unset.
Before any other Atlassian call, call mcp__atlassian__getAccessibleAtlassianResources
once.
If it returns one resource, use it. If it returns several, use the one whose
url contains site; if site is (unset), list them and ask the user
which to use.
Hold the chosen resource's id as <cloud_id>, and derive <browse_url> as
its url followed by /browse/.
If the call errors or is denied but site is set, use site as <cloud_id>
(the Jira and Confluence tools accept the site hostname as cloudId) and
browse_url from the block as <browse_url>. If site is also (unset),
ask the user for their Atlassian site hostname and use it the same way.
Stop only if a later Atlassian call fails because the tools are missing, and tell the user:
"The Atlassian MCP is not active in this session. This skill needs it to read and update the Jira Epic. Ask whoever manages your Claude Code setup to enable the official Atlassian MCP server, registered as
atlassian."
Then end your turn. Do not scan the repo, propose screens or draft anything: the Epic is the only source of what to design, and it cannot be read.
<cloud_id> resolved above<browse_url> resolved aboveApply to all generated content without exception:
[Element] - [what it is] annotation lines in the section template are the
one exception.**Epic Maturity State:** line only.Fetch the Epic whose key is $ARGUMENTS (ask for it if that is empty).
Use mcp__atlassian__getJiraIssue with responseContentFormat: markdown.
Extract and hold:
**Epic Maturity State:** line, and whether its
## User Interface Mockups section holds only a placeholder (the epic
template's optional-step line, or _No mockups were produced for this Epic._
left by epic-refine) or real content from an earlier runConfirm to the user which Epic was loaded and its current maturity state before continuing. If the maturity state is not "High Level Requirements Created", warn the user and ask whether to proceed anyway. If the section already has real mockup content (a re-run), say so and ask whether to replace it, add to it, or stop.
This Epic content is the <context> for the shared mockup procedure.
Follow the shared procedure in
references/mockup-core.md, supplying:
<context>: the Epic content extracted in Phase 1 (Objective, Context,
Scope, Success Criteria, Personas).<artifact-id>: the Epic key.<product-repo-path>: the absolute path of the current working directory
if it is the product repo for this Epic; otherwise ask the user for the path.<render-script>: ${CLAUDE_PLUGIN_ROOT}/skills/ui-mockups/scripts/render.shThe procedure scans the codebase for the design language, settles the screen
list with the user, builds each screen and shows it for iterative review, and
assembles the complete User Interface Mockups section. Screens are shown as
PNG images rendered by a local browser (Chrome, Edge, Chromium or Brave, on
macOS, Linux or Windows) or, when none is available, in a private Claude Design
canvas. When it returns, you have the assembled section markdown, a transcript of
the screen-list Q&A, and one of: a temporary directory of PNG files
(<work-dir>), a <design-url>, or neither. It does not write anything to Jira;
Phase 3 does that.
Present the assembled section to the user first, and say exactly what will be written:
"Here is the complete User Interface Mockups section. If you confirm, I will make these changes to [EPIC-KEY]: (1) add this section to the description, (2) change the maturity state line to 'UI Mockups Created', and (3) post the screen-list Q&A as a comment. Nothing has been written to Jira yet."
If the Epic's state is already later than 'UI Mockups Created' (Detailed Level Requirements Created or beyond), change item (2) to "leave the maturity state line as it is ([state])": the state only moves forward.
End your turn and wait for the user's explicit confirmation of this section.
Confirmation must come after the user has seen the mockups and this section. An earlier instruction such as "skip the review", "write it now" or "do not ask me anything" does not count, because the user cannot have approved mockups they have not seen and the section is written into the Epic description. Treat that instruction as a request to keep the review short, and still show the mockups and wait.
Apply any amendments and re-present the affected screens. Only after confirmation, execute the following actions in order.
Action 1: Update the Epic in one write
Re-fetch the Epic with mcp__atlassian__getJiraIssue right before writing,
because the description was read before a long session and may have changed. If
it differs from the Phase 1 copy, show the user what changed and confirm again.
Build the updated body from the fresh description:
## User Interface Mockups section holding only the
placeholder (added by the epic template), replace it with the assembled
section. If it holds real content from an earlier run, apply the choice the
user made in Phase 1.## Success Criteria section.**Epic Maturity State:** High Level Requirements Created with
**Epic Maturity State:** UI Mockups Created. If the line is missing, add it
as the first line of the description. If the state is already later than
'UI Mockups Created', leave the line exactly as it is.Then make a single mcp__atlassian__editJiraIssue call with:
cloudId: <cloud_id> from the cloud ID section aboveissueIdOrKey: the Epic keycontentFormat: markdownfields:
{
"description": "<full updated description body>"
}
Send no labels field.Verify the write. Writing a whole description through Jira can mangle
content, so re-fetch the Epic with mcp__atlassian__getJiraIssue and check
that: the ## User Interface Mockups heading appears exactly once with the new
section under it; the **Epic Maturity State:** line is the one you intended;
and no other section of the description is missing. If any check fails, show
the user the difference and stop: do not post the comment and do not retry the
write blindly.
Action 2: Post the raw Q&A as a comment
Use mcp__atlassian__addCommentToJiraIssue to post a comment containing the
complete raw user input from the screen-list Q&A and the agreed screen list,
presented as a labelled list (use the transcript the core returned). Open with:
**UI Mockups Session Input - Step 1.5**
Format: contentFormat: markdown.
Action 3: Confirm to the user
"Epic [EPIC-KEY] has been updated with the User Interface Mockups section and [advanced to maturity 'UI Mockups Created' / left at maturity '']. <browse_url>[EPIC-KEY]
[mockup hand-off line]
Next step is Step 2: /pm:epic-refine [EPIC-KEY]"
Use the hand-off line that matches how the screens were shown:
<screen-slug>.png]."<cloud_id> resolvedWhat SKILL.md sets; muted values are Claude Code's defaults
After `epic` has created the Epic ("High Level Requirements Created") and before `epic-refine`, when stakeholders should see and agree the UI first. Not for creating an Epic (use `epic`). Run it from inside the product repo so the mockups can match its design language.
sonnethighOther plugins' skills for the same job
npx claudepluginhub nikolasd/nikolasd-plugins --plugin pm7 skills in this plugin
/sddCreates or refreshes one living Solution Design Document (SDD) for the repository it runs in, filled against a template (the bundled Template v2.0, or one you supply as a file or Confluence page) and grounded in the code with file:line evidence. Interviews the user in batched passes, one per document Part, for every organizational, business or judgment call, and never invents one. Writes a local markdown file and a Confluence page kept in sync, preserves every existing requirement, risk and decision ID on updates, and commits the local files to git after the user confirms. Use when a repository needs a Solution Design Document written or refreshed. Supports `--dry-run`.
/epicCreates a new high-level Jira Epic through a business-level Q&A (Objective, Context, Scope, Success Criteria, Risks and Dependencies, delivery structure), optionally starting from a PRD or requirements document, and writes it to Jira only after the user confirms the full draft. Step 1 of the Epic pipeline, followed by the optional `ui-mockups` and then `epic-refine`. Asks no technical questions.
/epic-refineRefines an existing Jira Epic with technical detail: runs a technical Q&A grounded in the codebase, then writes NFRs, personas, Technology Context, per-phase story tables, completion statements and sequence diagrams into the same Epic and advances its maturity to "Detailed Level Requirements Created". Step 2 after `epic` (and the optional `ui-mockups`).
/specs-from-prdTurns a PRD into one local specs document. Checks the PRD's claims against the real code with file:line evidence, interviews the user about what it finds, and writes specs that are each sized as one small story under INVEST, with a feature-level design and every unresolved question recorded as a gap, never guessed. Writes the file only after the user confirms the full draft, and never touches Jira. Build each Story afterwards with `/pm:story-from-document <document>#S-03`. Supports `--dry-run`.
/storyCreates one Jira Story per run from an Epic's story table, as a child of that Epic, filling every Story section from the Epic content and from code it has read, then updates the Epic's story table and maturity. Step 3 of the Epic pipeline, after `epic` and `epic-refine`. Use `story-from-document` instead for a one-off Story with no parent Epic or story table.
/story-from-documentBuilds one fully detailed, code-verified Jira Story, with sub-tasks and Blocks links, from a Confluence page, a local document or a written brief (create mode), or fleshes out an existing Story key in place (promote mode). Checks the source's claims against the real repositories with file:line evidence, asks the user about every judgment call, and writes to Jira only after a full draft is confirmed; `--dry-run` drafts without writing. Needs no Epic; use `story` when an Epic's story table exists.