Communitygithub.com

顺序思考

对复杂问题进行逐步分析,并具备修正能力。适用于多步推理、假设验证、自适应规划、问题分解和路径修正。

顺序思考 是什么?

顺序思考是一种结构化的问题解决方法,它将复杂问题分解为一系列可管理的、反思性的思考序列,并支持动态调整。该技能特别适用于需要多步推理、自适应规划、假设驱动调试以及范围不清晰或不断变化的问题场景。技能核心流程要求从粗略估计开始,逐步构建每个思考步骤,并支持扩展、收缩、修正和分支等动态调整操作。它提供了明确的修正和分支标记语法,方便在思考过程中进行回溯和方案比较。此外,技能还包含假设生成与验证环节,确保最终解决方案经过充分测试和确认。技能支持显式模式(使用可见标记进行复杂推理)和隐式模式(内部应用方法论以提高准确性)。可选脚本(`process-thought.js` 和 `format-thought.js`)可用于确定性验证和格式展示,适合需要持久化或严格跟踪的场景。

兼容平台✓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 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

顺序思考 是做什么的?

通过可管理的、反思性的思考序列进行结构化问题解决,并支持动态调整。

何时应用

  • 复杂问题分解
  • 具有修正能力的自适应规划
  • 需要路径修正的分析
  • 范围不清晰或不断演变的问题
  • 需要维护上下文的多步解决方案
  • 假设驱动的调查/调试

核心流程

1. 从粗略估计开始

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

随着理解的深入动态调整。

2. 结构化每个思考

  • 显式地在前一个上下文的基础上构建
  • 每个思考处理一个方面
  • 陈述假设、不确定性、新发现
  • 指明下一个思考应该解决的问题

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".

相关技能