Prototype

Data and states

Screen inventory (before coding)

List every noun the product shows. For each one write down:

QuestionExample
Where is it listed?Skills tab, scope lists, marketplace grid, Browse page
What page does it open?Skill page, plugin page, MCP page
How do you reach it?Click a row, banner "Details", a link from another page
What states does it have?Not installed, installed at one level, installed at several, error, needs sign-in, disabled
What does it link to?A plugin links to its skills and MCP servers; an MCP links back to the plugins that include it

A listed thing with no page behind it is a hole in the plan. In the Code customize prototype, skills had a page long before plugins and MCPs did. Finding that in the inventory costs a minute; finding it in review costs a round.

Agree the inventory with the user on a complex flow, then build from it.

Fixture realism

  • Size. A list needs enough rows to trigger pagination and overflow. Use at least 20 rows where the product would have that many, not 5 or 9.
  • Variety. Every level, category, status and group the product has appears at least once, including the awkward ones: a long name, a long description, an error, an empty group.
  • Real-life values. Names, keys, hosts and owners look like what the product holds (GITHUB_TOKEN with github.com and api.github.com, ANTHROPIC_API_KEY, HF_TOKEN), across several groups, with a mix of set, missing, locked and long entries. One plain row per list is not a fixture.
  • Aggregates are real. An "All" view merges the real sources, de-duplicated, never a hand-picked sample.
  • Counts agree. If a row says "12 skills", the page behind it lists 12. A header badge equals the rows below it. Derive counts from the data where you can.
  • Every state is reachable. Install, uninstall, enable, disable, sign in, retry, delete should each change what is shown next, in the lists and on the detail page.
  • Placeholders are honest. Invented data (tool lists, user counts, versions) is fine in a prototype, but keep it in one data file and say in the handoff that it is sample data.