AGENT SKILL

技术方案规划

planning

当你需要规划可扩展、安全且可维护的技术方案时使用。

适用职业系统架构师
License 许可
MIT
所属仓库
vienkmt/TermiPro
最近更新
2026-08-09
Stars
★ 0
Forks
0

01 前言 Front Matter

name
planning
license
MIT
description
Use when you need to plan technical solutions that are scalable, secure, and maintainable.

02 资源文件 5

03 SKILL.md 正文

Planning

Create detailed technical implementation plans through research, codebase analysis, solution design, and comprehensive documentation.

When to Use

Use this skill when:

  • Planning new feature implementations
  • Architecting system designs
  • Evaluating technical approaches
  • Creating implementation roadmaps
  • Breaking down complex requirements
  • Assessing technical trade-offs

Core Responsibilities & Rules

Always honoring YAGNI, KISS, and DRY principles. Be honest, be brutal, straight to the point, and be concise.

1. Research & Analysis

Load: references/research-phase.md Skip if: Provided with researcher reports

2. Codebase Understanding

Load: references/codebase-understanding.md Skip if: Provided with scout reports

3. Solution Design

Load: references/solution-design.md

4. Plan Creation & Organization

Load: references/plan-organization.md

5. Task Breakdown & Output Standards

Load: references/output-standards.md

Workflow Process

  1. Initial Analysis → Read codebase docs, understand context
  2. Research Phase → Spawn researchers, investigate approaches
  3. Synthesis → Analyze reports, identify optimal solution
  4. Design Phase → Create architecture, implementation design
  5. Plan Documentation → Write comprehensive plan
  6. Review & Refine → Ensure completeness, clarity, actionability

Output Requirements

  • DO NOT implement code - only create plans
  • Respond with plan file path and summary
  • Ensure self-contained plans with necessary context
  • Include code snippets/pseudocode when clarifying
  • Provide multiple options with trade-offs when appropriate
  • Fully respect the ./docs/development-rules.md file.

Important

DO NOT create plans or reports in USER directory. ALWAYS create plans or reports in CURRENT WORKING PROJECT DIRECTORY.

Plan Directory Structure IN CURRENT WORKING PROJECT DIRECTORY:

plans/
└── {date}-plan-name/
    ├── research/
    │   ├── researcher-XX-report.md
    │   └── ...
    ├── reports/
    │   ├── XX-report.md
    │   └── ...
    ├── scout/
    │   ├── scout-XX-report.md
    │   └── ...
    ├── plan.md
    ├── phase-XX-phase-name-here.md
    └── ...

Active Plan State

Prevents version proliferation by tracking current working plan via session state.

Active vs Suggested Plans

Check the ## Plan Context section injected by hooks:

  • "Plan: {path}" = Active plan, explicitly set via set-active-plan.cjs - use for reports
  • "Suggested: {path}" = Branch-matched, hint only - do NOT auto-use
  • "Plan: none" = No active plan

Rules

  1. If "Plan:" shows a path: Ask "Continue with existing plan? [Y/n]"
  2. If "Suggested:" shows a path: Inform user, ask if they want to activate or create new
  3. If "Plan: none": Create new plan using naming from ## Naming section
  4. Update on create: Run node .claude/scripts/set-active-plan.cjs {plan-dir}

Report Output Location

All agents writing reports MUST:

  1. Check ## Naming section injected by hooks for the computed naming pattern
  2. Active plans use plan-specific reports path
  3. Suggested plans use default reports path (not plan folder)

Important

DO NOT create plans or reports in USER directory. ALWAYS create plans or reports in CURRENT WORKING PROJECT DIRECTORY.

Important: Suggested plans do NOT get plan-specific reports - this prevents pollution of old plan folders.

Quality Standards

  • Be thorough and specific
  • Consider long-term maintainability
  • Research thoroughly when uncertain
  • Address security and performance concerns
  • Make plans detailed enough for junior developers
  • Validate against existing codebase patterns

Remember: Plan quality determines implementation success. Be comprehensive and consider all solution aspects.

04 同仓库更多 Skills

vienkmt
vienkmt/TermiPro

Next.js 全栈 Web 应用构建

web-frameworks

使用 Next.js(App Router、Server Components、RSC、PPR、SSR、SSG、ISR)、Turborepo(monorepo 管理、任务流水线、远程缓存、并行执行)和 RemixIcon(3100+ 种 outlined/filled 风格的 SVG 图标)构建现代全栈 Web 应用。适用于创建 React 应用、实现服务端渲染、搭建包含多个包的 monorepo、优化构建性能与缓存策略、添加图标库、管理共享依赖,或开发 TypeScript 全栈项目。

软件开发工程师前端开发与界面实现
★ 0
vienkmt
vienkmt/TermiPro

shadcn/ui 与 Tailwind 界面样式设计

ui-styling

使用 shadcn/ui 组件(基于 Radix UI + Tailwind 构建)、Tailwind CSS 的 utility-first 样式以及基于 canvas 的视觉设计,创建美观且无障碍的用户界面。适用于构建用户界面、实现设计系统、创建响应式布局、添加无障碍组件(对话框、下拉菜单、表单、表格)、定制主题和颜色、实现深色模式、生成视觉设计和海报,或在应用程序间建立统一的样式规范。

软件开发工程师前端开发与界面实现
★ 0
vienkmt
vienkmt/TermiPro

Three.js 三维网页开发

threejs

使用 Three.js 构建沉浸式的 3D Web 体验——这是一个用于场景、相机、几何体、材质、灯光、动画、加载器、后期处理、着色器(包括基于节点的 TSL)、计算、物理、VR/XR 和高级渲染的 WebGL/WebGPU 库。适用于创建 3D 可视化、游戏、交互式图形、数据可视化、产品配置器、建筑漫游或 WebGL/WebGPU 应用程序。涵盖 OrbitControls、GLTF/FBX 加载、PBR 材质、阴影映射、后期处理效果(bloom、SSAO、SSR)、自定义着色器、实例化、LOD、动画系统和 WebXR。

软件开发工程师前端开发与界面实现
★ 0
vienkmt
vienkmt/TermiPro

结构化思考与问题分析

sequential-thinking

针对需要多步分析、修订能力和假设验证的复杂任务,运用结构化、反思性的问题解决方法。适用于复杂问题分解、自适应规划、需要调整方向的分析、范围不明确的问题、多步骤解决方案以及假设驱动的工作。

知识工作者结构化问题解决引导
★ 0
vienkmt
vienkmt/TermiPro

技术方案研究规划

research

在需要研究、分析和规划可扩展、安全且可维护的技术方案时使用。

研究工程师技术预研与概念验证
★ 0
vienkmt
vienkmt/TermiPro

支付集成开发

payment-integration

实现与 SePay(越南支付网关,支持 VietQR、银行转账、银行卡)和 Polar(全球 SaaS 商业化平台,支持订阅、按用量计费、自动化权益发放)的支付集成。适用于集成支付处理、实现结账流程、管理订阅、处理 webhook、处理银行转账、生成二维码、自动化权益发放或构建计费系统。支持身份认证(API 密钥、OAuth2)、产品管理、客户门户、税务合规(Polar 作为 MoR 商家记录)以及全面的 SDK 集成(Node.js、PHP、Python、Go、Laravel、Next.js)。

软件开发工程师支付运营与结算管理
★ 0