Enterprise Portal Generator 标志

Enterprise Portal Generator

社区
smart-open
enterprise-portal-generator

一键生成完整的 6 页企业门户网站,适配任何行业。当用户根据公司信息要求构建、创建或生成企业网站、公司门户网站或商业网站时调用。

概览

发布者smart-open
代码仓库skills
技能名称enterprise-portal-generator
星标数
23
复刻数
5
附带文件
4
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 4 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/smart-open/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/enterprise-portal-generator .claude/skills/enterprise-portal-generator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Enterprise Portal Generator。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Enterprise Portal Generator

Generates a complete, production-ready 6-page enterprise portal website from a single user brief. The output adapts its palette, typography, layout density, and content patterns to the user's industry — no two industries look the same, but all share the same engineering quality and anti-slop discipline.

Core principle: One folder, six HTML pages, one CSS design system, one JS interaction layer. Open index.html via file:// or any static server — it just works. No build step, no framework, no CDN dependencies beyond Google Fonts.

When to Invoke

  • User asks to "build a company website" / "做个企业网站" / "生成门户网站"
  • User provides company info (name, industry, services) and wants a full site
  • User asks for a "corporate portal" / "企业门户" / "公司官网"
  • User wants to adapt an existing portal to a different industry

Output Artifacts

ArtifactPathDescription
HTML pages{output-dir}/{slug}/index.html + 5 more6 pages: index, products, news, about, recruitment, consultation
CSS{output-dir}/{slug}/css/style.cssSingle design system file with all tokens + components
JS{output-dir}/{slug}/js/main.jsNav toggle, scroll reveal, counters, form validation, back-to-top
Favicon{output-dir}/{slug}/assets/favicon.svgInline SVG brand mark
Hero images{output-dir}/{slug}/assets/images/*.jpgGenerated via GenerateImage tool

Naming convention: {slug} = company English name in kebab-case (e.g. sourcelead, acme-corp). All pages live flat in the slug folder, not nested.

The 6 Pages

PageFilePrimary Job
Homepageindex.htmlPromise + proof: hero, trust strip, services, architecture, industries, cases, testimonial, CTA
Products/Servicesproducts.htmlDepth: service bento, delivery process, tech stack, FAQ
Newsnews.htmlCadence: news grid with category filter, featured article
Aboutabout.htmlTrust: intro, mission/vision/values, timeline, team, culture, contact
Recruitmentrecruitment.htmlHiring: open positions, culture, benefits, interview process
Consultationconsultation.htmlConvert: contact channels, consultation form, service hours, FAQ

Brief Inference (Read the Room First)

Before generating anything, infer from the user's input and declare a one-line Design Read:

"Reading this as: {industry} {company-type} for {audience}, with a {vibe} language, leaning toward {palette family} + {typography mood}."

Required input signals (ask if missing)

If the user's brief lacks any of these, ask one consolidated question — never a multi-question dump:

  1. Company name (Chinese + English if available)
  2. Industry (maps to an industry preset — see references/industry-presets.md)
  3. Core services (3-6 service lines for the products page)
  4. Tone (professional / approachable / technical / premium / playful)
  5. Differentiator (one sentence: why pick them over competitors)

Optional signals (infer if absent)

  • Founding year, team size, project count (for trust strip)
  • Contact channels (WeChat, QQ, email, phone)
  • Office location
  • Brand color preference (if user says "blue" or "green", honor it)

Three Dials

Set these based on the industry preset, then let them drive every layout, motion, and density decision.

  • DESIGN_VARIANCE (1-10): 1 = Perfect Symmetry, 10 = Artsy Chaos. B2B corporate default: 5-7.
  • MOTION_INTENSITY (1-10): 1 = Static, 10 = Cinematic. B2B corporate default: 4-6.
  • VISUAL_DENSITY (1-10): 1 = Airy Gallery, 10 = Packed Cockpit. B2B corporate default: 4-5.

Dial overrides by industry tone:

ToneVARIANCEMOTIONDENSITY
Professional / trust-first (finance, government, medical, legal)4-53-44-5
Technical / engineering (software, manufacturing, logistics)5-74-64-5
Premium / brand (luxury, real estate, consulting)6-85-73-4
Approachable / consumer (retail, education, food)6-85-63-4

Full Workflow (7 Steps)

Step 1: Parse Brief & Select Industry Preset

  1. Extract the 5 required signals from the user's input
  2. Match the industry to a preset in references/industry-presets.md
  3. If no exact match, blend the two closest presets and document the blend
  4. Declare the Design Read line + dial values

Step 2: Generate Design Tokens

Based on the industry preset, produce the CSS custom properties:

  • Colors: primary accent, neutral ink scale, background tiers, semantic colors
  • Typography: display font, body font, mono font; size scale via clamp()
  • Spacing: section padding, card padding, gaps — all via clamp() for fluid responsiveness
  • Radii: one corner-radius system (sm, md, lg, xl)
  • Shadows: subtle (sm), medium (default), large (hover)
  • Easing: one primary cubic-bezier for all transitions

See references/design-system.md for the full token spec and component CSS.

Step 3: Build the CSS Design System

Write css/style.css following this layer order:

  1. Reset & base (box-sizing, margin reset, smooth scroll, font smoothing)
  2. Design tokens (:root custom properties)
  3. Typography (display, h1-h4, body, lead, mono, eyebrow)
  4. Layout primitives (container, section, split, grid, bento)
  5. Components (nav, hero, card, zigzag, timeline, form, footer, back-to-top)
  6. Animations (reveal, line-reveal, stagger, hero-float, breathe, counter)
  7. Responsive (768px, 480px breakpoints with reduced padding/spacing)

Step 4: Generate Page Assets

  1. Favicon: inline SVG brand mark derived from company initials or logo concept
  2. Hero images: use GenerateImage tool with industry-appropriate prompts
    • Homepage hero: abstract representation of the company's craft
    • Page heroes: lighter, scene-specific imagery
    • CRITICAL: No hex codes, no text, no watermarks, no UI borders in image prompts
    • Use natural language colors matching the palette
  3. Case images: for case study cards on homepage

Step 5: Build 6 HTML Pages

Follow references/page-architecture.md for each page's section structure. Shared elements across all pages:

  • Navigation: brand logo + 6 nav links + CTA button + mobile hamburger
  • Footer: brand block + 3 link columns + contact + legal row + status dot
  • Back-to-top: fixed bottom-right, appears after scroll
  • Mobile menu: slide-down panel with all nav links

Step 6: Build JS Interactions

Write js/main.js with these modules (vanilla JS, no dependencies):

  1. Nav toggle: hamburger opens/closes mobile menu, aria-expanded sync
  2. Scroll reveal: IntersectionObserver on [data-reveal] elements
  3. Stagger: child elements of [data-stagger] get incremental delays
  4. Counters: [data-count] elements animate from 0 to target on reveal
  5. Form validation: required fields, phone/email format, error messages
  6. Back-to-top: show/hide on scroll, smooth scroll to top on click
  7. News filter: category buttons filter news cards (news.html only)

Step 7: Pre-Flight Checklist & Browser Verification

Run through references/optimization-checklist.md mechanically:

  1. Anti-slop audit: no em-dashes, no AI-purple, no eyebrow soup, no empty bento cells
  2. Engineering audit: section padding halved, form padding sufficient, clamp syntax valid
  3. Visual polish: breathing dots, hero gradients, text-wrap balance, scroll-margin-top
  4. Browser verification: navigate to each page, check computed styles, take screenshots
  5. Responsive check: resize to 768px and 480px, verify no horizontal scroll

Routing to References

ReferenceWhen to load
references/design-system.mdStep 2-3: building the CSS
references/industry-presets.mdStep 1: selecting industry adaptation
references/page-architecture.mdStep 5: building HTML pages
references/optimization-checklist.mdStep 7: pre-flight verification

Load all four references at the start — they are small and cross-referenced.

Anti-Slop Discipline (Non-Negotiable)

These rules apply to ALL generated sites regardless of industry:

  1. No em-dashes or en-dashes in any visible text. Use commas, periods, or restructure the sentence.
  2. No AI-purple / blue glow as default aesthetic. Use industry-appropriate palettes.
  3. Eyebrow restraint: max 1 eyebrow per 3 sections. Hero counts as 1.
  4. No empty bento cells. N items to N cells. Remove the grid if fewer than 3 items.
  5. No duplicate CTA intent. One label per intent per page.
  6. No decorative dots, numbered card-tags, or horizontal scrollers. Use real names.
  7. No glassmorphism on everything. Only where materially justified.
  8. No magnetic button effects. Use gradient sweep on hover instead.
  9. One corner-radius system. Do not mix 4px with 16px with 24px.
  10. One accent color across the whole page. Neutrals carry the rest.

See references/optimization-checklist.md for the full 60+ item checklist.

Engineering Conventions

  • clamp() syntax: + and - MUST have whitespace on both sides. clamp(2rem, 1rem + 2vw, 4rem) is valid; clamp(2rem,1rem+2vw,4rem) silently fails to 0.
  • Container widths: .container = 1320px, .container-wide = 1480px. Do not mix them in the same section (causes left-edge misalignment).
  • Section padding: clamp(1.6rem, 0.75rem + 2.5vw, 3rem) — kept tight for density.
  • Form padding: clamp(3.6rem, 2.6rem + 5vw, 5.8rem) — generous for breathing room.
  • Card hover: translateY(-4px) with shadow elevation. Not -2px (too subtle).
  • Scroll margin: scroll-margin-top: 80px on all [id] sections (nav height offset).
  • Text wrap: text-wrap: balance on all headings for even line breaks.
  • Reduced motion: all non-essential animations wrapped in @media not all and (prefers-reduced-motion: reduce).
  • Fonts: self-host or Google Fonts via <link>. Always include font-display: swap.
  • Images: loading="lazy" except hero (eager). Always include descriptive alt.

Content Voice

  • Headlines: short, declarative, benefit-led. Max 2 lines on desktop.
  • Body: conversational but professional. Avoid jargon unless the audience is technical.
  • CTAs: action verb + object. "免费咨询方案" not "了解更多".
  • Trust signals: specific numbers over vague claims. "127+ 交付项目" not "众多成功案例".
  • Tone match: if industry is finance/legal, be formal. If education/retail, be warmer.

附带文件

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

常见问题

Enterprise Portal Generator AI 技能有什么作用?

一键生成完整的 6 页企业门户网站,适配任何行业。当用户根据公司信息要求构建、创建或生成企业网站、公司门户网站或商业网站时调用。

为什么在 TypingMind 中使用 Enterprise Portal Generator?

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

如何在 TypingMind 中安装 Enterprise Portal Generator?

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

哪些 AI 模型可以使用 Enterprise Portal Generator?

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

Enterprise Portal Generator 可以搭配多少个 AI 模型使用?

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

Enterprise Portal Generator AI 技能免费吗?

smart-open 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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