跳到正文
cccskills
免费在 GitHub 公开

sequential-thinking

Structured step-by-step problem decomposition and iterative analysis; explicit request only, never for regular coding tasks, and at most once per task.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md6.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

sequential-thinking

When to use

Use this skill when:

  • A problem requires multiple interconnected reasoning steps
  • The initial scope or approach is uncertain
  • You need to filter through complexity to find core issues
  • You may need to backtrack or revise earlier conclusions
  • You want to explore alternative solution paths
  • A decision has significant consequences and needs careful analysis

Do NOT use for:

  • Simple queries with direct answers
  • Single-step tasks
  • Well-understood, routine operations

Core capabilities

Iterative reasoning

Break complex problems into sequential thought steps. Each step builds on previous ones but can also question or revise them.

Dynamic scope

Start with an estimate of needed steps, but adjust as understanding evolves. Don't commit to a fixed plan — let the analysis guide the depth.

Revision tracking

When new information contradicts an earlier conclusion:

  1. Acknowledge the contradiction explicitly.
  2. Identify which earlier step needs revision.
  3. Revise the conclusion with the new evidence.
  4. Propagate the change to all dependent steps.

Branch exploration

When multiple approaches seem viable:

  1. Identify the decision point.
  2. Explore each branch briefly (2-3 steps).
  3. Compare outcomes and tradeoffs.
  4. Choose the best path with reasoning.
  5. Document why alternatives were rejected.

Procedure: Sequential thinking

Step 1: Frame the problem

  • What exactly needs to be solved?
  • What are the constraints?
  • What does success look like?
  • What information is missing?

Step 2: Decompose

  • Break into independent sub-problems where possible.
  • Identify dependencies between sub-problems.
  • Order by dependency (solve prerequisites first).

Step 3: Solve iteratively

For each sub-problem:

  1. Analyze — What do we know? What do we need?
  2. Hypothesize — What's the most likely solution?
  3. Verify — Does the hypothesis hold against evidence?
  4. Conclude or Revise — Accept or go back to step 1.

Step 4: Synthesize

  • Combine sub-problem solutions into the overall answer.
  • Check for contradictions between sub-solutions.
  • Verify the combined solution against the original problem.

Step 5: Validate

  • Does the solution actually solve the stated problem?
  • Are there edge cases not covered?
  • Is the solution proportional to the problem (not over-engineered)?

When to revise

Revise earlier thinking when:

  • New evidence contradicts a previous assumption.
  • A sub-problem solution doesn't fit the overall picture.
  • The user provides new information that changes the context.
  • You realize you were solving the wrong problem.

When to branch

Explore alternatives when:

  • Two approaches seem equally viable.
  • The stakes are high (architecture decisions, data migrations).
  • The user asks "what if we did X instead?"
  • The first approach hits a dead end.

Integration with other skills

  • bug-analyzer — Use sequential thinking for complex root cause analysis.
  • feature-planning — Use for architecture decision exploration (Phase 4).
  • technical-specification — Use for evaluating alternatives in specs.
  • refactorer — Use for planning multi-step refactoring safely.

Anti-patterns

Anti-patternProblemFix
Premature conclusionJumping to a solution without analysisComplete at least Steps 1-3 first
Analysis paralysisEndless exploration without decidingSet a step limit, then decide
Ignoring contradictionsPushing forward despite conflicting evidenceStop and revise
Linear-only thinkingNever considering alternativesBranch at key decision points
Scope creepProblem keeps expanding during analysisRe-frame and constrain

Output format

  1. Numbered reasoning steps with conclusions
  2. Final answer or recommendation with confidence level

Tool availability — this is a procedure, not a tool call

Everything above runs in-session: it is a way of structuring reasoning, and it needs nothing installed.

The wider MCP ecosystem carries a sequentialthinking server exposing a tool of that name. This package registers no MCP server — mcp.json ships {"servers": {}} — so on a default install that tool is not present, and nothing here tries to call it. Registering one is a consumer-side install decision this package deliberately does not make for you.

So a reader on a default install can answer the question directly: the tool is not available to you, and none of this skill depends on it. If you have registered such a server yourself, the once-per-task limit below governs that call too — the limit is about looping, not about which mechanism does the thinking.

Gotcha

  • Don't use sequential thinking for simple tasks — it adds latency without value.
  • The model tends to generate too many thoughts — cap at 10 unless the problem truly needs more.
  • Each thought should build on the previous one — avoid restating the same point in different words.

Do NOT

  • Do NOT use this for simple, well-understood tasks — it adds unnecessary overhead.
  • Do NOT run this procedure more than once per task. If you are reaching for it repeatedly, you are looping — stop and act directly instead.
  • Do NOT use it as a "thinking proxy" — if the task is "view a file" or "run a command", just do it. No thinking step needed.
  • Do NOT skip the validation step — always check the solution against the original problem.
  • Do NOT ignore contradictions — they are signals, not noise.
  • Do NOT commit to a fixed number of steps upfront — let the problem guide the depth.

References

  • Chain-of-Thought (CoT) — arxiv.org/abs/2201.11903 Step-by-step reasoning improves complex problem solving in large language models. This skill constrains CoT by capping the number of thoughts and enforcing a validation step — avoids the common failure mode of unbounded chain expansion.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

中文简介正在准备中。当前显示原文说明。

event4u-app/agent-config122026年10月19日 更新

查看 event4u-app 的全部技能

报告此技能的问题