Feature preview

Feature Introduction

How do the changes made by AI to the template return to the site and take effect

Using AI to modify templates, changes need to be rolled back to the site template file and verified immediately to take effect. There are four types of demand sources within the site: visual template editing, skills, AI Chat, and external clients connected through MCP. The common steps are to describe the requirements, generate or modify code, check the disk, and then verify the homepage and list page; the skill layer covers two types of tasks: template development and API development.

Skills AI template editing

Feature Introduction

Use AI to assist in modifying the template in the background, after modification, it will not automatically take effect online - there are several fixed steps in the middle: clearly describe the requirements, let AI generate or modify the template code, check whether the changes have indeed fallen to the site template file, and then return to the page for verification. Only the changes seen on the homepage and list page after going through this line are truly changed. The difference lies in 'who is making the request': on-site visual editing, skills, AI Chat, or接入 from external clients through MCP, the four paths eventually all fall back to the same set of 'save + verification'.

There are three paths of change: who is making the request

The first is to edit directly in the AI visual template editing on the back-end, with AI assistance to generate or adjust template code, and the person can see the results immediately; the second is a skill, where a set of tasks (such as applying a new layout to a column) is entrusted to a packaged capability to perform; the third is an external AI client connecting through MCP, making changes in the conversation. The three have different entry points, but all changes must be written back to the template file and must go through page validation, and cannot be considered effective just because the AI says it's done.

How to use AI visual template editing

The visual template editing solves the problem of 'being able to change layout without leaving the background'. The method consists of four steps: one, select the template to be changed, describe the effect you want in one sentence (which area, become what); two, let AI generate the modification and check step by step whether it has changed what you pointed out; three, save and let the change fall into the site template file; four, open the affected page to confirm the rendering. The most common deviation when AI edits the template is 'change the effect correctly but damage another place', so the step-by-step check on the disk and the real page verification in the fourth step cannot be omitted.

Where does the template development capability in the skill cover?

The in-app skill system covers a variety of tasks, template development being one of them, capable of making batch or structural changes to templates according to a set routine; another tier is API development, which is aimed at the interface side. The value of the skill lies in solidifying 'repeated changes' into callable abilities, but its boundaries must be clear: the skill can generate and modify template code, but after modification, it still needs to return to the disk and page verification, and will not confirm your online performance for you. Treat the skill as a 'executor who can write templates', rather than a 'judge who guarantees going online.'

Which pages should be pre-checked after saving?

After the changes are written to disk, verification should focus on coverage rather than on what looks good: first check the homepage (most template changes will affect it), then check one item on the list page and one on the detail page (to confirm that the structure has not been damaged), and then check a page that uses a public segment you have changed. In a cached environment, you also need to confirm that the verification is reading new content and not old cache - if the page looks the same, clear the cache first before suspecting that the changes have not been written to disk.

The differences when external clients connect.

When accessing the external AI client through MCP, the modification path adds a layer: the tool surface converges to the intent directory, and write operations are merged and confirmed in one round. That is to say, the template modifications proposed by the external client will not trigger a confirmation for each location, but will merge the write operations within this round into one approval and confirm before being recorded. This is different from the 'instant save and instant preview' feel of the on-site visual editing, but the recording and verification steps remain the same, and the access method does not change the effective conditions.

Common questions

Question: Can it be considered effective directly after the AI says it's done?Answer: No. It is necessary to check whether the changes have fallen into the template file and to verify it on the homepage, list page, and detail page separately. It is only considered effective after seeing the new rendering.

Question: Which one should be used, skill or visual editing?Answer: Use visual editing for single points where you want to see the effect immediately; use skills for template tasks that need to be repeated. Both need to go through the same disk writing and verification.

Question: Is it easier to break when MCP is integrated?Answer: It actually adds a round-level merge confirmation; the real way to prevent damage is still to rely on the verification steps, which has nothing to do with the entrance.

Related functions

Preview

Why are interfaces for operations like backup and upgrade at the site level not open by default?

This kind of full-site operation interface for backup and upgrade is not opened by default, and it receives the risk of 'affecting the entire site once called.' The default is not to close a certain function, but the level of full-site actions, which needs to be explicitly opened. The internal tool side is converged according to the directory of intent, write operations are merged and confirmed in one round, the high-risk areas are closed by default and opened as needed, and the call surface is minimized.

Preview

Should the activity landing page be a single page or an article model, and how should the backend differentiate?

The landing page should use a single page or a custom content model, depending on three boundaries: whether similar pages will be generated repeatedly, whether filtering by fields is needed, and whether it needs to be integrated into navigation or reused across multiple sites. For one-time event pages, single-page management is sufficient; for batch production and structured field-organized scheme pages and list pages, hand them over to the custom content model and its custom fields, with each type handling its own segment.

Preview

Will the preview link of the draft be stolen, how should the preview parameters be closed?

Will the link of a draft or pending publication content with preview parameters be caught by a spider, depending on three things: whether the address can be guessed, whether the crawling rules cover it, and whether the server checks the status when reading the details. The crawling exclusion rules are just suggestions and cannot block the addresses that have already been shared; the real closure should be based on the status check and the preview parameters only taking effect in authorized sessions. After making changes, use the search engine site information to check for missing pages.