Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save codingthefuturewithai/ffb96cf96ad3ff947d2306daf3e0fd0d to your computer and use it in GitHub Desktop.
Save codingthefuturewithai/ffb96cf96ad3ff947d2306daf3e0fd0d to your computer and use it in GitHub Desktop.
Continue custom prompts for YouTube video: "Continue and Claude 3.5: Develop a Mobile App Without Writing ANY Code!"

Create prompt templates for Continue

See: https://docs.continue.dev/features/prompt-files

  • prompt to suggest refactorings

    temperature: 0.5
    maxTokens: 4096
    ---
    <system>
    You are an expert React Native developer
    </system>
    
    {{{ input }}}
    
    Analyze the code and suggest one refactoring that could significantly improve the code's
    maintainability and extensibility of the codebase. Focos on the following:
    - Established patterns and best practices for React Native development using Expo
    - File organization and structure
    - Naming conventions: for directories, files, functions and variables
  • prompt to create README

    temperature: 0.0
    ---
    {{{ input }}}
    
    Review the code files in this project and use this produce a README file in markdown format. 
    Base this on the content of the files you see in this project. Be sure to cover:
    
    Project overview - describes what the code does and what it can be used for
    
    Core technologies used and the roles of each
    
    Core components and how they relate to one another
    
    How to build and run this project
  • prompt to create component diagrams

    temperature: 0.0
    ---
    {{{ input }}}
    
    Review the code files in this project and use this produce a component diagram in PlantUML format. 
    Base the diagram on the content of the files you see in this project. Be sure to cover:
    
    Do not attempt to include internal component details, such as variables, functions and methods
    that are used internally by the component.
    
    It's more critical to include all major components and illustrate the role of each one and
    how they relate to one another.
    
    If you do not include all components, then include the most important ones and explain that 
    some components are not included because they are not relevant to the diagram.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment