[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ET79H1JGCBD9RW9FPP21Y1":3,"skill-same:01M6ET79H1JGCBD9RW9FPP21Y1":101},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6ET79H1JGCBD9RW9FPP21Y1","project-planner",null,"Comprehensive project planning and documentation generator for software projects. Creates structured requirements documents, system design documents, and task breakdown plans with implementation tracking. Use when starting a new project, defining specifications, creating technical designs, or breaking down complex systems into implementable tasks. Supports user story format, acceptance criteria, component design, API specifications, and hierarchical task decomposition with requirement traceability.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"project planner","planner","project","system design","specifications","traceability","software","systems","acceptance criteria","project planning","implementation","design","use","user","tracking","format","system","projects","documents","component","2026-11-10 10:12:30",false,"---\nname: project-planner\ndescription: Comprehensive project planning and documentation generator for software projects. Creates structured requirements documents, system design documents, and task breakdown plans with implementation tracking. Use when starting a new project, defining specifications, creating technical designs, or breaking down complex systems into implementable tasks. Supports user story format, acceptance criteria, component design, API specifications, and hierarchical task decomposition with requirement traceability.\n---\n\n# Project Planner Skill\n\n## 执行环境\n\n| 路径类型 | 说明 |\n|---------|------|\n| **使用方式** | 此技能提供模板和指导，**无需本地脚本执行** |\n| **调用场景** | 当用户需要项目规划、需求文档、系统设计时自动激活 |\n| **输出格式** | Markdown 文档（requirements.md, design.md, tasks.md） |\n\n## 路径说明\n\n- **无本地路径依赖**：此技能生成文档模板，不涉及本地脚本执行\n- **生成的文档**：保存在执行命令时的当前目录（`process.cwd()`）\n- **项目上下文**：基于当前工作目录确定项目根目录\n\nThis skill provides templates and guidance for generating comprehensive project planning documents that serve as blueprints for AI-assisted implementation.\n\n## Quick Start\n\nWhen a user wants to start a new project, generate three core documents:\n1. **Requirements Document** - User stories with acceptance criteria\n2. **Design Document** - Technical architecture and component specifications  \n3. **Implementation Plan** - Hierarchical task breakdown with requirement tracing\n\n## Why Explicit Architectural Planning Works\n\nSetting clear roles, responsibilities, and deliverables upfront dramatically improves project outcomes:\n\n### Benefits of Upfront Definition\n\n1. **Component Clarity** - Defining all system components first prevents scope creep and ensures complete coverage\n2. **Data Flow Visibility** - Mapping data movement early reveals integration complexities and performance bottlenecks\n3. **Integration Planning** - Identifying all touchpoints upfront prevents surprise dependencies during implementation\n4. **Clear Boundaries** - Explicitly stating what's in\u002Fout of scope focuses effort and prevents feature drift\n5. **Measurable Success** - Specific goals and constraints enable objective progress tracking\n\n### The Architect Mindset\n\nWhen acting as a **Project Architect**, approach planning with:\n- **Systems Thinking** - See the whole before diving into parts\n- **Interface-First Design** - Define contracts between components before internals\n- **Traceability Focus** - Every requirement maps to design elements and tasks\n- **Constraint Awareness** - Acknowledge limitations upfront to guide decisions\n- **Deliverable Orientation** - Know exactly what artifacts you're producing\n\n## Document Generation Workflow\n\n### 1. Project Architect Role Definition\n\nWhen starting a project, explicitly establish Claude as the **Project Architect** with clear responsibilities:\n\n**Role:** System Architect and Planning Specialist\n**Responsibilities:**\n- Define complete system architecture with all components\n- Map data flow between system elements\n- Identify all integration points and interfaces\n- Establish clear project boundaries and constraints\n- Create traceable requirements to implementation tasks\n\n### 2. Initial Project Understanding\n\nBefore generating documents, gather key information and architectural elements:\n\n```\nRequired Project Information:\n- Project name and purpose\n- Target users (single-user local, multi-tenant SaaS, etc.)\n- Core functionality (3-5 main features)\n- Technical preferences (languages, frameworks, deployment)\n- Non-functional requirements (performance, security, scalability)\n\nRequired Architectural Elements (define upfront):\n- System Components: All major modules\u002Fservices and their purposes\n- Data Flow: How data moves through the entire system\n- Integration Points: All external APIs, services, databases\n- System Boundaries: What's in scope vs out of scope\n- Constraints: Technical, business, and resource limitations\n- Success Metrics: Clear, measurable goals for the system\n```\n\n### 3. Deliverable Definition (Set Upfront)\n\nDefine all deliverables explicitly before starting documentation:\n\n```\nStandard Deliverables Package:\n1. Requirements Document\n   - User stories with measurable acceptance criteria\n   - Complete glossary of terms\n   - Traceable requirement IDs\n   \n2. System Design Document  \n   - Component architecture diagram\n   - Data flow diagrams for all major processes\n   - Integration point specifications\n   - API\u002FInterface contracts\n   - Performance and scaling targets\n   \n3. Implementation Plan\n   - Hierarchical task breakdown\n   - Requirement-to-task mapping\n   - Dependency graph\n   - Phase-based delivery schedule\n\nOptional Deliverables (specify if needed):\n- API Documentation\n- Database Schema Design\n- Security Threat Model\n- Deployment Guide\n- Testing Strategy Document\n```\n\n### 4. Generate Requirements Document\n\nUse the requirements template to create user-focused specifications:\n\n```python\n# Execute this to generate requirements structure\nrequirements = {\n    \"introduction\": \"System purpose and scope\",\n    \"glossary\": \"Domain-specific terms\",\n    \"requirements\": [\n        {\n            \"id\": \"REQ-X\",\n            \"user_story\": \"As a [role], I want [feature], so that [benefit]\",\n            \"acceptance_criteria\": [\n                \"WHEN [condition], THE system SHALL [behavior]\",\n                \"WHERE [context], THE system SHALL [behavior]\",\n                \"IF [condition], THEN THE system SHALL [behavior]\"\n            ]\n        }\n    ]\n}\n```\n\n### 5. Generate Design Document\n\nCreate technical specifications with explicit architectural elements:\n\n```python\n# Execute this to generate comprehensive design structure\ndesign = {\n    \"overview\": \"High-level system description\",\n    \"architecture\": {\n        \"diagram\": \"ASCII or visual representation of all components\",\n        \"components\": [\n            {\n                \"id\": \"COMP-1\",\n                \"name\": \"Component Name\",\n                \"type\": \"Frontend\u002FBackend\u002FService\u002FDatabase\",\n                \"responsibility\": \"Single clear purpose\",\n                \"boundaries\": \"What it does and doesn't do\"\n            }\n        ]\n    },\n    \"data_flow\": {\n        \"primary_flows\": [\n            {\n                \"name\": \"User Registration Flow\",\n                \"steps\": [\n                    \"1. User submits form → Frontend\",\n                    \"2. Frontend validates → API Gateway\",\n                    \"3. API Gateway → Auth Service\",\n                    \"4. Auth Service → User Database\",\n                    \"5. Response flows back\"\n                ],\n                \"data_transformations\": \"How data changes at each step\"\n            }\n        ]\n    },\n    \"integration_points\": [\n        {\n            \"name\": \"External Payment API\",\n            \"type\": \"REST\u002FGraphQL\u002FWebSocket\u002FDatabase\",\n            \"purpose\": \"Process payments\",\n            \"interface\": \"API contract definition\",\n            \"authentication\": \"Method used\",\n            \"error_handling\": \"Retry\u002Ffallback strategy\"\n        }\n    ],\n    \"components_detail\": [\n        {\n            \"name\": \"Component Name\",\n            \"responsibility\": \"What it does\",\n            \"key_classes\": [\"Class descriptions\"],\n            \"interfaces\": \"API\u002Fmethod signatures\",\n            \"dependencies\": \"What it needs to function\",\n            \"performance\": \"Targets and constraints\"\n        }\n    ],\n    \"data_models\": \"Entity definitions with relationships\",\n    \"system_boundaries\": {\n        \"in_scope\": [\"What the system handles\"],\n        \"out_of_scope\": [\"What it delegates or ignores\"],\n        \"assumptions\": [\"External dependencies assumed available\"]\n    },\n    \"error_handling\": \"Strategies for failures\",\n    \"testing_strategy\": \"Unit, integration, performance\",\n    \"deployment\": \"Docker, environment, configuration\"\n}\n```\n\n### 6. Generate Implementation Plan\n\nBreak down the project into executable tasks with clear scope boundaries:\n\n```python\n# Execute this to generate task structure with boundaries\ntasks = {\n    \"project_boundaries\": {\n        \"must_have\": [\"Core features for MVP\"],\n        \"nice_to_have\": [\"Enhancement features\"],\n        \"out_of_scope\": [\"Features explicitly excluded\"],\n        \"technical_constraints\": [\"Framework\u002Flibrary limitations\"]\n    },\n    \"phases\": [\n        {\n            \"id\": 1,\n            \"name\": \"Infrastructure Setup\",\n            \"deliverables\": [\"What this phase produces\"],\n            \"tasks\": [\n                {\n                    \"id\": \"1.1\",\n                    \"description\": \"Task description\",\n                    \"subtasks\": [\"Specific actions\"],\n                    \"requirements_fulfilled\": [\"REQ-1.1\", \"REQ-2.3\"],\n                    \"components_involved\": [\"COMP-1\", \"COMP-3\"],\n                    \"dependencies\": [],\n                    \"estimated_hours\": 4,\n                    \"success_criteria\": \"How to verify completion\"\n                }\n            ]\n        }\n    ]\n}\n```\n\n## Requirements Document Template\n\n```markdown\n# Requirements Document\n\n## Introduction\n\n[System description in 2-3 sentences. Target user and deployment model.]\n\n## Glossary\n\n- **Term**: Definition specific to this system\n- **Component**: Major system module or service\n[Add all domain-specific terms]\n\n## Requirements\n\n### Requirement [NUMBER]\n\n**User Story:** As a [user type], I want [capability], so that [benefit]\n\n#### Acceptance Criteria\n\n1. WHEN [trigger\u002Fcondition], THE [component] SHALL [action\u002Fbehavior]\n2. WHERE [mode\u002Fcontext], THE [component] SHALL [action\u002Fbehavior]  \n3. IF [condition], THEN THE [component] SHALL [action\u002Fbehavior]\n4. THE [component] SHALL [capability with measurable target]\n\n[Repeat for each requirement]\n```\n\n### Requirements Best Practices\n\n1. **One capability per requirement** - Each requirement should address a single feature\n2. **Testable criteria** - Every criterion must be verifiable\n3. **Use SHALL for mandatory** - Consistent RFC 2119 keywords\n4. **Include performance targets** - \"within X milliseconds\u002Fseconds\"\n5. **Specify all states** - Success, failure, edge cases\n6. **Number systematically** - REQ-1, REQ-2 for traceability\n\n### Acceptance Criteria Patterns\n\n```\nBehavior criteria:\n- WHEN [event occurs], THE system SHALL [respond]\n- THE system SHALL [provide capability]\n- THE system SHALL [enforce rule\u002Flimit]\n\nConditional criteria:\n- IF [condition], THEN THE system SHALL [action]\n- WHERE [mode is active], THE system SHALL [behavior]\n\nPerformance criteria:\n- THE system SHALL [complete action] within [time]\n- THE system SHALL support [number] concurrent [operations]\n- THE system SHALL maintain [metric] above\u002Fbelow [threshold]\n\nData criteria:\n- THE system SHALL persist [data type] with [attributes]\n- THE system SHALL validate [input] against [rules]\n- THE system SHALL return [data] in [format]\n```\n\n## Design Document Template\n\n```markdown\n# Design Document\n\n## Overview\n\n[System architecture summary in 3-4 sentences. Key design decisions and priorities.]\n\n## System Architecture\n\n### Component Map\n\n| Component ID | Name | Type | Responsibility | Interfaces With |\n|-------------|------|------|----------------|-----------------|\n| COMP-1 | Web Frontend | UI | User interface | COMP-2 |\n| COMP-2 | API Gateway | Service | Request routing | COMP-3, COMP-4 |\n| COMP-3 | Business Logic | Service | Core processing | COMP-5 |\n[Complete component inventory]\n\n### High-Level Architecture Diagram\n\n[ASCII diagram showing all components and their relationships]\n\n## Data Flow Specifications\n\n### Primary Data Flows\n\n#### 1. [Flow Name] (e.g., User Authentication)\n\n```\n1. [Source] → [Component]: [Data description]\n2. [Component] → [Component]: [Transformation applied]\n3. [Component] → [Destination]: [Final data format]\n```\n\n**Data Transformations:**\n- Step 2: [How data changes]\n- Step 3: [Validation\u002FProcessing applied]\n\n[Repeat for each major data flow]\n\n## Integration Points\n\n### Internal Integration Points\n\n| Source | Target | Protocol | Data Format | Purpose |\n|--------|--------|----------|-------------|---------|\n| Frontend | API Gateway | HTTPS\u002FREST | JSON | API calls |\n| API Gateway | Auth Service | gRPC | Protobuf | Authentication |\n[All internal integrations]\n\n### External Integration Points\n\n#### [External System Name]\n\n**Type:** REST API \u002F Database \u002F Message Queue \u002F etc.\n**Purpose:** [What this integration provides]\n**Endpoint:** [URL\u002FConnection string pattern]\n**Authentication:** [Method - OAuth2, API Key, etc.]\n**Rate Limits:** [Any constraints]\n\n**Interface Contract:**\n```language\n\u002F\u002F Request format\nPOST \u002Fapi\u002Fendpoint\n{\n    \"field\": \"type\"\n}\n\n\u002F\u002F Response format  \n{\n    \"result\": \"type\"\n}\n```\n\n**Error Handling:**\n- Retry strategy: [Exponential backoff, circuit breaker]\n- Fallback: [What happens if unavailable]\n- Monitoring: [How to detect issues]\n\n[Repeat for each external integration]\n\n## Components and Interfaces\n\n### 1. [Component Name]\n\n**Responsibility:** [Single sentence description]\n\n**Key Classes:**\n- `ClassName`: [Purpose and main methods]\n- `ServiceName`: [What it manages]\n\n**Interfaces:**\n```language\nclass InterfaceName:\n    def method_name(params) -> ReturnType\n    # Core methods only\n```\n\n**Data Flow:**\n- Receives [input] from [source]\n- Processes by [algorithm\u002Flogic]\n- Outputs [result] to [destination]\n\n**Performance:**\n- Target: [metric and value]\n- Constraints: [limitations]\n\n[Repeat for each major component]\n\n## Data Models\n\n### [Entity Name]\n```language\n@dataclass\nclass EntityName:\n    field: Type\n    field: Optional[Type]\n    # Core fields only\n```\n\n## Error Handling\n\n### [Error Category]\n**Types:** [List of error scenarios]\n**Handling:** [Strategy and recovery]\n\n## Testing Strategy\n\n### Unit Tests\n- [Component]: Test [aspects]\n- Coverage target: 80%\n\n### Integration Tests\n- [Flow]: Test [end-to-end scenario]\n\n### Performance Tests\n- [Operation]: Target [metric]\n\n## Deployment\n\n### Docker Configuration\n```yaml\n# Essential service definitions only\n```\n\n### Environment Variables\n```\nCATEGORY_VAR=description\n```\n\n## Performance Targets\n\n- [Operation]: \u003C[time]\n- [Throughput]: >[rate]\n- [Resource]: \u003C[limit]\n\n## Security Considerations\n\n- [Authentication method if applicable]\n- [Data protection approach]\n- [Access control model]\n```\n\n### Design Best Practices\n\n1. **Component responsibilities** - Single, clear purpose per component\n2. **Interface first** - Define contracts before implementation\n3. **Data flow clarity** - Show how data moves through system\n4. **Error categories** - Group related failures with consistent handling\n5. **Performance targets** - Specific, measurable goals\n6. **Deployment ready** - Include Docker and configuration\n\n## Implementation Plan Template\n\n```markdown\n# Implementation Plan\n\n- [x] 1. [Phase Name]\n  \n  - [x] 1.1 [Task name]\n    - [Subtask description]\n    - [Subtask description]\n    - _Requirements: [REQ-X.Y, REQ-A.B]_\n    \n  - [ ] 1.2 [Task name]\n    - [Subtask description]\n    - _Requirements: [REQ-X.Y]_\n    - _Dependencies: Task 1.1_\n\n- [ ] 2. [Phase Name]\n\n  - [ ] 2.1 [Task name]\n    - [Detailed steps or subtasks]\n    - _Requirements: [REQ-X.Y]_\n    - _Dependencies: Phase 1_\n\n[Continue for all phases]\n```\n\n### Task Planning Best Practices\n\n1. **Hierarchical structure** - Phases > Tasks > Subtasks\n2. **Requirement tracing** - Link each task to requirements\n3. **Dependency marking** - Identify blockers and prerequisites  \n4. **Checkbox format** - [x] for complete, [ ] for pending\n5. **Atomic tasks** - Each task independently completable\n6. **Progressive implementation** - Infrastructure → Core → Features → Polish\n\n### Common Implementation Phases\n\n```markdown\n1. **Infrastructure Setup**\n   - Project structure\n   - Database schema\n   - Docker configuration\n   - Core dependencies\n\n2. **Data Layer**\n   - Models\u002Fentities\n   - Database operations\n   - Migrations\n\n3. **Business Logic**\n   - Core algorithms\n   - Service classes\n   - Validation rules\n\n4. **API\u002FInterface Layer**\n   - REST\u002FGraphQL endpoints\n   - WebSocket handlers\n   - Authentication\n\n5. **Frontend\u002FUI**\n   - Component structure\n   - State management\n   - API integration\n   - Responsive design\n\n6. **Integration**\n   - External services\n   - Third-party APIs\n   - Message queues\n\n7. **Testing**\n   - Unit tests\n   - Integration tests\n   - End-to-end tests\n\n8. **DevOps**\n   - CI\u002FCD pipeline\n   - Monitoring\n   - Logging\n   - Deployment scripts\n\n9. **Documentation**\n   - API documentation\n   - User guides\n   - Deployment guide\n   - README\n```\n\n## Document Patterns by Project Type\n\n### Web Application (Full-Stack)\n\nRequirements focus:\n- User authentication and authorization\n- CRUD operations for entities\n- Real-time updates\n- Responsive UI\n- API design\n\nDesign focus:\n- 3-tier architecture (Frontend, Backend, Database)\n- REST\u002FGraphQL API design\n- State management strategy\n- Component hierarchy\n- Database schema\n\nTasks focus:\n1. Database and backend setup\n2. API implementation\n3. Frontend components\n4. Integration and testing\n\n### Microservices System\n\nRequirements focus:\n- Service boundaries\n- Inter-service communication\n- Data consistency\n- Service discovery\n- Fault tolerance\n\nDesign focus:\n- Service decomposition\n- API contracts between services\n- Message queue\u002Fevent bus\n- Distributed tracing\n- Container orchestration\n\nTasks focus:\n1. Service scaffolding\n2. Shared libraries\u002Fcontracts\n3. Individual service implementation\n4. Integration layer\n5. Orchestration setup\n\n### Data Pipeline\u002FETL\n\nRequirements focus:\n- Data sources and formats\n- Transformation rules\n- Data quality checks\n- Schedule\u002Ftriggers\n- Error handling and retry\n\nDesign focus:\n- Pipeline stages\n- Data flow diagram\n- Schema evolution\n- Monitoring and alerting\n- Storage strategy\n\nTasks focus:\n1. Data source connectors\n2. Transformation logic\n3. Validation and quality checks\n4. Scheduling setup\n5. Monitoring implementation\n\n### CLI Tool\u002FLibrary\n\nRequirements focus:\n- Command structure\n- Input\u002Foutput formats\n- Configuration options\n- Error messages\n- Performance requirements\n\nDesign focus:\n- Command parser architecture\n- Plugin system (if applicable)\n- Configuration management\n- Output formatters\n- Testing strategy\n\nTasks focus:\n1. Core command structure\n2. Business logic implementation\n3. Input\u002Foutput handlers\n4. Configuration system\n5. Documentation and examples\n\n## Generating Documents for Specific Domains\n\n### Trading\u002FFinancial Systems\n\nAdditional requirements:\n- Risk management rules\n- Order execution logic\n- Market data handling\n- Compliance requirements\n- Audit trail\n\nAdditional design:\n- High-frequency data handling\n- Position tracking\n- Risk calculations\n- Order routing\n- Failover strategies\n\n### Real-time Systems (Chat, Gaming, IoT)\n\nAdditional requirements:\n- Latency targets\n- Connection handling\n- State synchronization\n- Offline support\n- Push notifications\n\nAdditional design:\n- WebSocket\u002FSSE architecture\n- State management\n- Caching strategy\n- Message queuing\n- Horizontal scaling\n\n### Machine Learning Systems\n\nAdditional requirements:\n- Model training pipeline\n- Feature engineering\n- Model versioning\n- Prediction API\n- Monitoring\u002Fdrift detection\n\nAdditional design:\n- Training infrastructure\n- Feature store\n- Model registry\n- Serving architecture\n- A\u002FB testing framework\n\n## Quality Checklist\n\nBefore finalizing documents, verify:\n\n### Requirements Document\n- [ ] Every requirement has a clear user story\n- [ ] All acceptance criteria are testable\n- [ ] Non-functional requirements specified (performance, security)\n- [ ] Glossary covers all domain terms\n- [ ] Requirements are numbered for tracing\n\n### Design Document\n- [ ] Architecture diagram included\n- [ ] All components have clear responsibilities\n- [ ] Interfaces defined for integration points\n- [ ] Error handling strategy documented\n- [ ] Performance targets specified\n- [ ] Deployment configuration included\n\n### Implementation Plan\n- [ ] Tasks grouped into logical phases\n- [ ] Dependencies identified between tasks\n- [ ] Requirements traced to tasks\n- [ ] Tasks are atomic and completable\n- [ ] Checkbox format for progress tracking\n\n## Example Usage Patterns\n\n### Starting a New Project (With Explicit Architecture Focus)\n\n```\nUser: \"I want to build an order flow trading automation system\"\n\nResponse: \"I'll act as your Project Architect to create comprehensive planning documents. \n\nFirst, let me establish the architectural foundation:\n\n**System Components I need to define:**\n- Market data ingestion service\n- Order flow analysis engine  \n- Trading signal generator\n- Risk management module\n- Order execution service\n- Monitoring dashboard\n\n**Data Flows to map:**\n- Market data → Analysis → Signals → Execution\n- Position tracking → Risk calculation → Trading limits\n- All events → Audit trail\n\n**Integration Points to specify:**\n- Exchange APIs (which ones?)\n- Database system (time-series data needs?)\n- Notification services (alerts\u002Freporting?)\n\n**Key Questions:**\n1. Is this for personal use (single-user) or a platform (multi-user)?\n2. Which specific exchanges\u002Fbrokers will it connect to?\n3. What are your latency requirements (milliseconds matter)?\n4. What's your risk tolerance and position sizing approach?\n5. Do you need backtesting capabilities?\n\n**Deliverables I'll create:**\n1. Requirements document with traceable user stories\n2. System design with complete component map and data flows\n3. Implementation plan with phased delivery milestones\n\nThis architectural blueprint will ensure nothing is overlooked during implementation.\"\n```\n\n### Starting a New Project (Simple Approach)\n\n```\nUser: \"I want to build an order flow trading automation system\"\n\nResponse: \"I'll help you create comprehensive planning documents for your trading system. Let me gather some key information:\n\n1. Is this for personal use (single-user) or a multi-user platform?\n2. Which markets\u002Fexchanges will it connect to?\n3. What are the core trading strategies or patterns?\n4. Any specific performance requirements (latency, throughput)?\n\nBased on this, I'll generate:\n- Requirements document with user stories\n- System design with components and data flow\n- Implementation plan with phases and tasks\"\n```\n\n### Expanding Existing Requirements\n\n```\nUser: \"Add real-time monitoring dashboard to the requirements\"\n\nResponse: \"I'll add dashboard requirements to your document:\n\n### Requirement 15\n**User Story:** As a trader, I want a real-time dashboard, so that I can monitor system performance and trading activity\n\n#### Acceptance Criteria\n1. THE Dashboard SHALL display active positions with current P&L\n2. THE Dashboard SHALL update market data within 1 second\n3. THE Dashboard SHALL provide filtering by symbol, timeframe, and date range\n4. WHEN a trade executes, THE Dashboard SHALL reflect it within 100ms\"\n```\n\n## Common Pitfalls to Avoid\n\n### Planning Pitfalls\n1. **Skipping architectural planning** - Jumping to requirements without mapping components first\n2. **Vague role definition** - Not establishing the architect role leads to unfocused documentation\n3. **Hidden integration points** - Discovering external dependencies during implementation\n4. **Undefined boundaries** - No clear scope leads to feature creep and timeline slippage\n5. **Missing data flow analysis** - Not mapping how data moves reveals issues late\n\n### Requirements Pitfalls\n1. **Over-specifying implementation** - Requirements should define \"what\" not \"how\"\n2. **Vague acceptance criteria** - Avoid \"user-friendly\" or \"fast\" without metrics\n3. **Missing error cases** - Include failure scenarios in requirements\n4. **Untraceable requirements** - Every requirement should map to tasks\n\n### Design Pitfalls\n1. **Monolithic components** - Break down large components into focused services\n2. **Circular dependencies** - Ensure task dependencies form a DAG\n3. **Missing data models** - Define core entities early\n4. **Ignoring deployment** - Include Docker\u002Fdeployment from the start\n5. **Unclear component boundaries** - Each component needs explicit responsibilities\n\n## Output Format\n\nGenerate documents in Markdown format for easy editing and version control. Use:\n- Clear hierarchical headings (##, ###, ####)\n- Code blocks with language hints\n- Bulleted and numbered lists\n- Tables for structured data\n- Checkboxes for task tracking\n- Bold for emphasis on key terms\n- Inline code for technical terms\n\nSave documents as:\n- `requirements.md` - Requirements document\n- `design.md` - Design document\n- `tasks.md` - Implementation plan\n\nThese documents serve as the foundation for AI-assisted implementation, providing clear specifications that can be referenced throughout development.\n","# Project Planner Skill\n\n## 执行环境\n\n| 路径类型 | 说明 |\n|---------|------|\n| **使用方式** | 此技能提供模板和指导，**无需本地脚本执行** |\n| **调用场景** | 当用户需要项目规划、需求文档、系统设计时自动激活 |\n| **输出格式** | Markdown 文档（requirements.md, design.md, tasks.md） |\n\n## 路径说明\n\n- **无本地路径依赖**：此技能生成文档模板，不涉及本地脚本执行\n- **生成的文档**：保存在执行命令时的当前目录（`process.cwd()`）\n- **项目上下文**：基于当前工作目录确定项目根目录\n\nThis skill provides templates and guidance for generating comprehensive project planning documents that serve as blueprints for AI-assisted implementation.\n\n## Quick Start\n\nWhen a user wants to start a new project, generate three core documents:\n1. **Requirements Document** - User stories with acceptance criteria\n2. **Design Document** - Technical architecture and component specifications  \n3. **Implementation Plan** - Hierarchical task breakdown with requirement tracing\n\n## Why Explicit Architectural Planning Works\n\nSetting clear roles, responsibilities, and deliverables upfront dramatically improves project outcomes:\n\n### Benefits of Upfront Definition\n\n1. **Component Clarity** - Defining all system components first prevents scope creep and ensures complete coverage\n2. **Data Flow Visibility** - Mapping data movement early reveals integration complexities and performance bottlenecks\n3. **Integration Planning** - Identifying all touchpoints upfront prevents surprise dependencies during implementation\n4. **Clear Boundaries** - Explicitly stating what's in\u002Fout of scope focuses effort and prevents feature drift\n5. **Measurable Success** - Specific goals and constraints enable objective progress tracking\n\n### The Architect Mindset\n\nWhen acting as a **Project Architect**, approach planning with:\n- **Systems Thinking** - See the whole before diving into parts\n- **Interface-First Design** - Define contracts between components before internals\n- **Traceability Focus** - Every requirement maps to design elements and tasks\n- **Constraint Awareness** - Acknowledge limitations upfront to guide decisions\n- **Deliverable Orientation** - Know exactly what artifacts you're producing\n\n## Document Generation Workflow\n\n### 1. Project Architect Role Definition\n\nWhen starting a project, explicitly establish Claude as the **Project Architect** with clear responsibilities:\n\n**Role:** System Architect and Planning Specialist\n**Responsibilities:**\n- Define complete system architecture with all components\n- Map data flow between system elements\n- Identify all integration points and interfaces\n- Establish clear project boundaries and constraints\n- Create traceable requirements to implementation tasks\n\n### 2. Initial Project Understanding\n\nBefore generating documents, gather key information and architectural elements:\n\n```\nRequired Project Information:\n- Project name and purpose\n- Target users (single-user local, multi-tenant SaaS, etc.)\n- Core functionality (3-5 main features)\n- Technical preferences (languages, frameworks, deployment)\n- Non-functional requirements (performance, security, scalability)\n\nRequired Architectural Elements (define upfront):\n- System Components: All major modules\u002Fservices and their purposes\n- Data Flow: How data moves through the entire system\n- Integration Points: All external APIs, services, databases\n- System Boundaries: What's in scope vs out of scope\n- Constraints: Technical, business, and resource limitations\n- Success Metrics: Clear, measurable goals for the system\n```\n\n### 3. Deliverable Definition (Set Upfront)\n\nDefine all deliverables explicitly before starting documentation:\n\n```\nStandard Deliverables Package:\n1. Requirements Document\n   - User stories with measurable acceptance criteria\n   - Complete glossary of terms\n   - Traceable requirement IDs\n   \n2. System Design Document  \n   - Component architecture diagram\n   - Data flow diagrams for all major processes\n   - Integration point specifications\n   - API\u002FInterface contracts\n   - Performance and scaling targets\n   \n3. Implementation Plan\n   - Hierarchical task breakdown\n   - Requirement-to-task mapping\n   - Dependency graph\n   - Phase-based delivery schedule\n\nOptional Deliverables (specify if needed):\n- API Documentation\n- Database Schema Design\n- Security Threat Model\n- Deployment Guide\n- Testing Strategy Document\n```\n\n### 4. Generate Requirements Document\n\nUse the requirements template to create user-focused specifications:\n\n```python\n# Execute this to generate requirements structure\nrequirements = {\n    \"introduction\": \"System purpose and scope\",\n    \"glossary\": \"Domain-specific terms\",\n    \"requirements\": [\n        {\n            \"id\": \"REQ-X\",\n            \"user_story\": \"As a [role], I want [feature], so that [benefit]\",\n            \"acceptance_criteria\": [\n                \"WHEN [condition], THE system SHALL [behavior]\",\n                \"WHERE [context], THE system SHALL [behavior]\",\n                \"IF [condition], THEN THE system SHALL [behavior]\"\n            ]\n        }\n    ]\n}\n```\n\n### 5. Generate Design Document\n\nCreate technical specifications with explicit architectural elements:\n\n```python\n# Execute this to generate comprehensive design structure\ndesign = {\n    \"overview\": \"High-level system description\",\n    \"architecture\": {\n        \"diagram\": \"ASCII or visual representation of all components\",\n        \"components\": [\n            {\n                \"id\": \"COMP-1\",\n                \"name\": \"Component Name\",\n                \"type\": \"Frontend\u002FBackend\u002FService\u002FDatabase\",\n                \"responsibility\": \"Single clear purpose\",\n                \"boundaries\": \"What it does and doesn't do\"\n            }\n        ]\n    },\n    \"data_flow\": {\n        \"primary_flows\": [\n            {\n                \"name\": \"User Registration Flow\",\n                \"steps\": [\n                    \"1. User submits form → Frontend\",\n                    \"2. Frontend validates → API Gateway\",\n                    \"3. API Gateway → Auth Service\",\n                    \"4. Auth Service → User Database\",\n                    \"5. Response flows back\"\n                ],\n                \"data_transformations\": \"How data changes at each step\"\n            }\n        ]\n    },\n    \"integration_points\": [\n        {\n            \"name\": \"External Payment API\",\n            \"type\": \"REST\u002FGraphQL\u002FWebSocket\u002FDatabase\",\n            \"purpose\": \"Process payments\",\n            \"interface\": \"API contract definition\",\n            \"authentication\": \"Method used\",\n            \"error_handling\": \"Retry\u002Ffallback strategy\"\n        }\n    ],\n    \"components_detail\": [\n        {\n            \"name\": \"Component Name\",\n            \"responsibility\": \"What it does\",\n            \"key_classes\": [\"Class descriptions\"],\n            \"interfaces\": \"API\u002Fmethod signatures\",\n            \"dependencies\": \"What it needs to function\",\n            \"performance\": \"Targets and constraints\"\n        }\n    ],\n    \"data_models\": \"Entity definitions with relationships\",\n    \"system_boundaries\": {\n        \"in_scope\": [\"What the system handles\"],\n        \"out_of_scope\": [\"What it delegates or ignores\"],\n        \"assumptions\": [\"External dependencies assumed available\"]\n    },\n    \"error_handling\": \"Strategies for failures\",\n    \"testing_strategy\": \"Unit, integration, performance\",\n    \"deployment\": \"Docker, environment, configuration\"\n}\n```\n\n### 6. Generate Implementation Plan\n\nBreak down the project into executable tasks with clear scope boundaries:\n\n```python\n# Execute this to generate task structure with boundaries\ntasks = {\n    \"project_boundaries\": {\n        \"must_have\": [\"Core features for MVP\"],\n        \"nice_to_have\": [\"Enhancement features\"],\n        \"out_of_scope\": [\"Features explicitly excluded\"],\n        \"technical_constraints\": [\"Framework\u002Flibrary limitations\"]\n    },\n    \"phases\": [\n        {\n            \"id\": 1,\n            \"name\": \"Infrastructure Setup\",\n            \"deliverables\": [\"What this phase produces\"],\n            \"tasks\": [\n                {\n                    \"id\": \"1.1\",\n                    \"description\": \"Task description\",\n                    \"subtasks\": [\"Specific actions\"],\n                    \"requirements_fulfilled\": [\"REQ-1.1\", \"REQ-2.3\"],\n                    \"components_involved\": [\"COMP-1\", \"COMP-3\"],\n                    \"dependencies\": [],\n                    \"estimated_hours\": 4,\n                    \"success_criteria\": \"How to verify completion\"\n                }\n            ]\n        }\n    ]\n}\n```\n\n## Requirements Document Template\n\n```markdown\n# Requirements Document\n\n## Introduction\n\n[System description in 2-3 sentences. Target user and deployment model.]\n\n## Glossary\n\n- **Term**: Definition specific to this system\n- **Component**: Major system module or service\n[Add all domain-specific terms]\n\n## Requirements\n\n### Requirement [NUMBER]\n\n**User Story:** As a [user type], I want [capability], so that [benefit]\n\n#### Acceptance Criteria\n\n1. WHEN [trigger\u002Fcondition], THE [component] SHALL [action\u002Fbehavior]\n2. WHERE [mode\u002Fcontext], THE [component] SHALL [action\u002Fbehavior]  \n3. IF [condition], THEN THE [component] SHALL [action\u002Fbehavior]\n4. THE [component] SHALL [capability with measurable target]\n\n[Repeat for each requirement]\n```\n\n### Requirements Best Practices\n\n1. **One capability per requirement** - Each requirement should address a single feature\n2. **Testable criteria** - Every criterion must be verifiable\n3. **Use SHALL for mandatory** - Consistent RFC 2119 keywords\n4. **Include performance targets** - \"within X milliseconds\u002Fseconds\"\n5. **Specify all states** - Success, failure, edge cases\n6. **Number systematically** - REQ-1, REQ-2 for traceability\n\n### Acceptance Criteria Patterns\n\n```\nBehavior criteria:\n- WHEN [event occurs], THE system SHALL [respond]\n- THE system SHALL [provide capability]\n- THE system SHALL [enforce rule\u002Flimit]\n\nConditional criteria:\n- IF [condition], THEN THE system SHALL [action]\n- WHERE [mode is active], THE system SHALL [behavior]\n\nPerformance criteria:\n- THE system SHALL [complete action] within [time]\n- THE system SHALL support [number] concurrent [operations]\n- THE system SHALL maintain [metric] above\u002Fbelow [threshold]\n\nData criteria:\n- THE system SHALL persist [data type] with [attributes]\n- THE system SHALL validate [input] against [rules]\n- THE system SHALL return [data] in [format]\n```\n\n## Design Document Template\n\n```markdown\n# Design Document\n\n## Overview\n\n[System architecture summary in 3-4 sentences. Key design decisions and priorities.]\n\n## System Architecture\n\n### Component Map\n\n| Component ID | Name | Type | Responsibility | Interfaces With |\n|-------------|------|------|----------------|-----------------|\n| COMP-1 | Web Frontend | UI | User interface | COMP-2 |\n| COMP-2 | API Gateway | Service | Request routing | COMP-3, COMP-4 |\n| COMP-3 | Business Logic | Service | Core processing | COMP-5 |\n[Complete component inventory]\n\n### High-Level Architecture Diagram\n\n[ASCII diagram showing all components and their relationships]\n\n## Data Flow Specifications\n\n### Primary Data Flows\n\n#### 1. [Flow Name] (e.g., User Authentication)\n\n```\n1. [Source] → [Component]: [Data description]\n2. [Component] → [Component]: [Transformation applied]\n3. [Component] → [Destination]: [Final data format]\n```\n\n**Data Transformations:**\n- Step 2: [How data changes]\n- Step 3: [Validation\u002FProcessing applied]\n\n[Repeat for each major data flow]\n\n## Integration Points\n\n### Internal Integration Points\n\n| Source | Target | Protocol | Data Format | Purpose |\n|--------|--------|----------|-------------|---------|\n| Frontend | API Gateway | HTTPS\u002FREST | JSON | API calls |\n| API Gateway | Auth Service | gRPC | Protobuf | Authentication |\n[All internal integrations]\n\n### External Integration Points\n\n#### [External System Name]\n\n**Type:** REST API \u002F Database \u002F Message Queue \u002F etc.\n**Purpose:** [What this integration provides]\n**Endpoint:** [URL\u002FConnection string pattern]\n**Authentication:** [Method - OAuth2, API Key, etc.]\n**Rate Limits:** [Any constraints]\n\n**Interface Contract:**\n```language\n\u002F\u002F Request format\nPOST \u002Fapi\u002Fendpoint\n{\n    \"field\": \"type\"\n}\n\n\u002F\u002F Response format  \n{\n    \"result\": \"type\"\n}\n```\n\n**Error Handling:**\n- Retry strategy: [Exponential backoff, circuit breaker]\n- Fallback: [What happens if unavailable]\n- Monitoring: [How to detect issues]\n\n[Repeat for each external integration]\n\n## Components and Interfaces\n\n### 1. [Component Name]\n\n**Responsibility:** [Single sentence description]\n\n**Key Classes:**\n- `ClassName`: [Purpose and main methods]\n- `ServiceName`: [What it manages]\n\n**Interfaces:**\n```language\nclass InterfaceName:\n    def method_name(params) -> ReturnType\n    # Core methods only\n```\n\n**Data Flow:**\n- Receives [input] from [source]\n- Processes by [algorithm\u002Flogic]\n- Outputs [result] to [destination]\n\n**Performance:**\n- Target: [metric and value]\n- Constraints: [limitations]\n\n[Repeat for each major component]\n\n## Data Models\n\n### [Entity Name]\n```language\n@dataclass\nclass EntityName:\n    field: Type\n    field: Optional[Type]\n    # Core fields only\n```\n\n## Error Handling\n\n### [Error Category]\n**Types:** [List of error scenarios]\n**Handling:** [Strategy and recovery]\n\n## Testing Strategy\n\n### Unit Tests\n- [Component]: Test [aspects]\n- Coverage target: 80%\n\n### Integration Tests\n- [Flow]: Test [end-to-end scenario]\n\n### Performance Tests\n- [Operation]: Target [metric]\n\n## Deployment\n\n### Docker Configuration\n```yaml\n# Essential service definitions only\n```\n\n### Environment Variables\n```\nCATEGORY_VAR=description\n```\n\n## Performance Targets\n\n- [Operation]: \u003C[time]\n- [Throughput]: >[rate]\n- [Resource]: \u003C[limit]\n\n## Security Considerations\n\n- [Authentication method if applicable]\n- [Data protection approach]\n- [Access control model]\n```\n\n### Design Best Practices\n\n1. **Component responsibilities** - Single, clear purpose per component\n2. **Interface first** - Define contracts before implementation\n3. **Data flow clarity** - Show how data moves through system\n4. **Error categories** - Group related failures with consistent handling\n5. **Performance targets** - Specific, measurable goals\n6. **Deployment ready** - Include Docker and configuration\n\n## Implementation Plan Template\n\n```markdown\n# Implementation Plan\n\n- [x] 1. [Phase Name]\n  \n  - [x] 1.1 [Task name]\n    - [Subtask description]\n    - [Subtask description]\n    - _Requirements: [REQ-X.Y, REQ-A.B]_\n    \n  - [ ] 1.2 [Task name]\n    - [Subtask description]\n    - _Requirements: [REQ-X.Y]_\n    - _Dependencies: Task 1.1_\n\n- [ ] 2. [Phase Name]\n\n  - [ ] 2.1 [Task name]\n    - [Detailed steps or subtasks]\n    - _Requirements: [REQ-X.Y]_\n    - _Dependencies: Phase 1_\n\n[Continue for all phases]\n```\n\n### Task Planning Best Practices\n\n1. **Hierarchical structure** - Phases > Tasks > Subtasks\n2. **Requirement tracing** - Link each task to requirements\n3. **Dependency marking** - Identify blockers and prerequisites  \n4. **Checkbox format** - [x] for complete, [ ] for pending\n5. **Atomic tasks** - Each task independently completable\n6. **Progressive implementation** - Infrastructure → Core → Features → Polish\n\n### Common Implementation Phases\n\n```markdown\n1. **Infrastructure Setup**\n   - Project structure\n   - Database schema\n   - Docker configuration\n   - Core dependencies\n\n2. **Data Layer**\n   - Models\u002Fentities\n   - Database operations\n   - Migrations\n\n3. **Business Logic**\n   - Core algorithms\n   - Service classes\n   - Validation rules\n\n4. **API\u002FInterface Layer**\n   - REST\u002FGraphQL endpoints\n   - WebSocket handlers\n   - Authentication\n\n5. **Frontend\u002FUI**\n   - Component structure\n   - State management\n   - API integration\n   - Responsive design\n\n6. **Integration**\n   - External services\n   - Third-party APIs\n   - Message queues\n\n7. **Testing**\n   - Unit tests\n   - Integration tests\n   - End-to-end tests\n\n8. **DevOps**\n   - CI\u002FCD pipeline\n   - Monitoring\n   - Logging\n   - Deployment scripts\n\n9. **Documentation**\n   - API documentation\n   - User guides\n   - Deployment guide\n   - README\n```\n\n## Document Patterns by Project Type\n\n### Web Application (Full-Stack)\n\nRequirements focus:\n- User authentication and authorization\n- CRUD operations for entities\n- Real-time updates\n- Responsive UI\n- API design\n\nDesign focus:\n- 3-tier architecture (Frontend, Backend, Database)\n- REST\u002FGraphQL API design\n- State management strategy\n- Component hierarchy\n- Database schema\n\nTasks focus:\n1. Database and backend setup\n2. API implementation\n3. Frontend components\n4. Integration and testing\n\n### Microservices System\n\nRequirements focus:\n- Service boundaries\n- Inter-service communication\n- Data consistency\n- Service discovery\n- Fault tolerance\n\nDesign focus:\n- Service decomposition\n- API contracts between services\n- Message queue\u002Fevent bus\n- Distributed tracing\n- Container orchestration\n\nTasks focus:\n1. Service scaffolding\n2. Shared libraries\u002Fcontracts\n3. Individual service implementation\n4. Integration layer\n5. Orchestration setup\n\n### Data Pipeline\u002FETL\n\nRequirements focus:\n- Data sources and formats\n- Transformation rules\n- Data quality checks\n- Schedule\u002Ftriggers\n- Error handling and retry\n\nDesign focus:\n- Pipeline stages\n- Data flow diagram\n- Schema evolution\n- Monitoring and alerting\n- Storage strategy\n\nTasks focus:\n1. Data source connectors\n2. Transformation logic\n3. Validation and quality checks\n4. Scheduling setup\n5. Monitoring implementation\n\n### CLI Tool\u002FLibrary\n\nRequirements focus:\n- Command structure\n- Input\u002Foutput formats\n- Configuration options\n- Error messages\n- Performance requirements\n\nDesign focus:\n- Command parser architecture\n- Plugin system (if applicable)\n- Configuration management\n- Output formatters\n- Testing strategy\n\nTasks focus:\n1. Core command structure\n2. Business logic implementation\n3. Input\u002Foutput handlers\n4. Configuration system\n5. Documentation and examples\n\n## Generating Documents for Specific Domains\n\n### Trading\u002FFinancial Systems\n\nAdditional requirements:\n- Risk management rules\n- Order execution logic\n- Market data handling\n- Compliance requirements\n- Audit trail\n\nAdditional design:\n- High-frequency data handling\n- Position tracking\n- Risk calculations\n- Order routing\n- Failover strategies\n\n### Real-time Systems (Chat, Gaming, IoT)\n\nAdditional requirements:\n- Latency targets\n- Connection handling\n- State synchronization\n- Offline support\n- Push notifications\n\nAdditional design:\n- WebSocket\u002FSSE architecture\n- State management\n- Caching strategy\n- Message queuing\n- Horizontal scaling\n\n### Machine Learning Systems\n\nAdditional requirements:\n- Model training pipeline\n- Feature engineering\n- Model versioning\n- Prediction API\n- Monitoring\u002Fdrift detection\n\nAdditional design:\n- Training infrastructure\n- Feature store\n- Model registry\n- Serving architecture\n- A\u002FB testing framework\n\n## Quality Checklist\n\nBefore finalizing documents, verify:\n\n### Requirements Document\n- [ ] Every requirement has a clear user story\n- [ ] All acceptance criteria are testable\n- [ ] Non-functional requirements specified (performance, security)\n- [ ] Glossary covers all domain terms\n- [ ] Requirements are numbered for tracing\n\n### Design Document\n- [ ] Architecture diagram included\n- [ ] All components have clear responsibilities\n- [ ] Interfaces defined for integration points\n- [ ] Error handling strategy documented\n- [ ] Performance targets specified\n- [ ] Deployment configuration included\n\n### Implementation Plan\n- [ ] Tasks grouped into logical phases\n- [ ] Dependencies identified between tasks\n- [ ] Requirements traced to tasks\n- [ ] Tasks are atomic and completable\n- [ ] Checkbox format for progress tracking\n\n## Example Usage Patterns\n\n### Starting a New Project (With Explicit Architecture Focus)\n\n```\nUser: \"I want to build an order flow trading automation system\"\n\nResponse: \"I'll act as your Project Architect to create comprehensive planning documents. \n\nFirst, let me establish the architectural foundation:\n\n**System Components I need to define:**\n- Market data ingestion service\n- Order flow analysis engine  \n- Trading signal generator\n- Risk management module\n- Order execution service\n- Monitoring dashboard\n\n**Data Flows to map:**\n- Market data → Analysis → Signals → Execution\n- Position tracking → Risk calculation → Trading limits\n- All events → Audit trail\n\n**Integration Points to specify:**\n- Exchange APIs (which ones?)\n- Database system (time-series data needs?)\n- Notification services (alerts\u002Freporting?)\n\n**Key Questions:**\n1. Is this for personal use (single-user) or a platform (multi-user)?\n2. Which specific exchanges\u002Fbrokers will it connect to?\n3. What are your latency requirements (milliseconds matter)?\n4. What's your risk tolerance and position sizing approach?\n5. Do you need backtesting capabilities?\n\n**Deliverables I'll create:**\n1. Requirements document with traceable user stories\n2. System design with complete component map and data flows\n3. Implementation plan with phased delivery milestones\n\nThis architectural blueprint will ensure nothing is overlooked during implementation.\"\n```\n\n### Starting a New Project (Simple Approach)\n\n```\nUser: \"I want to build an order flow trading automation system\"\n\nResponse: \"I'll help you create comprehensive planning documents for your trading system. Let me gather some key information:\n\n1. Is this for personal use (single-user) or a multi-user platform?\n2. Which markets\u002Fexchanges will it connect to?\n3. What are the core trading strategies or patterns?\n4. Any specific performance requirements (latency, throughput)?\n\nBased on this, I'll generate:\n- Requirements document with user stories\n- System design with components and data flow\n- Implementation plan with phases and tasks\"\n```\n\n### Expanding Existing Requirements\n\n```\nUser: \"Add real-time monitoring dashboard to the requirements\"\n\nResponse: \"I'll add dashboard requirements to your document:\n\n### Requirement 15\n**User Story:** As a trader, I want a real-time dashboard, so that I can monitor system performance and trading activity\n\n#### Acceptance Criteria\n1. THE Dashboard SHALL display active positions with current P&L\n2. THE Dashboard SHALL update market data within 1 second\n3. THE Dashboard SHALL provide filtering by symbol, timeframe, and date range\n4. WHEN a trade executes, THE Dashboard SHALL reflect it within 100ms\"\n```\n\n## Common Pitfalls to Avoid\n\n### Planning Pitfalls\n1. **Skipping architectural planning** - Jumping to requirements without mapping components first\n2. **Vague role definition** - Not establishing the architect role leads to unfocused documentation\n3. **Hidden integration points** - Discovering external dependencies during implementation\n4. **Undefined boundaries** - No clear scope leads to feature creep and timeline slippage\n5. **Missing data flow analysis** - Not mapping how data moves reveals issues late\n\n### Requirements Pitfalls\n1. **Over-specifying implementation** - Requirements should define \"what\" not \"how\"\n2. **Vague acceptance criteria** - Avoid \"user-friendly\" or \"fast\" without metrics\n3. **Missing error cases** - Include failure scenarios in requirements\n4. **Untraceable requirements** - Every requirement should map to tasks\n\n### Design Pitfalls\n1. **Monolithic components** - Break down large components into focused services\n2. **Circular dependencies** - Ensure task dependencies form a DAG\n3. **Missing data models** - Define core entities early\n4. **Ignoring deployment** - Include Docker\u002Fdeployment from the start\n5. **Unclear component boundaries** - Each component needs explicit responsibilities\n\n## Output Format\n\nGenerate documents in Markdown format for easy editing and version control. Use:\n- Clear hierarchical headings (##, ###, ####)\n- Code blocks with language hints\n- Bulleted and numbered lists\n- Tables for structured data\n- Checkboxes for task tracking\n- Bold for emphasis on key terms\n- Inline code for technical terms\n\nSave documents as:\n- `requirements.md` - Requirements document\n- `design.md` - Design document\n- `tasks.md` - Implementation plan\n\nThese documents serve as the foundation for AI-assisted implementation, providing clear specifications that can be referenced throughout development.\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill project-planner",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill project-planner",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill project-planner","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002FSKILL.md",true,[67,73,79,83,87,93,97],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"assets\u002Frequirements-template.md","ASSET","资产文件",2749,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Fassets\u002Frequirements-template.md",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"plugin.json","REFERENCE","参考文档",634,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Fplugin.json",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"README.md",5354,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002FREADME.md",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fdomain-templates.md",45163,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Freferences\u002Fdomain-templates.md",{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002Fgenerate_project_docs.py","SCRIPT","脚本",29492,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Fscripts\u002Fgenerate_project_docs.py",{"path":94,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fvalidate_documents.py",12289,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Fscripts\u002Fvalidate_documents.py",{"path":98,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":99,"sourceHtmlUrl":100},"skill-report.json",10618,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdwsy\u002Fproject-planner\u002Fskill-report.json",[102,111,120,129,135,141],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[108,109,110],"model","model hierarchy","model hierarchy skill",{"skillNo":112,"name":113,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[117,118,119],"MCP","zoom","zoom mcp",{"skillNo":121,"name":122,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[126,127,128,118],"sdk","zoom apps sdk","apps",{"skillNo":130,"name":131,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[131],{"skillNo":136,"name":137,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[137],{"skillNo":142,"name":143,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[143]]