Add an `AGENTS.md`

オープン
#6,704 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php

調査の方向性

Start by reviewing the repository’s existing contributor guidance and the Core directory layout; the issue names option.xml as an example of runtime behavior to document. Draft concise AGENTS.md guidance for code generation and determine whether it should also be placed in Core for developers using an installed copy. Done when the guidance reflects verified project conventions and its intended locations are clear.

索引モデルが issue の本文から書いたものです。

説明

There is a significant increase of LLM use among third party developers and the code more often than not is not up to standards. This is reinforced by the Core itself being somewhat in a bad state (for example, loose comparisons, empty() and other hot garbage). There are modernization efforts in place to improve this in 6.3 but it remains an ongoing issue.

We can improve the situation by adding an AGENTS.md which formalize these requirements to generate better code and to clarify the runtime behavior. For example, an option defined in option.xml will always be available as a constant, removing the need to slap define() calls on everything. Should use caveman-style instructions to minimize token usage.

This should possibly be deployed in the Core directory too because a typical use case is referencing an existing installation rather than the bare repository.

主要言語
PHP
スター
248
フォーク
147
平均マージ
17分
マージ済み PR(30日)
21

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

WoltLab/WCF のほかの issue

WoltLab/WCF の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。