> For the full index of Sherpa pages for agents, see https://www.withsherpa.ai/llms.txt

URL: https://www.withsherpa.ai/docs/change-a-collection
Title: Add or change a collection | Sherpa Docs
Description: Create a new kind of content, or add a field to one you have, and show it on the website.

[Docs](https://www.withsherpa.ai/docs) CMS

# Add or change a collection

Create a new kind of content, or add a field to one you have, and show it on the website.

On a traditional CMS a new content type is a project. Someone models the fields, someone else designs the template, and existing entries get updated by hand. Here it is one request. Your agent adds the field or the collection, updates the design that shows it and fills it in for the entries you already have.

## See it in action

Ask your agent this.

> Add an author to our blog posts with a name, role and photo. Show the author under each post's title, and fill it in for existing posts from the bylines already in the text.

It answers with something like this.

Posts now have an author with a name, role and photo, shown under the title.

- Filled in for 44 of your 46 posts from their bylines

- Two posts have no byline. I left the author empty on those and listed them below

## What happens

1. Your agent reads the collection and the page that displays it.

2. It adds the field to the collection, fills it in for existing entries where it can, and updates the page design.

3. It checks the content and builds a preview.

4. You review, then publish.

## What to check

- Existing entries still display correctly.

- The new field is there when you open an entry in the CMS.

## New collections

Ask for the content type in plain words. **We need a changelog with a date, a title and a list of what shipped** is enough. Your agent creates the collection, the page that lists entries and the page for each entry.

## Things that work well as a collection

- Blog posts, case studies and changelogs

- Team members, open roles and office locations

- Integrations, templates and comparison pages

- FAQs and glossary terms

- Anything you have more than a handful of that shares a shape

## Good to know

### Content and design move together

A new field is no use until the page shows it. Because your agent changes both in one change, you review them together on one preview.

### Links between collections

A field can point at an entry in another collection. Authors on posts, categories on templates and customers on case studies all work this way, so you edit the author once and every post updates.

## Common questions

### Do I need a developer to add a new content type?

No. Describe it in plain words and your agent creates the collection, the page that lists entries and the page for each entry.

### What happens to existing entries when I add a field?

Your agent fills the field in where it can and lists the entries it could not.

### Does the page design update too?

Yes. The new field shows up on the page in the same change, and you see all of it on one preview.

## Example prompts

Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.

### The request from the example

> Add an author to our blog posts with a name, role and photo. Show the author under each post's title, and fill it in for existing posts from the bylines already in the text.

It asks for the field, the design that shows it and the backfill in one go. Leave any of the three out and the job is half done.

### The careers page

> Create a careers collection and a careers page that lists open roles by team. Add two sample roles I can replace.

Sample entries let you judge the design before you have real content.

### The category filter

> Add a category to our blog and let visitors filter by it. Suggest categories based on the posts we have.

Your agent can read every post, so the categories fit what you have written.

### The rescue

> Turn the FAQ on our pricing page into a collection so the team can edit it in the CMS.

Moves hard-coded content somewhere non-technical teammates can change it.

## For agents

Sherpa MCP tools for this job, in the order they are usually called. `get_cms_schema`, `edit_files`, `validate_cms`, `preview_change`. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the [MCP reference](https://www.withsherpa.ai/docs/mcp-reference).

## Next

[**Bulk import and bulk edits** Add or change many entries at once, from a spreadsheet or across your whole CMS.](https://www.withsherpa.ai/docs/bulk-edits) [**CMS images** Add images to blog posts and other entries from a file you attach or a public link.](https://www.withsherpa.ai/docs/cms-images)
