Skip to content

docs(setup): support existing blogs in the agent setup guide - #1

Merged
linkly-ai merged 1 commit into
mainfrom
docs/agent-setup-existing-blogs
Oct 30, 2026
Merged

linkly-ai merged 1 commit into
mainfrom
docs/agent-setup-existing-blogs

Conversation

@blueeon

@blueeon blueeon commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

What changes

docs/agent-setup.md (served at citepo.com/agent-setup.md) now covers users who already have a CitePo blog, not only new users.

  • New or existing blog: after the CLI and skill are installed, the agent checks whether the current folder is a blog. If it is not, it asks the user whether they already have a CitePo blog.
  • Existing blog: sign in → site list to find their site → clone its repository → citepo check.
    • A site found by matching the repository is used directly.
    • A site with no repository is connected to the blog instead of creating a new site.
  • No duplicates: before site create, the new-blog path checks site list.
  • Older installs: CLIs older than 0.2.0 (no doctor) are upgraded. The skill is checked for the agent's own app.
  • GitHub sign-in: gh auth login runs in the background so the agent can pass the device code to the user, then runs gh auth setup-git.
  • Non-programmers: they are never asked to run commands. Troubleshooting adds the macOS developer tools prompt and the "signed up with another email" case.
  • The README and the Chinese intro mention the existing-blog case.

Merging publishes the guide: the site rewrites to this file on main.

🤖 Generated with Claude Code

…sers

Ask whether the user already has a CitePo blog, then sign in, find their
site and clone its repository instead of creating a second blog or site.
Upgrade CLIs older than 0.2.0, check the skill for the agent's own app,
sign in to GitHub without blocking on the device code, and keep every
step something a non-programmer only has to click through.
@linkly-ai
linkly-ai merged commit ec1d591 into main Oct 30, 2026
1 check passed
@blueeon
blueeon deleted the docs/agent-setup-existing-blogs branch October 30, 2026 07:11
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