AI/MCP Agent Brief
Minimal task contract so an agent can build and deploy a Notepub site without long clarification loops.
Use this page if you want to delegate site setup/deploy to an AI agent.
If you are new to Notepub, go through: Getting Started, Template Repositories, and Content Structure in Recipe Repositories.
Short links to full docs:
What to tell the agent first
- Project goal:
blogordocs. - Scenario:
one-repo(template site repo) orcontent_repo.one-repo= one site repo with both content and theme - the simple default option.
content_repo= separate content repository. Details: Content Repository Mode. - Repository URL and name:
owner/repo(and content repo too, ifcontent_repomode is selected). - Working directory on your local machine (absolute path).
- Language(s) and content structure (for example EN only or EN+RU).
- Allowed change scope: only
content/, or alsotheme/,rules.yaml, workflow. For S3 source mode, see: S3 Content Mode.
Access the agent needs
- Git repository access (clone/push).
- Permissions for GitHub Actions and GitHub Pages in target repository.
- Permission to read/create repository Variables and Secrets (if
content_repoors3is used). - If custom domain is used: access to DNS/domain settings.
Minimal inputs that often block agents when missing
site.base_url(final canonical URL).- Site name and description (
site.title,site.description). - Initial page set (at least
home,search, and 2-3 working pages/articles). - Slug policy: whether existing slugs can be changed or only changed via redirects.
References for these inputs:
Definition of Done
- Build/deploy workflow completed successfully on
main. - Site opens on Pages URL with no key-route 404.
- Search works and returns results by
title/description. sitemap.xmlandrobots.txtare accessible.- Repository contains a short README "how to update content".
Local run and deploy references:
Ready-to-use prompt template
Build a Notepub site end-to-end.
Context:
- Scenario: one-repo
- Template: notepub-recipe-blog
- Repository: <owner/repo>
- Local folder: <abs-path>
- Language: EN
- Branding: <site title>, <description>
- Base URL: <https://.../>
Constraints:
- Allowed edits: content/, config.yaml, rules.yaml, theme/
- Restricted edits: <if any constraints>
Done criteria:
1) deploy workflow is green
2) site is available on Pages URL
3) search works
4) sitemap/robots are available
5) add README with content update steps
What to verify manually after agent work
- Correct
base_urland canonical links. - No duplicate slugs or route conflicts.
- Correct menu/hub structure and internal links.
- Visual result matches expected structure and style.