结构化分步思考
sequential-thinking
针对需要多步分析、修订能力和假设验证的复杂任务,运用结构化、反思式的问题解决方法。适用于复杂问题分解、自适应规划、需要中途纠偏的分析、范围不明确的问题、多步骤解决方案以及假设驱动的工作。
- License 许可
- MIT
- 最近更新
- 2025-12-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- sequential-thinking
- license
- MIT
- version
- 1.0.0
- description
- Apply structured, reflective problem-solving for complex tasks requiring multi-step analysis, revision capability, and hypothesis verification. Use for complex problem decomposition, adaptive planning, analysis needing course correction, problems with unclear scope, multi-step solutions, and hypothesis-driven work.
02 资源文件 16
- 其他.env.example308 B
- 其他.gitignore180 B
- 参考文档package.json697 B
- 参考文档README.md5.4 KB
- 参考文档references/advanced-strategies.md2.5 KB
- 参考文档references/advanced-techniques.md2.3 KB
- 参考文档references/core-patterns.md2.5 KB
- 参考文档references/examples-api.md2.2 KB
- 参考文档references/examples-architecture.md2.6 KB
- 参考文档references/examples-debug.md2.4 KB
- 参考文档references/file-processing-mode.md1.1 KB
- 参考文档references/inline-text-mode.md1.8 KB
- 脚本scripts/format-thought.js4.7 KB
- 脚本scripts/process-thought.js6.6 KB
- 脚本tests/format-thought.test.js3.6 KB
- 脚本tests/process-thought.test.js5.6 KB
03 SKILL.md 正文
Sequential Thinking
Structured problem-solving via manageable, reflective thought sequences with dynamic adjustment.
When to Apply
- Complex problem decomposition
- Adaptive planning with revision capability
- Analysis needing course correction
- Problems with unclear/emerging scope
- Multi-step solutions requiring context maintenance
- Hypothesis-driven investigation/debugging
Core Process
1. Start with Loose Estimate
Thought 1/5: [Initial analysis]
Adjust dynamically as understanding evolves.
2. Structure Each Thought
- Build on previous context explicitly
- Address one aspect per thought
- State assumptions, uncertainties, realizations
- Signal what next thought should address
3. Apply Dynamic Adjustment
- Expand: More complexity discovered → increase total
- Contract: Simpler than expected → decrease total
- Revise: New insight invalidates previous → mark revision
- Branch: Multiple approaches → explore alternatives
4. Use Revision When Needed
Thought 5/8 [REVISION of Thought 2]: [Corrected understanding]
- Original: [What was stated]
- Why revised: [New insight]
- Impact: [What changes]
5. Branch for Alternatives
Thought 4/7 [BRANCH A from Thought 2]: [Approach A]
Thought 4/7 [BRANCH B from Thought 2]: [Approach B]
Compare explicitly, converge with decision rationale.
6. Generate & Verify Hypotheses
Thought 6/9 [HYPOTHESIS]: [Proposed solution]
Thought 7/9 [VERIFICATION]: [Test results]
Iterate until hypothesis verified.
7. Complete Only When Ready
Mark final: Thought N/N [FINAL]
Complete when:
- Solution verified
- All critical aspects addressed
- Confidence achieved
- No outstanding uncertainties
Application Modes
Explicit: Use visible thought markers when complexity warrants visible reasoning or user requests breakdown.
Implicit: Apply methodology internally for routine problem-solving where thinking aids accuracy without cluttering response.
Scripts (Optional)
Optional scripts for deterministic validation/tracking:
scripts/process-thought.js- Validate & track thoughts with historyscripts/format-thought.js- Format for display (box/markdown/simple)
See README.md for usage examples. Use when validation/persistence needed; otherwise apply methodology directly.
References
Load when deeper understanding needed:
references/core-patterns.md- Revision & branching patternsreferences/examples-api.md- API design examplereferences/examples-debug.md- Debugging examplereferences/examples-architecture.md- Architecture decision examplereferences/advanced-techniques.md- Spiral refinement, hypothesis testing, convergencereferences/advanced-strategies.md- Uncertainty, revision cascades, meta-thinking
04 同仓库更多 Skills
Next.js 全栈应用开发
web-frameworks
使用 Next.js(App Router、Server Components、RSC、PPR、SSR、SSG、ISR)、Turborepo(monorepo 管理、任务管道、远程缓存、并行执行)和 RemixIcon(3100+ SVG 图标,线性/填充样式)构建现代全栈 Web 应用。适用于创建 React 应用、实现服务端渲染、搭建含多个包的 monorepo、优化构建性能与缓存策略、添加图标库、管理共享依赖,或开发 TypeScript 全栈项目。
UI 界面样式设计与实现
ui-styling
使用 shadcn/ui 组件(基于 Radix UI + Tailwind 构建)、Tailwind CSS 实用工具优先的样式设计以及基于画布的视觉设计,创建美观、无障碍的用户界面。适用于构建用户界面、实现设计系统、创建响应式布局、添加无障碍组件(对话框、下拉菜单、表单、表格)、定制主题与配色、实现深色模式、生成视觉设计和海报,或在各应用间建立一致的样式模式。
Three.js 三维场景开发
threejs
使用 Three.js 构建沉浸式 3D 网页体验——这是一个 WebGL/WebGPU 库,涵盖场景、相机、几何体、材质、灯光、动画、加载器、后处理、着色器(包括基于节点的 TSL)、计算、物理、VR/XR 以及高级渲染。适用于创建 3D 可视化、游戏、交互式图形、数据可视化、产品配置器、建筑漫游或 WebGL/WebGPU 应用程序。涵盖 OrbitControls、GLTF/FBX 加载、PBR 材质、阴影映射、后处理效果(bloom、SSAO、SSR)、自定义着色器、实例化、LOD、动画系统和 WebXR。
技术方案调研
research
当你需要调研、分析和规划可扩展、安全且可维护的技术方案时使用。
技术方案规划
planning
当您需要规划可扩展、安全且可维护的技术方案时使用。
SePay 与 Polar 支付集成
payment-integration
使用 SePay(越南支付网关,支持 VietQR、银行转账、银行卡)和 Polar(全球 SaaS 货币化平台,支持订阅、按用量计费、自动化权益发放)实现支付集成。适用于集成支付处理、实现结账流程、管理订阅、处理 Webhook、处理银行转账、生成二维码、自动化权益发放或构建计费系统。支持身份认证(API 密钥、OAuth2)、产品管理、客户门户、税务合规(Polar 作为 MoR 商户记录方),以及全面的 SDK 集成(Node.js、PHP、Python、Go、Laravel、Next.js)。