Skip to content

docs: lead with UI-first prototyping - #2315

Draft
pmcelhaney wants to merge 1 commit into
mainfrom
agent/ui-first-readme-monorepo
Draft

docs: lead with UI-first prototyping#2315
pmcelhaney wants to merge 1 commit into
mainfrom
agent/ui-first-readme-monorepo

Conversation

@pmcelhaney

Copy link
Copy Markdown
Collaborator

Summary

  • lead the repository landing page with Counterfact's UI-first prototyping position while preserving the monorepo workspace map
  • port the complete explorable-prototype narrative and workflow table to the published counterfact package README
  • add a patch changeset so the npm README receives the update

Supersedes the monorepo-incompatible implementation in #2283.

Original Prompt

All open PRs are going to be outdated after the monorepo changes. Review each PR and devise a high level plan to achieve what the PR intends under the new structure.

Proceed. Do each one sequentially using subagents.

Manual acceptance tests

  • Open the repository root and verify the first product message is “Prototype your UI before investing in backend development.”
  • Follow the root link to the published counterfact README and verify the fuller UI-first workflow explanation is present.
  • Follow each “Start here” link in the workflow table and verify it reaches the intended guide or root-level example.
  • Verify the root README still explains the private monorepo root and links to all focused workspace packages.

Tasks

  • Update the root monorepo landing copy.
  • Port the docs: lead with explorable prototype workflows #2283 product narrative to packages/counterfact/README.md.
  • Preserve package-correct documentation and example links.
  • Add a counterfact patch changeset.
  • Run path checks and git diff --check.

Repository learning check

  • Learning found: No
  • Guidance updated: No
  • Updated file(s): N/A
  • Rationale: The monorepo documentation ownership and package-release rules are already recorded in repository guidance.

Copilot AI lite review requested due to automatic review settings August 18, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Counterfact’s top-level and package-level documentation to lead with a UI-first prototyping message, and adds a patch changeset so the updated README content is published to npm.

Changes:

  • Update the root repository landing page headline and intro copy to emphasize UI-first prototyping.
  • Expand packages/counterfact/README.md with the full UI-first narrative and an updated “Start with the workflow you need” table.
  • Add a patch changeset for counterfact to publish the README update.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
README.md Updates the repository landing headline and intro copy to lead with UI-first prototyping.
packages/counterfact/README.md Ports the longer UI-first narrative and updates the workflow table for the published package README.
.changeset/bright-uis-lead.md Adds a patch changeset to ship the documentation update to npm.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md
<h1><img src="./counterfact.svg" alt="Counterfact" border="0"></h1>

## Turn an OpenAPI document into an editable, stateful local API.
## Prototype your UI before investing in backend development
| Prototype a UI before backend investment | Create data, revisit it later, and deliberately show errors or alternate outcomes | [Build a stateful flow](./docs/first-10-minutes.md#build-a-stateful-flow) |
| Build or debug a UI independently | Use a controlled API world while the real backend is absent, unavailable, or broken | [Build a stateful flow](./docs/first-10-minutes.md#build-a-stateful-flow) |
| Make failures repeatable | Reset, fail, recover, and tear down the same way every run | [Automate a deterministic test](./docs/first-10-minutes.md#automate-a-deterministic-test) |
| Give a coding agent a reliable sandbox | Leave a resettable context and an HTTP test for review | [Give an agent a verifiable task](./docs/first-10-minutes.md#give-an-agent-a-verifiable-task) |
![MIT License](https://img.shields.io/badge/license-MIT-blue) [![Coverage Status](https://coveralls.io/repos/github/counterfact/api-simulator/badge.svg)](https://coveralls.io/github/counterfact/api-simulator) ![Swagger 2.0](https://img.shields.io/badge/Swagger-2.0-85EA2D) ![OpenAPI 3.0–3.2](https://img.shields.io/badge/OpenAPI-3.x-6BA539) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/counterfact/api-simulator)

## Turn an OpenAPI document into an editable, stateful local API.
## Prototype your UI before investing in backend development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants