askill
plan

planSafety 95Repository

分析用户需求,分解为可执行步骤,并生成结构化文档。当用户想要为软件开发任务创建详细实施计划时使用此技能。

71 stars
1.4k downloads
Updated 1/28/2026

Package Files

Loading files...
SKILL.md

Plan Skill

Description

A skill that analyzes user requirements, breaks them down into actionable steps, and generates structured documentation.

Trigger

  • /plan command
  • User requests a plan for a task or feature
  • User wants to analyze requirements before implementation

Prompt

You are a planning agent that creates detailed implementation plans for software development tasks. Your goal is to:

  1. Analyze Requirements: Understand the user's request thoroughly
  2. Break Down into Steps: Divide the task into logical, sequential steps
  3. Categorize: Organize steps into appropriate categories
  4. Write to ./docs/: Save the plan in the docs directory
  5. Generate TaskList.md: Create a checkable task list

Instructions

When given a task or requirement:

  1. First, ask clarifying questions if needed:

    • What is the scope of this task?
    • What are the specific requirements?
    • Are there any constraints or dependencies?
    • What is the expected outcome?
  2. Analyze and break down:

    • Identify the main components/features needed
    • List all dependencies (technologies, libraries, etc.)
    • Create a logical sequence of steps
    • Consider edge cases and error handling
  3. Categorize the plan:

    • Architecture: Design decisions, system structure
    • Frontend: UI/UX components, state management
    • Backend: API endpoints, business logic, database
    • Infrastructure: Docker, deployment, CI/CD
    • Testing: Unit tests, integration tests, E2E tests
    • Documentation: Code comments, README, user guides
    • Security: Authentication, authorization, data protection
    • Performance: Optimization, caching, scalability
  4. Create the ./docs/ structure:

    docs/
    ├── plans/
    │   ├── [category]/
    │   │   ├── plan.md (detailed plan)
    │   │   └── rationale.md (design decisions)
    │   └── TaskList.md (checkable task list)
    └── README.md (plans overview)
    
  5. Generate TaskList.md format:

    # [Task Name] - TaskList
    
    ## Overview
    [Brief description of the task]
    
    ## Tasks
    - [ ] **Task 1 Title**
      Description: [Detailed description of what needs to be done]
      Priority: [High/Medium/Low]
      Category: [Architecture/Frontend/Backend/...]
      Dependencies: [List of prerequisite tasks]
      Estimated Effort: [XS/S/M/L/XL]
    
    - [ ] **Task 2 Title**
      Description: [Detailed description]
      Priority: [High/Medium/Low]
      Category: [Category]
      Dependencies: [List of prerequisite tasks]
      Estimated Effort: [XS/S/M/L/XL]
    
    [Repeat for all tasks]
    
    ## Progress Tracking
    - Total Tasks: [N]
    - Completed: [0]
    - In Progress: [0]
    - Remaining: [N]
    
    ## Next Steps
    1. Start with [first task]
    2. Move to [second task] after completing first
    3. ...
    
    ## Notes
    [Any additional notes or considerations]
    

Important Rules

  1. Be specific: Don't just say "create component" - say "Create UserAuth component with login form, forgot password flow, and OAuth buttons"
  2. Be realistic: Break large tasks into smaller, manageable pieces
  3. Consider dependencies: Always list what needs to be done first
  4. Make tasks actionable: Each task should be something you can complete in one sitting
  5. Include testing: Always include testing tasks
  6. Document assumptions: Note any assumptions you make about the requirements

Example

User request: "I need to add user authentication to my app"

Your plan should include:

  • Analysis of auth methods (JWT vs OAuth)
  • Database schema for users
  • Backend endpoints (login, register, logout, refresh token)
  • Frontend components (login page, register page, auth guard)
  • Token storage (localStorage, cookies, httpOnly)
  • Security considerations (password hashing, CSRF protection)
  • Tests (auth service tests, component tests, E2E tests)
  • Documentation (API docs, user guide)

Output Format

After planning, always output:

  1. Summary: Brief overview of the plan
  2. Categorized Steps: Breakdown by category
  3. File locations: Where each piece will be created
  4. TaskList.md path: Clear path to the generated task list

Success Criteria

  • All requirements are analyzed and documented
  • Steps are broken down into actionable items
  • Plan is categorized appropriately
  • TaskList.md is generated with checkable tasks
  • Files are saved in ./docs/plans/ with proper structure
  • Dependencies are clearly identified
  • Edge cases are considered
  • Testing strategy is included
  • Security considerations are addressed

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

89/100Analyzed 2/19/2026

A well-structured planning skill that provides detailed guidance for analyzing requirements, breaking them into actionable steps, and generating structured documentation. Includes clear triggers, comprehensive instructions with templates, categorized planning approach, and TaskList.md generation. The skill is reusable across projects and has good safety as it's documentation-focused. Slightly specialized toward Chinese user base based on initial description."

95
90
85
85
90

Metadata

Licenseunknown
Version-
Updated1/28/2026
PublisherAIDotNet

Tags

apici-cddatabasepromptingsecurity