[FEAT] automatic class documentation header
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- github-actions, typescript
- Bereich
- ci-cd, documentation
Rechercherichtung
Read how the existing actions in this repository are packaged and wired into workflows, then model a new pull_request-triggered action on them. The work is to call a GPT API with the touched class content, enforce the three-line doc-comment format, and decide how the result reaches the contributor (comment or commit) plus how the touched classes are detected. "Done" means the action runs on a test PR and produces validated three-line headers, with the prompt and format checks covered by tests.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
To enhance the documentation of the core, I would love to see an action that runs on every pull request and adds a small three-line documentation snippet to every class that was touched in that specific pull request. The contributor and the reviewer are then supposed to go the extra mile, and also review these three lines of documentation.
The content of these three lines should be a description about the purpose of the class.
This would greatly improve the documentation of the core code overtime, and it's just a little overhead for every contributor.
Technically speaking, this action Would connect to a GPT API, send the class content as part of the prompt and receive the formatted three lines of documentation. The action can further validate The format and syntax.
This approach follows the Boy Scout principal, and is very defensive in terms of actual changes. We could also just write the comments with chat GPT as we did in a similar fashion for the developer documentation.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12
- Forks
- 15
- Ø Merge
- 6 T. 39 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mage-os/github-actions
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
mage-os/github-actions#341 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
mage-os/github-actions#340 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
mage-os/github-actions#364 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 65/100
mage-os/github-actions#363 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
mage-os/github-actions#359 · 3 Kommentare ·
Alle Issues in mage-os/github-actions
Ähnliche Issues
-
documentation Entwickler
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 89/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:frontend bug ci-test level:low priority:high
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
skytuhua-org/Gen-V1#2974 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
area: cli area: core priority: P3 type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
appandflow/stim#6736 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
naomiaro/waveform-playlist#973 ·
Maintainer antworten meist innerhalb von 1 Tag