Ucoz Template Creator Skill 标志

Ucoz Template Creator Skill

社区
ucoz-skills
ucoz-template-creator-skill

为 uCoz 创建完整、原创的网站模板,并为整个网站打造统一的设计:包括富有表现力的版式、响应式框架、视觉设计系统(设计方向、不可妥协的要求、字体与间距下限、Token、图标、CSS 工具箱)、所有启用模块的模板、自定义页面、SEO、信息块、搭配自定义 SVG 精灵图的原生评分功能,以及彻底去除残留默认样式的系统页面。适用于从零开始构建网站模板、全面改版,或通过 ucoz-mcp 生成、发布、迁移和审核框架。不适用于只修改单个模板的小改动或独立的 CSS 片段。

Add to TypingMind

概览

发布者ucoz-skills
代码仓库agent-skills
技能名称ucoz-template-creator-skill
星标数
24
复刻数
0
附带文件
21
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 21 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ucoz-skills 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ucoz Template Creator Skill AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-template-creator-skill
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ucoz-skills/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/ucoz-template-creator-skill .claude/skills/ucoz-template-creator-skill
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ucoz Template Creator Skill,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ucoz Template Creator Skill。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ucoz Template Creator Skill 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

uCoz Template Creator

Version 1.3

Create an original, production-ready uCoz website template as one framework plus one complete CSS table. Treat publication as a site-wide migration: it overwrites every generated template.

Connection

  • uCoz MCP connects at https://www.ucoz.com/mcp — the agent config needs only the URL, no tokens or Node.js.
  • On first connection the agent opens a sign-in window: the user signs in to their uCoz account and clicks “Allow”.
  • Then list_sites → select_site(site_id); all tools work on the selected site.

Route the request first

  • Full design, new framework, global structure, new_informer, framework global_x, popup, config, or PDA design → use this skill and tmaker_read / tmaker_write / tmaker_publish.
  • Small change in one existing template → use templates_write.patch_template; stop this workflow.
  • Full replacement of one existing template → use templates_write.update_template; stop this workflow.
  • Small change in an existing CSS table → read 3/3, then use patch_template; stop this workflow.

Never publish a framework as a shortcut for a local edit. Framework changes do not receive later patch_template edits back; the next framework publication erases them.

Read before generating

Always call, in order:

  1. tmaker_read(action="skeleton_guide").
  2. tmaker_read(action="skeleton_rules").
  3. tmaker_read(action="project_list") and the relevant project_get, or designs_list and one design_get.

Treat the live guide, rules, and retrieved source as authoritative. Never invent service blocks or uCoz variables. Read these bundled references only as needed:

Establish the design brief

Clarify only missing decisions that materially change the result:

  • new design or evolution of the current saved project;
  • required modules, sidebars, custom global blocks, informers, and rating;
  • content character and desired visual direction;
  • desktop (pda=0) or PDA (pda=1);
  • whether existing brand assets must be preserved.

Upload new logos and images with files_write upload_direct (exact size, POST the raw bytes to upload_url), then files_write upload with upload_id or upload_ids (at most 20). Use action upload_url only when the file is already at a public http(s) address.

Select a direction from DESIGN-DIRECTIONS.md (use niche → direction routing when the brief has no brand input), state the chosen direction before writing any CSS, then adapt it to the content. Do not default every site to dark gradients, glass cards, centered heroes, identical pills, teal accents, or Inter. After selecting the direction, write non-negotiables and must-not-look-like anti-references per VISUAL.md before writing any CSS in 3/3. Typography, spacing, tokens, icons, and the CSS toolbox in VISUAL.md override soft vibe notes in DESIGN-DIRECTIONS.md when they conflict.

Before any write, explain that two resources will be replaced: the complete CSS table and all templates generated by the framework. Obtain explicit consent before update_template(3/3) or skeleton_publish(confirm=true). A request to install, activate, test on the site, or show the design on the site counts as publication intent after these consequences are stated; a request to generate, preview, or review does not.

Build the framework

  1. Start from project_get or design_get; do not compose blind.
  2. Preserve valid uCoz expressions, system-language markers, form IDs, and platform variables.
  3. Include the structural blocks required by the live guide: header, middle, footer, popup, config, containers, and any selected module blocks.
  4. Keep one visible $POWERED_BY$ in the footer path.
  5. Keep [TITLE] and [BODY] intact inside popup.
  6. Declare custom global blocks with lowercase Latin names of 1–10 letters. Their declaration is their render position: nest the marked block at the intended conditional/component location and do not add a second explicit $GLOBAL_NAME$ call.
  7. Inventory every enabled content module before writing views. Add verified *_entry_view and *_entry_page__body blocks where the framework supports them. For a template without a framework block, style standard uCoz markup in the site-wide CSS and use narrowly scoped SVG masks on known metadata classes when an icon is required; do not publish a framework and leave enabled modules visually standard by accident.
  8. Read the icon contract in DESIGN-DIRECTIONS.md, then use accessible inline SVG icons with viewBox and currentColor; reuse or adapt assets/ui-icons.svg.md. Every custom material card and full material page must pair date, views, category, author, comments, downloads/redirects, duration, cart, or voting values with the matching semantic icon. Never use one generic icon for unrelated values, emoji, or a broken icon font.
  9. Build a mobile off-canvas header. Keep fixed overlays outside ancestors using transform, filter, backdrop-filter, perspective, contain, or relevant will-change.
  10. Put no CSS rules in the framework. Keep only <link type="text/css" rel="stylesheet" href="/_st/my.css?v=1">.
  11. Build the document head from verified variables. Prefer $SEO_TITLE$, $SEO_DESCRIPTION$, and $SEO_KEYWORDS$ only where get_variables and skeleton_validate confirm them; preserve [TITLE] as the framework fallback.
  12. Design conditional rendering deliberately. Read the conditional-rendering rules in FRAMEWORK.md; cover both page/module-level layout branches and item/permission-level optional data. Preserve useful behavioral branches from the selected standard design instead of flattening every page into one unconditional shell.
  13. Define one breadcrumb component for the design and reuse its exact structure, class contract, separator icon, typography, spacing, and responsive behavior in every archive, category, full material, Search, system, and custom Page template that renders breadcrumbs. Only the depth and verified labels/URLs may vary.

Build and save the CSS

For a new site-wide design, generate the complete stylesheet as one coherent file with tokens, base rules, components, module/system markup, responsive rules, focus states, and reduced-motion behavior.

Before replacing CSS or publishing templates, call templates_write.create_backup. Then publish the stylesheet with templates_write.update_template(module_id=3, template_id=3, content=<complete CSS>). This call replaces the entire existing CSS table; never send a fragment. Reading the old CSS is not required when the user approved a complete redesign. For later incremental style changes, switch to read_template plus patch_template.

Use /_st/my.css?v=1 in the framework. uCoz rewrites the version for generated templates; manually increment it only in independent custom page templates.

Add custom Pages in the same design

When the user asks for a personal, campaign, about, contact, portfolio, or other custom site page, read references/CUSTOM-PAGES.md. Use page_list and page_get, then create or update only that page through the Pages API. Reuse the active framework shell, tokens, components, SVG vocabulary, and /_st/my.css; add page-scoped rules to 3/3 instead of starting a visually unrelated landing stylesheet. Set the page SEO fields. Do not republish the framework for a single custom page.

Handle informers as a two-publication transaction

Read INFORMERS.md before adding an informer. Select a line, index, strip, related-reading, or product layout according to its location and module; do not clone the same card structure for every informer. Read RATING.md whenever the generated template contains vote-capable material pages or custom rating sprites.

  1. Add one or more new_informer blocks and validate.
  2. Save a project, publish, and record every returned created_informers item: title, id, created, and $MYINF_N$ code.
  3. Remove every new_informer block from the framework.
  4. Place the returned $MYINF_N$ codes at their intended locations.
  5. Validate, save a second project, and publish again.

Do not clean informer tails with template patches. created=1 means created during that publication; created=0 means an existing informer was reused.

Validate before any publication

Run the bundled preflight first. Save the code block from scripts/lint_skeleton.py.md as lint_skeleton.py in a working folder, then run:

text
python lint_skeleton.py <framework.html>

Then run tmaker_read(action="skeleton_validate", tmpl=<full framework>). Parse every item in details[]; do not stop at the first error. After a successful validation, run project_save as a source-level recovery point. A saved project is not visible on the live site. project_save_active only marks the final source project active; the design becomes visible only after skeleton_publish regenerates the site templates.

Before publishing, check backup capacity when practical. If the backup limit blocks a write, show the list and obtain permission before deleting a specific old backup.

Only after explicit approval call skeleton_publish(confirm=true, pda=<0|1>, tmpl=<full framework>). The tool creates another automatic template backup. After the final successful pass, call project_save_active with the exact final source so the active project matches the live design. Do not stop at a non-active project_save when the user asked to install or show the design on the site.

Migrate every active template after publication

Framework publication is not the end of a full redesign. Before the initial approval, explain that the migration includes targeted updates of active/system templates that tmaker leaves standard or stale. After every final framework publication:

  1. Call modules_list, then templates_read.list_modules; inventory every active module plus Pages, Users, Search, common system templates, globals, forms, comments, and shared partials.
  2. Read every mapped template, not only the templates named in affected_templates. Always inspect Search 19/1 and 19/2; current tmaker has no verified search_entry_view block.
  3. Classify each template: current design; standard inner markup that shared 3/3 CSS can safely style; or stale/structurally incompatible markup requiring a targeted template change.
  4. For every stale template, call get_variables, preserve required platform placeholders and behavior, validate the candidate, then use patch_template for a narrow structural fragment or update_template for a complete one-template replacement. Use the same shell, CSS, SVG vocabulary, breadcrumbs, typography, spacing, and responsive rules as the site template.
  5. Read every changed template back and verify UTF-8, current /_st/my.css?v=..., no old /.s/t/<design-id>/ assets, no literal CONTENT/unknown variables, and exactly one visible $POWERED_BY$ on full documents.
  6. Browser-test representative URLs for every active family at desktop and mobile widths. A successful API response or CSS link alone does not complete the migration.

Full-page shell chrome audit

After site-wide redesign/framework publish: for every full HTML shell of enabled modules, read_template and verify against a known-good live shell: (1) CSS only /_st/…, never /my.css; (2) same font links; (3) $GLOBAL_AHEADER$/$GLOBAL_BFOOTER$; (4) body/layout classes match theme, not foreign skeleton; (5) no foreign brand strings; (6) one visible $POWERED_BY$ — shells may keep <?if(0)?>$POWERED_BY$<?endif?> when BFOOTER already renders copyright; never hide POWERED_BY with CSS and never add a second visible copy. 19/1 is high-risk. Users shells to inventory: 4/1 login, 4/2 register, 4/3 denied, 4/5 profile, 4/6 edit, 4/7 list, 4/8 comments, 4/11 PM (form fragments via 3/3; verify live #uf-register on register).

Do not republish the whole framework to repair one missed system template. Record targeted migration changes so the next full-template publication can preserve or intentionally reapply them.

Anti-patterns

Anti-patternWhy it fails
/my.css orphan shellLeaves templates on a non-rewritten stylesheet path; design drifts from /_st/my.css.
Inter-by-defaultErases direction character; conflicts with VISUAL.md type floors.
Hand-drawn iconsInconsistent stroke/optical weight; use ui-icons.svg semantics or Heroicons/Lucide/Tabler.
Confusing $NMENU_ / $SMENU_Breaks platform menu contracts; follow live skeleton_guide / variables.
Wrapping $NMENU_*$ in a custom <ul>Double-nests platform list markup; style .uMenuRoot after live DOM inspect.
Repeating sblock_nmenuDuplicate menu blocks produce broken/nested nav markup.
a { color: inherit } (bare / broad)Kills CTA / button link accent colors; use a:not([class]):not([style]) or scoped resets — never bare a{color:inherit}.
Trusting /.s/src/css/2301.cssStock path never shows 3/3 edits; verify live /_st/my.css?v=… (and module CSS URLs).
Containing-block on fixed overlaysfilter/backdrop-filter/transform/perspective/contain/will-change on ancestors clip position:fixed drawers/modals.
Skipping #allEntries archive splitArchive/category grids squeeze into one column; use :has(table) / td.archiveEntries.
Hiding $POWERED_BY$Violates platform/ToS visibility; never CSS-hide copyright.
Skipping non-negotiablesDirection collapses into generic AI look before CSS is written.
Skipping shell audit after publishStale/foreign shells (especially Search 19/1) keep standard or mixed chrome.

QA the result

Use the QA section in references/FRAMEWORK.md. At minimum verify:

  • live desktop and mobile pages for each enabled module;
  • header, off-canvas menu, popup, archive/category, entry page, comments, forms, and footer;
  • menu DOM reset (.uMenuV / .uMenuRoot), no custom <ul> around $NMENU_*$/$SMENU_*$, empty submenu uls hidden;
  • #allEntries archive/category grid via td.archiveEntries / :has(table) split, not a single squeezed column;
  • button/CTA colors survive broad link resets (no bare a { color: inherit } beating CTAs; prefer a:not([class]):not([style]));
  • live /_st/my.css?v=… contains theme selectors — do not verify via 2301.css;
  • fixed overlays are not clipped by containing-block ancestors (filter/backdrop-filter/transform/…);
  • identical breadcrumb component and separator treatment across every breadcrumb-bearing module, Search, system template, and custom Page;
  • SVG icon alignment and inherited colors;
  • every enabled material type has the correct metadata/module icons in both list and full-page states, or a documented standard-markup fallback;
  • full material pages render the verified interactive <?$RSTARS$(...)?> generator with exactly three sprite states and no duplicated rows; $RATING$ is only the numeric value/availability condition and must not substitute for the generator;
  • informer placement after the second publication;
  • every important conditional branch with its value present/absent and, where relevant, logged-in/logged-out states;
  • live /search/?q=… with migrated 19/1 shell and styled 19/2 rows;
  • visible copyright line — one $POWERED_BY$ via BFOOTER, not CSS-hidden;
  • no literal unknown $VARIABLE$, no content overlap, no horizontal scrolling, and visible keyboard focus.

If publication was not explicitly approved, stop after local lint plus skeleton_validate and present the generated framework/CSS for review.

Finish only after the active-template migration above is complete or every remaining limitation is explicitly documented.

Finish

Report the selected design direction, files produced, validation result, saved project ID, publication/PDA status, affected templates, informer codes, CSS replacement, backup status, and pages tested.

After successful completion, call skills_tool(action="register_usage", skill_id="ucoz-template-creator-skill") once. Usage accounting is secondary: do not retry or roll back work if it fails.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ucoz Template Creator Skill AI 技能有什么作用?

为 uCoz 创建完整、原创的网站模板,并为整个网站打造统一的设计:包括富有表现力的版式、响应式框架、视觉设计系统(设计方向、不可妥协的要求、字体与间距下限、Token、图标、CSS 工具箱)、所有启用模块的模板、自定义页面、SEO、信息块、搭配自定义 SVG 精灵图的原生评分功能,以及彻底去除残留默认样式的系统页面。适用于从零开始构建网站模板、全面改版,或通过 ucoz-mcp 生成、发布、迁移和审核框架。不适用于只修改单个模板的小改动或独立的 CSS 片段。

为什么在 TypingMind 中使用 Ucoz Template Creator Skill?

因为您只需安装一次,就能搭配任何模型使用。Ucoz Template Creator Skill 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ucoz Template Creator Skill?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-template-creator-skill。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ucoz Template Creator Skill?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ucoz Template Creator Skill 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ucoz Template Creator Skill 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ucoz Template Creator Skill AI 技能免费吗?

是的。ucoz-skills 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇