Bwgtrack2 Demo Build 标志

Bwgtrack2 Demo Build

社区
lavinigam-gcp
bwgtrack2-demo-build

在 NovaSmart 实验(Build with Google Track 2)中,为学员构建可选的任务后演示应用:一个小型、真实、在本地运行的 Python 应用,基于对学员本人 Google Cloud 项目的实时读取,并实现构思技能已写好的委托说明。学员演示文件夹中存在 `BRIEF.md` 时加载;或者负责人完成任务后要求构建、制作或组装演示应用时加载。⛔ 常规任务进行期间不要加载——就绪检查、发现资源、拆分共享登录、调整访问权限、内容筛查、评估,以及任何验证或评分卡环节都属于 `novasmart-governance-lab`。⛔ 笔记本电脑正在配置、安装、修复或检查就绪状态时,绝不能加载。“配置我的笔记本电脑”“我准备好了吗”“我为实验准备好了吗”“检查我的配置”和“验证我的环境”都属于 `bwg-lab-setup`,即使用户在打开此文件夹时提出也一样。工具链、Python 环境、会话文件夹和 verify.sh 不属于此技能的范围;在此处回答这些问题会索要活动开始前尚未发放的云凭据。如果没有 `BRIEF.md`,不要开始:先阅读 `../build-demo/SKILL.md` 并完成对话。

Add to TypingMind

概览

发布者lavinigam-gcp
代码仓库BwG-Track2
技能名称bwgtrack2-demo-build
星标数
21
复刻数
11
附带文件
4
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 4 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lavinigam-gcp/BwG-Track2.git /tmp/BwG-Track2
mkdir -p .claude/skills
cp -r /tmp/BwG-Track2/bwg-lab-setup/skills/build-demo/bwgtrack2-demo-build .claude/skills/bwgtrack2-demo-build
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Bwgtrack2 Demo Build。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Build the demo — steering skill for agy

0. What you are building, and for whom

The leader has just finished a mission. This is optional, self-paced, 20-30 minutes, and it is the first thing all day that is theirs. You are not building a lab exercise; you are building the artefact they will show someone.

Same reader as every other turn: a non-technical senior IT leader. Plain English first, raw IDs and command output as evidence beneath. Everything in novasmart-governance-lab/SKILL.md §2, §3a and §4 still applies to what you say. This file governs what you build.

⚠️ Say the teardown truth once, early, and do not repeat it. The project, the VM and this folder are destroyed when the lab ends. What survives is what the leader understood and anything they take away themselves. That changes what is worth building — the moment, not the artefact.

1. The baseline — the one thing every version of this app must do

The baseline is per mission, because each mission unlocks a different proof. Read the Mission: line in BRIEF.md, then take that row and no other.

MissionThe baseline for a demo built after it
M1Cause a real read of NovaSmart's customer table, then name — from Google Cloud's own audit log, not from the app's opinion — which single workload did it, and say plainly which reads it still cannot attribute.
M0⛔ Not yet defined.
M2⛔ Not yet defined.
M3⛔ Not yet defined.
M5⛔ Not yet defined.

⛔ Never invent a baseline for a mission whose row says NOT YET DEFINED, and never stretch another mission's baseline to cover it. Improvising the thing an app must prove is how you get a confident app that proves nothing — the exact failure references/build-and-ground.md exists to prevent.

What to do when the row is undefined. Say it in one plain line — "There isn't a demo defined for Mission 3 yet, so this will be the Mission 1 one" — then build the M1 baseline, which still holds after any later mission because the estate still attributes reads. It simply will not showcase what the later mission changed. The learner chooses whether that is worth their time.

That is a capability, not a design. It does not say console, timeline, map, feed or narrative, and it does not say what goes on the front. The brief decides all of that. You do not renegotiate the baseline, and you do not add to it.

1a. The spine — three elements that hold for every mission

Whatever the baseline and whatever shape the app takes, these three never change:

#Spine elementWhy it is not optional
S3It shows at least one thing it could not attribute or could not read, in the literal words not readHalf of any baseline is the limit, not the finding
S4Every figure carries the command that produced it and the UTC time it ranA figure without a source is a rumour with a typeface
S5It emits no verdict, tick, score or badge the platform did not itself emitThis estate already ships two surfaces that manufacture success — see references/build-and-ground.md §1

1b. The M1 baseline's own two elements

These belong to the M1 row above. A future mission's row will carry its own pair, and they will not be these.

#Spine elementWhy it is not optional
S1The app causes at least one real read this session, and records the UTC time it firedNo trigger, no claim. An app that only reads history is a log viewer
S2It reads the platform's own audit record back and shows the acting principal verbatimThe claim comes from Google Cloud, not from your app

The baseline and the spine are the only fixed things. Form, audience, headline, what the app says when a read fails, and which leftover risk gets permanent screen space are the learner's, and they are already in the brief.

2. The handoff in — read the brief, then read it back

  1. Find BRIEF.md. The brainstorm skill wrote it into the learner's demo folder — $HOME/Desktop/Session<N>/bwgtrack2-demo/BRIEF.md, the same folder the app will appear in. Confirm the folder that actually holds it; never assume the session number.
  2. ⛔ No brief → do not build. Say one sentence — "Let's decide what this is first" — then read ../build-demo/SKILL.md and run that conversation. Coming back with a brief takes about three minutes. Building without one produces the same app as everyone else in the room.
  3. Read the brief back in one sentence before you write anything: what it is, who it is for, what sentence is on the front, and what stays permanently on screen. If you have that wrong, now is the cheap moment to find out.
  4. ⛔ Do not redesign the brief. The open answers in it are the learner's words. Quote them; never paraphrase them into your own. If something in the brief cannot be built honestly, say which line and why, offer the nearest honest thing, and let them choose.
  5. The brief changes which reads you run, not just how the page looks. A brief about the dataset access list and a brief about denials are different apps with different commands. Pick the reads the brief actually needs from references/data-palette.md — not all of them.

3. The build loop

Work in this order. It exists because the expensive part — the audit log's minutes of lag — runs underneath everything else.

#StepNotes
1Sweep first. Run the reads the brief needs, write one JSON file per read into evidence/, each carrying the exact command and the UTC time it ranEvidence exists before the app does, so every later failure still leaves something real
2Fire the triggers early, before a line of app code exists, and record both UTC send timesThe lag becomes the schedule instead of a wait. references/data-palette.md §4
3Report what failed in one plain lineA read that 403'd is a panel that says not read, and that is a passing outcome
4⭐ Read the look-and-feel rules, then decide the look yourself. Before you write any HTML or CSS, open, in this order: references/build-and-ground.md §6 (the layout contract) and §7 (what a gamified page may and may not do); vendor/OVERRIDES.md; then vendor/design-rules/typography.md, layout-and-space.md, color.md, anti-patterns.md and slop-test.md§5. ⚠️ Never ask the learner about the UI — the rules and the brief decide it, and you decide the rest. This step is why the page is readable by the person it is for
5Copy assets/starter_app.py into the demo folder as app.py, then diverge from it§4
6Run it and open itreferences/local-run.md — the port range, Chrome, the ban on xdg-open
7Verify it is realreferences/local-run.md §4. This is not optional and it is not a formality
8Hand back the URL, the screenshot, and one honest line about what the page cannot show§6

⏱ Budget. Sweep and triggers by minute 8, app running by minute 17, the audit rows land while the learner watches the build. If you are behind, cut panels — never cut the trigger or the verification.

4. The starter is a starting point, not a template

assets/starter_app.py is a working skeleton: one Python file, standard library only, a PROBES list of {id, argv, parser}, a run_probe() that records argv + UTC + exit status, an estate endpoint, a trigger endpoint, and the page.

  • Copy it, then make it the learner's. The panels, the ordering, the words, the shape and what the page does when a read fails all come from the brief.
  • ⛔ An app that is the starter with the project ID changed has failed the activity. Twenty identical pages is exactly what the brainstorm skill spent three minutes preventing.
  • Keep it small. One file, standard library only, roughly 200 lines. If it will not fit, the design is too big for the slot — cut a panel, not the honesty rules.
  • Its stylesheet already implements the layout contract — the token block, the type scale, the single column, the identifier wrapping. Change the panels, the words and the shape freely; if you rewrite the CSS, rewrite it to the same contract (references/build-and-ground.md §6), not to a fresh guess.
  • Why Python and not a static page: a file:// page cannot cause the read. It has no credentials and its fetch is blocked. A tiny local service shells out to gcloud / bq / curl and inherits the VM's ambient credentials, and that is the entire grounding mechanism.

5. The four references — read the one you need

FileRead it whenWhat it gives you
references/data-palette.mdBefore the sweep. Always.Every readable source, the exact command, what it returns, its confidence, and what an app does with it. The two triggers, and the one that is banned
references/build-and-ground.mdBefore you write a line of the page. Always.The honesty contract as enforceable rules, the fences (read-only, no customer rows, no credentials, never test-agent-caller), §6 the layout contract — tokens, type scale, column width, identifier wrapping — §7 the line a gamified page may not cross, and the self-check before you hand back
references/gallery.mdOnly if the learner is stuck for a shapeShort seeds, mission-tagged. Not recipes, and never a menu you pick from on their behalf
references/local-run.mdSteps 6-8The port range and how to pick one, how the learner opens it, and the verification checklist you must perform and report

vendor/ — the look-and-feel guidance the build depends on

vendor/design-rules/ holds fifteen files of vendored look-and-feel guidance — typography, spacing, colour restraint, interaction states, and the named tells that make a page read as machine-generated — under a third-party licence. Step 4 of the build loop requires you to read the five named files. This is the step that was skipped in a real run, and the page that came back was a near-black terminal with monospace headings that its reader could not interpret. Three rules:

  • Read vendor/OVERRIDES.md before any file under vendor/design-rules/. It records, row by row, where the vendored advice and this suite disagree, and it is short.
  • references/build-and-ground.md wins outright, every time. Vendored guidance governs how the page looks; it never governs what the page claims. It contains no SKILL.md, and never will.
  • ⛔ Never edit a file under vendor/ to make it agree. Record the divergence in your report instead.

If a file named in step 4 is genuinely missing, say which one in one plain line, then build to references/build-and-ground.md §6, which restates as enforceable rules the handful of decisions those files exist to settle. ⛔ A missing vendored file is never permission to skip the layout contract, and it is never a reason to ask the learner what the page should look like.

5a. House style for the thing you build

The page is read by someone who thinks in risk, not commands. Seven rules, and they are not taste:

  • The form is settled by the layout contract, not by preference and never by asking. Light page, one column, a proportional face for prose, monospace only for commands and identifiers, and long resource paths that wrap instead of running the width of the screen: references/build-and-ground.md §6.
  • A heading names what was read, never what it means. "Reads of the customer table, last 60 minutes" — not "Customer data secured".
  • ⛔ No grading word anywhere on the page: secure, safe, protected, compliant, healthy, clean, exposed, vulnerable, at risk. Every one of them is a verdict wearing an adjective.
  • ⛔ No tick, cross, badge, pill, score, percentage or traffic-light colour. A state is worded. There is no green and no red. This holds when the learner asked for a game, and it is the only thing that does: levels, progression and playful headings are all theirs to have — references/build-and-ground.md §7 draws the line and gives four tests for it.
  • Plain English above, raw values below. A full service-account address, a resource path or a principal:// value belongs in the evidence line under a panel, never in the headline over it.
  • The page must work with the network unplugged after load. ⛔ No remote stylesheet, font, script or image; no @import, no CDN. A page that needs the network is a page that fails in the room.
  • Write nothing into the learner's folder except the demo — the app, evidence/, and the line you append to their brief. No dot-directories, no tool logs, no notes files.

6. How to close

  • Hand back three things: the URL as the last line of your reply, the screenshot you took after looking at your own render, and one sentence naming what the page cannot show.
  • Never claim the app is finished, correct or complete. Say what it does, what you verified live, and what came back not read.
  • The leader owns when to stop. Finishing early with something honest beats running over with something padded. Say so once, plainly, and mean it.

⭐ Say this before the URL line, once, and never as a bulleted menu. Substitute all three brackets from their BRIEF.md — three different lines of it, in their own words, not yours:

That's version one — my read of your brief, not your finished idea. It's meant to change.

Tell me what to do differently, in your own words. People say things like "<their Q3 worry, in their phrasing> should be the first thing you see", "too much here, cut it to one screen", or "<their Q4 ask, shortened> — can it show that as well?"

Wanting it different is not a sign anything went wrong. It's the part where it stops being mine.

  • ⛔ Never bullet those three examples — a list reads as a menu with a right answer, and they are meant to sound like things a person said.
  • ⛔ Never ask permission to continue. This lab runs auto-approve. "Tell me what to change" is an open door; "would you like me to change anything?" is a gate wearing a friendly face.
  • ⛔ Say it once. Repeating it after every revision turns an invitation into nagging.
  • When they do come back, append their words to the brief (../build-demo/references/brief-template.md records how) and rebuild — never re-run the four questions, and never rewrite what they first asked for.

Stage-2 handoff, existence-gated — check the directory, do not promise from this file:

  • If ../bwgtrack2-demo-record/SKILL.md exists, offer recording as a next step and hand over.
  • If ../bwgtrack2-demo-publish/SKILL.md exists, offer publishing and hand over.
  • If neither exists — which is the normal case today — say the honest ending instead: the app runs here, in this lab, until the lab ends. ⛔ Do not promise a repo, a video or a URL that outlives the session. Tell them what they could rebuild it from, and leave it there.

附带文件

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

常见问题

Bwgtrack2 Demo Build AI 技能有什么作用?

在 NovaSmart 实验(Build with Google Track 2)中,为学员构建可选的任务后演示应用:一个小型、真实、在本地运行的 Python 应用,基于对学员本人 Google Cloud 项目的实时读取,并实现构思技能已写好的委托说明。学员演示文件夹中存在 `BRIEF.md` 时加载;或者负责人完成任务后要求构建、制作或组装演示应用时加载。⛔ 常规任务进行期间不要加载——就绪检查、发现资源、拆分共享登录、调整访问权限、内容筛查、评估,以及任何验证或评分卡环节都属于 `novasmart-governance-lab`。⛔ 笔记本电脑正在配置、安装、修复或检查就绪状态时,绝不能加载。“配置我的笔记本电脑”“我准备好了吗”“我为实验准备好了吗”“检查我的配置”和“验证我的环境”都属于 `bwg-lab-setup`,即使用户在打开此文件夹时提出也一样。工具链、Python 环境、会话文件夹和 verify.sh 不属于此技能的范围;在此处回答这些问题会索要活动开始前尚未发放的云凭据。如果没有 `BRIEF.md`,不要开始:先阅读 `../build-demo/SKILL.md` 并完成对话。

为什么在 TypingMind 中使用 Bwgtrack2 Demo Build?

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

如何在 TypingMind 中安装 Bwgtrack2 Demo Build?

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

哪些 AI 模型可以使用 Bwgtrack2 Demo Build?

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

Bwgtrack2 Demo Build 可以搭配多少个 AI 模型使用?

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

Bwgtrack2 Demo Build AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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