Skip to content

Latest commit

 

History

History
382 lines (240 loc) · 14.4 KB

README.old.md

File metadata and controls

382 lines (240 loc) · 14.4 KB

AI Driven Dev Community

AI-Driven Dev Community FR

Our goal is to help you become a 10x developer by coding with AI.

The GitHub Repository is updated weekly!

A collection of tools, prompts, snippets and agents for developers that use AI, daily.

🇫🇷 More French resources are available to learn how to use AI in your daily work.

5 meilleures resources IA pour développeurs Discord


Get started easily with the AI Driven Dev Community:

0# 🚀 Get started

This repository is made to be easily updated by just editing the Readmes!

Best practices

This is our best practices to use AI in your daily dev work:

  1. Use AI for repetitive tasks - Yes, AI can be sometimes slower or mistaken, but in the long run, it will save you time.
  2. Adopt at least 2 AI in your daily work - One for coding, one for instructions.
  3. Pin ChatGPT or equivalent in your browser - Or just install the desktop app to always have it available.
  4. Enforce daily AI code generation - Use snippets, prompts, and instructions to make it a habit, EVERY-DAY.
  5. Open AI Chat in your IDE - Use a plugin to have it available in your IDE.
  6. Check all the prompts available - Use them, change them, embrase them the more you can.

If you do follow these best practices, you will become a 10x Dev in no time.

VSCode Setup

Tools to install

  • Espanso - Text expander to use the prompts in your daily work. (Required * for the prompts)
  • ChatGPT - AI to help you in your daily work. (Recommended)
  • GitHub Copilot - AI to help you code faster. (Recommended)
  • Maccy - OSX Clipboard manager to use the prompts easily. (Recommended)
  • VSCode - Because Copilot AI features are available sooner in this IDE. (Recommended)

Free and Paid alternatives are available for each tool.

Best list of AI Tools for developers

Example workflow of an AI Driven Dev

Here is a basic workflow of how you can combine prompts, parameters and AI instructions.

AIDD Workflow

1# 🤖 Custom AI for developers

Custom instructions to transform an AI like ChatGPT into a RAG, now it became a member of your team that knows about the specs and the codebase.

RAG Developer

Teach an AI to act as a Dev... from your own team

"Fine-tune" the LLM using a RAG to act as a developer in your project.

This will help you to get the best out of the AI by providing it with the right context and knowledge about your project.

  1. Documents list to provide - Upload the relevant documents to instruct the AI about your project.
  2. Create a RAG for your project - Instructions for AI to act as a developer from your team, using your language etc.

Full page resource 🔗

Best Instructions

Personalize the AI to have better performance and quicker answers.

This will help you to get the best out of the AI by providing it with the right context and knowledge about your project.

Full page resource 🔗

Custom GPT Agents

Use those GPT agents to help you in your daily work.

(Include instructions sources)

2# ⭐️ Developer prompts list

Usage

This repo is filled of amazing prompt for developers, mapped with my favorite text expander, Espanso. Use the prompts in your daily work:

  • Use a keyboard shortcut (like :codeHelpMeThinking)
  • Or by using the dialog box (⌥ + SPACE or ALT + SPACE)

Basically, all prompts in the repository are available as an Espanso package.

This make it easy for every developer to use the prompts in their daily work.

Installation

Guide:

  1. Follow the Espanso installation guide here for your operating system.

  2. Then, install the package:

espanso install ai-driven-dev-prompts --git git@github.com:alexsoyes/ai-driven-dev-community.git --external
  1. Configure the package from config directory:

From "espanso path config/default.yml":

# prevent "v" being pasted instead of the prompt
backend: "inject"
# allow to keep current prompt in clipboard
preserve_clipboard: false
# reload when config / package changes
auto_restart: true
# delay to paste the prompt
clipboard_threshold: 100

🔄 Note: Update every time you want to get the latest prompts:

espanso package update ai-driven-dev-prompts

Prompts for developers (in IDE)

Here are the best prompts to use in your IDE... Sorted!

VSCode Prompt trigger

Those prompts have been selected AND tested to help you in your daily work.

Feel free to use them and add your own! ❤️ (credit your own prompts)

More dev prompts:

Prompts for developers (in Chat)

Sometimes you need a bigger context to get the best out of your AI.

ChatGPT Prompt Trigger

Use those dev prompts (mostly in ChatGPT or equivalent):

Coding with AI CLI

Use the CLI to code with the AI when you need to write in multiple files at once.

Aider - Split file

3# 🛠️ Install AI Toolbox for software engineers

Clone this repo: git clone git@github.com:alexsoyes/ai-driven-dev-community.git

You are all set!

Requirements:

AIDDC Scripts

A set of scripts for developers that directly communicate with OpenAI's ChatGPT API.

Full documentation available in the scripts directory.

Available aliases:

  • aiddc-changes : List the changes in the repository.
  • aiddc-changes-from-main : List the changes in the repository from the main branch.
  • aiddc-commit-last : Get the last commit message.
  • aiddc-commit-msg : Generate a commit message (using AI).
curl -sSf https://raw.githubusercontent.com/alexsoyes/ai-driven-dev-community/main/scripts/aiddc/install.sh | bash

Website scraper

A python scraper to save HTML / Markdown content from your best websites.

Full documentation available in the scraper directory.

Requirements:

Private prompts

Having your personal prompts in a huge Notion doc or shared with your team?

You can easily make them available privately in your computer with Espanso.

  1. Add your prompts in markdownin the directory ./prompts/private/
  2. Take a look at the contributing guide to create a perfect prompt.
  3. Start the project: npm i && npm start

Enjoy your private prompts!

VSCode snippets

We created a list of snippets we daily use as a frontend TypeScript developer.

VSCode Snippet

AI makes way much easier code generation.

But sometimes, when you exactly know what you need, you do not necessary need a Gen-AI to write obvious code for you.

Thus, AI can be mistaken, as a developer, you are the master of your code structure.

Feel free to use them!

Languages:

Libraries:

Installation:

You can install them easily with the following script:

#!/bin/bash

# TODO: add OS support
# TODO: merge with existing files

PATH_SOURCE=$(pwd)/vscode
PATH_DESTINATION=~/Library/Application\ Support/Code/User/snippets

# Check if both source and destination exist
if [ ! -d "${PATH_SOURCE}" ]; then
  echo "Source directory does not exist: ${PATH_SOURCE}"
  exit 1
fi

if [ ! -d "${PATH_DESTINATION}" ]; then
  echo "Destination directory does not exist: ${PATH_DESTINATION}"
  exit 1
fi

# For each file in source, copy it in the destination, but if exists, rename it with a .bak extension and current date
for file in "${PATH_SOURCE}"/*; do
  filename=$(basename $file)
  if [ -f "${PATH_DESTINATION}/$filename" ]; then
    mv "${PATH_DESTINATION}/$filename" "${PATH_DESTINATION}/$filename.bak.$(date +%Y%m%d)"
  fi

  cp -v "${PATH_SOURCE}/${filename}" "${PATH_DESTINATION}/${filename}"
done

# source: scripts/generated/snippets-install-osx.sh

4# ❤️ Get support

We are a group of french software engineers that are using AI in our daily work.

Discord

Motivated to use AI in your daily developer work life?

Join us on Discord to get the latest updates, news and shared experiences with AI.

Discord

✨ Courses (in french)

French courses are available to learn how to use AI in your daily work.

Formation "Coder avec l'IA"

Links

Various links available that do not fit in other categories:

External:

Internal:

Best list of AI Tools for developers

AIDDC Video Demo (in french)

Check the Demo on YouTube to learn how to use our repository!

AIDDC demo

5# 🚀 Super easy contribution

This repository is made to be easily updated by just editing the Readmes!

It will automatically update the prompts and the scripts.

If only one person updates one Readme, the whole community will benefit from it.

5 steps to contribute in 2 minutes

  1. Fork the repository, then clone it.
  2. After installation, run npm i && npx husky-init if you want to automatically:
  3. Update any Readme from sub-directories in ./resources to automatically generate the prompts in Espanso and scripts generation!
  4. Check the Contributing guide
  5. Push your changes and create a Pull Request.

No -fork contributions

You can also contribute without forking the repository:

Report prompting issues / improvements at hello@alexsoyes.com