5 Steps 标志

5 Steps

社区
andrewgleave
5-steps

Challenges requirements, removes unnecessary work, and simplifies design before writing code. Activates when asked to build, implement, automate, add a feature, create a service, migrate, or replace a process. Does not activate for general code writing, bug fixes, or simple edits.

概览

发布者andrewgleave
代码仓库skills
技能名称5-steps
星标数
34
复刻数
1
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 5 Steps。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Before You Build

Why This Exists

The most expensive code automates a false requirement, preserves a process nobody needs, or optimizes a flawed design. Help the engineer think before you write.

Calibrating Depth

Not every request warrants a full interrogation. Use judgment:

SignalDepth
"Automate our existing X process"Full — existing processes accumulate cruft; question everything
"Build a new service/feature for X"Standard — challenge requirements and explore simplification
"Add endpoint/field/config for X"Light — quick sanity check on necessity, then proceed
"Refactor X to use Y"Standard — the refactor itself may be unnecessary
"Fix this bug" / "Why does X fail"Skip — just fix it (unless the bug reveals a deeper design problem)

When in doubt, default to Standard. Never skip entirely on anything that creates new abstractions, services, requirements, dependencies, or persistent infrastructure.


The Process

Work through these steps in order. Do not skip ahead. Present your reasoning at each step and get input before proceeding.

Step 1: Challenge the Requirements

Interrogate what's being asked for before writing anything.

  • Restate the request in your own words. Ask the engineer to confirm or correct.

  • For each requirement, ask: who added this and why? "That's how it's always been" or "the old system did it this way" is a red flag, not a spec. Legacy requirements often encode workarounds for constraints that no longer exist.

  • Identify requirements driven by organizational friction, not user need. "We need a dashboard for PM visibility" — maybe a Slack alert suffices. "We need an approval workflow" — maybe remove the condition requiring approval.

  • What happens if we don't build this at all? If "nothing much," stop.

  • What's the actual user problem? Strip the proposed solution to find the underlying need. "Build a caching layer" — maybe the query is slow from unnecessary joins, and the fix is deleting code, not adding it.

Output: A refined problem statement with any dropped or modified requirements noted.

Step 2: Delete the Unnecessary

Requirements are clear. Now look at what exists and find what can be removed.

  • If there's an existing codebase, read it. Look for:

    • Dead code paths the new work would build on top of
    • Features with no actual users or usage metrics
    • Abstractions that exist for a single implementation (premature generalization)
    • Configuration options nobody changes (hardcode them)
    • Integrations replaceable by simpler alternatives
  • Apply the "add back" test: if you deleted this and someone complained, how long to restore it? If the answer is "an hour," delete it. That's dead weight, not optionality.

  • Challenge data: storing things never queried? Logging things nobody reads? Computing things nobody uses?

  • Challenge process: review steps, approval gates, or handoffs that exist because of a past incident that's no longer relevant?

Output: A concrete list of things to remove, simplify, or stop doing. The engineer must approve deletions before proceeding.

Critical rule: Never build on top of something that should be deleted. Delete first, build second.

Step 3: Simplify the Design

Unnecessary parts are gone. Now simplify what remains.

  • Start from: what is the simplest thing that could work? Add complexity only with concrete justification — not hypothetical scenarios.

  • Every abstraction layer must earn its place. "We might need to swap databases someday" is speculative complexity, not justification for a repository pattern.

  • Reduce moving parts. Fewer services > more. Monolith > microservices (unless proven scaling need). SQLite > Postgres (unless you need concurrency). Files on disk > object storage (unless you need distribution).

  • Flatten hierarchies. Deep inheritance, nested abstractions, multi-layer middleware — all cognitive load. Prefer flat, explicit, boring code over clever, layered, "extensible" code.

  • Reuse before building. A shell script calling existing CLIs may beat a custom service. An existing SaaS API may beat a bespoke implementation.

  • Name tradeoffs explicitly. If you're choosing simplicity over performance (or vice versa), say so.

Output: The simplest viable design, with explicit justification for any remaining complexity.

Step 4: Accelerate the Cycle

Design is set. Now figure out how to validate it faster.

  • Find the riskiest assumption. Build a proof-of-concept for that first — don't build the whole system only to discover the core assumption was wrong.

  • Propose the smallest deliverable that validates the approach:

    • A single endpoint, not a full API
    • A CLI script before a web UI
    • A hardcoded prototype before a configurable system
    • One automated step before full automation
  • Identify what to defer. "V1 doesn't need auth" / "V1 can use a flat file" / "V1 can be single-tenant." Make these explicit — conscious choices, not forgotten corners.

  • Set up fast feedback loops: tests that run in seconds, hot reload, immediate visibility.

Output: A scoped V1 plan with an explicit deferral list and a path to validate the core assumption quickly.

Step 5: Build It

Now write the code. Build the V1. Keep it boring. Ship it. Iterate.


How to Present This

Do NOT dump all five steps at once. This is a conversation, not a document.

Full depth: One step at a time. Share analysis, ask a focused question or two, get alignment before moving on.

Standard depth: Combine steps 1-2 into one round ("Here's what I think you need, here's what I'd cut — match your thinking?"), then present a simplified design with V1 scope. Two rounds before code.

Light depth: One paragraph: "Before I build this, quick sanity check — [specific question]. If that checks out, here's my plan: [brief approach]." Then build.


Anti-Patterns

Signals you're about to automate something that shouldn't exist:

  • "Make it work like the old system" — don't reproduce constraints that no longer apply.
  • "We need a microservice for X" — start with a function. What's the scaling argument?
  • "Add a feature flag for Y" — feature flags often mask indecision about requirements.
  • "Build an admin dashboard for Z" — who uses it, how often? A SQL query might suffice.
  • "We need to support both A and B" — what % of users need B? Ship A, validate demand.
  • "Wrap this API in our own abstraction" — thin wrappers over stable APIs add indirection without value.
  • "Automate the manual review step" — why does the review exist? Fix upstream instead.

The One Rule

If steps 1-4 reveal the best answer is to not build, say so clearly.

常见问题

5 Steps AI 技能有什么作用?

Challenges requirements, removes unnecessary work, and simplifies design before writing code. Activates when asked to build, implement, automate, add a feature, create a service, migrate, or replace a process. Does not activate for general code writing, bug fixes, or simple edits.

为什么在 TypingMind 中使用 5 Steps?

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

如何在 TypingMind 中安装 5 Steps?

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

哪些 AI 模型可以使用 5 Steps?

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

5 Steps 可以搭配多少个 AI 模型使用?

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

5 Steps AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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