Heritage Architecture Studio 标志

Heritage Architecture Studio

社区
thursdaycapital
heritage-architecture-studio

Use when the user gives an ancient or historic building name, even a bare input such as “古罗马斗兽场”, or asks for an Architecture Reference Sheet, GPT Image prompt, architecture JSON, multi-view reference board, or procedural Three.js reconstruction. Automatically identify building type, style, period, culture, materials, features, signature structures, geometry, and preservation state; output a complete fixed-view museum-grade Prompt first, save and optionally display machine-readable JSON, then generate the board and a verified Three.js webpage unless the user narrows the scope.

概览

发布者thursdaycapital
代码仓库heritage-architecture-studio
技能名称heritage-architecture-studio
星标数
20
复刻数
2
附带文件
8
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 8 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thursdaycapital/heritage-architecture-studio.git /tmp/heritage-architecture-studio
mkdir -p .claude/skills
cp -r /tmp/heritage-architecture-studio/skills/heritage-architecture-studio .claude/skills/heritage-architecture-studio
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Heritage Architecture Studio。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Heritage Architecture Studio

Overview

Turn one architecture name into a predictable artifact chain:

text
building name
→ automatic architecture analysis
→ complete Architecture Reference Sheet Prompt
→ structured JSON specification
→ consistent multi-view board
→ procedural Three.js exhibit
→ browser QA and delivery

A bare input is complete:

text
古罗马斗兽场

Do not ask for style, view list, quality, framework, or dimensions unless the name is genuinely ambiguous and authoritative lookup cannot resolve it.

Scope Routing

Choose scope from the user’s wording:

  • Bare building name: run the full chain. Output the complete Prompt first, save the analysis and JSON specification, then continue to board generation and the verified webpage. Keep JSON as a linked artifact unless the user asks to see it inline.
  • Prompt only: perform the analysis internally, output/save only the complete Prompt, and stop. Do not create or expose a JSON artifact.
  • Prompt + JSON: output/save the complete Prompt and a self-contained JSON specification, then stop unless media/web work was also requested.
  • JSON only: output valid JSON matching templates/architecture-reference-schema.json; include the full Prompt in its prompt field and add no prose outside the code block unless warning about unresolved identity.
  • Reference board only: analyze, produce Prompt/JSON, generate and inspect the board, then stop.
  • Three.js page only: perform enough analysis to preserve identity, build and verify the webpage, and do not force a new reference-board generation step unless geometry is otherwise underdetermined.
  • Reference image supplied: treat the image as evidence only. Determine scope from the accompanying request; the mere presence of an image never expands or narrows the requested deliverables.

Never expand beyond an explicitly narrowed scope. Never stop at a plan or scaffold inside the selected scope.

Default Output Files

Create or reuse a subject workspace with scripts/init_workspace.py:

text
<workspace>/<slug>-heritage-studio/
├── manifest.json
├── research-notes.md
├── prompts/
│   ├── architecture-reference-spec.json   # only when JSON is in scope
│   ├── image-board-prompt-en.md
│   └── image-board-prompt-zh.md
├── reference/
│   ├── multiview-board-v1.png
│   └── board-review.md
├── modeling-notes.md
├── web/
└── verification/

Use versioned media filenames after visible revisions.

Phase 1 — Automatic Architecture Analysis

Read references/architecture-analysis-schema.md. Resolve and normalize these fields from the building name:

  1. Identity: canonical English/local name, aliases, location, preservation state.
  2. Building type: amphitheatre, temple, basilica, timber hall, pagoda, palace, gate, fortification, dome/rotunda, rock-cut monument, etc.
  3. Architectural style: named tradition/order plus one short visual definition.
  4. Construction period: date or range, dynasty/empire/era, later major alterations.
  5. Culture: civilization, region, religious/civic function.
  6. Materials: primary, secondary, roof/crown, surface finish, weathering.
  7. Architectural features: plan, massing, levels, bays, openings, circulation, roof/dome/crown.
  8. Signature structures: 3–8 elements that make the subject recognizable in one second.
  9. Geometry: normalized proportions, repeated counts/rhythm, symmetry, interior voids, section logic.
  10. Preservation/damage: intact, restored, ruin; surviving and missing zones.

For a named real monument, prefer official heritage, UNESCO, museum, academic, or measured sources. Separate:

  • confirmed: source-backed facts;
  • inferred: visually/typologically inferred decisions;
  • simplified: real-time modeling reductions.

Do not fabricate exact dimensions or counts. Required top-level analysis categories must remain present as objects/arrays; when a specific value is unknown, set that subfield to null, a range, or a qualitative ratio and record the uncertainty in assumptions.

Completion criterion: the internal analysis covers every required category. When JSON is in scope, the same analysis populates architecture-reference-spec.json; unknown subfields are explicitly null and explained rather than silently omitted.

Phase 2 — Fixed Architecture Reference Sheet Prompt

Read templates/multiview-board-prompt.md. Generate an English master Prompt and a Chinese mirror Prompt. Both must be directly pasteable into GPT Image, Flux, Midjourney, or a comparable model.

Mandatory view inventory

The Prompt must explicitly request all of these views of one identical building:

  1. Hero Perspective (45°) — largest panel, full silhouette.
  2. Front View — true orthographic elevation.
  3. Back View — true orthographic elevation.
  4. Left View — true orthographic elevation.
  5. Right View — true orthographic elevation.
  6. Additional Perspective Views — at least two diagnostic oblique views, normally rear three-quarter and low/high oblique.
  7. Top View — orthographic roof/plan view.
  8. Bottom / Internal Structure View — use a literal underside only when architecturally meaningful; otherwise use a cutaway/section revealing foundation, interior load path, vaults, framing, seating, or subterranean structure.
  9. Roof Detail — for roofless ruins, substitute attic/crown/broken-skyline detail; never invent a roof.
  10. Architectural Ornament Detail — diagnostic column order, bracket set, capital, carving, arch, lattice, cornice, tile, relief, or joint.

Do not silently omit a view because it is inconvenient. Adapt semantically to the building type while preserving the label in Prompt/JSON.

Mandatory rendering lock

Include these exact concepts in every complete Prompt:

text
Clean White Background
Consistent Scale
Orthographic Presentation
Museum-grade Architecture Reference Sheet
Ultra Detailed
Photorealistic
PBR Materials
Soft Studio Lighting
8K

Clarifications:

  • Use white or near-white studio paper, not transparent, cinematic landscape, or travel scenery.
  • Front/back/left/right/top must use consistent orthographic scale. Perspective panels may use 35–50 mm equivalent cameras.
  • “8K” describes target detail quality; the generator’s actual pixel dimensions must be reported honestly after rendering.
  • Use a textless board by default. Image models often produce gibberish; reserve clean margins for later labels.

Consistency lock

Repeat that every panel must share:

  • canonical identity;
  • plan and proportions;
  • floor/bay/column/arch counts;
  • materials and color palette;
  • front/north orientation;
  • damage/restoration map;
  • roof/crown geometry;
  • ornament vocabulary.

Architectural consistency outranks cinematic beauty.

Completion criterion: both prompts contain every mandatory view, every rendering-lock concept, identity/geometry/material/damage sections, a text policy, and negative constraints.

Phase 3 — JSON Output

Read templates/architecture-reference-schema.json. Output architecture-reference-spec.json by default alongside the Prompt.

The JSON is the machine-readable source of truth for board generation and Three.js planning. It must include:

  • input and canonical subject names;
  • automatic analysis fields;
  • fixed views object with every mandatory view key;
  • rendering values for style, background, scale, projection, quality, materials, and lighting;
  • consistency rules;
  • negative constraints;
  • evidence/assumptions;
  • the full English Prompt in prompt, making every JSON specification self-contained.

Use valid JSON: double quotes, no comments, no trailing commas, no Markdown inside saved .json files.

Run scripts/validate_prompt_output.py before declaring success:

bash
# Prompt-only scope
python scripts/validate_prompt_output.py --prompt image-board-prompt-en.md --prompt image-board-prompt-zh.md

# Prompt + JSON / JSON-enabled scope
python scripts/validate_prompt_output.py --prompt image-board-prompt-en.md --prompt image-board-prompt-zh.md --json architecture-reference-spec.json

Completion criterion: validator exits 0, rejects all unfilled {{PLACEHOLDER}} tokens, and reports no missing mandatory view, rendering token, view semantic, or schema rule.

Phase 4 — Generate and Inspect the Reference Board

Use the configured image-generation tool and the complete Prompt. Default to:

  • landscape 16:9;
  • one large 45° hero panel plus at least ten secondary image panels, for at least 11 actual views because Additional Perspective Views contains a minimum of two separate panels;
  • clean white studio background;
  • highest practical quality;
  • no generated prose labels.

Inspect the actual pixels. Verify:

  • immediate subject recognition;
  • all mandatory view categories are present (small details may be grouped as insets);
  • one consistent building, scale, orientation, materials, and damage map;
  • foundation and highest point are not cropped;
  • no watermarks, gibberish, fantasy additions, people, vegetation, or scenery hiding geometry.

If one or more mandatory views are absent, diagnose the layout failure and make targeted, versioned retries until the board passes or an explicit provider, budget, or repeated-consistency blocker is documented. Avoid blind rerolls and cap retries when the same failure repeats without improvement. Record actual dimensions and accepted filename in manifest.json.

Completion criterion: board-review.md says accepted and identifies any tolerances that must not be treated as measured truth.

Phase 5 — Convert to a Three.js Modeling Brief

Read references/modeling-archetypes.md. Map the analysis and accepted board to:

  • normalized coordinate system;
  • major dimensions and repeated-unit counts;
  • named scene groups matching real structural systems;
  • instancing/merged-geometry strategy;
  • openings with real depth;
  • roof/crown/dome/ruin construction;
  • deterministic damage mask;
  • material palette and light hierarchy;
  • hero/front/back/left/right/top/internal camera presets;
  • mobile camera/FOV/fog values.

For ruins, separate present state from conjectural reconstruction. A reconstruction toggle should reveal a translucent group rather than rewrite history as opaque fact.

Completion criterion: every mandatory reference-sheet view resolves a real modeling question or is marked as intentionally simplified.

Phase 6 — Build and Verify the Three.js Webpage

Load and follow interactive-3d-web-exhibits, frontend-design, and webapp-testing when available. Default to Vite + Three.js ES modules with local npm dependencies so the exhibit is reproducible and production-buildable. Deliver a subject-specific museum/editorial exhibit, not a default canvas demo.

Set and record a performance budget before adding fine detail: reuse geometries/materials, instance or merge repeated units, cap pixel ratio, and verify the actual hero/mobile cameras before increasing polygon count.

Required capabilities:

  • procedural, rotatable 3D geometry with OrbitControls, explicit pan restrictions, and bounded zoom/polar angles;
  • hero/front/back/left/right/top/internal presets as applicable;
  • layer controls operating on real named groups;
  • cutaway/exploded view;
  • day/night or analytical light mode;
  • reconstruction mode for ruins when useful;
  • projected annotations and click details;
  • complete reset;
  • portrait-specific cameras and fog.

Expose readiness hooks:

js
window.__EXHIBIT_READY__ = false;
window.__MODEL_STATS__ = { meshCount, triangleCount };
window.__EXHIBIT__ = {
  scene, camera, renderer, controls, modelRoot, groups, state, setView, reset, snapshot
};

Set readiness only after multiple real frames render.

Read references/verification-contract.md. Minimum proof:

  1. npm install --include=dev.
  2. npm run build exits 0.
  3. HTTP 200 and readiness marker present.
  4. Chromium reaches __EXHIBIT_READY__ === true.
  5. Canvas pixel probe proves non-blank output.
  6. Camera, layer, cutaway/reconstruction, lighting/motion, and reset controls alter scene state.
  7. Capture and visually inspect isolated-state hero, front, top, cutaway, reconstruction, night, internal, and mobile-390x844 screenshots.
  8. Zero uncaught JavaScript errors and no unexpected failed responses.
  9. Open the final URL in Chrome when possible.

Completion criterion: qa-results.json contains "ok": true from real assertions.

When webpage work is in scope, deliver the verified URL plus links to manifest.json, Prompt files, optional JSON specification, accepted board, production dist/index.html, final screenshots, and qa-results.json; report actual mesh/triangle counts, viewports, and error totals.

Direct Response Format

The user asked for a usable Prompt, so lead with it rather than making them wade through the internal analysis:

text
## Complete Architecture Reference Sheet Prompt
[one copy-ready prompt code block]

## Architecture Analysis
[compact table: type, style, period, culture, materials, features, signature structures]

## JSON
[only when requested inline; otherwise provide the saved JSON file link]

## Generated Board / Three.js Webpage
[only when included in scope: verified image, URL, files, real QA numbers]

For a bare-name full run, save Prompt and JSON before media/web work so those deterministic artifacts survive even if generation fails. When the user asks for “直接输出 Prompt”, output the Prompt code block first with no long preamble.

Failure Handling

  • Unresolved identity: ask one narrow disambiguation question only after lookup cannot choose.
  • Image generation unavailable: save the Prompt and, when JSON is in scope, the JSON specification; report the exact provider error; never invent an image path; continue the Three.js build from research/analysis when that remains feasible and within the requested scope.
  • Model omits views: tighten the panel layout and mandatory inventory, then create a versioned retry.
  • A literal bottom view is nonsensical: output a structural underside/cutaway/internal view and state the adaptation in JSON.
  • No surviving roof: use roof/crown/attic/broken-skyline detail; do not hallucinate a roof.
  • Network unavailable: continue with labeled assumptions and avoid false precision.
  • Mobile crop: fix camera/FOV/fog, not only CSS.

Common Pitfalls

  1. Producing generic adjectives without automatic architecture analysis.
  2. Returning only a pretty 45° image while omitting back/left/right/internal views.
  3. Asking image models to render prose labels and accepting gibberish.
  4. Calling every panel “orthographic” while using inconsistent perspective and scale.
  5. Treating “8K” as proof of actual 7680×4320 output.
  6. Inventing roofs, ornaments, dimensions, or pristine symmetry absent from evidence.
  7. Emitting pseudo-JSON with comments, trailing commas, or missing fixed view keys.
  8. Building a fake cutaway whose UI changes but scene groups do not.
  9. Declaring a Three.js page complete from build logs without browser pixels.

Verification Checklist

  • Bare name accepted with no unnecessary questions.
  • Type, style, period, materials, features, signature structures, and culture analyzed.
  • Confirmed facts, inferences, and simplifications separated.
  • English and Chinese complete Prompts saved.
  • Hero/front/back/left/right/additional/top/internal/roof/ornament views explicitly present.
  • White background, consistent scale, orthographic, museum-grade, ultra detail, photorealism, PBR, studio light, and 8K included.
  • JSON validates against the fixed contract, is saved by default, and is shown inline only when requested.
  • Prompt/JSON validator exits 0.
  • Generated board passes actual visual review when in scope.
  • Three.js build, HTTP, browser pixels, controls, desktop/mobile, and reset pass when in scope.
  • Final artifacts delivered with absolute Markdown paths.

附带文件

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

常见问题

Heritage Architecture Studio AI 技能有什么作用?

Use when the user gives an ancient or historic building name, even a bare input such as “古罗马斗兽场”, or asks for an Architecture Reference Sheet, GPT Image prompt, architecture JSON, multi-view reference board, or procedural Three.js reconstruction. Automatically identify building type, style, period, culture, materials, features, signature structures, geometry, and preservation state; output a complete fixed-view museum-grade Prompt first, save and optionally display machine-readable JSON, then generate the board and a verified Three.js webpage unless the user narrows the scope.

为什么在 TypingMind 中使用 Heritage Architecture Studio?

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

如何在 TypingMind 中安装 Heritage Architecture Studio?

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

哪些 AI 模型可以使用 Heritage Architecture Studio?

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

Heritage Architecture Studio 可以搭配多少个 AI 模型使用?

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

Heritage Architecture Studio AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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