Skip to content

docs: full overhaul — positioning, developer experience, and navigation#86

Open
sidneyswift wants to merge 13 commits intomainfrom
feat/docs-overhaul
Open

docs: full overhaul — positioning, developer experience, and navigation#86
sidneyswift wants to merge 13 commits intomainfrom
feat/docs-overhaul

Conversation

@sidneyswift
Copy link
Copy Markdown
Contributor

@sidneyswift sidneyswift commented Mar 30, 2026

Summary

  • Rewrites all core pages to properly communicate what Recoup is — "the platform that enables autonomous music businesses" — instead of "Use the Recoup API to build your record label"
  • Adds new concept pages (How It Works, Authentication) that explain agents, sandboxes, context, and the platform architecture
  • Restructures navigation into clear sections: Get Started (Welcome, Quickstart, How It Works, Auth) and Integrate (MCP, CLI, Content Agent)

What changed

Page Before After
index.mdx Generic "API docs" landing Three integration paths (API/MCP/CLI), "Who It's For" (Artists/Labels/Developers), capabilities
quickstart.mdx Starts with "get API key" + tasks list Spotify search example (works immediately), CLI + MCP setup in same page
how-it-works.mdx Did not exist Three layers (Entry/Agent/Context), agent types, sandboxes, data flow, comparison table
cli.mdx Flat command reference Workflow-oriented (content creation as primary path), command summary
mcp.mdx Two tools documented 43 tools in 12 categories, config snippets for Claude/Cursor/VS Code
authentication.mdx Did not exist Unified auth guide (API keys, MCP Bearer, CLI env, org access)
api-reference/introduction.mdx Duplicated auth/base URL info Developer-focused with explore cards
docs.json Flat nav "Get Started" + "Integrate" groups, better anchors

Context

Inspired by Composio's documentation quality. Voice follows marketing/content/brand/voice.md — specific, show-don't-tell, no hype words. Positioning aligned with marketing/content/brand/positioning.md.

Test plan

  • Preview all pages with npx mintlify@latest dev
  • Verify no broken links in navigation
  • Check all code examples render correctly
  • Confirm MCP config snippets are copy-pasteable

Made with Cursor

Summary by CodeRabbit

  • Documentation
    • New API Reference landing: base URL format, x-api-key auth, JSON success/error envelopes, rate-limit guidance, and refreshed endpoint cards.
    • Simplified authentication guide with key creation, key types, org access, and admin auth note.
    • Added "How It Works" architecture and sandbox pages.
    • Reworked Quickstart into a numbered onboarding with CLI and MCP setup.
    • Expanded MCP docs with multiple client examples and consolidated tool listings.
    • Refined CLI guide for content workflows and command summaries.
    • Updated site navigation and added an API Keys quick-access link.

Rewrites all core pages to properly communicate what Recoup is (autonomous
music infrastructure) and how to use it (API, MCP, CLI). Adds how-it-works
concept page, authentication guide, and restructured navigation.

Inspired by Composio docs quality bar. Voice follows brand guidelines.

Made-with: Cursor
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 30, 2026

📝 Walkthrough

Walkthrough

This PR rewrites and reorganizes site documentation: replaces the API intro with an API Reference landing, streamlines authentication and CLI docs, expands MCP and how-it-works architecture pages, updates quickstart and index content, and adjusts navigation in docs.json (anchors, groups, and page lists).

Changes

Cohort / File(s) Summary
API Reference & Auth
api-reference/introduction.mdx, authentication.mdx
Replaced introduction with an API Reference landing (base URL, x-api-key usage, JSON envelope examples, 429/rate-limit guidance). Rewrote authentication to focused API key guidance (REST/MCP/CLI examples), key types, org access via account_id, and admin Privy token note.
CLI & MCP Integration Guides
cli.mdx, mcp.mdx
Repositioned CLI as a terminal-first full-platform guide (content workflow: templates → validate → estimate → create → tasks status). Expanded MCP to a tool suite (40+ tools), added multi-client connect examples (Claude Desktop, Cursor/VS Code, TS SDK) and end-to-end examples; removed previous sandbox command schemas.
Onboarding & Landing
quickstart.mdx, index.mdx
Reorganized quickstart into a numbered onboarding flow (Get API Key, first request, CLI, MCP) with new Spotify search example and CLI/MCP snippets. Reworked homepage copy, hero, capability accordion, audience section, and next-step cards.
Navigation & Architecture
docs.json, how-it-works.mdx
Renamed navigation groups ("Getting started"→"Get Started", "Agents"→"Integrate"), updated page lists and API group label, added "API Keys" anchor, removed Blog anchor. Added how-it-works.mdx detailing three-layer architecture, per-artist context files, sandboxes, and end-to-end data flow.
Miscellaneous docs metadata
docs.json (anchors/pages)
Adjusted nav labels, reordered pages, and updated global anchors/icons for Dashboard/API Keys.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested reviewers

  • sweetmantech

Poem

🐰 Hopping through the docs at dawn,
New guides and cards to lead you on,
Keys tucked safe, the workflows hum,
Agents wake — the sandbox, run!
Celebrate the paths we've drawn ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: a comprehensive documentation overhaul covering repositioning (from API-first to platform/agents-first), developer experience improvements (new How It Works page, restructured guides, expanded integration examples), and navigation reorganization (grouped sections, updated docs.json anchors).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/docs-overhaul

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
quickstart.mdx (1)

8-13: Deduplicate repeated auth and MCP config content.

The API-key warning and MCP config blocks are duplicated across Quickstart, Authentication, and MCP pages. Consider extracting these into shared snippets to keep updates in one place.

As per coding guidelines, follow DRY across docs pages and use snippets instead of duplicating content.

Also applies to: 74-98

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@quickstart.mdx` around lines 8 - 13, Extract the duplicated API key and MCP
configuration blocks (the "Go to the [API Keys page]..." step and the
"<Warning>Store your API key securely..." admonition plus the MCP config block
repeated across Quickstart, Authentication, and MCP pages) into a single shared
snippet file and replace the copies with an include/import of that snippet;
update references in the Quickstart, Authentication, and MCP docs to reference
the shared snippet name so future edits happen in one place and remove the
duplicate blocks from those pages.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@api-reference/introduction.mdx`:
- Around line 1-4: The api-reference/introduction.mdx file contains narrative
MDX content but should be frontmatter-only and include an openapi entry; remove
all body/narrative content from that file and either move it into a new
guide/snippet page (e.g., a non-api-reference MDX guide) or into a separate docs
component, then replace api-reference/introduction.mdx with only YAML
frontmatter including title, description and an openapi field (e.g., openapi:
'METHOD /path') so the file is OpenAPI-driven; ensure any links/refs updated
where you moved the narrative content.

---

Nitpick comments:
In `@quickstart.mdx`:
- Around line 8-13: Extract the duplicated API key and MCP configuration blocks
(the "Go to the [API Keys page]..." step and the "<Warning>Store your API key
securely..." admonition plus the MCP config block repeated across Quickstart,
Authentication, and MCP pages) into a single shared snippet file and replace the
copies with an include/import of that snippet; update references in the
Quickstart, Authentication, and MCP docs to reference the shared snippet name so
future edits happen in one place and remove the duplicate blocks from those
pages.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6100f9d5-f992-4df9-a6f7-70f4655e08af

📥 Commits

Reviewing files that changed from the base of the PR and between c8e2aa5 and 40e8906.

📒 Files selected for processing (8)
  • api-reference/introduction.mdx
  • authentication.mdx
  • cli.mdx
  • docs.json
  • how-it-works.mdx
  • index.mdx
  • mcp.mdx
  • quickstart.mdx

Comment on lines 1 to 4
---
title: 'Introduction'
description: 'API documentation for the Recoup platform - AI agents for the music industry'
title: 'API Reference'
description: 'Programmatic access to the Recoup platform agents, artists, content, analytics, and tasks.'
---
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

api-reference/introduction.mdx should be frontmatter-only, not a custom docs page.

This page currently mixes narrative sections/components inside api-reference/**, and it’s missing an openapi frontmatter entry. Please move narrative content to a non-API-reference guide page (or snippet-driven guide) and keep this file OpenAPI-driven only.

As per coding guidelines, API reference MDX pages should be frontmatter-only and include OpenAPI spec reference in frontmatter (openapi: 'METHOD /path').

Also applies to: 6-108

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@api-reference/introduction.mdx` around lines 1 - 4, The
api-reference/introduction.mdx file contains narrative MDX content but should be
frontmatter-only and include an openapi entry; remove all body/narrative content
from that file and either move it into a new guide/snippet page (e.g., a
non-api-reference MDX guide) or into a separate docs component, then replace
api-reference/introduction.mdx with only YAML frontmatter including title,
description and an openapi field (e.g., openapi: 'METHOD /path') so the file is
OpenAPI-driven; ensure any links/refs updated where you moved the narrative
content.

Inspired by Claude Code, Exa, and Trigger.dev docs. Uses Mintlify
Tabs for integration methods (MCP/API/CLI/Slack), AccordionGroup for
capabilities, and a routing table for different user types.

Made-with: Cursor
Uses real founder language: "AI infrastructure for the music industry",
"general purpose agents can't do what we do because they don't know
the artist", context as the entire edge.

Made-with: Cursor
Leads with what you can do. Tabs for connecting Cursor, Claude Code,
OpenClaw, Claude Desktop, API, CLI. Accordions show real prompts and
tool names. No preamble — connect in under a minute.

Made-with: Cursor
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
how-it-works.mdx (1)

6-6: Minor grammar fix: hyphenate "General-purpose".

The static analysis flagged that "General purpose" should be hyphenated when used as a compound adjective.

📝 Proposed fix
-General purpose AI tools don't know the artist, the catalog, the audience, or the history.
+General-purpose AI tools don't know the artist, the catalog, the audience, or the history.

And on line 96:

-General purpose agents can generate a marketing plan for any artist.
+General-purpose agents can generate a marketing plan for any artist.

Also applies to: 96-96

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@how-it-works.mdx` at line 6, Replace the unhyphenated compound adjective
"General purpose AI tools" with "General-purpose AI tools" in the text
(occurrences include the phrase on the line containing "General purpose AI tools
don't know the artist..." and the similar instance around line 96) so the
compound adjective is correctly hyphenated; update both occurrences to
"General-purpose" to satisfy the static analysis and maintain consistency.
index.mdx (1)

169-169: Minor grammar fix: hyphenate "General-purpose".

Same hyphenation issue as in how-it-works.mdx.

📝 Proposed fix
-General purpose AI doesn't know the artist, the catalog, the audience, or the history.
+General-purpose AI doesn't know the artist, the catalog, the audience, or the history.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@index.mdx` at line 169, Change the phrase "General purpose AI" to use the
correct hyphenation "General-purpose AI" wherever it appears (e.g., the sentence
starting with "General purpose AI doesn't know the artist..." in the diff).
Update the text in index.mdx to replace "General purpose" with "General-purpose"
and ensure the same correction is applied consistently in other files with the
same phrase (like how-it-works.mdx).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@how-it-works.mdx`:
- Line 6: Replace the unhyphenated compound adjective "General purpose AI tools"
with "General-purpose AI tools" in the text (occurrences include the phrase on
the line containing "General purpose AI tools don't know the artist..." and the
similar instance around line 96) so the compound adjective is correctly
hyphenated; update both occurrences to "General-purpose" to satisfy the static
analysis and maintain consistency.

In `@index.mdx`:
- Line 169: Change the phrase "General purpose AI" to use the correct
hyphenation "General-purpose AI" wherever it appears (e.g., the sentence
starting with "General purpose AI doesn't know the artist..." in the diff).
Update the text in index.mdx to replace "General purpose" with "General-purpose"
and ensure the same correction is applied consistently in other files with the
same phrase (like how-it-works.mdx).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7b7e47a6-36a3-487e-a0fc-9d8a589c312d

📥 Commits

Reviewing files that changed from the base of the PR and between 40e8906 and e53a0f3.

📒 Files selected for processing (2)
  • how-it-works.mdx
  • index.mdx

"The MCP server for music" — agents need clarity (what tools exist),
confidence (real example with real output), and hype (why pick this
over generic tools). Tool names on every card. Connect in 30 seconds.

Made-with: Cursor
CLI-first positioning. npm install is the hero. Cards show CLI
commands alongside MCP tool names. MCP tabs are secondary.

Made-with: Cursor
43 MCP tools with descriptions, params, and types. 13 CLI commands
with flags. Connection instructions for MCP/API/CLI. Single-file
reference that agents can fetch in one request.

Made-with: Cursor
Fixed compound adjective in how-it-works.mdx and index.mdx.

Other CodeRabbit comments addressed:
- introduction.mdx narrative: this is a landing page, not an
  endpoint page — frontmatter-only rule doesn't apply here
- Duplicated API key blocks: minor overlap across quickstart,
  auth, and MCP pages — each is contextual, not worth a snippet
  for 2-3 lines

Made-with: Cursor
Made-with: Cursor
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (2)
index.mdx (2)

1-168: Consider the multi-purpose nature of this landing page.

While the coding guidelines recommend "put one concept per page," this index.mdx serves as the main entry point and appropriately combines:

  1. Marketing/positioning
  2. Quick-start onboarding
  3. Capability showcase
  4. Navigation hub

For a landing page, this multi-purpose approach is common and effective. The clear section headings and organization keep it scannable. However, if the page grows significantly, consider extracting some sections (e.g., "Why Recoup") into dedicated pages to maintain simplicity.

As per coding guidelines: "Follow Single Responsibility principle - put one concept per page."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@index.mdx` around lines 1 - 168, Summary: index.mdx currently bundles
multiple concepts (marketing, quick-start, capability showcase, navigation)
which contradicts the one-concept-per-page guideline. Fix: split large sections
into dedicated pages and keep index.mdx as a focused landing hub — extract "Why
Recoup" into a new why-recoup.mdx, move detailed "Get started" CLI/MCP/REST
examples into a quickstart.mdx, and move the full tool list from "What you get"
to a mcp-tools.mdx (or similar); update index.mdx to include concise summaries
and clear links/cards to these new pages (referencing the headings "Why Recoup",
"Get started", and "What you get" in the current file when making the edits).
Ensure navigation links (Card hrefs/Tabs) point to the new pages and remove
duplicated detailed content from index.mdx.

10-12: Remove duplicate installation command.

This npm install snippet is duplicated in the CLI tab (lines 18-20), violating the DRY principle. Consider removing it from here and keeping only the version inside the CLI tab, or vice versa.

♻️ Suggested fix: remove the duplicate
 # Music Industry Tools for AI Agents

 Spotify data. Content generation. Audience research. Catalog management. YouTube analytics. 40+ tools, one connection. Install the CLI or connect via MCP.

-```bash
-npm install -g `@recoupable/cli`
-```
-
 ## Get started

As per coding guidelines: "Follow DRY principle - don't duplicate content across pages, use snippets instead."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@index.mdx` around lines 10 - 12, Remove the duplicated npm install snippet by
deleting the standalone code block that contains "npm install -g
`@recoupable/cli`" and keep the single occurrence inside the CLI tab section;
search for the code block with that exact command and remove the duplicate
instance so only the CLI tab's snippet remains, ensuring surrounding headings
(e.g., "Get started") remain intact.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@index.mdx`:
- Around line 1-168: Summary: index.mdx currently bundles multiple concepts
(marketing, quick-start, capability showcase, navigation) which contradicts the
one-concept-per-page guideline. Fix: split large sections into dedicated pages
and keep index.mdx as a focused landing hub — extract "Why Recoup" into a new
why-recoup.mdx, move detailed "Get started" CLI/MCP/REST examples into a
quickstart.mdx, and move the full tool list from "What you get" to a
mcp-tools.mdx (or similar); update index.mdx to include concise summaries and
clear links/cards to these new pages (referencing the headings "Why Recoup",
"Get started", and "What you get" in the current file when making the edits).
Ensure navigation links (Card hrefs/Tabs) point to the new pages and remove
duplicated detailed content from index.mdx.
- Around line 10-12: Remove the duplicated npm install snippet by deleting the
standalone code block that contains "npm install -g `@recoupable/cli`" and keep
the single occurrence inside the CLI tab section; search for the code block with
that exact command and remove the duplicate instance so only the CLI tab's
snippet remains, ensuring surrounding headings (e.g., "Get started") remain
intact.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c57b8c63-df6b-4f78-a931-a88bda7a6e1e

📥 Commits

Reviewing files that changed from the base of the PR and between e53a0f3 and 0377546.

📒 Files selected for processing (3)
  • docs.json
  • how-it-works.mdx
  • index.mdx
✅ Files skipped from review due to trivial changes (1)
  • how-it-works.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs.json

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.

1 participant