Add an `AGENTS.md`

Abierto
#6,704 0 comentarios 2 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
PHP
Estrellas
248
Forks
147
Merge medio
17 min
PR fusionados (30 d)
21

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de WoltLab/WCF

Todos los issues de WoltLab/WCF

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.