Logo Ucoz Template Creator Skill

Ucoz Template Creator Skill

Cộng đồng
ucoz-skills
ucoz-template-creator-skill

Tạo template trang web uCoz hoàn chỉnh, độc đáo và áp dụng thiết kế nhất quán trên toàn bộ trang: bố cục giàu cá tính, khung responsive, hệ thống thiết kế trực quan (định hướng, nguyên tắc bắt buộc, giới hạn tối thiểu cho kiểu chữ/khoảng cách, token, biểu tượng, bộ công cụ CSS), template cho mọi module đang hoạt động, trang tùy chỉnh, SEO, informer, hệ thống đánh giá gốc với SVG sprite tùy chỉnh và các trang hệ thống không còn kiểu mặc định sót lại. Dùng khi tạo template trang web từ đầu, thiết kế lại toàn bộ hoặc tạo, xuất bản, di chuyển và kiểm tra một framework thông qua ucoz-mcp. Không dùng cho chỉnh sửa nhỏ trên một template hoặc một đoạn CSS riêng lẻ.

Tổng quan

Nhà phát hànhucoz-skills
Kho mãagent-skills
Tên kỹ năngucoz-template-creator-skill
Sao
24
Bản fork
0
Tệp đi kèm
21
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 21 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ucoz-skills công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ucoz Template Creator Skill trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-template-creator-skill
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ucoz Template Creator Skill trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ucoz Template Creator Skill ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ucoz Template Creator Skill với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ucoz Template Creator Skill làm được gì?

Tạo template trang web uCoz hoàn chỉnh, độc đáo và áp dụng thiết kế nhất quán trên toàn bộ trang: bố cục giàu cá tính, khung responsive, hệ thống thiết kế trực quan (định hướng, nguyên tắc bắt buộc, giới hạn tối thiểu cho kiểu chữ/khoảng cách, token, biểu tượng, bộ công cụ CSS), template cho mọi module đang hoạt động, trang tùy chỉnh, SEO, informer, hệ thống đánh giá gốc với SVG sprite tùy chỉnh và các trang hệ thống không còn kiểu mặc định sót lại. Dùng khi tạo template trang web từ đầu, thiết kế lại toàn bộ hoặc tạo, xuất bản, di chuyển và kiểm tra một framework thông qua ucoz-mcp. Không...

Vì sao nên dùng Ucoz Template Creator Skill trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ucoz Template Creator Skill là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ucoz Template Creator Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-template-creator-skill. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ucoz Template Creator Skill?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ucoz Template Creator Skill với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ucoz Template Creator Skill với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ucoz Template Creator Skill có miễn phí không?

Có. Kỹ năng này được ucoz-skills phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇