Skip to content

Suggest AI agent next steps after connecting a repository - #189

Merged
clbotdev merged 1 commit into
mainfrom
feat/agent-docs-pitch
Nov 5, 2026
Merged

clbotdev merged 1 commit into
mainfrom
feat/agent-docs-pitch

Conversation

@clbotdev

@clbotdev clbotdev commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What

After Finish setup in the GitHub connect dialog, the Repository connected screen now pitches handing the docs port to a coding agent with frontlit-skills:

  • Let your AI agent move your docs: it works with Claude Code, Codex, Cursor or any coding agent, ports Docusaurus/Mintlify/GitBook/Markdown docs, checks its work and opens a PR. Nothing goes live until you merge.
  • 1. Install the skills: npx skills add codelitdev/frontlit-skills, with a copy button.
  • 2. Ask your agent: "Use the frontlit-docs skill to move our docs to FrontLit and open a pull request.", with a copy button.
  • A link to the frontlit-skills repo for the Claude Code / Codex plugin installs.

For a pages-only connection, the card pitches frontlit-pages instead.

New AgentNextStep component in documentation-connect-parts.tsx, rendered in the done view of documentation-source.tsx.

Testing

  • tsc --noEmit for apps/web, biome format and eslint (lint-staged).
  • Local browser smoke: signed in, created a team, then went from "One last step" through Finish setup to Repository connected. Both copy buttons copied the exact text and showed a "Copied" toast, the link opens in a new tab, and Done closes the dialog. The GitHub App isn't configured locally, so I stubbed only the /content/documentation/github calls in the page. The rest ran against the real local API and database.
  • Not covered: the pages-only variant, and an e2e run on QA.

After Finish setup, the Repository connected screen now pitches porting
docs with a coding agent: copyable frontlit-skills install command, a
ready-made prompt (frontlit-docs, or frontlit-pages for pages-only), and
a link to the frontlit-skills repo.
@clbotdev
clbotdev merged commit 8b9b031 into main Nov 5, 2026
3 checks passed
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