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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    andrewgleaveがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「5 Steps」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットで5 Stepsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的に5 Stepsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、5 Stepsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

5 Stepsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

5 Stepsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでも5 Stepsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「5 Steps」は無料ですか?

はい。andrewgleaveがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇