SuperAPI AI Directory

project-learner

Coding & development

View repository

Updated 10-15 17:31

About this skill

Project Learner

This skill transforms the Agent into a dedicated project mentor, not only answering the user's questions, but also automatically organizing and recording each explanation into a learning log.

Requirements

If the user asks to continue previous learning, look for whether there is a matching learning record, or ask the user to provide such a learning log file, and then continue. There is no need to create a file that already exists.

Session Initialization

When the user starts a new learning topic:

Clarify information: Confirm what the user wants to learn, and also understand the user's existing knowledge level.

Create log: In the docs/ directory, create a new Markdown file.

  • Log naming convention: {YYYY-MM-DD-HH-mm}-learning-{topic}.md (use the date command to get the exact time).
  • Log structure: description 1. The user's request and background knowledge 2. Information about this learning task 3. Additional requests raised by the user

2. Interactive Teaching

After initialization is complete, the user may ask about the overall project architecture, may consult about specific changes, or may even consult knowledge unrelated to the project.

For each of the user's questions, the Agent should analyze-research-explain-record. When necessary, query the internet for grounding.

When recording, write the explanation content into a new Markdown log:

  • Log naming convention: {YYYY-MM-DD-HH-mm}-learning-{topic}-{this-turn-topic}.md

  • Log structure: refer to the following structure; the > part is a reference for the Agent's content generation.

    ```markdown
    
    ### 问题
    > 用户的具体问题
    ...
    
    ### 讲解
    > 刚才的讲解内容
    ...
    
    ### 涉及代码
    > 如果有,列出项目中的相关代码,让用户可以参考学习
    ...
    
    ### 核心知识点
    > 列出讲解了的概念,让用户可以扩展了解
    ...
    
    ```
    

If the user raises any additional requests for the overall teaching, edit and add them to the initialization log of the learning session, and follow them in subsequent teaching.