Lightweight Ai Workflow logo

Lightweight Ai Workflow

OrganizationPopular
TencentBlueKing
lightweight-ai-workflow

处理 BK-CI AI 编码任务分流时使用,例如判断日常任务是否需要 OpenSpec、多 Agent、影响面清单或验证清单。

Overview

PublisherTencentBlueKing
Repositorybk-ci
Skill namelightweight-ai-workflow
Stars
2.5K
Forks
524
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by TencentBlueKing on GitHub. Read the source before you install it.

Installation

Install the Lightweight Ai Workflow AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TencentBlueKing/bk-ci.git /tmp/bk-ci
mkdir -p .claude/skills
cp -r /tmp/bk-ci/ai/skills/lightweight-ai-workflow .claude/skills/lightweight-ai-workflow
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lightweight Ai Workflow in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lightweight Ai Workflow on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lightweight Ai Workflow is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Lightweight AI Workflow

适用场景

  • 用户要求制定、执行或检查 AI 编码流程
  • 需求开始前需要判断走轻流程、OpenSpec 还是多 Agent
  • 代码实现前需要做影响面分析
  • 代码实现后需要给出最小验证结论和剩余风险

不适用场景

  • 已经明确是某个业务模块的普通实现,优先读该模块 skill
  • 已有 openspec/changes/<change>/,优先遵守 openspec-first
  • 用户只问概念、代码解释或不涉及交付流程的问题

快速指导

  1. 先按 skill-context-first 识别主模块,默认只读 1 个模块主 skill。
  2. 单模块、低风险、边界明确的任务,可按复杂度选择直接实现,或先进入 Plan Mode 梳理方案;不要 直接升级 OpenSpec 或多 Agent。
  3. 多模块、影响不明或容易漏联动点的任务,先完成 impact checklist,再决定是否实现。
  4. 命中 OpenSpec 触发条件时,先补文档,再改代码。
  5. 需求大、范围模糊、跨端或连续返工时,才升级多 Agent。
  6. 实现完成后,输出 verification checklist,说明已验证项、未验证项和剩余风险。

任务分流

  • 轻流程:单模块、小范围、低风险、验收清楚;读取目标模块 skill 后,可按复杂度选择直接实现,或 先进入 Plan Mode 梳理范围、影响面和方案。
  • 影响面先行:跨模块、调用链不明、配置/权限/数据/i18n 可能受影响;先写 impact checklist。
  • OpenSpec:新增或修改 API、数据结构、数据库脚本、稳定外部契约;跨 2 个以上微服务或核心模块; 涉及权限、兼容性、迁移、灰度、回滚;或验收口径不清。
  • 多 Agent:需求范围大且模块归属不清;需要需求、方案、实现、质量门禁分阶段交接;单 Agent 连续两轮仍无法收敛;或用户明确要求多 Agent 协作。

Impact Checklist

  • 本次主要落在哪个模块 skill?是否需要补读 1 个横切 skill?
  • 影响哪些层:Resource、Service、DAO、Model、配置、脚本、前端、Worker、Agent?
  • 是否影响 API、数据契约、数据库、权限、i18n、事件、缓存或定时任务?
  • 是否存在调用方、被调用方、历史兼容、灰度或回滚要求?
  • 是否需要 OpenSpec 或多 Agent 升级?

Verification Checklist

  • 本次需求点是否逐项覆盖?
  • 受影响模块是否至少跑过编译、单测、lint 或关键脚本之一?
  • 没跑的验证是什么,原因是什么?
  • 是否有新增 warning、失败或规则违反?
  • 是否仍有未验证风险、历史遗留问题或需要人工确认的点?

高信号规则

  • 轻量入口只负责分流和清单,不承载模块知识。
  • 不要为了“保险”扩大流程;小任务优先把 token 用在代码和验证上。
  • 发现重复漏改或流程误判时,先沉淀到 ai/evals/,确认稳定后再调整 rule 或 skill。

延伸阅读

  • skill-context-first:模块 skill 读取预算
  • openspec-first:已有 OpenSpec 变更的文档优先规则
  • multi-agent-workflow:大任务或多 Agent 协作规则
  • ../../HARNESS.md:rule、skill、reference 与编辑器适配目录边界

Frequently asked questions

What does the Lightweight Ai Workflow AI skill do?

处理 BK-CI AI 编码任务分流时使用,例如判断日常任务是否需要 OpenSpec、多 Agent、影响面清单或验证清单。

Why use Lightweight Ai Workflow on TypingMind?

Because you install it once and use it with any model. Lightweight Ai Workflow is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lightweight Ai Workflow in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TencentBlueKing/bk-ci/tree/master/ai/skills/lightweight-ai-workflow. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Lightweight Ai Workflow?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lightweight Ai Workflow?

As many as you like. As long as a model supports skills, you can use Lightweight Ai Workflow with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lightweight Ai Workflow AI skill free?

It is published on GitHub by TencentBlueKing. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇