Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.21 KB

File metadata and controls

32 lines (20 loc) · 1.21 KB

914 – Preview Story By Path

Purpose

Tests whether the agent chooses the path-based preview input after reading story-file context directly from disk.

Setup

  • Pre-seeded Button component and existing stories.
  • Prompt first asks the agent to read stories/Button.stories.tsx and report its imports.
  • Prompt then asks the agent to preview existing Primary and Secondary stories.
  • No file edits are expected.

Prompt

Asks the agent to inspect story file imports first, then preview Primary and Secondary.

Quality Signal

Metric Weight
MCP tools coverage (preview-stories called) 10 %
Preview input strategy (path + exportName preferred) 60 %
Avoid unnecessary docs fetches for button 30 %

Expected MCP Tools

  • preview-stories (at least 1 call)

For strategy quality credit, at least one preview invocation should pass stories using absoluteStoryPath + exportName and should not rely exclusively on storyId.

For docs-avoidance quality credit, the agent should not call get-documentation with id: "button" in this task.