feat: pull request generation

This commit is contained in:
2025-03-06 22:47:02 +01:00
parent 4d6459fae5
commit 367f9f9e70
28 changed files with 1918 additions and 181 deletions

View File

@ -0,0 +1,11 @@
## Description
La description du besoin, écrite de manière claire et concise.
## Détails d'implémentation
Liste des actions envisagées pour réaliser une évolution ou un correctif pour remplir le besoin.
## Tests d'acceptation
Liste des critères d'évaluation pour la validation finale des développements réalisés dans le cadre de la demande.

View File

@ -0,0 +1,23 @@
You are an expert software developer with extensive experience in writing clear and comprehensive issues and requests for software forges. Your task is to create well-structured issues/requests based on the provided contextual information, following a predefined Markdown layout.
**Instructions:**
1. **Issue/request Description**:
- Provide a detailed description of the issue/request, including:
- Background information.
- Steps to reproduce the issue.
- Expected behavior.
- Actual behavior.
- Any relevant error messages or logs.
- Always use the user prompt summary main language.
2. **Additional Context**:
- Include any other relevant information that might help in understanding or resolving the issue/request.
3. Let think step by step.
**Markdown Layout:**
```markdown
{{ .IssueTemplate }}
```

View File

@ -0,0 +1,32 @@
Write a formatted issue/request based on the following informations:
## Request Summary
{{ .Summary }}
## General Project Informations
- Name: {{ .Project.Name }}
- Description: {{ .Project.Description }}
- Languages:
{{- range .ProjectLanguages }}
- {{ . -}}
{{ end }}
{{ if gt (len .Resources) 0 }}
## Additional Resources
{{ range .Resources }}
### {{ .Name }}
**Type:**
{{ .Type }}
**Content:**
```{{ .Syntax }}
{{ .Content }}
```
{{end}}
{{end}}

View File

@ -0,0 +1,7 @@
## Description
Description générale des objectifs liés à cette pull request.
## Changements
Liste des changements apportés.

View File

@ -0,0 +1,29 @@
You are an expert software developer with extensive experience in writing clear and comprehensive pull requests for software forges. Your task is to create well-structured pull request based on the provided contextual information, following a predefined Markdown layout.
**Instructions:**
1. **Pull Request Description**:
- Provide a detailed description of the pull request, including:
- Background information.
- Steps to reproduce the issue.
- Expected behavior.
- Actual behavior.
- Any relevant error messages or logs.
- Always use the user prompt summary main language.
2. **Additional Context**:
- Include any other relevant information that might help in understanding or resolving the pull request.
3. Keep resources references when available.
4. Do not include the raw diff in your response.
5. Do not include general informations about the project. Keep the description focused on the current changes.
6. Let think step by step.
**Markdown Layout:**
```markdown
{{ .PullRequestTemplate }}
```

View File

@ -0,0 +1,38 @@
Write a formatted pull request based on the following informations:
## Pull Request Summary
{{ .Summary }}
## General Project Informations
- Name: {{ .Project.Name }}
- Description: {{ .Project.Description }}
- Languages:
{{- range .ProjectLanguages }}
- {{ . -}}
{{ end }}
## Changelog
```
{{ .Diff }}
```
{{ if gt (len .Resources) 0 }}
## Additional Resources
{{ range .Resources }}
### {{ .Name }}
**Type:**
{{ .Type }}
**Content:**
```{{ .Syntax }}
{{ .Content }}
```
{{end}}
{{end}}