Communitygithub.com

段階的思考

複雑な問題に対して、ステップごとの分析と修正機能を適用します。多段階の推論、仮説検証、適応的計画、問題の分割、軌道修正に使用します。

段階的思考 とは?

このスキルは、複雑な問題を管理可能な思考の連鎖に分解し、動的に調整しながら解決へ導くための体系的な方法論を提供します。特に、Claude CodeやCursor、CodexといったAIエージェントプラットフォーム上で、多段階の推論や仮説検証、軌道修正が必要な場面で有効です。思考の数を動的に調整したり、必要に応じて過去の思考を修正・分岐させたりすることで、不確実性の高い問題やスコープが不明確な問題にも柔軟に対応できます。各思考は前の文脈を明示的に引き継ぎ、仮説の生成と検証を繰り返すことで、最終的な確信を得るまで反復的に問題解決を進めます。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/majiayu000/claude-skill-registry-data/tree/HEAD/analysis/sequential-thinking-hoanghd218-landing-page-ai-kien

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

段階的思考(Sequential Thinking)

管理可能で内省的な思考の連鎖を通じた構造化問題解決と、動的調整機能。

適用場面

  • 複雑な問題の分解
  • 修正機能を備えた適応的計画
  • 軌道修正を必要とする分析
  • スコープが不明確または変化する問題
  • コンテキスト維持が必要な多段階解決策
  • 仮説駆動型の調査・デバッグ

核となるプロセス

1. 大まかな見積もりから始める

思考 1/5: [初期分析]

理解が深まるにつれて動的に調整します。

2. 各思考を構造化する

  • 前のコンテキストを明示的に引き継ぐ
  • 1つの思考で1つの側面に取り組む
  • 前提、不確実性、気づきを明記する
  • 次の思考で取り組むべきことを示す

3. 動的調整を適用する

  • 拡張: 予想より複雑 → 総数を増やす
  • 縮小: 予想より単純 → 総数を減らす
  • 修正: 新しい洞察で以前の内容が無効に → 修正としてマーク
  • 分岐: 複数のアプローチ → 代替案を探索

4. 必要に応じて修正を使用する

思考 5/8 [思考2の修正]: [修正された理解]
- 元の内容: [以前述べたこと]
- 修正理由: [新しい洞察]
- 影響: [何が変わるか]

5. 代替案のために分岐する

思考 4/7 [思考2からの分岐A]: [アプローチA]
思考 4/7 [思考2からの分岐B]: [アプローチB]

明示的に比較し、決定の根拠とともに収束させます。

6. 仮説を生成して検証する

思考 6/9 [仮説]: [提案された解決策]
思考 7/9 [検証]: [テスト結果]

仮説が検証されるまで反復します。

7. 準備ができたときにのみ完了する

最終マーク: 思考 N/N [最終]

以下の場合に完了:

  • 解決策が検証された
  • すべての重要な側面が対応された
  • 確信が得られた
  • 未解決の不確実性がない

適用モード

明示的: 複雑さが思考の可視化を必要とする場合、またはユーザーが内訳を要求した場合に、可視的な思考マーカーを使用します。

暗黙的: 思考の補助が正確性を高めるが応答を煩雑にしない、日常的な問題解決には、内部で方法論を適用します。

スクリプト(オプション)

決定論的な検証・追跡のためのオプションのスクリプト:

  • scripts/process-thought.js - 思考を検証・追跡し、履歴を保持
  • scripts/format-thought.js - 表示用にフォーマット(ボックス形式/マークダウン/シンプル形式)

使用例についてはREADME.mdを参照してください。検証や永続化が必要な場合に使用し、それ以外は方法論を直接適用します。

参考文献

より深い理解が必要な場合に参照:

  • references/core-patterns.md - 修正と分岐のパターン
  • references/examples-api.md - API設計の例
  • references/examples-debug.md - デバッグの例
  • references/examples-architecture.md - アーキテクチャ決定の例
  • references/advanced-techniques.md - スパイラル改善、仮説検証、収束
  • references/advanced-strategies.md - 不確実性、修正カスケード、メタ思考

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

関連スキル