[FEAT] automatic class documentation header
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, typescript
- 領域
- ci-cd, documentation
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 12
- フォーク
- 15
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mage-os/github-actions のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
mage-os/github-actions#341 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
mage-os/github-actions#340 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mage-os/github-actions#364 ·
-
難易度 3/5 半日 初心者へのやさしさ 65/100
mage-os/github-actions#363 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
mage-os/github-actions#359 · コメント 3 件 ·
mage-os/github-actions の issue をすべて見る
似ている issue
-
api bug priority:low ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wondermoney/wondermoney#862 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
rootsiemen/seo-agent-tools#70 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alvinunreal/oh-my-opencode-slim#1971 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
elecnix/bellwether#467 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信