Logo 5 Steps

5 Steps

Cộng đồng
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.

Tổng quan

Nhà phát hànhandrewgleave
Kho mãskills
Tên kỹ năng5-steps
Sao
34
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được andrewgleave công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI 5 Steps trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/andrewgleave/skills/tree/main/5-steps
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật 5 Steps trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp 5 Steps ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng 5 Steps với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI 5 Steps làm được gì?

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.

Vì sao nên dùng 5 Steps trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. 5 Steps là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài 5 Steps trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/andrewgleave/skills/tree/main/5-steps. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng 5 Steps?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng 5 Steps với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng 5 Steps với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI 5 Steps có miễn phí không?

Có. Kỹ năng này được andrewgleave phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇