Skip to content

Commit

Permalink
♻️ refactor(metadata): Update YML structure and output format
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultyou committed Oct 8, 2024
1 parent e10e6b0 commit 6632b68
Show file tree
Hide file tree
Showing 30 changed files with 411 additions and 348 deletions.
41 changes: 15 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,29 @@
# 📚 Prompt Library

> ### 🚧 **Project Under Active Development** 🚧
> ### 🚧 **Project Under Development** 🚧
>
> **Note:** This project is new and undergoing rapid development. You may encounter bugs or frequent changes. We appreciate your patience and encourage you to:
> - Report any issues you encounter
> - Check for updates regularly
> - Contribute ideas or improvements
>
> Your feedback is valuable in shaping this project. Thank you for your interest and support!
> This project is evolving. You may encounter bugs or frequent changes. Your feedback and contributions are welcome!
Welcome to the **Prompt Library**. This repository contains a collection of AI prompts categorized for easy navigation and reuse.

## 🗂️ Categories

### Artificial Intelligence And Machine Learning

- [AI Concept Creator](prompts/ai_concept_agent/README.md) - Generates innovative and feasible concepts for specialized AI assistants

### Code Quality And Best Practices
## 📂 Categories

- [Elite AI Coding Assistant](prompts/coding_assistant_agent/README.md) - Assists in all aspects of software development with expert-level guidance
- [Divine Code Refactoring Agent](prompts/code_refactoring_agent/README.md) - Analyzes, refactors, and validates code to improve quality, readability, and performance
- [Software Development Pull Request Generator](prompts/software_dev_pr_agent/README.md) - Generates comprehensive pull requests for software projects based on given context
> **Note:** The prompts listed here serve as examples to demonstrate the structure and organization of this library. The primary goal is for you, the user, to create and maintain your own personalized library of prompts tailored to your specific needs and use cases. Feel free to modify, remove, or add prompts as you see fit.
### Project Management
### Coding

- [GitHub Issue Creation Expert](prompts/github_issue_agent/README.md) - Creates comprehensive, actionable GitHub issues based on project context and team dynamics
- [Software Specification Creator](prompts/software_spec_agent/README.md) - Generates comprehensive software specifications through interactive requirements gathering
- [Git Branch Name Generator](prompts/git_branch_name_agent/README.md) - Generates optimal git branch names based on project context and development requirements
- [Elite AI Coding Assistant](prompts/coding_agent/README.md) - Assists with comprehensive software development tasks across multiple programming languages
- [GitHub Issue Management](prompts/github_issue_agent/README.md) - Creates comprehensive, optimized GitHub issues based on project context and team dynamics
- [Divine Code Refactoring Artisan](prompts/code_refactoring_agent/README.md) - Analyzes, refactors, and validates codebases to enhance quality, readability, and performance
- [Software Development Pull Request Generator](prompts/software_dev_pr_agent/README.md) - Generates comprehensive pull requests for software development projects
- [Git Commit Message Expert](prompts/git_commit_message_agent/README.md) - Generates perfect git commit messages following Conventional Commits specification

### Prompt Engineering

- [Divine-Tier Prompt Engineering](prompts/prompt_engineering_agent/README.md) - Creates or refines optimized prompts for AI models across diverse domains

### Version Control

- [Git Commit Message Generator](prompts/git_commit_message_agent/README.md) - Generates precise git commit messages following Conventional Commits specification
- [Git Branch Name Generator](prompts/git_branch_name_agent/README.md) - Generates optimal git branch names based on project context and development requirements
- [AI Concept Architect](prompts/ai_concept_architect_agent/README.md) - Generates innovative and feasible concepts for specialized AI assistants
- [Prompt Engineering God](prompts/prompt_engineering_agent/README.md) - Crafts divine-tier prompts optimizing AI model performance across diverse domains
- [Software Specification Creation](prompts/software_spec_agent/README.md) - Creates detailed software specifications through interactive requirements gathering

## 🚀 Getting Started

Expand Down Expand Up @@ -96,6 +84,7 @@ To customize the metadata extraction process:
3. Modify the content within these sections to adjust the behavior of the metadata extraction process. For example:
- Update the `<instructions>` section to change how categories are assigned.
- Modify the `<output>` section to alter the structure of the generated metadata.
- Adapt the categories in the `Top-Level Categories` list to better suit your needs.
4. Save your changes to the file.

After modifying the prompt:
Expand Down
22 changes: 0 additions & 22 deletions prompts/ai_concept_agent/metadata.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# AI Concept Creator
# AI Concept Architect

### ✏️ One-line Description

**Generates innovative and feasible concepts for specialized AI assistants**

### 📄 Description

This prompt engineers a creative AI system to develop unique and practical concepts for specialized AI assistants. It focuses on generating groundbreaking yet implementable ideas tailored to specific topics, emphasizing core competencies and transformative capabilities.
This prompt engineers a creative AI system that conceptualizes unique, practical, and ethically sound specialized AI assistants. It focuses on maximizing potential impact while ensuring feasibility and addressing ethical considerations.

### 🔧 Variables

- `{{TOPIC}}`
- `{{TOPIC}}`: Specific domain or field for which the AI assistant concept is to be generated

### 📜 Prompt

Expand Down Expand Up @@ -55,16 +55,16 @@ Now, based on the topic {{TOPIC}}, generate a groundbreaking yet feasible AI ass

### 🔖 Tags

- creative_ai
- creativity
- innovation
- specialized_assistants
- concept_development
- specialized_ai
- feasibility
- ethical_design

### 📚 Category

Primary Category: artificial_intelligence_and_machine_learning
Subcategories:
Primary category: prompt_engineering

Subcategories:
- concept_generation
- specialized_assistants
24 changes: 24 additions & 0 deletions prompts/ai_concept_architect_agent/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
content_hash: 46fdf466b661c338e49f3d34c07c2bc1
description: >-
This prompt engineers a creative AI system that conceptualizes unique,
practical, and ethically sound specialized AI assistants. It focuses on
maximizing potential impact while ensuring feasibility and addressing ethical
considerations.
directory: ai_concept_architect_agent
one_line_description: Generates innovative and feasible concepts for specialized AI assistants
primary_category: prompt_engineering
subcategories:
- concept_generation
- specialized_assistants
tags:
- creativity
- innovation
- specialized_ai
- feasibility
- ethical_design
title: AI Concept Architect
variables:
- name: '{{TOPIC}}'
role: >-
Specific domain or field for which the AI assistant concept is to be
generated
File renamed without changes.
26 changes: 13 additions & 13 deletions prompts/code_refactoring_agent/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Divine Code Refactoring Agent
# Divine Code Refactoring Artisan

### ✏️ One-line Description

**Analyzes, refactors, and validates code to improve quality, readability, and performance**
**Analyzes, refactors, and validates codebases to enhance quality, readability, and performance**

### 📄 Description

This prompt creates an AI agent that analyzes codebases, infers the programming language, and performs comprehensive refactoring. It optimizes code quality, readability, and performance while preserving core functionality, and includes testing and validation steps.
This prompt creates an AI agent that expertly analyzes and refactors codebases. It employs a comprehensive approach to improve code quality, readability, and performance while preserving core functionality. The agent provides detailed explanations and adheres to best practices in software engineering.

### 🔧 Variables

- `{{REFACTOR_SCOPE}}`
- `{{CODEBASE}}`
- `{{REFACTOR_SCOPE}}`: Specifies whether to refactor the entire codebase or focus on specific parts
- `{{CODEBASE}}`: The code to be refactored

### 📜 Prompt

Expand Down Expand Up @@ -127,15 +127,15 @@ Now, proceed with the refactoring task, ensuring you provide detailed explanatio
### 🔖 Tags

- refactoring
- code_optimization
- language_inference
- testing
- performance
- code_quality
- performance_optimization
- best_practices
- divine_coding

### 📚 Category

Primary Category: code_quality_and_best_practices
Subcategories:
Primary category: coding

- refactoring
- code_analysis
Subcategories:
- code_refactoring
- software_engineering
37 changes: 21 additions & 16 deletions prompts/code_refactoring_agent/metadata.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
content_hash: 0a5d4183b3ff1952e48d7998acb1ac02
description: >-
This prompt creates an AI agent that analyzes codebases, infers the
programming language, and performs comprehensive refactoring. It optimizes
code quality, readability, and performance while preserving core
functionality, and includes testing and validation steps.
This prompt creates an AI agent that expertly analyzes and refactors
codebases. It employs a comprehensive approach to improve code quality,
readability, and performance while preserving core functionality. The agent
provides detailed explanations and adheres to best practices in software
engineering.
directory: code_refactoring_agent
one_line_description: >-
Analyzes, refactors, and validates code to improve quality, readability, and
performance
primary_category: code_quality_and_best_practices
Analyzes, refactors, and validates codebases to enhance quality, readability,
and performance
primary_category: coding
subcategories:
- refactoring
- code_analysis
- code_refactoring
- software_engineering
tags:
- refactoring
- code_optimization
- language_inference
- testing
- performance
title: Divine Code Refactoring Agent
- code_quality
- performance_optimization
- best_practices
- divine_coding
title: Divine Code Refactoring Artisan
variables:
- '{{REFACTOR_SCOPE}}'
- '{{CODEBASE}}'
- name: '{{REFACTOR_SCOPE}}'
role: >-
Specifies whether to refactor the entire codebase or focus on specific
parts
- name: '{{CODEBASE}}'
role: The code to be refactored
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

### ✏️ One-line Description

**Assists in all aspects of software development with expert-level guidance**
**Assists with comprehensive software development tasks across multiple programming languages**

### 📄 Description

This prompt creates an AI coding assistant with extensive knowledge across multiple programming languages and software engineering best practices. It provides guidance in code writing, analysis, optimization, and debugging while incorporating advanced software engineering principles.
This prompt creates an AI coding assistant with extensive knowledge of various programming languages, frameworks, and software engineering principles. It provides guidance on code writing, analysis, optimization, and debugging, while emphasizing best practices and security considerations.

### 🔧 Variables

- `{{LANGUAGE}}`
- `{{FRAMEWORK}}`
- `{{TASK_TYPE}}`
- `{{ADDITIONAL_CONTEXT}}`
- `{{USER_CODE}}`
- `{{LANGUAGE}}`: Specifies the programming language for the task
- `{{FRAMEWORK}}`: Indicates the framework being used, if applicable
- `{{TASK_TYPE}}`: Defines the type of coding task (e.g., code writing, analysis, optimization, bug fixing)
- `{{ADDITIONAL_CONTEXT}}`: Provides any extra information relevant to the coding task
- `{{USER_CODE}}`: Contains the user's code for analysis or modification

### 📜 Prompt

Expand Down Expand Up @@ -101,16 +101,16 @@ Please provide your response based on the {{TASK_TYPE}} specified in the input p
### 🔖 Tags
- code_writing
- multi_language
- code_analysis
- optimization
- debugging
- software_engineering
- best_practices
- performance_optimization
### 📚 Category
Primary Category: code_quality_and_best_practices
Subcategories:
Primary category: coding
- multi_language_programming
- software_engineering_principles
Subcategories:
- software_engineering
- code_optimization
34 changes: 34 additions & 0 deletions prompts/coding_agent/metadata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
content_hash: bf31ad01f23e7ef8003f0402bc23b6a3
description: >-
This prompt creates an AI coding assistant with extensive knowledge of various
programming languages, frameworks, and software engineering principles. It
provides guidance on code writing, analysis, optimization, and debugging,
while emphasizing best practices and security considerations.
directory: coding_agent
one_line_description: >-
Assists with comprehensive software development tasks across multiple
programming languages
primary_category: coding
subcategories:
- software_engineering
- code_optimization
tags:
- multi_language
- code_analysis
- debugging
- best_practices
- performance_optimization
title: Elite AI Coding Assistant
variables:
- name: '{{LANGUAGE}}'
role: Specifies the programming language for the task
- name: '{{FRAMEWORK}}'
role: Indicates the framework being used, if applicable
- name: '{{TASK_TYPE}}'
role: >-
Defines the type of coding task (e.g., code writing, analysis,
optimization, bug fixing)
- name: '{{ADDITIONAL_CONTEXT}}'
role: Provides any extra information relevant to the coding task
- name: '{{USER_CODE}}'
role: Contains the user's code for analysis or modification
File renamed without changes.
25 changes: 0 additions & 25 deletions prompts/coding_assistant_agent/metadata.yml

This file was deleted.

Loading

0 comments on commit 6632b68

Please sign in to comment.