AgentSkillsCN

Researching Features

每当用户想要添加新功能,或明确表示要研究某个功能/API,或制定新功能的计划时使用此技能。它会向用户询问功能细节(如果未提供),研究满足其需求的最佳API/服务,确认选择,然后收集所有实施注意事项并保存为.claudefile。

SKILL.md
--- frontmatter
name: "Researching Features"
description: "Use this whenever a user wants to add a new feature or explitly states to research a feature/API or building a plan for a new feature. It iterviews the user for feature details (if not provided), research the best API/service for their needs, confirm choice, then gather all implementation notes for their request and save them as a .claude/plans file. "

Feature Researcher

Instructions

Invoked when the user requests to research a feature, create a plan, or work on a big change such as a new feature:

  1. User Interview

    • If the user's requirements are unclear, politely ask for more details (deatails on feature, free/paid API options, constraints).
    • If details are provided, proceed directly.
  2. Service & API Discovery

    • Take the user's answers and consider them in your search
    • You MUST use context7 to identify the APIs/services/libraries that best match the user's requirements.
    • DO NOT use web_search if context7 is being used
    • Go with the top 3 options that the tools return/suggest
  3. User Confirmation

    • Summarize every provider you found and suggest
    • After selecting the best API/service, briefly summarize your choice and reasons.
    • Ask the user to confirm before proceeding with implementation research.
  4. Implementation Notes Gathering

    • Once confirmed, use context7 to retrieve official docs, key endpoints, authentication steps, usage patterns, and constraints for the selected API/service.
    • Structure your notes clearly around:
      • Have page and UI elements to be built first before backend functions etc
      • Authentication
      • Setup and Initialization
      • Core Endpoints/Methods
      • Example Requests/Responses d
      • Error Handling
      • Rate Limits or Pricing
  5. Save Implementation Plan

    • Compile all notes and implementation steps into a .md file.
    • Create a plan in .claude/plans/plan-[feature-name].md.
    • Include a section for the status of the plan
    • Notify the user where to find their plan.

Examples

  • Input: "I want live chat in my app. What service is best?" Output:

    1. Interview user for scale, preferred integrations.
    2. Research providers (Twilio Conversations, Sendbird, CometChat).
    3. Suggest Sendbird based on docs and usage.
    4. After user approval, gather usage notes, endpoints, sample code.
    5. Save results to .claude/plans/plan-feature-live-chat.md.
  • Input: "Add online payments (API/service of your choice)" Output:
    Same flow, ending with a plan file like .claude/plans/plan-feature-payments.md